Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Changelog
#########

..
All enhancements and patches to codejail will be documented
in this file. It adheres to the structure of https://keepachangelog.com/ ,
but in reStructuredText instead of Markdown (for ease of incorporation into
Sphinx documentation and the PyPI description).

This project adheres to Semantic Versioning (https://semver.org/).

.. There should always be an "Unreleased" section for changes pending release.

Unreleased
**********

*

4.0.0 - 2025-06-13
******************

Changed
=======

* **BREAKING**: Require an explicit opt in to unsafety; defer decision to call
time rather than module load time.

* Calling ``safe_exec`` without having configured the codejail library will
now raise an exception rather than passing execution to ``not_safe_exec``.
(Note: This does not prevent other kinds of dangerous misconfiguration, such
as a bad or missing AppArmor profile.)
* In installations that are intended to always run in safe mode, and have been
properly configured to do so, this should have no effect.
* In installations where codejail sometimes needs to run with no sandboxing
(e.g. in unit tests), developers will need to set
``codejail.safe_exec.ALWAYS_BE_UNSAFE`` to ``True``. This can be set from a
unit test harness, for example.

Added
=====

* Support for Django 5.2
2 changes: 1 addition & 1 deletion codejail/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""init"""

__version__ = '3.5.2'
__version__ = '4.0.0'