chore(deps): update dependency mashumaro to v1.24 #293
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.13
->1.24
Release Notes
Fatal1ty/mashumaro (mashumaro)
v1.24
Compare Source
Changes
Union
types. It's recommended to place more complex variant types at first place likeUnion[Dict[int, int], List[int]]
notUnion[List[int], Dict[int, int]]
. When optional type validation is implemented it will be possible not to follow this rule.serialize
anddeserialize
options for any third-party types andSerializableType
classes if you need it for some reason.v1.23
Compare Source
Changes
v1.22
Compare Source
Changes
v1.21
Compare Source
Changes
ipaddress
types (https://github.com/Fatal1ty/mashumaro/pull/29)v1.20
Compare Source
Changes
v1.19
Compare Source
Changes
serialize
option:v1.18
Compare Source
Changes
TypeError
exception that was thrown instead ofMissingField
in case whenfield
doesn't havedefault
argumentmetadata
argument. See here for details.v1.17
Compare Source
Changes
pathlib
os.PathLike
will be deserialized into an instance of that classos.PathLike
will be deserialized into an instance ofPurePath
class:PurePosixClass
on posix,PureWindowsPath
in windowsv1.16
Compare Source
Changes
InvalidFieldValue
with details in case deserialization fails.v1.15
Compare Source
Fix for derived data classes with fields and default_factory in ancestors
In the previous versions if a data class had been derived from another data class with a default_factory,
MissingField
would have been raised on instantiation without field value provided as it shown in the following example:Thanks to @ian-sentropy who found this bug.
v1.14
Compare Source
Features
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.