Skip to content

Commit

Permalink
Merge pull request #197 from mirumee/release_0_8
Browse files Browse the repository at this point in the history
Release 0.8
  • Loading branch information
mat-sop authored Aug 22, 2023
2 parents b24d10c + 82c8e28 commit eefcc70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## UNRELEASED
## 0.8.0 (2023-08-22)

- Added support for `Upload` scalar. Added support for file uploads to `AsyncBaseClient` and `BaseClient`.
- Added validation of defined operations against the schema.
Expand All @@ -10,6 +10,7 @@
- Added default representation for a field name consisting only of underscores.
- Changed generated client and models to use pydantic v2.
- Changed custom scalars implementation to utilize pydantic's `BeforeValidator` and `PlainSerializer`. Added `scalars_module_name` option. Replaced `generate_scalars_parse_dict` and `generate_scalars_serialize_dict` with `generate_scalar_annotation` and `generate_scalar_imports` plugin hooks.
- Unified annotations in generated client to be compatible with python < 3.9.
- Fixed generating default values of input types from remote schemas.
- Changed generating of input and result field names to add `_` to names reserved by pydantic.

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "ariadne-codegen"
description = "Generate fully typed GraphQL client from schema, queries and mutations!"
authors = [{ name = "Mirumee Software", email = "[email protected]" }]
version = "0.7.1"
version = "0.8.0"
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
Expand All @@ -25,7 +25,7 @@ dependencies = [
"graphql-core>=3.2.0,<3.3",
"toml~=0.10",
"httpx~=0.23",
"pydantic~=2.0",
"pydantic>=2.0.0,<3.0.0",
"black",
"isort",
"autoflake",
Expand Down

0 comments on commit eefcc70

Please sign in to comment.