Releases: openwisp/openwisp-utils
Releases · openwisp/openwisp-utils
1.2.1 [2025-12-19]
Bugfixes
1.2.0 [2025-10-23]
Features
- Added guided release tool.
- Added retry mechanism to SeleniumTestMixin #464.
- Enhanced
ValidatedModelSerializer: introducedexclude\_validationand avoided setting many-to-many fields automatically. - Added reusable retry-command GitHub action.
- Made HTML template configurable in openwisp_utils.admin_theme.email.send_email..
Changes
Backward-incompatible changes
- Dropped support for OPENWISP_EMAIL_TEMPLATE setting #482.
Other changes
- Moved theme color definitions in CSS to variables #487.
- Standardized code style by switching to Prettier for CSS and JavaScript linting #367.
- Added line-length enforcement to prettier.
- Unified Prettier checks into a single command; now includes YAML, Markdown, and JSON files.
- Updated UI of HTML email templates.
- Switched selenium browser tests to Firefox.
Dependencies
- Bumped
django-model-utils>=4.5,<5.1". - Bumped
swapper~=1.4.0. - Bumped
djangorestframework~=3.16.0. - Bumped
celery~=5.5.3. - Bumped
django-filter>=25.1,<26.0. - Bumped
black>=25.1,<25.10. - Bumped
flake8~=7.3.0. - Bumped
isort~=6.0.1. - Bumped
tblib~=3.1.0. - Bumped
docstrfmt~=1.11.1. - Bumped
selenium>=4.10,<4.36. - Added
channelsandchannels-testextra requires #388. - Removed
coverallsin favor ofcoveragepackage. - Added support for Django
5.x. - Dropped support for Django
3.2.0and Django4.1.0. - Added support for Python
3.11,3.12, and3.13. - Dropped support for Python
3.8.
1.1.2 [2025-06-18]
- [fix:ui] Avoided JS error when menu is not displayed.
- [chores:ui] Removed border from submit and search buttons.
- [chores:ui] Updated "Apply filters" button to use standard styling.
- [chores:ui] Improved metric collection consent UI.
- [tests] Minor fixes for flaky tests and 1.1 branch CI testing.
1.1.1 [2024-11-20]
- [fix:ui] Added CSS for djang-allauth forms submit button.
- [fix:docs] Updated links to django documentation and other minor improvements to the docuemntation.
1.1.0 [2024-08-16]
Features
- Added quick link button to the dashboard chart and introduced option to filter queryset.
- Added the option to add dashboard templates after charts.
- Added retryable_request utility function for making HTTP requests with built-in retry logic.
- Added AutocompleteFilter to load filter data asynchronously.
- Added fallback fields which returns the fallback value when the field is set to
None. - Added CopyableFieldsAdmin which allows to set admin fields to be read-only and makes it easy to copy the fields contents.
- Added the SeleniumTestMixin for streamlined Selenium testing.
- Added the openwisp_utils.db.backends.spatialite database backend to implement a workaround for handling issue with sqlite 3.36 and spatialite 5.
- Added a page to display installed OpenWISP modules and system information.
- Added an optional feature for collecting usage metrics, utilizing Clean Insights.
Changes
- Allowed passing extra arguments to the Django
send_emailfunction, providing more flexibility in email handling. - Replaced the ReStructuredText check with
docstrfmt, improving documentation formatting and validation.
Dependencies:
- Bumped
django-model-utils~=4.3.1 - Bumped
djangorestframework>=3.14,<3.15.2 - Bumped
django-filter~=23.2 - Bumped
drf-yasg~=1.21.7 - Bumped
celery~=5.3.0 - Bumped
black~=23.12.1 - Bumped
flake8~=7.1.0 - Bumped
isort~=5.13.2 - Bumped
coveralls~=4.0.1 - Bumped
selenium>=4.10,<4.24 - Added
django-admin-autocomplete-filter~=0.7.1,urllib3>=2.0.0,<3.0.0,tblib~=3.0.0,selenium>=4.10,<4.24, anddocstrfmt~=1.8.0. - Added support for Django
4.1.xand4.2.x - Added support for Python
3.10 - Dropped support for Python
3.7 - Dropped support for Django
3.0.xand3.1.x
Bugfixes
- Fixed the alert icon URL in the
HelpTextStackedInlinetemplate
1.0.5 [2023-11-24]
Security
- (Medium risk) The labels displayed in the dashboard pie charts were
not being escaped and hence the code was vulnerable to XSS attempts.
1.0.4 [2022-10-07]
Bugfixes
- Fixed importlib-metadata dependency, pinned it to
<5.0. The
newer versions of importlib-metadata breaks openwisp-utils on
Python 3.7.
1.0.3 [2022-08-03]
Bugfixes
- Fixed django-fitler dependency, pinned it to
~=21.1.
Earlier, it was installing the latest version of django-filter.
1.0.2 [2022-07-01]
Bugfixes
- Fixed hardcoded static image URLs. These created issues when
static files are served using an external service (e.g. S3 storage
buckets). - Fixed "Organization.DoesNotExist" error on creating a new
organization.
1.0.1 [2022-04-07]
- Fixed
ImportErrorin click dependency of black (updated black dependency toblack~=22.3.0) - Fixed target link of pie charts which use group by queries