Skip to content

1.20.0 (2022-01-26)

Compare
Choose a tag to compare
@mathiasertl mathiasertl released this 26 Jan 20:16
1.20.0
07cbe9b

WARNING docker-compose users: Update from 1.18 or earlier? See the update notes or you might loose private keys!

  • Parsing and formatting of names now correctly escapes or quotes special characters.
  • django_ca.utils.shlex_split() was renamed to django_ca.utils.split_str. The old name will be removed in django_ca==1.22.
  • Require a CommonName when generating a CA instead of implicitly setting the human-readable name if no CommonName was given.
  • Add support for cryptography 36.0.0.
  • Add support for Alpine 3.15.
  • Make log level and message format more easily configurable with LOG_LEVEL, LIBRARY_LOG_LEVEL and LOG_FORMAT.
  • Drop pytz as dependency (and use datetime.timezone directly).
  • Add mdlDS and mdlJWS X509 extensions for support mobile Driver Licence.
  • Reworked installation instructions to link to a set of quickstart guides dedicated to each installation option.
  • Add --bundle option to manage.py sign_cert to allow writing the whole certificate bundle.

ACMEv2 support

ACMEv2 support will be included and enabled by default starting with django-ca==1.22. You will still have
to enable the ACMEv2 interface for each CA that should provide one. The documentation has been updated to
assume that you want enable ACMEv2 support.

  • Add support for updating an accounts email address.
  • Add support for deactivating ACME accounts.
  • Fix issuing certificates if settings.USE_TZ=True (fixes #82).
  • Fix issuing certificates for root CAs (fixes #83).

Docker and docker-compose

  • Update Docker image to be based on Alpine 3.15.
  • Do not expose ports of internal daemons when using docker-compose.

Backwards incompatible changes

  • Drop support for Python 3.6.
  • Drop support for Django 3.1.
  • Drop support for idna 2.8, 3.0 and 3.1.
  • Removed the manage.py dump_ocsp_index command.
  • Remove the --csr-format parameter to manage.py sign_cert (deprecated since 1.18.0).
  • django_ca.utils.parse_csr() has been removed (deprecated since 1.18.0).

Deprecation notices

  • This is the last release to support Django 2.2.
  • This is the last release to support cryptography 3.3 and 3.4.
  • This is the last release to support Alpine 3.12 and 3.13