diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..c88a062 Binary files /dev/null and b/.DS_Store differ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ce2103..45908c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,10 +3,10 @@ name: build on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: lint: @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12'] fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/CHANGES.rst b/CHANGES.rst index 0a93c40..14acf08 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,18 +4,17 @@ Changelog 1.0.0 ----- -Release date: - +Release date: 2024/7/5 -- Disable the version check for old CKEditor versions. - - -0.5.2 ------ +Since CKEditor 4 is no longer maintained, this release is the last major release of Flask-CKEditor. -Release date: N/A +There will be no new features added to this package, only bug fixes will be provided. - Add ``cleanify`` function to ``flask_ckeditor.utils`` for HTML sanitization. - +- Disable the version check for old CKEditor versions. +- Update the default CDN library version to 4.22.1. +- Drop Python 3.7 support and add 3.12 support. +- Fix the missing bundled CKEditor resources. 0.5.1 ----- diff --git a/README.md b/README.md index 2c9dc21..45cd8f5 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ CKEditor integration for Flask, including image upload, code syntax highlighting, and more. > [!IMPORTANT]\ -> This project is unmaintained due to the CKEditor 4's end of life, and we will not support CKEditor 5 (GPL licensed). -> Please consider using paid CKEditor 4 LTS version, CKEditor 5, or other alternatives. Thanks! +> Since CKEditor 4's end of life, and we will not support CKEditor 5 (GPL licensed). +> This project is in maintainance mode now. There will be no new features, only bug fixes. +> For security reasons, please consider using paid CKEditor 4 LTS version, CKEditor 5, or other alternatives. ## Links diff --git a/flask_ckeditor/__init__.py b/flask_ckeditor/__init__.py index 8d9f2ba..a4fe820 100644 --- a/flask_ckeditor/__init__.py +++ b/flask_ckeditor/__init__.py @@ -14,7 +14,7 @@ class _CKEditor(object): """The class implement functions for Jinja2 template.""" @staticmethod - def load(custom_url=None, pkg_type=None, serve_local=None, version='4.14.0'): + def load(custom_url=None, pkg_type=None, serve_local=None, version='4.22.1'): """Load CKEditor resource from CDN or local. :param custom_url: The custom resource url to use, build your CKEditor diff --git a/setup.py b/setup.py index a1607a7..a60231b 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='Flask-CKEditor', - version='1.0.0-dev', + version='1.0.0', url='http://github.com/helloflask/flask-ckeditor', license='MIT', author='Grey Li', @@ -43,11 +43,11 @@ 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] diff --git a/tox.ini b/tox.ini index 95abc78..5b1043d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39, py310, py311, docs +envlist = py38, py39, py310, py311, py312, docs skip_missing_interpreters = true # skipsdist = true