Merge pull request #1391 from CTFd/mark-2.4.2

2.4.2 / 2020-05-08
==================

**Admin Panel**
* Fix Challenge Reset in Admin Panel where Dynamic Challenges prevented resetting Challenges

**Plugins**
* Add the `CTFd.plugins.migrations` module to allow plugins to handle migrations. Plugins should now call `CTFd.plugins.migrations.upgrade` instead of `app.db.create_all` which will allow the plugin to have database migrations.
* Make Dynamic Challenges have a cascading deletion constraint against their respective Challenge row

**Miscellaneous**
* Add `app.plugins_dir` object to refer to the directory where plugins are installed
This commit is contained in:
Kevin Chung
2020-05-08 17:44:12 -04:00
committed by GitHub
4 changed files with 18 additions and 4 deletions

View File

@@ -1,3 +1,17 @@
2.4.2 / 2020-05-08
==================
**Admin Panel**
* Fix Challenge Reset in Admin Panel where Dynamic Challenges prevented resetting Challenges
**Plugins**
* Add the `CTFd.plugins.migrations` module to allow plugins to handle migrations. Plugins should now call `CTFd.plugins.migrations.upgrade` instead of `app.db.create_all` which will allow the plugin to have database migrations.
* Make Dynamic Challenges have a cascading deletion constraint against their respective Challenge row
**Miscellaneous**
* Add `app.plugins_dir` object to refer to the directory where plugins are installed
2.4.1 / 2020-05-06
==================

View File

@@ -31,7 +31,7 @@ if sys.version_info[0] < 3:
reload(sys) # noqa: F821
sys.setdefaultencoding("utf-8")
__version__ = "2.4.1"
__version__ = "2.4.2"
class CTFdRequest(Request):

View File

@@ -20,13 +20,13 @@
# -- Project information -----------------------------------------------------
project = u"CTFd"
copyright = u"2019, CTFd LLC"
copyright = u"2020, CTFd LLC"
author = u"Kevin Chung"
# The short X.Y version
version = u""
# The full version, including alpha/beta/rc tags
release = u"2.4.1"
release = u"2.4.2"
# -- General configuration ---------------------------------------------------

View File

@@ -1,6 +1,6 @@
{
"name": "ctfd",
"version": "2.4.1",
"version": "2.4.2",
"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": {