Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2025

This PR contains the following updates:

Package Type Update Change
clipboard dependencies major ^2.0.23.0.14

Release Notes

samuelezedi/flutter_clipboard (clipboard)

v3.0.14

  • Swift Package Manager Support: Migrated iOS and macOS plugins from CocoaPods to Swift Package Manager (SPM) for better compatibility and future-proofing.
  • Dual Support: Plugin now supports both CocoaPods (via updated podspec) and Swift Package Manager, ensuring backward compatibility.
  • Modern Package Structure: Reorganized plugin structure to follow Swift Package Manager conventions with Package.swift files.
  • CocoaPods Compatibility: Updated podspec files to work with new SPM structure while maintaining CocoaPods support.

v3.0.10

  • Web Rich Text Copy Fix: Added web implementation for copyRichText using ClipboardItem API to properly copy both text and HTML formats.
  • iOS Rich Text Copy Fix: Fixed iOS HTML clipboard copy to use setItems with Data objects for proper HTML preservation.
  • Android Image Copy Fix: Fixed Android image copy to use MediaStore API instead of FileProvider for better compatibility.
  • Plugin Structure Fix: Moved all native code from example folder to proper plugin directories for correct plugin registration.
  • iOS AppDelegate Cleanup: Removed manual plugin registration from example iOS app to prevent crashes.

v3.0.9

  • Windows Platform Support: Added complete Windows platform support with native C++ implementation.
  • Windows Clipboard Operations: Full support for copy/paste of text, rich text (HTML), and images on Windows.
  • Windows Image Support: Implemented PNG image copy/paste using GDI+ for conversion between PNG and DIB formats.
  • Windows Rich Text: Added HTML Format clipboard support for rich text operations on Windows.
  • Cross-Platform Coverage: Package now supports Android, iOS, Web, and Windows platforms with consistent API.

v3.0.8

  • Code Formatting: Improved code formatting and readability with better line breaks and consistent formatting.
  • Code Quality: Removed trailing whitespace and fixed indentation issues for better code maintainability.

v3.0.7

  • Fixed JSString Type Issues: Fixed type compatibility issues in web clipboard implementation by properly converting Dart Strings to JSString for type comparisons.
  • Analyzer Fixes: Resolved all static analysis warnings and errors for pub.dev compliance.
  • Code Cleanup: Removed unnecessary imports and fixed analysis configuration issues.

v3.0.6

  • Web Package Migration: Migrated from dart:html and dart:js_util to the new package:web package for better compatibility and modern JS interop.
  • Conditional Import Update: Changed conditional import from dart.library.html to dart.library.js to align with the new web package.
  • JS Interop Improvements: Updated web clipboard implementation to use modern JS interop APIs (dart:js_interop) for better type safety and performance.

v3.0.5

  • Web Clipboard Fixes: Added full web support for copy/paste of text, rich text (HTML), and images using the browser Clipboard API with conditional imports.
  • Web Image Copy/Paste: Implemented web-side image handling with ClipboardItem/navigator.clipboard for copy and read/getType for paste.
  • Web Text/Rich Text Paste: Added readText and HTML extraction via read() + getType('text/html').
  • Example App: Updated to avoid early clipboard reads; paste dialogs no longer show on launch.
  • Lint/Build: Resolved analyzer issues after web additions.

v3.0.1

  • Swift Package Manager Support: Migrated iOS and macOS plugins from CocoaPods to Swift Package Manager (SPM) for better compatibility and future-proofing.
  • Dual Support: Plugin now supports both CocoaPods (via updated podspec) and Swift Package Manager, ensuring backward compatibility.
  • Modern Package Structure: Reorganized plugin structure to follow Swift Package Manager conventions with Package.swift files.
  • CocoaPods Compatibility: Updated podspec files to work with new SPM structure while maintaining CocoaPods support.

v3.0.0

  • Major Release: Complete rewrite with platform channel support for true multi-format clipboard
  • Platform Channels: Added native Android (Kotlin) and iOS (Objective-C) implementations for enhanced features
  • True Rich Text Support: HTML clipboard support now works via platform channels, not just in-memory storage
  • Image Support: Full image copy/paste support for PNG images on Android and iOS
  • Native Clipboard Monitoring: Real-time clipboard change detection using platform APIs (Android clipboard listeners, iOS notification center)
  • Memory Management: Fixed listener memory leaks by using Set instead of List and adding cleanup mechanisms
  • Enhanced Error Handling: Improved error handling with graceful fallbacks to Flutter's Clipboard API
  • Better Listener Management: addListener() now returns a cleanup function, added removeAllListeners() method
  • New Methods: Added copyImage() and pasteImage() for direct image clipboard operations
  • Production Ready: Comprehensive fallback mechanisms ensure reliability across all platforms
  • Documentation: Updated README with accurate feature descriptions, image examples, and platform setup instructions
  • Code Quality: Improved code structure, better separation of concerns, and comprehensive error handling
  • Breaking Changes: This is a major version bump due to significant architectural improvements and platform channel integration

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/clipboard-3.x branch from 2c5ac48 to c2c68b4 Compare December 9, 2025 09:37
@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.83%. Comparing base (dfc4db6) to head (5ed8252).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   34.83%   34.83%           
=======================================
  Files          14       14           
  Lines        1134     1134           
=======================================
  Hits          395      395           
  Misses        739      739           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot force-pushed the renovate/clipboard-3.x branch 8 times, most recently from 6a4d963 to f41c273 Compare December 11, 2025 14:19
@renovate renovate bot force-pushed the renovate/clipboard-3.x branch 4 times, most recently from b9942a3 to 77313bc Compare January 7, 2026 11:13
@renovate renovate bot force-pushed the renovate/clipboard-3.x branch 2 times, most recently from d88a6ca to 011c95c Compare January 16, 2026 15:10
@renovate renovate bot force-pushed the renovate/clipboard-3.x branch from 011c95c to 5ed8252 Compare January 21, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant