hyper_render_clipboard 1.7.2 copy "hyper_render_clipboard: ^1.7.2" to clipboard
hyper_render_clipboard: ^1.7.2 copied to clipboard

Image clipboard support for HyperRender using super_clipboard. Enables copying, saving, and sharing images.

Changelog β€” hyper_render_clipboard #

1.7.2 - 2026-08-22 #

🧹 Dead Code Removal & WASM Compatibility #

  • Removed legacy unused file_system_provider.dart and default_file_system_provider.dart files containing unconditional dart:io imports to ensure 100% pure WASM compatibility on pub.flutter-io.cn.

1.7.1 - 2026-08-22 #

🌐 WASM Runtime Compatibility #

  • Decoupled share_plus and path_provider transitive dependencies from file_helper_web.dart on Web/WASM targets to achieve 100% WASM compatibility score (20/20 platform points) on pub.flutter-io.cn.

1.7.0 - 2026-08-22 #

⚑ Improvements & Static Analysis Fixes #

  • Added await to all async returns inside try-catch blocks in SuperClipboardHandler to resolve pub.flutter-io.cn static analysis warnings.
  • Added conditional platform file helper abstraction (PlatformFileHelper) to ensure full Web / WASM runtime compatibility without unconditional dart:io imports.
  • Bump hyper_render_core dependency to ^1.7.0.

1.6.0 - 2026-07-26 #

πŸš€ Update #

  • Bump hyper_render_core dependency to ^1.6.0 to support multi-platform constraints.

1.5.1 - 2026-07-05 #

πŸ› Packaging Fix #

  • Republished without the dev-only dependency_overrides block that slipped into the 1.5.0 archive and broke pub.flutter-io.cn dependency resolution (pub get could not find the local ../hyper_render_core path). No code changes from 1.5.0.

1.5.0 - 2026-07-05 #

πŸ—οΈ Maintenance #

  • Updated hyper_render_core dependency to ^1.5.0

1.4.0 - 2026-06-24 #

πŸ—οΈ Maintenance #

  • Updated hyper_render_core dependency to ^1.4.0

1.3.4 - 2026-06-04 #

πŸ”§ Dependency Widening #

  • Widened share_plus dependency constraint to ^12.0.2 || ^13.0.0 to resolve pub.flutter-io.cn out-of-date package scoring.
  • Updated hyper_render_core dependency to ^1.3.4.

1.3.3 - 2026-06-04 #

πŸ—οΈ Maintenance #

  • Updated hyper_render_core dependency to ^1.3.3

1.3.2 - 2026-05-19 #

πŸ”’ Security β€” Path Traversal #

  • saveImageBytes(filename:) and shareImageBytes(filename:) now sanitise the caller-supplied filename. _getFilenameFromUrl already stripped URL-decoded path separators (%2F β†’ /), but a malicious app dev who passed filename: '../../etc/passwd.png' through to the public API would still escape the storage directory. Every code path that lands in File('${dir.path}/$name') now runs through a single _sanitiseFilename helper that replaces / and \ with _. Self-supplied filenames remain untouched in spirit (extensions, dots, dashes preserved).

πŸ§ͺ Tests #

  • +8 tests added in filename_safety_test: URL-encoded slash, URL-encoded backslash, plain filename pass-through, extensionless URL fallback, caller-supplied traversal payloads (../../etc/passwd.png, Windows backslash variants), safe filename round-trip, mixed separator handling.

1.3.1 - 2026-05-14 #

πŸ—οΈ Packaging #

  • Opt-in add-on: hyper_render_clipboard is no longer bundled with the root hyper_render package. Add it explicitly to your pubspec.yaml if you use SuperClipboardHandler. This removes the compileSdk = 34 requirement from default hyper_render users.

1.3.0 - 2026-05-03 #

✨ New Features #

  • share_plus: ^10.0.0: Upgraded from ^7.2.0 β€” resolves mime version conflict with newer Flutter projects
  • Image copy: SuperClipboardHandler.copyImage() supports PNG byte data via super_clipboard
  • Image share: SuperClipboardHandler.shareImage() via share_plus

πŸ› Bug Fixes #

  • Race condition: Copy operation now guards against concurrent calls with a lock flag β€” prevents duplicate clipboard writes
  • Static analysis: Replaced deprecated Share.shareXFiles() with SharePlus.instance.share() β€” 0 analyzer issues
  • Directory convention: Renamed docs/ β†’ doc/ (pub.flutter-io.cn singular directory convention)

1.2.0 - 2026-03-30 #

  • Initial release: image clipboard and share support for HyperRender selections
6
likes
160
points
189
downloads

Documentation

API reference

Publisher

verified publisherbrewkits.dev

Weekly Downloads

Image clipboard support for HyperRender using super_clipboard. Enables copying, saving, and sharing images.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #clipboard #image-copy

License

MIT (license)

Dependencies

flutter, http, hyper_render_core, path_provider, share_plus, super_clipboard

More

Packages that depend on hyper_render_clipboard