Skip to content

Commit

Permalink
1.0.0 release
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Capoano <f.capoano@openwisp.io>
  • Loading branch information
pandafy and nemesifier authored May 5, 2022
1 parent 4dbed03 commit 13f2781
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 13 deletions.
70 changes: 66 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
Changelog
=========

Version 0.2.0 [unreleased]
Version 1.0.0 [2022-05-05]
--------------------------

WIP.
Features
~~~~~~~~

- Added metrics for mobile (5G/LTE/UMTS/GSM)
`signal strength <https://github.com/openwisp/openwisp-monitoring#mobile-signal-strength>`_,
`signal quality <https://github.com/openwisp/openwisp-monitoring#mobile-signal-quality>`_
and `mobile access technology in use
<https://github.com/openwisp/openwisp-monitoring#mobile-access-technology-in-use>`_.
- Made `Ping check configurable <https://github.com/openwisp/openwisp-monitoring#openwisp_monitoring_ping_check_config>`_
- Added monitoring status chart to the dashboard and
a geographic map which shows a visual representation of the
monitoring the status of the devices.
- Added functionality to automatically clear the device's ``management_ip``
when a device goes offline
- Added support for specifying the time for received time-series data.
- Made read requests to timeseries DB resilient to failures

Changes
~~~~~~~

Backward incompatible changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- *Monitoring Template* is deprecated in favour of `openwisp monitoring packages <https://github.com/openwisp/openwrt-openwisp-monitoring#openwrt-openwisp-monitoring>`_.
Follow the migration guide in `Migrating from monitoring scripts to monitoring packages <#migrating-from-monitoring-scripts-to-monitoring-packages>`_
- *Monitoring Template* is removed in favour of
`openwisp monitoring packages <https://github.com/openwisp/openwrt-openwisp-monitoring#openwrt-openwisp-monitoring>`_.
Follow the migration guide in `migrating from monitoring scripts to
monitoring packages <https://github.com/openwisp/openwisp-monitoring#migrating-from-monitoring-scripts-to-monitoring-packages>`_
section of openwisp-monitoring documentation.
- If you have made changes to the default *Monitoring Template*, then
create a backup of your template before running migrations. Running
Expand All @@ -33,6 +50,51 @@ Backward incompatible changes
and `associated WiFi clients <https://github.com/openwisp/openwisp-monitoring#wifi-clients>`_
metrics store additional tags, i.e. ``organization_id``, ``location_id`` and ``floorplan_id``.

Dependencies
^^^^^^^^^^^^

- Dropped support for Python 3.6
- Dropped support for Django 2.2
- Added support for Python 3.8 and 3.9
- Added support for Django 3.2 and 4.0
- Upgraded openwisp-controller to 1.0.x
- Upgraded inflxudb to 5.3.x
- Upgraded django-cache-memoize to 0.1.0
- Upgraded django-nested-admin to 3.4.0

Other changes
^^^^^^^^^^^^^

- *Configuration applied* check is triggered whenever the
configuration status of a device changes
- Added a default ``5`` minutes tolerance to ``CPU`` and ``memory``
alert settings.
- Increased threshold value for ``disk`` alert settings from
*80%* to *90%*, since some device models have limited flash and
would trigger the alert in many cases.
- Renamed ``Check.check`` field to ``Check.check_type``
- Made metric health status independent of AlertSetting tolerance.
Added ``tolerance_crossed`` parameter in
``openwisp_monitoring.monitoring.signals.threshold_crossed`` signal
- The system does not sends connection notifications if the
connectivity of the device changes
- Improved UX of device's reachability (ping) chart.
Added more colours to represent different scenarios
- Avoid showing charts which have empty data in the REST API response
and in the device charts admin page

Bugfixes
--------

- Fixed a bug that caused inconsistency in the order of chart summary values
- Fixed bugs in restoring deleted devices using ``django-reversion``
- Fixed migrations referencing non-swappable OpenWISP modules
that broke OpenWISP's extensibility
- Skip retry for writing metrics beyond retention policy.
The celery worker kept on retrying writing data to InfluxDB even
when the data points crossed the retention policy of InfluxDB. This
led to accumulation of such tasks which overloaded the celery workers.

Version 0.1.0 [2021-01-31]
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion openwisp_monitoring/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (0, 2, 0, 'alpha')
VERSION = (1, 0, 0, 'final')
__version__ = VERSION # alias


Expand Down
4 changes: 1 addition & 3 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# unpinned, the version is dictated by openwisp-controller
# TODO: Remove before release
openwisp-utils[qa] @ https://github.com/openwisp/openwisp-utils/tarball/master
openwisp-utils[qa]~=1.0.1
redis~=3.5.3
django-redis~=4.12.1
mock-ssh-server~=0.9.0
Expand Down
6 changes: 1 addition & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# TODO: put back the standard pypi release when
# next point version of openwisp-controller is released
openwisp-controller @ https://github.com/openwisp/openwisp-controller/tarball/master
# openwisp-utils[rest] is left unpinned so the version used
# is the one dictated by openwisp-controller
openwisp-controller~=1.0.0
influxdb~=5.3.1
django-cache-memoize~=0.1.0
django-nested-admin~=3.4.0
Expand Down

0 comments on commit 13f2781

Please sign in to comment.