rhaamo / StockazIO

Components/hardware management webapp for DIYers.
https://demo.stockazio.squeaky.tech/public/parts
GNU Affero General Public License v3.0
18 stars 1 forks source link

Update drf #618

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
drf-excel ==2.2.0 -> ==2.3.0 age adoption passing confidence
drf-spectacular ==0.24.2 -> ==0.26.2 age adoption passing confidence

Release Notes

wharton/drf-excel ### [`v2.3.0`](https://togithub.com/wharton/drf-excel/releases/tag/2.3.0) [Compare Source](https://togithub.com/wharton/drf-excel/compare/2.2.0...2.3.0) #### What's Changed - OpenPyXL 3.10 compatibility by [@​alb3rto269](https://togithub.com/alb3rto269) - Documentation fix for minimum DRF version by [@​allburov](https://togithub.com/allburov) in [https://github.com/wharton/drf-excel/pull/68](https://togithub.com/wharton/drf-excel/pull/68)/files - General refactoring by [@​thesaintraphael](https://togithub.com/thesaintraphael) in [https://github.com/wharton/drf-excel/pull/67](https://togithub.com/wharton/drf-excel/pull/67) **Full Changelog**: https://github.com/wharton/drf-excel/compare/2.2.0...2.3.0
tfranzel/drf-spectacular ### [`v0.26.2`](https://togithub.com/tfranzel/drf-spectacular/blob/HEAD/CHANGELOG.rst#​0262-2023-04-15) [Compare Source](https://togithub.com/tfranzel/drf-spectacular/compare/0.26.1...0.26.2) - fix jwt cookie name settings not being recognised (`#​972 `\_) \[Nix Siow] - Add OpenApiRequest for encoding options `#​714 `\_ `#​965 `\_ Breaking changes / important additions: - small bugfix release that also contains the new `OpenApiRequest` feature ### [`v0.26.1`](https://togithub.com/tfranzel/drf-spectacular/blob/HEAD/CHANGELOG.rst#​0261-2023-03-18) [Compare Source](https://togithub.com/tfranzel/drf-spectacular/compare/0.26.0...0.26.1) - reorder typed polymorphic fields `#​958 `\_ - Fix test warnings \[Dmitry Gribanov] - Fix PolymorphicSerializer type field handling `#​885 `\_ `#​958 `\_ - Add PresentablePrimarKeyRelatedField schema for drf-exrta-fields blueprint \[Đào Minh Hạt] - bugfix KeyError for disabled ENUM_GENERATE_CHOICE_DESCRIPTION `#​952 `\_ Breaking changes / important additions: - small bugfix release that addresses a issue when turning off choice description generation - improve/bugfix `PolymorphicSerializer` type field handling ### [`v0.26.0`](https://togithub.com/tfranzel/drf-spectacular/blob/HEAD/CHANGELOG.rst#​0260-2023-03-04) [Compare Source](https://togithub.com/tfranzel/drf-spectacular/compare/0.25.1...0.26.0) - honor djangorestframework_camel_case settings "ignore_keys" and "ignore_fields" `#​945 `\_ - If available, use docstrings from properties for field descriptions (`#​954 `\_) - Don't let validators override values already set in the schema (`#​911 `\_) \[StopMotionCuber] - add test and another case to `#​901 `\_ - add enum key/value list to description string `#​337 `\_ `#​403 `\_ `#​105 `\_ `#​563 `\_ - Add option to provide a callable for PolymorphicProxySerializer.serializers \[Glenn Matthews] - consolidate sort fix for enum sorting - add testcase to `#​950 `\_. ensure raw schema dict remains unmodified - Don't edit the orignal django-filters schema. \[Will Giddens] - Fix typos and grammer errors in FAQ doc page. \[Foad Lind] - fix OpenApiResponse nested example defaults `#​875 `\_ - mitigate `runtests.py` fail when GDAL library is not installed `#​945 `\_ `#​821 `\_ `#​775 `\_ `#​777 `\_ - bugfix SlugRelatedField with a model property target `#​943 `\_ - suppress erroneous warning for optional extensions `#​940 `\_ - fix whitelist mechanics (enables deny all) `#​923 `\_ - mitigate many=True with default array value `#​936 `\_ - fix dj-rest-auth>=3.0.0 breaking changes `#​937 `\_ - Update plumbing.py - add swagger UI template blocks for customization \[Jan Lis] - Add support for drf ReturnList and ReturnDict hint \[zengqiu] - add example/test for DynamicFieldsModelSerializer `#​375 `\_ `#​912 `\_ - adapt test schema for dj-rest-auth 2.2.6 - clarify docs for postproc hook mechanics `#​908 `\_ - Add test for custom serializer field pagination `#​904 `\_ - fix: let use a default value for foreignkey model field \[Frederic de Zorzi] Breaking changes / important additions: - A lot of bug fixes and a few feature additions. - We now render a descriptive `Enum` key/value list into the description by default. Opt-out with new setting `ENUM_GENERATE_CHOICE_DESCRIPTION`. - Beware that we now extract more docstrings. Check your schema diff on update whether you are now leaking unintended information. - The `whitelist` mechanics changed slightly on what is considered default behavior. - Fix a breaking change in `dj-rest-auth>=3.0.0` - It should not be possible to run the tests without installing system libraries like GDAL for the contrib tests ### [`v0.25.1`](https://togithub.com/tfranzel/drf-spectacular/blob/HEAD/CHANGELOG.rst#​0251-2022-12-16) [Compare Source](https://togithub.com/tfranzel/drf-spectacular/compare/0.25.0...0.25.1) - Fix warning source line performance regression `#​889 `\_ `#​897 `\_ - improve warning for transient @​api_view objects `#​889 `\_ - adapt package arg due to setuptools deprecation `#​786 `\_ - utilize queryset for SlugRelatedField `#​897 `\_ Breaking changes / important additions: - Bugfix release that addresses a performance regression in `SpectacularApiView` and an oversight in the now stricter handling of `SlugRelatedField` ### [`v0.25.0`](https://togithub.com/tfranzel/drf-spectacular/blob/HEAD/CHANGELOG.rst#​0250-2022-12-13) [Compare Source](https://togithub.com/tfranzel/drf-spectacular/compare/0.24.2...0.25.0) - Fix missing description for ManyRelatedField and tested for SlugField (`#​895 `\_) \[StopMotionCuber] - Simplify hashable_values `#​833 `\_ - Add custom settings to CLI (view parity) `#​892 `\_ - fix function misnomer `#​891 `\_ - improve trace messages / warnings & add color `#​866 `\_ - Treat SlugRelatedField analog to PrimaryKeyRelatedField `#​854 `\_ - Include filename in call to \_get_sidecar_url \[Justin Spencer] - add django-parler blueprint `#​887 `\_ - add a view to handle SwaggerUI oauth callbacks (`#​882 `\_) \[Finn-Thorben Sell] - improve documentation - Introduce setting DEFAULT_QUERY_MANAGER to allow other managers for querset retrieval - fix flake8 6.0.0 breaking change - fix example list detection (symmetry with schema) `#​872 `\_ - Use direct view methods for getting serializer instances \[Numerlor] - name overrides for rest_framework_dataclasses `#​839 `\_ - decouple TypedDict class from Py version `#​861 `\_ `#​654 `\_ - bugfix djangorestframework_camel_case `#​861 `\_ - bugfix djangorestframework_camel_case nested object handling `#​861 `\_ - Utils: Replace `List[]` with `Sequence[]`, because of Mypy note 'List is invariant. Consider using Sequence instead.' \[Hans Aarne Liblik] - Fixed minor typos \[Conrad] - Removing blank and null keys when generating the overridden choices hash to match the hash generation logic in the enum post processor hook \[Trent Holliday] - fix test fixture overlap `#​826 `\_ - specifiy min patch release for DRF (fixes `#​812 `\_) - Preserve context in `get_list_serializer`. \[Brady Dean] - Allow field extensions to return None from map_serializer_field \[Andrew Backer] Breaking changes / important additions: - Officially set the lower bound for DRF version to `3.10.3` - Refactored the CLI warning system for better code navigation / orientation, GUI support and color! - Some minor mechanics changes, several overall improvements, feature additions, and a few bugfixes.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

RX14 commented 1 year ago

@rhaamo the drf-excel change here seems to be important, my current stockazio install breaks with https://github.com/wharton/drf-excel/issues/73 . Would suggest just merging this PR.

rhaamo commented 1 year ago

looks like I haven't seen this notification :(

I will merge stuff asap