Releases: openwisp/openwisp-firmware-upgrader
Releases · openwisp/openwisp-firmware-upgrader
1.1.0 [2024-11-22]
Features
- Allowed specifying options for upgrade operations.
- Added REST API endpoints for
DeviceFirmware
andUpgradeOperation
. - Added autocomplete support for filters in the admin interface.
- Added support for device deactivation: prevent changing DeviceFirmwareImage of deactivated device.
- Added following firmwares to the default firmware image map:
- COMFAST CF-E375AC
- Dongwon T&I DW02-412H (128M) / KT GiGA WiFi home (128M)
- Edgecore EAP102
- GL.iNet GL-AR300M (NAND)
- Generic x86/32 bit
- Generic x86/64 (QEMU/KVM)
- MikroTik wAP ac
- TP-Link EAP225-Outdoor v3
- Ubiquiti UniFi (OpenWrt 19.07 and later)
- Ubiquiti UniFi AC LR (OpenWrt 19.07 and later)
- Ubiquiti UniFi AP Pro (OpenWrt 19.07 and earlier)
- Ubiquiti UniFi AP Pro (OpenWrt 19.07 and later)
- VMware, Inc. VMware Virtual Platform
- YunCore AX820
- YunCore G720
- Zbtlink ZBT-WE1026-5G (16M)
- Zbtlink ZBT-WE826 (16M)
- Zbtlink ZBT-WE826 (32M)
- Zbtlink ZBT-WG3526 (16M)
- Zbtlink ZBT-WG3526 (32M)
Changes
- Try all available DeviceConnection for performing upgrades.
- Allow longer firmware filenames upto 255 characters.
Dependencies
- Bumped
openwisp-controller~=1.1.0
. - Bumped
django-private-storage~=3.1.0
. - Added support for Django
4.1.x
and4.2.x
. - Added support for Python
3.10
. - Dropped support for Python
3.7
. - Dropped support for Django
3.0.x
and3.1.x
.
Bugfixes
1.0.1 [2022-06-10]
Bugfixes
- Fixed hardcoded storage backend of the "FirmwareImage.file" field.
FirmwareImage.file
was configured to usePrivateFileSystemStorage
, which made it impossible to use other private storage backends. The "OPENWISP_FIRMWARE_PRIVATE_STORAGE_INSTANCE" setting is added to make theFirmwareImage.file
storage configurable. - Fixed inconsistent URL keyword argument in "serve_private_file" URL pattern. This broke the reverse proxy feature of django-private-storage.
1.0.0 [2022-05-05]
Features
-
Added
version
andos
filters to thebuild
endpoint -
Added OpenWISP 1.x firmware upgrader (legacy)
-
Added support backfire in upgrades from OpenWISP 1.x (legacy)
-
Added functionality in OpenWrt backend to free up memory before
uploading the firmware image -
Added following firmwares to the default firmware image map:
- Custom WAP-1200
- COMFAST CF-E320N v2 (OpenWRT 19.07 and earlier)
- EnGenius EAP1300
- Linksys WRT1900ACS
- Linksys WRT3200ACM
- Raspberry Pi 2 Model B
- Raspberry Pi 3 Model B
- TP-Link Archer C7 v1 (OpenWRT 19.07 and earlier)
- TP-Link Archer C7 v1 (OpenWRT 19.07 and later)
- TP-Link Archer C7 v2 (OpenWRT 19.07 and earlier)
- TP-Link Archer C7 v2 (OpenWRT 19.07 and later)
- TP-Link Archer C7 v4 (OpenWRT 19.07 and earlier)
- TP-Link Archer C7 v4 (OpenWRT 19.07 and later)
- TP-Link Archer C7 v5 (OpenWRT 19.07 and earlier)
- TP-Link Archer C7 v5 (OpenWRT 19.07 and later)
- TP-Link Archer C50 v4
- TP-LINK CPE210 v3 (OpenWRT 19.07 and earlier)
- TP-LINK CPE210 v2 (OpenWRT 19.07 and later)
- TP-LINK CPE210 v3 (OpenWRT 19.07 and later)
- TP-LINK CPE510 v3 (OpenWRT 19.07 and later)
- TP-Link WDR3600 v1 (OpenWRT 19.07 and earlier)
- TP-Link WDR3600 v1 (OpenWRT 19.07 and later)
- TP-Link WDR4300 v1 (OpenWRT 19.07 and earlier)
- TP-Link WDR4300 v1 (OpenWRT 19.07 and later)
- TP-Link WDR4300 v1 Israel Version (OpenWRT 19.07 and earlier)
- TP-Link WDR4300 v1 Israel Version (OpenWRT 19.07 and later)
- TP-Link WR2543N/ND (OpenWRT 19.07 and earlier)
- TP-Link WR2543N/ND (OpenWRT 19.07 and later)
- TP-Link TL-WR902AC v3
- Ubiquiti AirRouter (OpenWRT 19.07 and earlier)
- Ubiquiti AirRouter (OpenWRT 19.07 and later)
- Ubiquiti EdgeRouter Lite
- Ubiquiti Nanostation Loco M2 - XW (OpenWRT 19.07 and earlier)
- Ubiquiti Nanostation Loco M (OpenWRT 19.07 and later)
- Ubiquiti Nanostation Loco M - XW (OpenWRT 19.07 and later)
- Ubiquiti Nanostation M - XW (OpenWRT 19.07 and earlier)
- Ubiquiti Nanostation M (OpenWRT 19.07 and earlier)
- Ubiquiti Nanostation M - XW (OpenWRT 19.07 and later)
- Ubiquiti Nanostation M (OpenWRT 19.07 and later)
- Ubiquiti Picostation Bullet XW (OpenWRT 19.07 and earlier)
- Ubiquiti Picostation M2HP & Bullet (OpenWRT 19.07 and earlier)
- Ubiquiti Picostation M (OpenWRT 19.07 and later)
- Ubiquiti Unifi AC Mesh (OpenWRT 19.07 and earlier)
- Ubiquiti Unifi AC Mesh (OpenWRT 19.07 and later)
- Ubiquiti Unifi AC Mesh-Pro (OpenWRT 19.07 and earlier)
- Ubiquiti Unifi AC Mesh-Pro (OpenWRT 19.07 and later)
- Ubiquiti UniFi AC Pro (OpenWRT 19.07 and later)
- VMware, Inc. VMware Virtual Platform
- ZBT-WG3526 (16M)
- x86 32 bit (various models)
- x86 Geode(TM) Integrated Processor by AMD
Changes
Backward incompatible changes
- REST APIs are enabled by default. You can disable them by setting
OPENWISP_FIRMWARE_UPGRADER_API
toFalse
. - Changed REST API prefix from
/upgrader/
to/firmware-upgrader/
.
This makes it consistent with REST API endpoints of other modules
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
Other changes
- Avoid deletion of
UpgradeOperation
when related
Firmware Image
is deleted - Increased default retries in OpenWRT upgrader from
15
to40
- Made firmware upgrade logs translatable
- Changed the default API throttle rate from
400/hour
to1000/minute
- Added time limits to
openwisp_firmware_upgrader.tasks.create_device_firmware
andopenwisp_firmware_upgrader.tasks.create_all_device_firmwares
celery tasks
Bugfixes
- Fixed firmware checksum check
- Improved error handling for upgrade operations
- Remove openwisp-config persistent checksum:
openwisp-config 0.6.0 makes the checksum persistent,
but this causes upgraded devices to not download the configuration
again after the upgrade, which is an issue if the configuration
contains any file which is not stored in/etc/
. - Fixed a bug which caused
Server 500
error on creating a new
Build
object ifcategory
field was left empty - Fixed bugs in restoring deleted devices using
django-reversion
- Fixed migrations referencing non-swappable OpenWISP modules
that broke OpenWISP's extensibility
0.1.1 [2021-01-08]
- [fix] Fixed
os_identifier
validation bug inBuild
model.
0.1.0 [2020-11-27]
First release.