We finally made it to 2.1.0 – here is the list of changes included in this release:
Minor breaking changes
- Fix
configure
loosing the existing config on Marks and Extensions by @nholden in #3822 - Require file extensions for imports and exports by @benasher44 in #4001
- update strikethrough shortcut to be inline with other editors by @bdbch in #4288
Features
@tiptap/core
- New Cut Command & Position Mapping for insertContentAt by @bdbch in #4141
- Ddded new options for nodeInputRules for block replacements by @bdbch in #4289
@tiptap/extension-collaboration-cursor
- Add support for custom selection builders by @benglewis in #4128
@tiptap/extension-list-keymap
- New list keymap extension with improved list key handling by @bdbch in #3819
- chore(lists): move list keymap to extra extension by @bdbch in #4290
@tiptap/extension-typography
@tiptap/react
Bugfixes
@tiptap/core
- Fix empty nodes not behaving the same as empty nodes on document node inside isolating nodes by @bdbch in #3943
- Fix
configure
loosing the existing config on Marks and Extensions by @nholden in #3822 - Fix 'enter' behavior on android custom node views by @C-Hess in #4153
- Fix nested chain not preserving dispatch state by @C-Hess in #4152
- Fix text style to be clearable on new lines by @C-Hess in #4151
- Fix cut and insertContentAt functions by @bdbch in #4187
- Fix classes being duplicated on mergeAttributes function by @bdbch in #4320
@tiptap/extension-strikethrough
@tiptap/extension-list-item
- Fix nested lists style issue by @tommy-typos in #4172
@tiptap/extension-list-keymap
@tiptap/extension-link
- Fix left click invalid by @HengCC in #3917
- Fix link not being kept when pasting url with link as text by @bdbch in #3975
- Fix links autolinking when not needed by @bdbch in #3989
- Fix onPaste handling in link extension in rc.4 by @svenadlung in #4072
- Fix Prevent auto-linking when typing URL inside inline code mark by @rfgamaral in #4160
- Fixed rel not being able to be set by @lekoala in #4112
- Fixes link going to wrong url by @joenarus in #4078
- Do not use window.open for links in readonly mode by @thecodrr in #4073
- Fix autolinking and pasting by @bdbch in #4292
@tiptap/extension-horizontal-rule
@tiptap/extension-bubble-menu
@tiptap/extension-history
@tiptap/react
- Fixed missing select state when text selection is around by @bdbch in #4148
- Fixed checking props.clientRect before creating ReactRenderer by @HariAcharya80 in #4138
- Destroy editor in safe by @KentoMoriwaki in #4000
@tiptap/vue3
- Fix component names in Vue 3 devtools by @segevfiner in #3970
@tiptap/vue2
- Make Vue 2
nodeViewProps
compatible with@vue/composition-api
by @FloEdelmann in #4123
Other changes
Core
- New class on editor wrapper by @patrickbaber in #4068
- Require file extensions for imports and exports by @benasher44 in #4001
- (this should now allow support for more node environments)
Maintainment
- chore: added CODEOWNERS file by @bdbch in #4154
- update peerDependencies to fix lerna version tasks by @bdbch in #3914
Docs
- Fix typo in commands.md by @marcuslyons in #4038
- Add missing editor getters by @muttenzer in #4150
- Update markInputRule.ts by @mcshaz in #4162
- Docs/installation cdn by @RicoTrevisan in #4045
- Fix typo in guide by @tsukinose81 in #4205
- Fix HocusPocus typo in introduction.md by @robintindale in #4275
- update cloud docs by @patrickbaber in #4247
- update vanilla js docs by @bdbch in #4316
Demos
- updated @hocuspocus/provider to 2.0.1 by @janthurau in #3913
- fix demo for cut command by @bdbch in #4313
Build
- build(deps): bump cypress-io/github-action from 5.5.1 to 5.6.1 by @dependabot in #3933
- build(deps): bump cypress-io/github-action from 5.6.1 to 5.8.3 by @dependabot in #4139
- build(deps): bump actions/checkout from 3.5.0 to 3.5.3 by @dependabot in #4122
- build(deps-dev): bump vite from 2.9.15 to 2.9.16 by @dependabot in #4110
- build(deps-dev): bump vite from 2.9.13 to 2.9.16 in /demos by @dependabot in #4109
- build(deps): bump actions/setup-node from 3.6.0 to 3.7.0 by @dependabot in #4196
- build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #4232
New Contributors
- @HengCC made their first contribution in #3917
- @nholden made their first contribution in #3822
- @muttenzer made their first contribution in #4150
- @benasher44 made their first contribution in #4001
- @tommy-typos made their first contribution in #4172
- @mcshaz made their first contribution in #4162
- @HariAcharya80 made their first contribution in #4138
- @Slapbox made their first contribution in #4132
- @lekoala made their first contribution in #4112
- @joenarus made their first contribution in #4078
- @segevfiner made their first contribution in #3970
- @FloEdelmann made their first contribution in #4123
- @tsukinose81 made their first contribution in #4205
- @benglewis made their first contribution in #4128
- @robintindale made their first contribution in #4275
Full Changelog: v2.0.4...v2.1.0