Skip to content

Commit a4afea6

Browse files
committed
0.8.0 release
1 parent ea0719f commit a4afea6

File tree

2 files changed

+100
-11
lines changed

2 files changed

+100
-11
lines changed

CHANGES.rst

Lines changed: 99 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,109 @@
11
Changelog
22
=========
33

4-
Version 0.8.0 [unreleased]
4+
Version 0.8.0 [2020-11-23]
55
--------------------------
66

7-
- [change] The code of `django-netjsonconfig <https://github.com/openwisp/django-netjsonconfig>`_ was merged
8-
in openwisp-controller to simplify maintenance.
9-
- [feature] Added possibility to `extend openwisp-controller <https://github.com/openwisp/openwisp-controller#extending-openwisp-controller>`_
10-
- [support] Increased minimum `django-x509 <https://github.com/openwisp/django-x509>`_ version to 0.7.0
11-
- [change] Increased minimum `django-taggit <https://github.com/jazzband/django-taggit>`_ version to 1.3.0
12-
- [api] Changed API of device_location view for consistency: ``/api/device-location/{id}/``
7+
Features
8+
~~~~~~~~
9+
10+
- Added possibility to `extend openwisp-controller
11+
<https://github.com/openwisp/openwisp-controller#extending-openwisp-controller>`_
12+
- Added flat JSON widget for configuration variables
13+
- Added JSON Schema widget to credentials admin
14+
- Added ``device_registered`` signal
15+
- Added `OpenWISP Notifications <https://github.com/openwisp/openwisp-notifications#openwisp-notifications>`_
16+
module as a dependency, which brings support for
17+
web and email notifications for important events
18+
- Allow using a different device model in update_config:
19+
his allows `OpenWISP Monitoring <https://github.com/openwisp/openwisp-monitoring#openwisp-monitoring>`_
20+
to override the ``can_be_updated`` method to take into account the monitoring status,
21+
so that push updates won't be attempted
22+
- Added notifications for changes of ``is_working`` status of credentials
23+
- UX, automatically add/remove default values to device context:
24+
automatically add or remove default values of templates to the configuration context
25+
(a.k.a. configuration variables) when templates are added or removed from devices
26+
- UX: added `system defined variables
27+
<https://github.com/openwisp/openwisp-controller#system-defined-variables>`_ section
28+
29+
Changes
30+
~~~~~~~
31+
32+
- **Backward incompatible**: the code of `django-netjsonconfig <https://github.com/openwisp/django-netjsonconfig>`_
33+
was merged in openwisp-controller to simplify maintenance
34+
- Changed API of ``device_location`` view for consistency: ``/api/device-location/{id}/``
1335
becomes ``/api/v1/device/{id}/location/``, the old URL is kept for backward compatibility
1436
but will be removed in the future
15-
- [api] Added `API documentation <https://github.com/openwisp/openwisp-controller#geo-app>`_
16-
- improved documentation
17-
- [change] **Backward incompatible change**: schema url endpoint changed to ``<controller-url>/config/schema.json`` and it's now in config namespace instead of admin namespace.
37+
- **Backward incompatible change**: schema url endpoint changed to ``<controller-url>/config/schema.json``
38+
and it's now in config namespace instead of admin namespace
39+
- Changed VPN DH length to 2048 and move its generation to the background because it's a lot slower
40+
- Admin: Order Device, Template and VPN alphabetically by default
41+
- Admin: Added ``mac_address`` field to the device list page (``DeviceAdmin.list_display``)
42+
- Increased ``max_length`` of common name to ``64``
43+
- Changed the config apply logic to avoid restarting the openwisp-config
44+
deamon if the configuration apply procedure is already being run
45+
- Made template ``config`` field required in most cases
46+
- Changed ``DeviceConnection.failure_reason`` field to ``TextField``,
47+
this avoids possible exception if ``failed_reason`` is very long,
48+
which may happen in some corner cases
49+
- Made Device ``verbose_name`` configurable, see ``OPENWISP_CONTROLLER_DEVICE_VERBOSE_NAME``
50+
- Increased `netjsonconfig <https://github.com/openwisp/netjsonconfig#netjsonconfig>`__ version to 0.9.x
51+
(which brings support for new interface types,
52+
`see the change log of netjsonconfig <http://netjsonconfig.openwisp.org/en/latest/general/changelog.html#version-0-9-0-2020-11-18>`_
53+
for more information)
54+
- Increased `django-x509 <https://github.com/openwisp/django-x509#django-x509>`_ version to 0.9.x
55+
- Increased `django-loci <https://github.com/openwisp/django-loci#django-loci>`_ version to 0.4.x
56+
(which brings many bug fixes to the mapping feature, as long as support for
57+
geo-coding and reverse geo-coding,
58+
`see the change log of django-loci <https://github.com/openwisp/django-loci/blob/master/CHANGES.rst#version-040-2020-11-19>`_
59+
for more information)
60+
- Increased `openwisp-users <https://github.com/openwisp/openwisp-users#openwisp-users>`__ version from 0.2.x to 0.5.x
61+
(which brings many interesting improvements to multi-tenancy,
62+
`see the change log of openwisp-users <https://github.com/openwisp/openwisp-users/blob/master/CHANGES.rst#version-050-2020-11-18>`_
63+
for more information)
64+
- Increased `django-taggit <https://github.com/jazzband/django-taggit>`_ version to 1.3.x
65+
- Increased `openwisp-utils <https://github.com/openwisp/openwisp-utils#openwisp-utils>`__ version to 0.7.x
66+
- Increased `django-rest-framework-gis <https://github.com/openwisp/django-rest-framework-gis>`_ version to 0.16.x
67+
- Added support for django 3.1
68+
69+
Bugfixes
70+
~~~~~~~~
71+
72+
- Fixed JSON validation error when dealing with OpenVPN configuration
73+
- Ensured ``unique`` in ``HARDWARE_ID_OPTIONS`` defaults to ``False``
74+
- Avoid need of migration if ``HARDWARE_ID_OPTIONS`` is changed
75+
- JS: prevent crash if backend value is empty
76+
- Do not execute default template selection if device exists
77+
- Close preview overlay on errors
78+
- Avoid triggering ``config_modified`` signal during registration
79+
- UI: Fixed whitespace after overview tab in in device page
80+
- Validate ``Config.context`` and ``Template.default_values``:
81+
``Config.context`` and ``Template.default_values`` must always be a dictionary,
82+
falsy values will be converted to empty dictionary automatically
83+
- Fixed failures in ``update_config`` operation:
84+
the ``update_config`` operation will be executed only when the transaction
85+
is committed to the database; also handled rare but possible error conditions
86+
- Handled device not existing case in ``update_config`` task
87+
- Fixed auto cert feature failure when device name is too long
88+
- UI: avoid showing main scrollbar in preview mode
89+
- Fixed ``OPENWISP_CONTROLLER_BACKEND_DEVICE_LIST = False``
90+
- UI fixed advanced mode bugs: positioning is done using css instead of js.
91+
Removed body scrollbar when in advanced mode.
92+
Back to normal mode with ESC key.
93+
Hidden netjsonconfig docs hint on narrow screens.
94+
- Avoid simultaneous ``update_config`` tasks:
95+
since now the launch of the task is executed when the
96+
transaction is committed to the database, also the
97+
check for other updates in progress must be moved there
98+
- Fixed ``OPENWISP_CONTROLLER_CONTEXT`` setting getting modified at run time
99+
- Fixed z-index of preview overlay: the z-index is increased so it's higher
100+
than the main navigation menu to avoid the possibility of triggering the
101+
main menu inadvertently
102+
- Prevent sending ``config_modified`` signal multiple times
103+
- Fix timeout when changing template: slow operations are moved to the background
104+
- Fixed variablle validation: now all the available context
105+
(device variables, system variables) are taken into account when performing validation
106+
- Removed unnecessary ``static()`` call from media assets
18107

19108
Version 0.7.0.post1 [2020-07-01]
20109
--------------------------------

openwisp_controller/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (0, 7, 0, 'post1')
1+
VERSION = (0, 8, 0, 'final')
22
__version__ = VERSION # alias
33

44

0 commit comments

Comments
 (0)