apischema icon indicating copy to clipboard operation
apischema copied to clipboard

Bump pyserde from 0.7.1 to 0.8.3 in /benchmark

Open dependabot[bot] opened this issue 2 years ago • 0 comments

Bumps pyserde from 0.7.1 to 0.8.3.

Release notes

Sourced from pyserde's releases.

v0.8.3

  • fix: Use numpy<1.23.0 for python 3.7 and 3.8 (3045521)

v0.8.2

  • chore: Replace stringcase with casfey (1f8a17d), closes #240

This release had a contribution from 1 person: @​gitpushdashf. Thank you so much! :tada: :joy:

v0.8.1

  • feat: Don't wrap user exception in SerdeError (161cffd)

v0.8.0

Thanks to the contribution by @​kigawas, pyserde can optionally use orjson as JSON serializer!

pip install pyserde[orjson]

If orjson is installed in the system, pyserde automatically use orjson in to_json/from_json.

NOTE: In order to align the JSON (de)serializer to orjson, a few parameters are passed in json.dumps internally. This would lead to a breaking change in some cases. If you need the same behaviour as in pyserde<0.8, please explicitely pass those parameters in serde.json.to_json. 🙇‍♂️

to_json(obj, ensure_ascii=True, separators=(", ", ": "))

Other noteble chage is we have @dataclass decorator back in the all example and test code in the repository as shown below. It's because we found mypy isn't able to deduce the type correctly without @dataclass decorator. If you are not mypy user, you can still declare a class with only @serde decorator. 👍 For more information, please read the docs.

@serde
@dataclass  # <-- Recommended to add @dataclass if you are mypy user.
class Foo:
    i: int
    s: str
    f: float
    b: bool
  • build: Add "orjson" extras (ea70ec1)
  • orjson support (2744675)
  • Update json.py (2d67b65)
  • feat: Support class declaration w/wo dataclass (a35f909)
  • fix: Add dataclass decorator for all example code (60567ab)
  • fix: Treat |None as Optional (5555452)
  • Fix the default deserializer for custom class deserializer (6c2245b)

This release had contributions from 1 person: @​kigawas. Thank you so much! :tada: :joy:

v0.7.3

Thanks to the great contribution by @​kmsquire, pyserde supports some numpy types!

@serde
</tr></table> 

... (truncated)

Changelog

Sourced from pyserde's changelog.

0.8.3 (2022-06-28)

  • fix: Use numpy<1.23.0 for python 3.7 and 3.8 (3045521)

0.8.2 (2022-06-18)

  • chore: Replace stringcase with casfey (1f8a17d), closes #240

This release had contributions from 1 person: @​gitpushdashf. Thank you so much! :tada: :joy:

0.8.1 (2022-06-14)

  • feat: Don't wrap user exception in SerdeError (161cffd)

0.8.0 (2022-05-31)

Thanks to the contribution by @​kigawas, pyserde can optionally use orjson as JSON serializer!

pip install pyserde[orjson]

If orjson is installed in the system, pyserde automatically use orjson in to_json/from_json.

NOTE: In order to align the JSON (de)serializer to orjson, a few parameters are passed in json.dumps internally. This would lead to a breaking change in some cases. If you need the same behaviour as in pyserde<0.8, please explicitely pass those parameters in serde.json.to_json. 🙇‍♂️

to_json(obj, ensure_ascii=True, separators=(", ", ": "))

Other noteble chage is we have @dataclass decorator back in the all example and test code in the repository as shown below. It's because we found mypy isn't able to deduce the type correctly without @dataclass decorator. If you are not mypy user, you can still declare a class with only @serde decorator. 👍 For more information, please read the docs.

@serde
@dataclass  # <-- Recommended to add @dataclass if you are mypy user.
class Foo:
    i: int
    s: str
    f: float
    b: bool
  • build: Add "orjson" extras (ea70ec1)
  • orjson support (2744675)
  • Update json.py (2d67b65)
  • feat: Support class declaration w/wo dataclass (a35f909)
  • fix: Add dataclass decorator for all example code (60567ab)
  • fix: Treat |None as Optional (5555452)
  • Fix the default deserializer for custom class deserializer (6c2245b)

This release had contributions from 1 person: @​kigawas. Thank you so much! :tada: :joy:

0.7.3 (2022-05-10)

... (truncated)

Commits
  • e313fa8 Merge pull request #247 from yukinarit/fix-numpy
  • c2daa02 chore: Bump version to 0.8.3
  • 3045521 fix: Use numpy<1.23.0 for python 3.7 and 3.8
  • 90c0871 Merge pull request #242 from yukinarit/bump-to-0.8.2
  • 5ebb4e9 chore: Bump version to 0.8.2
  • 66f8468 Merge pull request #241 from gitpushdashf/master
  • 1f8a17d chore: Replace stringcase with casfey
  • ace00ad Merge pull request #239 from yukinarit/bump-to-0.8.1
  • 04aaac8 chore: Bump version to 0.8.1
  • 0ef6d82 Merge pull request #238 from yukinarit/user-exception
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

dependabot[bot] avatar Jun 28 '22 15:06 dependabot[bot]