Skip to content

Commit eefcc70

Browse files
authored
Merge pull request #197 from mirumee/release_0_8
Release 0.8
2 parents b24d10c + 82c8e28 commit eefcc70

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## UNRELEASED
3+
## 0.8.0 (2023-08-22)
44

55
- Added support for `Upload` scalar. Added support for file uploads to `AsyncBaseClient` and `BaseClient`.
66
- Added validation of defined operations against the schema.
@@ -10,6 +10,7 @@
1010
- Added default representation for a field name consisting only of underscores.
1111
- Changed generated client and models to use pydantic v2.
1212
- 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.
13+
- Unified annotations in generated client to be compatible with python < 3.9.
1314
- Fixed generating default values of input types from remote schemas.
1415
- Changed generating of input and result field names to add `_` to names reserved by pydantic.
1516

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
name = "ariadne-codegen"
77
description = "Generate fully typed GraphQL client from schema, queries and mutations!"
88
authors = [{ name = "Mirumee Software", email = "[email protected]" }]
9-
version = "0.7.1"
9+
version = "0.8.0"
1010
readme = "README.md"
1111
license = { file = "LICENSE" }
1212
classifiers = [
@@ -25,7 +25,7 @@ dependencies = [
2525
"graphql-core>=3.2.0,<3.3",
2626
"toml~=0.10",
2727
"httpx~=0.23",
28-
"pydantic~=2.0",
28+
"pydantic>=2.0.0,<3.0.0",
2929
"black",
3030
"isort",
3131
"autoflake",

0 commit comments

Comments
 (0)