From 1bfa3ca246ada09c9f04ab76ed5365f1f3395dcd Mon Sep 17 00:00:00 2001 From: Jacek Bogdanski Date: Wed, 21 Aug 2024 13:54:12 +0200 Subject: [PATCH] Updated default CDN CKEditor 4 dependency to 4.25.0 --- CHANGELOG.md | 8 ++++++++ package.json | 4 ++-- src/useCKEditor.ts | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c6e99c..2da2e80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ If you would like to keep access to future CKEditor 4 security patches, check the [Extended Support Model](https://ckeditor.com/ckeditor-4-support/), which guarantees **security updates and critical bug fixes until December 2026**. Alternatively, [upgrade to CKEditor 5](https://ckeditor.com/docs/ckeditor5/latest/updating/ckeditor4/migration-from-ckeditor-4.html). +## ckeditor4-react 5.2.0 + +⚠️️️ CKEditor 4 CDN dependency has been upgraded to the latest secure version. All editor versions below 4.25.0-lts can no longer be considered as secure! ⚠️ + +Other Changes: + +* Updated default CDN CKEditor 4 dependency to [4.25.0-lts](https://github.com/ckeditor/ckeditor4/blob/master/CHANGES.md#ckeditor-4250-lts). + ## ckeditor4-react 5.1.0 ⚠️️️ CKEditor 4 CDN dependency has been upgraded to the latest secure version. All editor versions below 4.24.0-lts can no longer be considered as secure! ⚠️ diff --git a/package.json b/package.json index 1f99481..1fbffd3 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ }, "homepage": "https://github.com/ckeditor/ckeditor4-react#readme", "peerDependencies": { - "ckeditor4": "^4.24.0", + "ckeditor4": "^4.25.0", "react": "^18" }, "devDependencies": { @@ -73,7 +73,7 @@ "@typescript-eslint/parser": "^5.52.0", "browserstack-local": "^1.5.1", "chalk": "^4.1.2", - "ckeditor4": "^4.24.0", + "ckeditor4": "^4.25.0", "eslint": "^8.34.0", "eslint-config-ckeditor5": "^4.1.1", "eslint-plugin-react": "^7.32.2", diff --git a/src/useCKEditor.ts b/src/useCKEditor.ts index 48f85cb..6620e39 100644 --- a/src/useCKEditor.ts +++ b/src/useCKEditor.ts @@ -25,7 +25,7 @@ import { const { useEffect, useReducer, useRef } = React; -const defEditorUrl = 'https://cdn.ckeditor.com/4.24.0-lts/standard-all/ckeditor.js'; +const defEditorUrl = 'https://cdn.ckeditor.com/4.25.0-lts/standard-all/ckeditor.js'; const defConfig: CKEditorConfig = {}; /**