Skip to content

Releases: openwisp/netjsonconfig

1.1.0 [2024-11-22]

22 Nov 17:51
1.1.0
Compare
Choose a tag to compare

Features

  • Added ZeroTier VPN backend
  • Added support for configuring ZeroTier in OpenWrt backend
  • Added support for more WPA EAP client parameters
  • Added support for more WPA Enterprise parameters
  • Added data-ciphers option for OpenVPN
  • Added support for DSA and VLAN 802.1q/802.1ad interfaces
  • Added support for more properties to WireGuard schema
  • Allowed defining VXLAN interface in VXLAN over WireGuard backend
  • Added OWE encryption type
  • Added wpa3-personal for 802.11s mesh
  • Added support for new wireless radio syntax band

Changes

  • Updated OpenWrt timezones
  • Updated the default values for script_security to 2 and log to /var/log/<infname>.log in configuration generated by OpenVpn.auto_client
  • Do not add roaming configuration in wireless configuration when roaming is disabled
  • Avoid unnecessary options in wireless configurations
  • Do not remove default options in WireGuard configurations

Dependencies

  • Bumped jinja2~=3.1.4
  • Bumped jsonschema~=4.23.0
  • Added support for Python 3.10
  • Dropped support for Python 3.7

Bugfixes

  • Fixed parsing routes without a gateway
  • Fixed optional management frame protection
  • Fixed multiple WireGuard peers bug
  • Fixed bridge name in auto-attached wireless interface
  • Fixed unhashable type list error in netjsonconfig.utils.merge_list
  • Removed device configuration block for modemmanager interface
  • Fixed automatic attachment of wireless interface to network interface
  • Fixed ZeroTier schema for allow_managed field
  • Replaced dashes with underscores in WireGuard peer interface names in OpenWrt configuration
  • Fixed OpenVPN fragment option being removed when set to 0
  • Updated missing WiFi 5GHz channels on U-NII-2C and U-NII-3

1.0.2 [2022-12-01]

02 Dec 14:47
1.0.2
34ebb04
Compare
Choose a tag to compare

Bugfixes

  • Fixed parsing of wifi interface without ifname
  • Fixed parsing of wifi with encryption set to none
  • Fixed parsing wifi interface boolean typecasting
  • Fixed a backward compatibility issue with bridges not being prefixed with "br-" on OpenWrt >= 21

1.0.1 [2022-05-11]

11 May 18:51
1.0.1
Compare
Choose a tag to compare
  • Fixed modem-manager configuration for OpenWrt 21
  • Fixed WiFi interface configuration for OpenWrt 21

1.0.0 [2022-04-20]

20 Apr 20:42
1.0.0
Compare
Choose a tag to compare

Features

  • Added support for the new DSA bridge syntax to the OpenWrt backend
  • Added support for Wireguard and Wireguard/VXLAN
  • Added support for Wireguard interfaces in OpenWrt backend
  • Added support for VXLAN interfaces in OpenWrt backend
  • Added auth_nocache proprety to the OpenVpn backend
  • Added support for OpenVPN tls-auth option, the OpenVPN backend will
    automatically create a file for the key present in "tls_auth"
    field and update the value of the "tls-auth" parameter
  • Added proto to remote setting of the OpenVpn backend
  • Added support for IEEE 802.11w configurations to the OpenWrt
    backend
  • Added support for Wifi6 / IEEE 802.11ax to the OpenWrt backend
  • Added support for basic IEEE 802.11r options to the OpenWrt
    backend
  • Added support for WPA3 to the OpenWrt backend
  • Added support for EAP-PEAP as auth method in WPA2 enterprise wifi
    client configuration of OpenWrt backend
  • Removed option of 2.4GHz radio for 802.11ac from the OpenWrt
    backend

Changes

Backward incompatible changes

  • By default, the OpenWrt backend now generates bridge syntax in the
    new DSA compatible format, to override this, dsa=False must be
    passed during the initialization of the backend

Dependencies

  • Dropped support for Python 3.6
  • Added support for Python 3.8 and 3.9
  • Upgraded Jinja to 3.0
  • Upgraded jsonschema to 3.2.x
  • Upgraded to openwisp-utils 1.0.x and reformatted code with latest
    version of the black formatter

Other changes

  • Simplified bridging of wifi interfaces in the OpenWrt backend: users
    can now simply add a wifi interface to a bridge and forget about
    having to update also the attached networks of the OpenWrt
    configuration

Bugfixes

  • Ensured values are always deep copied when using merge_config,
    without this change the different schemas remain interwined and a
    dynamic change to one part which is reused by other schemas will
    affect different backends inadvertently
  • The file path is not allowed to be an empty string anymore
  • Ignored duplicate list elements when merging templates: detect
    identical elements present in both lists to avoid adding the
    duplicate to the result; this is needed because some templates may
    share one or multiple common files and these do not not have to be
    duplicated
  • Fixed typo in EAP TTLS protocol enum_title of OpenWrt backend:
    it was showing EAP-PEAP even though TTLS was set
  • Fixed madwifi driver for legacy systems
  • Fixed comp-lzo option for legacy OpenVPN in OpenWisp1 backend
  • Fixed UCI format backward compatibility with OpenWISP 1 This fix is
    needed to allow workarounds in the code of OpenWISP-Firmware to keep
    working also with OpenWISP 2

0.9.1 [2021-02-15]

15 Feb 23:17
0.9.1
Compare
Choose a tag to compare
  • [fix] Removed mtu_disc from auto_client method because it causes issues on most OpenWRT systems
  • [fix] Avoided maxLength on PIN property to allow configuration variables
  • [change] Add missing TLS ciphers to OpenVPN

0.9.0 [2020-11-18]

18 Nov 22:34
0.9.0
Compare
Choose a tag to compare
  • [change] Potentially backward incompatible: added support for dialup interfaces (ppp, pppoe, pppoa, 3g, qmi, ncm, wwan, pptp, 6in4, aiccu or l2tp) to openwrt backend. This change is backward incompatible if the same type of configuration was achieved using a workaround, in these cases the configuration will have to be upgraded to use the new format.
  • [feature] Added support for modem manager interfaces

0.8.2 [2020-08-17]

17 Aug 01:03
0.8.2
Compare
Choose a tag to compare
  • [fix] Fixed bug in OpenWRT backend validation for ip_rules/src

0.8.1 [2020-05-28]

28 May 01:13
0.8.1
Compare
Choose a tag to compare
  • Fixed bug that prevented overriding the contents of a file present in a template and caused the file to be duplicated instead of overwritten
  • Fixed bug affecting backward conversion of switch VLAN on OpenWRT

0.8.0 [2020-04-03]

03 Apr 22:40
0.8.0
Compare
Choose a tag to compare
  • Changed default file mode for certificate files generated with from 0644 to 0600

0.7.0 [2020-01-14]

14 Jan 19:34
Compare
Choose a tag to compare
  • Dropped support for python 2.7
  • Updated github buttons in documentation which were causing an unintended redirect
  • Updated the jsonschema library to version 3.x