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

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

Changelog — hyper_render_clipboard #

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.dev 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.dev 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.dev 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.dev singular directory convention)

1.2.0 - 2026-03-30 #

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

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

unknown (license)

Dependencies

flutter, http, hyper_render_core, path_provider, share_plus, super_clipboard

More

Packages that depend on hyper_render_clipboard