diff --git a/CHANGES.rst b/CHANGES.rst index 52bc0e6a..fad3eeab 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,10 +1,54 @@ Changelog ========= -Version 0.6.0 [unreleased] +Version 1.0.0 [2022-05-06] -------------------------- -WIP. +Features +~~~~~~~~ + +- Switched to new OpenWISP theme, registered the new menu items +- Added more REST API endpoint to manipulate details of Topology, Node and Link + +Changes +~~~~~~~ + +Backward incompatible changes +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +- Changed URL prefix of REST API from to ``/api/v1/topology/`` + ``/api/v1/network-topology/`` + for consistency with the other OpenWISP Modules +- Removed deprecated old receive topology API url; + use the new URL: ``/api/v1/network-topology/topology/{id}/receive/`` + +Dependencies +^^^^^^^^^^^^ + +- Dropped support for Python 3.6 +- Added support for Python 3.8 and Python 3.9 +- Dropped support for Django 2.2 +- Added support for Django 3.2 and 4.0 +- Increased OpenWISP Users version to 1.0.0 +- Removed redundant django-model-utils (it's defined in openwisp-utils) + +Other changes +^^^^^^^^^^^^^ + +- Moved uuid field of topology admin after main fields +- Changed "View topology graph" button color +- Added the `openwisp-utils DjangoModelPermissions + `_ + class to API views +- Allow nodes, link and topologies to be shared among different organizations + +Bugfixes +~~~~~~~~ + +- Ensured ``Link`` and ``Node`` belong to the same topology +- Removed use of custom ``has_permission()`` of old openwisp-utils +- Make sure migrations depend on swappable openwisp modules +- Load Organization model with swappable in tests Version 0.5.1 [2020-11-25] -------------------------- diff --git a/openwisp_network_topology/__init__.py b/openwisp_network_topology/__init__.py index ec2ba01c..1739f40b 100644 --- a/openwisp_network_topology/__init__.py +++ b/openwisp_network_topology/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 6, 0, 'alpha') +VERSION = (1, 0, 0, 'final') __version__ = VERSION # alias diff --git a/requirements-test.txt b/requirements-test.txt index 9ede0ed6..59d3c0af 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,5 @@ responses~=0.16.0 freezegun~=1.1.0 # Needed to test integrations -openwisp-monitoring @ https://github.com/openwisp/openwisp-monitoring/tarball/master -openwisp-utils[qa] @ https://github.com/openwisp/openwisp-utils/tarball/master +openwisp-monitoring~=1.0.0 +openwisp-utils[qa]~=1.0.1 diff --git a/requirements.txt b/requirements.txt index 32c2fabd..a33e017c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -# TODO set the next point release of openwisp-users when ready -openwisp-users @ https://github.com/openwisp/openwisp-users/tarball/master django>=3.0,<4.1 -netdiff~=0.9.0 +openwisp-users~=1.0.0 +netdiff~=1.0.0 jsonfield~=3.1.0 -django-flat-json-widget~=0.1.1 +django-flat-json-widget~=0.2.0