Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 10, 2023

Bumps mashumaro from 2.9 to 3.3.1.

Release notes

Sourced from mashumaro's releases.

v3.3.1

Changes

  • Fixed UnresolvedTypeReferenceErrorwhen postponed annotations were used and parent generic dataclass was defined in different module. See Fatal1ty/mashumaro#90.
  • Fixed recursion error for self-referenced generic dataclasses. See Fatal1ty/mashumaro#91.
  • Fixed inconsistent application of serialization_strategy appeared in version 3.2. See Fatal1ty/mashumaro#93.

v3.3

Changes

  • Added ability to use annotations inside SerializableType to simplify dealing with generic types (see updated documentation)
  • Added support for user-defined variadic generic types and dataclasses, TypeVarTuple and Unpack from PEP 646
  • Fixed serialization / deserialization of Tuple[()] on python 3.11
  • Changed type name for Tuple[T, ...] from "Tuple[T, Ellipsis]" to "Tuple[T, ...]"

v3.2

Changes

  • Added support for PEP 655
  • Added skipping None value fields on serialization to TOML format. See Fatal1ty/mashumaro#85.
  • Added new omit_none config option
  • Added new omit_none dialect option
  • Removed allowance to pass None values to fields that can't be None according to their type
  • Speeded up the generated code
  • Dropped Python 3.6 support

v3.1.1

Changes

v3.1

Changes

  • Added support for Python 3.11
  • Added support for typing.Self and typing_extensions.Self
  • In addition to from_dict and to_dict, methods in other mixins can also be compiled now
  • Increased speed of serialization and deserialization in MessagePack when using DataClassMessagePackMixin:
    • Removed the implicit inclusion of the ADD_DIALECT_SUPPORT config option when using DataClassMessagePackMixin
    • Methods from_msgpack and to_msgpack are now compiled
  • Added DataClassORJSONMixin to use a third-party orjson library that will handle supported data types by itself
    • Added new orjson_options config option to change default options passing to orjson.dumps method
    • Methods to_jsonb and to_json have orjson_options keyword argument to override the default options
  • Added support for TOML format using DataClassTOMLMixin

v3.0.4

Changes

  • Fixed using fields with init=False — they are skipped during deserialization now. See Fatal1ty/mashumaro#82.

... (truncated)

Commits
  • 1923745 Bump version
  • a0e431d Add test
  • 57b5fa7 Fix max recursion error in self-referenced generic dataclasses
  • dbe3151 Merge branch 'peterallenwebb-master'
  • b9b5a63 Fix black
  • daff48f Merge remote-tracking branch 'peterallenwebb/master' into peterallenwebb-master
  • 8409354 issue #93: Fix custom serialization for two or more fields of the same type.
  • ca18f67 Move all to the top
  • 4dc97f8 Remove unused import
  • 519f50d Use get_type_hints without passing dicts
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mashumaro](https://github.com/Fatal1ty/mashumaro) from 2.9 to 3.3.1.
- [Release notes](https://github.com/Fatal1ty/mashumaro/releases)
- [Commits](Fatal1ty/mashumaro@v2.9...v3.3.1)

---
updated-dependencies:
- dependency-name: mashumaro
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 10, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 6, 2023

Superseded by #48.

@dependabot dependabot bot closed this Feb 6, 2023
@dependabot dependabot bot deleted the dependabot/pip/core/mashumaro-3.3.1 branch February 6, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants