mitodl / mit-learn

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Update dependency @ckeditor/ckeditor5-react to v9 #1814

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 3 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ckeditor/ckeditor5-react ^7.0.0 -> ^9.0.0 age adoption passing confidence

Release Notes

ckeditor/ckeditor5-react (@​ckeditor/ckeditor5-react) ### [`v9.3.1`](https://redirect.github.com/ckeditor/ckeditor5-react/blob/HEAD/CHANGELOG.md#931-2024-10-16) [Compare Source](https://redirect.github.com/ckeditor/ckeditor5-react/compare/v9.3.0...v9.3.1) ##### Bug fixes - Behavior of `useCKEditorCloud` hook is now consistent with `Vite` and `Next` runtimes while changing properties. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/8886ca37769cd5145e6c6249ea5859a60ee9120b)) - Prevent potential crashes of `useMultiRootEditor` during the initialization phase when setting the new state of the multi-root editor with an attached watchdog. Closes [#​542](https://redirect.github.com/ckeditor/ckeditor5-react/issues/542). ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/4df6509d5e167d4e94891782e6aa04a00d1673e0)) - Update roots with modified content only. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/8f5232c7a1af57aac249e4f9f4567f8c3828bfc1)) ### [`v9.3.0`](https://redirect.github.com/ckeditor/ckeditor5-react/blob/HEAD/CHANGELOG.md#930-2024-09-26) [Compare Source](https://redirect.github.com/ckeditor/ckeditor5-react/compare/v9.2.0...v9.3.0) ##### Features - **Experimental:** Better error messages in `useCKEditorCloud`. It now detects existing editor installations and gives migration info from NPM to CDN. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/6c4bd647532901b4ee51cea88e3016cc420199ce)) ##### Other changes - Remove `ckeditor5-premium-features` from `peerDependencies`. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/9b9ebe2a263c482d55e4db7526903fb5a8f9fb42)) ### [`v9.2.0`](https://redirect.github.com/ckeditor/ckeditor5-react/blob/HEAD/CHANGELOG.md#920-2024-09-19) [Compare Source](https://redirect.github.com/ckeditor/ckeditor5-react/compare/v9.1.0...v9.2.0) ##### Features - **Experimental:** Improve result type of `useCKEditorCloud` to make `CKEditorPremiumFeatures` and `CKBox` non-nullable when proper configuration is passed. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/1268d9efeeb5e34ee4f93e0e4d5e4e449ea59603)) ##### Other changes - **Experimental:** Rename the `languages` configuration property to `translations` in `useCKEditorCloud`. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/1268d9efeeb5e34ee4f93e0e4d5e4e449ea59603)) ### [`v9.1.0`](https://redirect.github.com/ckeditor/ckeditor5-react/blob/HEAD/CHANGELOG.md#910-2024-09-05) [Compare Source](https://redirect.github.com/ckeditor/ckeditor5-react/compare/v9.0.0...v9.1.0) We added an `onChangeInitializedEditors` callback to `CKEditorContext` component to allow tracking newly initialized editors within the JSX React tree. **Example** ```tsx { console.log( editors ); }} > ``` `onChangeInitializedEditors` will be called twice in the example above: 1. First log: `{ editor1: ... }` 2. Second log: `{ editor1: ..., editor2: ... }` ⚠️ Order of initialization is not guaranteed. `editor2` might be initialized before `editor1`. ##### Features - Add an `onChangeInitializedEditors` callback to CKEditorContext to allow tracking of newly initialized editors within the JSX React tree. Closes [#​513](https://redirect.github.com/ckeditor/ckeditor5-react/issues/513). ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/530656316356ee9bc915710d1cf16ea6519b9e99)) - **Experimental:** Added `useCKEditorCloud` hook for managing asynchronous loading of CKEditor from a CDN. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/ec8e603d409776374c89be623030f8467fc1cf92)) - **Experimental:** Added `withCKEditorCloud` HOC to simplify CKEditor integration with CDN in React components. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/ec8e603d409776374c89be623030f8467fc1cf92)) ##### Bug fixes - Image upload should be now possible in demos. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/54e362cf0fb5c034e51fbe290db8df794e9ca452)) - Indent button is no longer disabled in manual demos. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/54e362cf0fb5c034e51fbe290db8df794e9ca452)) - Manual demos should point to existing documentation links. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/54e362cf0fb5c034e51fbe290db8df794e9ca452)) ### [`v9.0.0`](https://redirect.github.com/ckeditor/ckeditor5-react/blob/HEAD/CHANGELOG.md#900-2024-08-07) [Compare Source](https://redirect.github.com/ckeditor/ckeditor5-react/compare/v8.0.0...v9.0.0) We are excited to announce a new major release of the React integration. In this release, we have introduced the following breaking changes that should make using the integration more intuitive and easier. - **ESM-first**: Besides the UMD build, the integration is now available in ESM format. In most projects, the new ESM build should be automatically prioritized by bundlers and other tools. - **Support for React 19**: We improved support for using the integration in React 19. As a result, the `` component and the `useMultiRootEditor` hook should no longer throw errors. - **New name of the global variable**: The name of the global variable used in the UMD build changed from `CKEditor` to `CKEDITOR_REACT`. ##### BREAKING CHANGES - Change the global name used in the UMD build from `CKEditor` to `CKEDITOR_REACT`. ##### Bug fixes - Adjusted `CKEditorContext` format to prevent race conditions in the `CKEditor` component. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/eaccdab2619551fbc867e87cac4b78e1ebab59ee)) - Change JSX runtime to `classic` so that `react-jsx-runtime` is not bundled. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/e65de14ca0465c8e785ca0995ccbbc3f43b9edc6)) - Change the global name used in the UMD build from `CKEditor` to `CKEDITOR_REACT` to match the new convention. See [ckeditor/ckeditor5#16736](https://redirect.github.com/ckeditor/ckeditor5/issues/16736). ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/51c6037e34dbd655eb33e519ced9bb551f4b8fa6)) ##### Other changes - Added support for React 19. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/eaccdab2619551fbc867e87cac4b78e1ebab59ee)) - Updated yarn.lock to fix dependabot alert. ([commit](https://redirect.github.com/ckeditor/ckeditor5-react/commit/2a0d18940b461a8ff69fec4d0447eab120e09a84)) ### [`v8.0.0`](https://redirect.github.com/ckeditor/ckeditor5-react/blob/HEAD/CHANGELOG.md#800-2024-06-26) [Compare Source](https://redirect.github.com/ckeditor/ckeditor5-react/compare/v7.0.0...v8.0.0) We are excited to announce the next major version of the React integration. This release is intended to allow the integration to work with the [latest version](https://redirect.github.com/ckeditor/ckeditor5/releases/tag/v42.0.0) of [new installation methods](https://redirect.github.com/ckeditor/ckeditor5/releases/tag/v42.0.0).

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 2 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 9.x releases. But if you manually upgrade to 9.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.