Skip to content

Commit

Permalink
1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 6, 2022
1 parent 0cb9eb3 commit 0088951
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 9 deletions.
48 changes: 46 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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
<https://github.com/openwisp/openwisp-users#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]
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion openwisp_network_topology/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (0, 6, 0, 'alpha')
VERSION = (1, 0, 0, 'final')
__version__ = VERSION # alias


Expand Down
4 changes: 2 additions & 2 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -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
7 changes: 3 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0088951

Please sign in to comment.