Skip to content

Commit e166999

Browse files
pandafynemesifier
andauthored
1.0.0 release
Co-authored-by: Federico Capoano <[email protected]>
1 parent 286f5d0 commit e166999

File tree

5 files changed

+117
-10
lines changed

5 files changed

+117
-10
lines changed

CHANGES.rst

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,119 @@
11
Changelog
22
=========
33

4+
Version 1.0.0 [2022-05-05]
5+
--------------------------
6+
7+
Features
8+
--------
9+
10+
- Added ``version`` and ``os`` filters to the ``build`` endpoint
11+
- Added OpenWISP 1.x firmware upgrader (legacy)
12+
- Added support backfire in upgrades from OpenWISP 1.x (legacy)
13+
- Added functionality in OpenWrt backend to free up memory before
14+
uploading the firmware image
15+
- Added following firmwares to the default firmware image map:
16+
17+
- Custom WAP-1200
18+
- COMFAST CF-E320N v2 (OpenWRT 19.07 and earlier)
19+
- EnGenius EAP1300
20+
- Linksys WRT1900ACS
21+
- Linksys WRT3200ACM
22+
- Raspberry Pi 2 Model B
23+
- Raspberry Pi 3 Model B
24+
- TP-Link Archer C7 v1 (OpenWRT 19.07 and earlier)
25+
- TP-Link Archer C7 v1 (OpenWRT 19.07 and later)
26+
- TP-Link Archer C7 v2 (OpenWRT 19.07 and earlier)
27+
- TP-Link Archer C7 v2 (OpenWRT 19.07 and later)
28+
- TP-Link Archer C7 v4 (OpenWRT 19.07 and earlier)
29+
- TP-Link Archer C7 v4 (OpenWRT 19.07 and later)
30+
- TP-Link Archer C7 v5 (OpenWRT 19.07 and earlier)
31+
- TP-Link Archer C7 v5 (OpenWRT 19.07 and later)
32+
- TP-Link Archer C50 v4
33+
- TP-LINK CPE210 v3 (OpenWRT 19.07 and earlier)
34+
- TP-LINK CPE210 v2 (OpenWRT 19.07 and later)
35+
- TP-LINK CPE210 v3 (OpenWRT 19.07 and later)
36+
- TP-LINK CPE510 v3 (OpenWRT 19.07 and later)
37+
- TP-Link WDR3600 v1 (OpenWRT 19.07 and earlier)
38+
- TP-Link WDR3600 v1 (OpenWRT 19.07 and later)
39+
- TP-Link WDR4300 v1 (OpenWRT 19.07 and earlier)
40+
- TP-Link WDR4300 v1 (OpenWRT 19.07 and later)
41+
- TP-Link WDR4300 v1 Israel Version (OpenWRT 19.07 and earlier)
42+
- TP-Link WDR4300 v1 Israel Version (OpenWRT 19.07 and later)
43+
- TP-Link WR2543N/ND (OpenWRT 19.07 and earlier)
44+
- TP-Link WR2543N/ND (OpenWRT 19.07 and later)
45+
- TP-Link TL-WR902AC v3
46+
- Ubiquiti AirRouter (OpenWRT 19.07 and earlier)
47+
- Ubiquiti AirRouter (OpenWRT 19.07 and later)
48+
- Ubiquiti EdgeRouter Lite
49+
- Ubiquiti Nanostation Loco M2 - XW (OpenWRT 19.07 and earlier)
50+
- Ubiquiti Nanostation Loco M (OpenWRT 19.07 and later)
51+
- Ubiquiti Nanostation Loco M - XW (OpenWRT 19.07 and later)
52+
- Ubiquiti Nanostation M - XW (OpenWRT 19.07 and earlier)
53+
- Ubiquiti Nanostation M (OpenWRT 19.07 and earlier)
54+
- Ubiquiti Nanostation M - XW (OpenWRT 19.07 and later)
55+
- Ubiquiti Nanostation M (OpenWRT 19.07 and later)
56+
- Ubiquiti Picostation Bullet XW (OpenWRT 19.07 and earlier)
57+
- Ubiquiti Picostation M2HP & Bullet (OpenWRT 19.07 and earlier)
58+
- Ubiquiti Picostation M (OpenWRT 19.07 and later)
59+
- Ubiquiti Unifi AC Mesh (OpenWRT 19.07 and earlier)
60+
- Ubiquiti Unifi AC Mesh (OpenWRT 19.07 and later)
61+
- Ubiquiti Unifi AC Mesh-Pro (OpenWRT 19.07 and earlier)
62+
- Ubiquiti Unifi AC Mesh-Pro (OpenWRT 19.07 and later)
63+
- Ubiquiti UniFi AC Pro (OpenWRT 19.07 and later)
64+
- VMware, Inc. VMware Virtual Platform
65+
- ZBT-WG3526 (16M)
66+
- x86 32 bit (various models)
67+
- x86 Geode(TM) Integrated Processor by AMD
68+
69+
Changes
70+
-------
71+
72+
Backward incompatible changes
73+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74+
75+
- REST APIs are enabled by default. You can disable them by setting
76+
``OPENWISP_FIRMWARE_UPGRADER_API`` to ``False``.
77+
- Changed REST API prefix from ``/upgrader/`` to ``/firmware-upgrader/``.
78+
This makes it consistent with REST API endpoints of other modules
79+
80+
Dependencies
81+
^^^^^^^^^^^^
82+
83+
- Dropped support for Python 3.6
84+
- Dropped support for Django 2.2
85+
- Added support for Python 3.8 and 3.9
86+
- Added support for Django 3.2 and 4.0
87+
- Upgraded openwisp-controller to 1.0.x
88+
89+
Other changes
90+
^^^^^^^^^^^^^
91+
92+
- Avoid deletion of ``UpgradeOperation`` when related
93+
``Firmware Image`` is deleted
94+
- Increased default retries in OpenWRT upgrader from
95+
``15`` to ``40``
96+
- Made firmware upgrade logs translatable
97+
- Changed the default API throttle rate from ``400/hour`` to ``1000/minute``
98+
- Added time limits to ``openwisp_firmware_upgrader.tasks.create_device_firmware``
99+
and ``openwisp_firmware_upgrader.tasks.create_all_device_firmwares`` celery tasks
100+
101+
Bugfixes
102+
--------
103+
104+
- Fixed firmware checksum check
105+
- Improved error handling for upgrade operations
106+
- Remove openwisp-config persistent checksum:
107+
openwisp-config 0.6.0 makes the checksum persistent,
108+
but this causes upgraded devices to not download the configuration
109+
again after the upgrade, which is an issue if the configuration
110+
contains any file which is not stored in ``/etc/``.
111+
- Fixed a bug which caused ``Server 500`` error on creating a new
112+
``Build`` object if ``category`` field was left empty
113+
- Fixed bugs in restoring deleted devices using ``django-reversion``
114+
- Fixed migrations referencing non-swappable OpenWISP modules
115+
that broke OpenWISP's extensibility
116+
4117
Version 0.1.1 [2021-01-08]
5118
--------------------------
6119

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please refer to the `Contribution Guidelines <https://github.com/openwisp/openwisp-firmware-upgrader#contributing>`_.
1+
Please refer to the `OpenWISP contributing guidelines <http://openwisp.io/docs/developer/contributing.html>`_.

openwisp_firmware_upgrader/__init__.py

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

44

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openwisp-utils[qa] @ https://github.com/openwisp/openwisp-utils/tarball/master
1+
openwisp-utils[qa]~=1.0.1
22
redis~=4.2.2
33
django-redis~=5.2.0
44
mock-ssh-server~=0.8.0

setup.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66

77
from openwisp_firmware_upgrader import get_version
88

9-
# TODO: change this when next version of openwisp_controller is released
10-
controller = 'https://github.com/openwisp/openwisp-controller/tarball/master'
11-
# TODO: change this when next version of openwisp_utils is released
12-
utils = 'https://github.com/openwisp/openwisp-utils/tarball/master'
13-
149
if sys.argv[-1] == 'publish':
1510
# delete any *.pyc, *.pyo and __pycache__
1611
os.system('find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf')
@@ -40,8 +35,7 @@
4035
include_package_data=True,
4136
zip_safe=False,
4237
install_requires=[
43-
f'openwisp-controller @ {controller}',
44-
f'openwisp-utils[rest] @ {utils}',
38+
'openwisp-controller~=1.0.0',
4539
'django-private-storage~=3.0.0',
4640
],
4741
classifiers=[

0 commit comments

Comments
 (0)