From d9a0d78b757e03ae563ef39bf720d82f257c359d Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Sun, 24 May 2020 20:59:17 -0400 Subject: [PATCH] Mark 2.4.3 (#1440) 2.4.3 / 2020-05-24 ================== **Miscellaneous** * Notifications/Events endpoint will now immediately send a ping instead of waiting a few seconds. * Upgrade `gunicorn` dependency to `19.10.0` * Upgrade `boto3` dependency to `1.13.9` * Improve `import_ctf()` reliability by closing all connections before dropping & recreating database * Close database session in IP tracking code in failure situations to avoid potential dangling database connections * Don't allow backups to be imported if they do not have a `db` folder * Change `import_ctf()` process slightly to import built-in tables first and then plugin tables * Handle exception where a regex Flag is invalid **API** * File deletion endpoint (`DELETE /api/v1/files/[file_id]`) will now correctly delete the associated file **Plugins** * Add `CTFd.plugins.get_plugin_names()` to get a list of available plugins * Add `CTFd.plugins.migrations.current()` to get the current revision of a plugin migration * Improve `CTFd.plugins.migrations.upgrade()` to be able to upgrade to a specific plugin migration * Run plugin migrations during import process **Themes** * Update jQuery to v3.5.1 to fix mobile hamburger menu * Upgrade some dependencies in yarn lockfile * Fix invalid team link being generated in `scoreboard.js` **Admin Panel** * Fix sending of user creation notification email * Fix button to remove users from teams --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ CTFd/__init__.py | 2 +- docs/conf.py | 2 +- package.json | 2 +- 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a2da8c6..1abb0da5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +2.4.3 / 2020-05-24 +================== + +**Miscellaneous** +* Notifications/Events endpoint will now immediately send a ping instead of waiting a few seconds. +* Upgrade `gunicorn` dependency to `19.10.0` +* Upgrade `boto3` dependency to `1.13.9` +* Improve `import_ctf()` reliability by closing all connections before dropping & recreating database +* Close database session in IP tracking code in failure situations to avoid potential dangling database connections +* Don't allow backups to be imported if they do not have a `db` folder +* Change `import_ctf()` process slightly to import built-in tables first and then plugin tables +* Handle exception where a regex Flag is invalid + +**API** +* File deletion endpoint (`DELETE /api/v1/files/[file_id]`) will now correctly delete the associated file + +**Plugins** +* Add `CTFd.plugins.get_plugin_names()` to get a list of available plugins +* Add `CTFd.plugins.migrations.current()` to get the current revision of a plugin migration +* Improve `CTFd.plugins.migrations.upgrade()` to be able to upgrade to a specific plugin migration +* Run plugin migrations during import process + +**Themes** +* Update jQuery to v3.5.1 to fix mobile hamburger menu +* Upgrade some dependencies in yarn lockfile +* Fix invalid team link being generated in `scoreboard.js` + +**Admin Panel** +* Fix sending of user creation notification email +* Fix button to remove users from teams + + 2.4.2 / 2020-05-08 ================== diff --git a/CTFd/__init__.py b/CTFd/__init__.py index 4faeda20..44b620b7 100644 --- a/CTFd/__init__.py +++ b/CTFd/__init__.py @@ -31,7 +31,7 @@ if sys.version_info[0] < 3: reload(sys) # noqa: F821 sys.setdefaultencoding("utf-8") -__version__ = "2.4.2" +__version__ = "2.4.3" class CTFdRequest(Request): diff --git a/docs/conf.py b/docs/conf.py index ae77643f..c41aeca5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ author = u"Kevin Chung" # The short X.Y version version = u"" # The full version, including alpha/beta/rc tags -release = u"2.4.2" +release = u"2.4.3" # -- General configuration --------------------------------------------------- diff --git a/package.json b/package.json index 24f0ea77..7d8627d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ctfd", - "version": "2.4.2", + "version": "2.4.3", "description": "CTFd is a Capture The Flag framework focusing on ease of use and customizability. It comes with everything you need to run a CTF and it's easy to customize with plugins and themes.", "main": "index.js", "directories": {