You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,4 +30,119 @@ For released versions, see the [Releases](https://github.com/mirumee/ariadne/rel
30
30
- Update classifiers and versioning policy
31
31
- Add git-cliff for automated changelog and release notes
32
32
33
+
---
33
34
35
+
## Migration Guide: 0.29.0 → 1.0.0
36
+
37
+
### Removed `EnumType.bind_to_default_values`
38
+
39
+
The `EnumType.bind_to_default_values()` method, deprecated since 0.22, has been removed. `make_executable_schema` already calls `repair_schema_default_enum_values` internally, so the manual call is unnecessary.
40
+
41
+
**Migration:** Remove the call entirely.
42
+
43
+
```python
44
+
# Before
45
+
from ariadne import EnumType, make_executable_schema
### `convert_names_case` now handles digit boundaries
124
+
125
+
`convert_names_case` now inserts underscores at digit boundaries in lowercase names. Previously, names that were already lowercase were skipped entirely. Now the custom name converter is called for **all** fields, including already-lowercase ones.
126
+
127
+
Examples of changed behavior:
128
+
129
+
| GraphQL name | Before | After |
130
+
|-------------|--------|-------|
131
+
|`foobar19`|`foobar19`|`foobar_19`|
132
+
|`test134`|`test134`|`test_134`|
133
+
|`134test`|`134test`|`134_test`|
134
+
135
+
**Migration:** If you rely on the old behavior (no underscores at digit boundaries), pass a custom `name_converter` to `make_executable_schema`:
Copy file name to clipboardExpand all lines: README.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,6 @@ Documentation is available [here](https://ariadnegraphql.org).
24
24
| ---------- | ----------- |
25
25
|[Ariadne](https://github.com/mirumee/ariadne)| Python library for implementing GraphQL servers using a schema-first approach. |
26
26
|[Ariadne codegen](https://github.com/mirumee/ariadne-codegen)| GraphQL client code generator for Python. |
27
-
|[Ariadne GraphQL modules](https://github.com/mirumee/ariadne-graphql-modules)| Ariadne package for implementing Ariadne GraphQL schemas using a modular approach. |
28
27
|[Ariadne auth](https://github.com/mirumee/ariadne-auth)| A collection of authentication and authorization utilities for Ariadne. |
|[Ariadne GraphQL proxy](https://github.com/mirumee/ariadne-graphql-proxy)| A GraphQL proxy for Ariadne that allows you to combine multiple GraphQL APIs into a single API. |
0 commit comments