Skip to content

Releases: halildurmus/win32_clipboard

v1.0.0

28 Oct 16:37
5d41806
Compare
Choose a tag to compare

🎉 First Stable Release 🚀

This release marks the first stable release of the win32_clipboard package,
offering a refined and feature-rich API for interacting with the Windows
Clipboard in Dart.

🔄 Breaking Changes

  • Clipboard:
    • getData: Now returns ClipboardData? instead of String?.
    • setData: Now takes a ClipboardData instance as the only argument.
    • registerFormat: Now returns ClipboardFormat instead of int.
  • ClipboardFormat:
    • formatId field renamed to id.
    • name: The optional named parameter name is now a required positional
      parameter and is no longer nullable.
    • text: Constant renamed to unicodeText.

✨ New Features

  • Clipboard File List Support:
    • Added Clipboard.getFileList() to retrieve a list of files from the
      clipboard.
    • Added Clipboard.setFileList() to set a list of files on the clipboard.
    • Added Clipboard.hasFileList getter to check if the clipboard contains file
      list data.
    • Added ClipboardFormat.fileList constant for identifying the file list
      format.
  • Data Change Listeners:
    • Added Clipboard.onDataChanged(ClipboardFormat format) to listen for
      changes in specific clipboard formats.
    • Added Clipboard.onFileListChanged getter to listen for file list changes.
    • Added Clipboard.onTextChanged getter to listen for text changes.
  • New Data Types:
    • Introduced ClipboardData as a base class for clipboard data.
    • Added subclasses:
      • FileListData for handling file lists.
      • PointerData for handling pointer-based data.
      • UnicodeTextData for handling Unicode text data.

🛠 Improvements

  • Refined API to be more intuitive and consistent across all clipboard
    operations.
  • Optimized internal structure for better performance and reliability.

🚨 Dart SDK Requirement

  • Bumped the minimum required Dart SDK version to 3.5.0.

v0.1.3

28 Jul 13:47
3175a7b
Compare
Choose a tag to compare
  • Bump minimum required Dart SDK version to 3.4.0

v0.1.2

14 Apr 11:38
4903836
Compare
Choose a tag to compare
  • Fix deprecation warnings
  • Update links
  • Bump minimum required Dart SDK version to 3.3.0

v0.1.0

27 Sep 12:48
1f83ca4
Compare
Choose a tag to compare

Initial release 🎉