Skip to content

v11.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 12:54
· 6 commits to master since this release
cc99c76

Important

See the migration guide from 10.0.0 to 11.0.0 for the full breaking changes and migration. Ensure to read the breaking behavior section to avoid unexpected changes.

Fixed

  • [iOS] Localize the Cupertino link menu actions.
  • Export QuillToolbarSelectLineHeightStyleDropdownButtonOptions, fixing #2333.
  • Clipboard images pasting as plain text on Android #2384.
  • Avoid using url_launcher_string.dart which is strongly discouraged #2403.
  • The color picker dialog's hex field does not use the correct value of the selected text in the editor #2415.

Added

  • New localization strings for the image save functionality #2403.
  • Insert video string in quill_en.arb to support localization for flutter_quill_extensions. Currently available only in English.
  • QuillClipboardConfig class with customizable clipboard paste handling callbacks, partial fix to #2350.
  • The option to enable/disable rich text paste (from other apps) in QuillClipboardConfig.
  • Insert video string in quill_en.arb to support localization for flutter_quill_extensions. Currently available only in English.
  • onKeyPressed in QuillEditorConfig to customize key press handling in the editor #2368.
  • Croatian (hr) language translation #2431.
  • enableClipboardPaste flag in QuillToolbarClipboardButton to determine if the button defaults to null, which will use ClipboardMonitor, which checks every second if the clipboard has content to paste #2427.

Changed

  • Rewrite the image save functionality for flutter_quill_extensions #2403.
  • Migrate quill_native_bridge to 11.0.0 #2403.
  • Avoid using deprecated APIs in Flutter 3.27.0 #2416:
  • Ignore unreachable_switch_default warning (introduced in Dart 3.6) #2416.
  • Update intl dependency to support versions 0.19.0 and 0.20.0 #2416.
  • Restore base button options, now works without the inherited widgets, and support buttons of flutter_quill_extensions.
  • The option to enable/disable rich text paste (from other apps) in QuillClipboardConfig.
  • Improve README.md.
  • Simplify the example app.
  • Update the minimum supported SDK version to Flutter 3.0/Dart 3.0 for compatibility, fixing #2347.
  • Improve dependencies constraints for compatibility.
  • Improve README.md.
  • Always call setState() in _markNeedsBuild() in QuillRawEditorState (revert to the old behavior).
  • BREAKING: Update configuration class names to use the suffix Config instead of Configurations.
  • BREAKING: Refactor embed block interface for both the EmbedBuilder.build() and EmbedButtonBuilder.
  • Minor cleanup to magnifier feature.
  • The QuillSimpleToolbar base button options now support buttons of flutter_quill_extensions.
  • Mark shouldNotifyListeners as experimental in QuillController.replaceText().
  • Mark the method QuillController.clipboardSelection() as experimental.
  • Improve pub topics in package metadata.
  • Update the minimum required version of the dependency quill_native_bridge from 10.7.9 to 10.7.11.
  • Address warnings of unreachable_switch_default (introduced in Dart 3.6).
  • BREAKING: Clipboard action buttons in QuillSimpleToolbar are now disabled by default. To enable them, set showClipboardCut, showClipboardCopy, and showClipboardPaste to true in QuillSimpleToolbarConfig.
  • BREAKING: Change the options parameter class type from QuillToolbarToggleStyleButtonOptions to QuillToolbarClipboardButtonOptions in QuillToolbarClipboardButton. To migrate, use QuillToolbarClipboardButtonOptions instead of QuillToolbarToggleStyleButtonOptions #2433. This change was made for the PR #2427.
  • BREAKING: Change the onTapDown to accept TapDownDetails instead of TapDragDownDetails (revert #2128 due to regressions).
  • BREAKING: Change the onTapUp to accept TapUpDetails instead of TapDragUpDetails (revert #2128 due to regressions).
  • BREAKING: Revert Copy TapAndPanGestureRecognizer from TextField PR #2128, restoring editor behavior to match versions before 10.4.0 due to the regressions #2413.
  • BREAKING: Replace QuillClipboardConfig.onDeltaPaste with QuillClipboardConfig.onRichTextPaste which is more specific and provides an additional parameter isExternal to determine whether the Delta content is from an external app.
  • Bosnian (bs), Macedonian (mk) and Gujarati (gu) language translations #2455.
  • textSpanBuilder to QuillEditorConfig to allow overriding how text content is rendered.

Removed

  • BREAKING: The quill shared configuration class.
  • The dependency equatable.
  • The experimental support for spell checking. See #2246.
  • BREAKING: The magnifier feature due to buggy behavior #2413. See #2406 for a list of reasons.