Skip to content

Commit

Permalink
0.8.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Ajay Tripathi <[email protected]>
Co-authored-by: Federico Capoano <[email protected]>
  • Loading branch information
atb00ker and nemesifier authored Aug 18, 2020
1 parent e467a05 commit f720e4c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ branches:
only:
- master

# perform static analysis before installing all dependencies
# this allows to save resources and build time if this step fails
before_install:
- pip install -U pip setuptools wheel
- pip install --no-cache-dir -U -r requirements-test.txt
Expand All @@ -31,13 +29,11 @@ before_install:
install:
- pip install $DJANGO
- python setup.py -q develop
- pip install --upgrade https://github.com/openwisp/openwisp-utils/tarball/master#egg=openwisp_utils[qa]

before_script:
- ./run-qa-checks

script:
- jslint django_x509/static/django-x509/js/*.js
- coverage run --source=django_x509 runtests.py
# SAMPLE tests do not influence coverage, so we can speed up tests with --parallel
- SAMPLE_APP=1 ./runtests.py --parallel --keepdb
Expand Down
24 changes: 21 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
Changelog
=========

Version 0.8.0 [unreleased]
Version 0.8.0 [2020-08-18]
--------------------------

- Added swapper;
**breaking change**: systems using django-x509 as a library must set ``DJANGO_X509_CA_MODEL`` & ``DJANGO_X509_CERT_MODEL`` values when upgrading or an exception will be raised
Features
~~~~~~~~

- Added swappable models, improved extensibility
- Improved documentation on `how to extend django-x509 <https://github.com/openwisp/django-x509#extending-django-x509>`_

Changes
~~~~~~~

- **Breaking change**: systems using django-x509 as a library must set ``DJANGO_X509_CA_MODEL``
& ``DJANGO_X509_CERT_MODEL`` values in their settings.py when upgrading or an exception like the following one will be raised:

``django.core.exceptions.ImproperlyConfigured: Could not find django_x509.Ca!``
- Added support for django 3.1
- Added support for cryptography 3.0.0

Bugfixes
~~~~~~~~

N/A

Version 0.7.0 [2020-05-16]
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion django_x509/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (0, 7, 0, 'final')
VERSION = (0, 8, 0, 'final')
__version__ = VERSION # alias


Expand Down
2 changes: 2 additions & 0 deletions run-qa-checks
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

jslint django_x509/static/django-x509/js/*.js

openwisp-qa-check --migrations-to-ignore 4 \
--migration-path ./django_x509/migrations/ \
--migration-module django_x509
Expand Down

0 comments on commit f720e4c

Please sign in to comment.