Releases: openwisp/openwisp-utils
Releases · openwisp/openwisp-utils
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_email
function, 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.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
- Fixed the alert icon URL in the
HelpTextStackedInline
template
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
ImportError
in click dependency of black (updated black dependency toblack~=22.3.0
) - Fixed target link of pie charts which use group by queries
1.0.0 [2022-02-18]
Features
- Added customizable navigation menu
- Added horizontal filters
- Added customizable admin dashboard
- Added send_email function
- Added CompressStaticFilesStorage -a static storage backend for Django that also compresses static files
- Added AssertNumQueriesSubTestMixin
- Added HelpTextStackedInline admin class
- Added OpenwispCeleryTask - a custom celery task class
- Added support for linting CSS and JS in openwisp-qa-check
- Added support for formatting CSS and JS in openwisp-qa-format
- Added git pre-push hook
Changes
Bugfixes
- Fixed checkcommit failing for trailing period (.) after closing keyword
Dependencies
- Bumped
django-model-utils~=4.2.0
- Bumped
black<=21.10b0
- Bumped
djangorestframework~=3.13.0
- Added
swapper~=1.3.0
,django-compress-staticfiles~=1.0.1b
and
celery~=5.2.3
- Added support for Django
3.2.x
and4.0.x
- Added support for Python
3.9
0.7.5 [2021-06-01]
- [fix] Added workaround for minification of browsable API view. Django-pipeline strips spaces from pre-formatted text on minifying HTML which destroys the representation of data on browsable API views. Added a workaround to restore presentation to original form using CSS.
0.7.4 [2021-04-08]
- [fix] Fixed commit check for co-authored commits