Skip to content

Releases: strollby/graphene-pydantic

[v0.6.1-beta.4] List inner fields will now be required

12 Oct 15:21
Compare
Choose a tag to compare
  • fix: list[str] is not interpreted as List[String!]! instead as List[String]!)

v0.6.1-beta.3 - Add EmailStr support

11 Mar 18:44
ae5a77b
Compare
Choose a tag to compare

[0.6.1.beta.1] - Add support for annotated custom types

01 Mar 13:28
Compare
Choose a tag to compare

Add support for python annotated types

v0.5.0-beta.1 - Pydantic V2 Beta

16 Jan 03:59
Compare
Choose a tag to compare

chore: drop testing for EOL Python 3.7
fix: UnionType imported in python versions < 3.10
fix: forward ref - for python < 3.10
fix: optional union types being marked as required

Full Changelog: v0.5.0-alpha.2...v0.5.0-beta.1

v0.5.0-alpha.2 - Pydantic V2 & Support python 11 UnionType

25 Oct 12:01
Compare
Choose a tag to compare

Changelog

  • Dropped support for pydantic v1 and python < 3.8.
  • Added support for pydantic v2
    • Changed ModelField -> FieldInfo
    • pydantic.parse_obj_as(FooBar, data["listFooBars"]) was changed to new syntax TypeAdapter(FooBar).validate_python(data["createFooBar"])
  • Support for python11 Union using pipe syntax
  • Added support for bson ObjectId -> graphene.ID
  • Added support for dict -> JSONString
  • Added default is_type_of resolvers. This simplifies using UnionType as is_type_of need not be defined individually in the base types of Union

v0.5.0-alpha.1 - Pydantic V2 & Optional BSON ObjectID support

25 Oct 05:36
ec5c811
Compare
Choose a tag to compare
  • Bumps version to 0.5.0
  • Made bson object ID optional (convertor would work only if bson is installed and used)
  • Marks support for pydantic V2 (from earlier releases) & python 3.12 & Drops support for pydantic v1
    Full Changelog: v0.4.2-beta.6...v0.5.0-beta.1

v0.4.2-beta.6 - Pydantic V2 Support

24 Oct 19:46
Compare
Choose a tag to compare

Bug Fixes

fix: python11 Union using | syntax

v0.4.2-beta.5 - Pydantic V2 Support

24 Oct 14:50
Compare
Choose a tag to compare

Bug Fix

fix default value becoming PydanticUndefined

v0.4.2-beta.4 - Pydantic V2 Support

24 Oct 14:33
Compare
Choose a tag to compare

Bug Fixes

  • fix: default value not working for input types
  • fix: incorrect extra list type in schema

v0.4.2-beta.3 - Pydantic V2 Support

24 Oct 04:03
Compare
Choose a tag to compare