1.1.0
This release makes RichTextKit use Swift 6.
This will involve a few breaking changes, but they are so minor that they (hopefully) didn't warrant a major version bump.
Reach out if you think that this version changes too much for a minor bump, or if you see any Swift 6 changes you don't agree with.
✨ Features
RichTextAction
has a newdeleteSelectedText
action.RichTextAction
has a newdeleteText(at:)
action.RichTextAction
has a newreplaceSelectedText(with:)
action.RichTextAction
has a newreplaceText(at:with:)
action.RichTextView
has a newdeleteText(at:)
function.RichTextView.Configuration
has a newisScrollBarsVisible
property for macOS.
💡 Adjustments
- Many protocols now use
@preconcurrency @MainActor
. - All mutable
Image
andColor
extensions are now computed. - All standard style and configuration values are now computed.
🐛 Bug Fixes
RichTextView
only sets image configuration if it's not manually set before.