Skip to content

Releases: wyfo/apischema

v0.18.1

10 Oct 07:13
4442cf7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.18.0...v0.18.1

v0.18.0

12 Dec 07:55
f1b6d59
Compare
Choose a tag to compare

Highlights

  • Limited Python 3.11 support, PEP 646, 655, 673 and 681 will be supported in the next release

What's Changed

  • Refactor schema and constraints by @wyfo in #350
  • Remove various deprecations by @wyfo in #351
  • Add pyserde to benchmark by @wyfo in #361
  • Fix some typos in docs by @Rogdham in #373
  • CI: remove Python 3.6 testing and add/fix Python 3.11 support by @klauer in #515
  • Remove hacks for 3.6 support by @wyfo in #519
  • Deserialization should be done after coercion by @aubustou in #501
  • Fix error message for the json schemas of non str-keyed mappings. by @pchanial in #412
  • Fix NameError for subscriptions with custom Type by @LdwgWffnschmdt in #468
  • Fix UncheckedTuples not failing for wrong amount of arguments by @wyfo in #521
  • Update all requirements by @wyfo in #523
  • Remove typical benchmark because 3.11 not supported by @wyfo in #526
  • Fix deserializer registration not resetting cache by @wyfo in #384
  • Fix deserialization of integer allowing bool by @wyfo in #385
  • Fix schema deserialization 'type' value output by @wyfo in #386

New Contributors

Full Changelog: v0.17.5...v0.18.0

v0.17.5

06 Feb 20:31
c37988b
Compare
Choose a tag to compare

What's Changed

  • Remove cast to builtin types in deserialization methods by @wyfo in #348

Full Changelog: v0.17.4...v0.17.5

v0.17.4

04 Feb 13:51
8349491
Compare
Choose a tag to compare

What's Changed

  • fix typing for optional arguments in interfaces by @vmeurisse in #337
  • Fix variadic tuple substitution in schema by @wyfo in #344
  • Fix tuple deserialization. by @pchanial in #343
  • Fix frozenset deserialization. by @pchanial in #342
  • Fix subprimitive validation using primitive instead of class instance by @wyfo in #345

New Contributors

Full Changelog: v0.17.3...v0.17.4

v0.17.3

16 Jan 21:09
579cfd3
Compare
Choose a tag to compare

What's Changed

  • Add dataclass passthrough by @wyfo in #326
  • Fix type converter handling when init return is annotated by @wyfo in #327

Full Changelog: v0.17.2...v0.17.3

v0.17.2

15 Jan 19:52
Compare
Choose a tag to compare

What's Changed

  • Fix support of typing.Any in GraphQL schema by @wyfo in #317

Full Changelog: v0.17.1...v0.17.2

v0.17.1

01 Jan 21:34
Compare
Choose a tag to compare

What's Changed

  • Add cattrs to benchmark by @wyfo in #304
  • Support arbitrary dictionary keys by @wyfo in #307
  • Fix ValueError handling in custom deserialization by @wyfo in #308

Full Changelog: v0.17.0...v0.17.1

v0.17.0

30 Dec 23:16
636f450
Compare
Choose a tag to compare

Highlights

  • apischema is now compiled! It results in a big performance improvement, as shown on the new benchmark of the documentation. Compiled parts are still optional, and apischema remains a pure Python library.
  • CI/CD has been improved a lot, everything is automated now!
  • Breaking change Arbitrary exception raised during serialization are no more converted to ValidationError (#244) because of a security issue

What's Changed

  • Cythonize (de)serialization methods and enable errors customization by @wyfo in #235
  • Remove arbitrary exception conversion to ValidationError by @wyfo in #244
  • Rename ValidationError "msg" to "err" by @wyfo in #246
  • Ignore compilation failure at build by @wyfo in #247
  • Add allowed types to deserialization by @wyfo in #239
  • Improve Generic documentation about default type_name by @wyfo in #249
  • Improve error message when missing type_name by @thomascobb in #250
  • Add versioning to documentation by @wyfo in #265
  • Use precommit for static checks by @wyfo in #269
  • Add catch_value_error helper for converters by @wyfo in #270
  • Avoid unnecessary copies in (de)serialization by @wyfo in #274
  • Add Github action to publish documentation by @wyfo in #275
  • Add compatibility with graphql-core>=3.0.0 and ignore older versions by @wyfo in #278
  • Fix ForwardRef issue in Python 3.9.8 by @wyfo in #280
  • Fix regression introduced by #280 by @wyfo in #283
  • Refactor CI/CD by @wyfo in #286
  • Include additional properties in TypedDict deserialization by @wyfo in #292
  • Override dataclass constructor to improve performance by @wyfo in #295
  • Add benchmark by @wyfo in #296
  • Add location to serialization type check errors by @wyfo in #298
  • Support OpenAPI discriminator by @wyfo in #301
  • Include pyx files in package_data by @wyfo in #302

New Contributors

Full Changelog: v0.16.1...v0.17

v0.16.6

21 Dec 01:05
8d92d85
Compare
Choose a tag to compare

v0.15.9

21 Dec 01:05
97b67b7
Compare
Choose a tag to compare