Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency mashumaro to >=3,<=3.15 #325

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 2, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mashumaro >=3,<=3.8.1 -> >=3,<=3.15 age adoption passing confidence

Release Notes

Fatal1ty/mashumaro (mashumaro)

v3.15

Compare Source

Changes

  • Improved Union and basic types deserialization (#​256), highlighted changes:
    • Expected int | float or float | int value can now be passed through without coercion and losing precision
    • Expected str value will be guaranteed to be a string version of the input value (#​42)
    • Expected bool value will be guaranteed to be a boolean using standard truth testing procedure for the input value
    • Expected NoneType will be guaranteed to be None regardless of the input value
  • Introduced JSON Schema plugin system (#​265), see updated documentation
    • Added built-in DocstringDescriptionPlugin to use a docstring as a description (#​222)
  • Added support for recursive Union types (#​206)
  • Configured MANIFEST.in to include tests folder in the sdist (#​262)
  • Dropped support for Python 3.8 (#​258)

v3.14

Compare Source

Changes

  • Added support for re.Pattern and typing.Pattern (#​105)
  • Fixed DeprecationWarning introduced in Python 3.13 (#​249)
  • Fixed potential duplications in the Union unpacker (#​250)
  • Small changes under the hood (#​244, #​247)

v3.13.1

Compare Source

Changes

  • Fixed type annotation for the result of to_json method in DataClassORJSONMixin (#​223)
  • Fixed compatibility with Python 3.12.4 (#​226)
  • Fixed compatibility with latest TypeVar default changes in Python 3.13.0 and typing-extensions>=4.12 (#​227)

v3.13

Compare Source

Changes

  • Added support for Python 3.13 (#​208, #​209)
  • Added support for PEP 695 (#​211)
  • Added initial support for PEP 696 with typing-extensions 4.11.0 reference implementation (#​216)
  • Added support for MappingProxyType (#​218)
  • Added forbid_extra_keys config option to reject extra keys on deserialization (#​197, #​198)
  • Added an alternative way to assign a field alias with Alias(...) annotation (#​214), see updated documentation
  • Improved union encoding performance (#​194)
  • Fixed a case when omit_default didn't work for Enum with basic types mixed in (#​204)
  • Fixed RecursionError when annotated SerializationStrategy was used as a field serialization strategy (#​219)

v3.12

Compare Source

Changes

  • Added support for associating multiple tags with a single variant by returning a list of tags from variant_tagger_fn (#​184)
  • Added support for locally defined types (#​180, #​182, #​189)
  • Added support for ForwardRef in JSON Schema generation (#​187)
  • Fixed serialization of IntFlag when omit_default is enabled (#​188)
  • Improved type annotations for serialization_strategy config option

v3.11

Compare Source

Changes

  • Added "codecs" feature to separate data models from serialization and work with top-level lists, dataclasses without mixins etc. (#​108, #​69), see updated documentation
  • Added new allow_deserialization_not_by_alias config option to allow deserialization by both alias and field name, see documentation (https://github.com/Fatal1ty/mashumaro/pull/175)
  • Fixed UnserializableDataError for generic serializable types and generic serialization strategies with postponed evaluation of annotations (#​177)
  • Fixed regression when ValueError was not thrown if invalid value type was passed to from_* method
  • Added serialize_by_alias dialect option
  • Added namedtuple_as_dict dialect option

v3.10

Compare Source

Changes

  • Added new sort_keys config option to sort keys on serialization, see documentation (#​157)
  • Added new omit_default config and dialect options to exclude values equal to defaults on serialization, see documentation (#​161)
  • Added variant_tagger_fn discriminator parameter to allow discrimination based on a key that is not part of the model, see documentation (#​135)
  • Added new no_copy_collections dialect option to avoid collection data types copying, see documentation (#​163)
  • Added support for LiteralString (#​166)
  • Added initial support for ForwardRef types (#​144)
  • Added ability to use basic types as serialization methods so that they will be reflected in the JSON schema (#​148)
  • Added ability to use slots in SerializableType and GenericSerializableType subclasses (#​156)
  • Added ability to use frozen dataclasses as dictionary keys (#​160)
  • Added support for Python 3.12 (#​153)
  • Dropped support for Python 3.7 (#​147)
  • Moved from flake8 to ruff (#​150)

v3.9.1

Compare Source

Changes

  • Fixed handling of collections of annotated with unhashable metadata types on python < 3.9 (#​138)
  • Fixed JSON Schema for inner dataclasses and optional fields with custom serialization methods (#​139)
  • Fixed JSON Schema for third-party types with default value (#​141)

v3.9

Compare Source

Changes

  • Added support for inner dataclasses without mashumaro mixins (#​109)
  • Added support for default_factory by JSON Schema generator (#​114)
  • Added ability to override additionalProperties in JSON Schema (#​123)
  • Added ability to add "description" keyword in JSON Schema by using "description" key in dataclass field metadata (#​125)
  • Fixed default reference prefix in JSON Schema 2022-12 dialect (#​126)
  • Fixed handling of Annotated type with unhashable metadata (#​133)

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added chore dependencies Pull requests that update a dependency file labels Aug 2, 2023
@renovate renovate bot temporarily deployed to google cloud August 2, 2023 22:49 Inactive
@github-actions

This comment has been minimized.

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.97%. Comparing base (77dba04) to head (4d7edf4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #325   +/-   ##
=======================================
  Coverage   95.97%   95.97%           
=======================================
  Files           8        8           
  Lines         546      546           
=======================================
  Hits          524      524           
  Misses         22       22           
---- 🚨 Try these New Features:

@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from 90f790e to a7d4aab Compare August 23, 2023 00:59
@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.9 fix(deps): update dependency mashumaro to >=3,<=3.9.1 Aug 23, 2023
@renovate renovate bot temporarily deployed to google cloud August 23, 2023 00:59 Inactive
@github-actions

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from a7d4aab to 9f84f2c Compare September 12, 2023 10:24
@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.9.1 fix(deps): update dependency mashumaro to >=3,<=3.10 Sep 12, 2023
@github-actions

This comment has been minimized.

@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.10 fix(deps): update dependency mashumaro to >=3,<=3.11 Nov 23, 2023
@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from 9f84f2c to 3d712eb Compare November 23, 2023 22:01

This comment has been minimized.

@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.11 fix(deps): update dependency mashumaro to >=3,<=3.12 Jan 28, 2024
@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from 3d712eb to 6eb5664 Compare January 28, 2024 14:08

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from 6eb5664 to fb8b4be Compare April 30, 2024 13:01
@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.12 fix(deps): update dependency mashumaro to >=3,<=3.13 Apr 30, 2024
@renovate renovate bot temporarily deployed to google cloud April 30, 2024 13:01 Inactive

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from fb8b4be to 7a4c888 Compare June 15, 2024 15:10
@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.13 fix(deps): update dependency mashumaro to >=3,<=3.13.1 Jun 15, 2024
@renovate renovate bot temporarily deployed to google cloud June 15, 2024 15:10 Inactive

This comment has been minimized.

@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from 7a4c888 to 71e32f5 Compare October 23, 2024 23:13
@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.13.1 fix(deps): update dependency mashumaro to >=3,<=3.14 Oct 23, 2024

This comment has been minimized.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/mashumaro-3.x branch from 71e32f5 to 4d7edf4 Compare November 23, 2024 19:51
@renovate renovate bot changed the title fix(deps): update dependency mashumaro to >=3,<=3.14 fix(deps): update dependency mashumaro to >=3,<=3.15 Nov 23, 2024
Copy link
Contributor

Packj Packj Audit Report

✅ No new dependencies are introduced

Triggered by workflow run 58 on commit 1bb25f0dccd297ece86b2e07353da1c9785c00ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants