Skip to content

Commit 13c9d3a

Browse files
docs(CHANGELOG.md): Reset after release
1 parent c58db6b commit 13c9d3a

1 file changed

Lines changed: 1 addition & 140 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 140 deletions
Original file line numberDiff line numberDiff line change
@@ -4,145 +4,6 @@ All notable unreleased changes to this project will be documented in this file.
44

55
For released versions, see the [Releases](https://github.com/mirumee/ariadne/releases) page.
66

7-
## 1.0.0 (2026-03-16)
7+
## Unreleased
88

9-
### ⚠️ Breaking Changes
10-
- **Remove deprecated `EnumType.bind_to_default_values`**
11-
- **Remove deprecated apollo tracing, opentracing, and extend_federated_schema**
12-
- **Make base handler class names consistent**
13-
- **Make convert_names_case handle digit boundaries in lowercase names**
149

15-
### 🐛 Bug Fixes
16-
- Add subresource integrity (SRI) to GraphiQL explorer scripts
17-
- Add missing permission
18-
- Return correct success value when errors occurs
19-
- Fix GraphQL.get_request_data return type
20-
- Make convert_names_case run before directives in make_executable_schema
21-
22-
### 📚 Documentation
23-
- Get rid of deprecated. Fix llms.txt paths
24-
- Fixing styles, typos. Cleanups
25-
- Update typing in api references
26-
- Add more examples
27-
- Fix description for string-based enums
28-
29-
### 🛠️ Build System
30-
- Update classifiers and versioning policy
31-
- Add git-cliff for automated changelog and release notes
32-
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
46-
47-
status_type = EnumType("Status", {"ACTIVE": 1, "INACTIVE": 0})
48-
schema = make_executable_schema(type_defs, status_type)
49-
status_type.bind_to_default_values(schema) # ← remove this line
50-
51-
# After
52-
from ariadne import EnumType, make_executable_schema
53-
54-
status_type = EnumType("Status", {"ACTIVE": 1, "INACTIVE": 0})
55-
schema = make_executable_schema(type_defs, status_type)
56-
# Default enum values are now repaired automatically
57-
```
58-
59-
### Removed deprecated tracing & federation utilities
60-
61-
The following modules and functions have been removed:
62-
63-
- `ApolloTracingExtension` / `apollo_tracing_extension()` from `ariadne.contrib.tracing.apollotracing`
64-
- `OpenTracingExtension` / `opentracing_extension()` from `ariadne.contrib.tracing.opentracing`
65-
- `extend_federated_schema()` from `ariadne.contrib.federation.schema`
66-
- The `tracing` pip extra (`pip install ariadne[tracing]`) has been removed
67-
68-
**Migration (tracing):** Both Apollo Tracing and OpenTracing are archived projects. Migrate to OpenTelemetry using the `telemetry` extra:
69-
70-
```python
71-
# Before
72-
from ariadne.contrib.tracing.apollotracing import ApolloTracingExtension
73-
# or
74-
from ariadne.contrib.tracing.opentracing import OpenTracingExtension
75-
76-
# After
77-
pip install ariadne[telemetry]
78-
79-
from ariadne.contrib.tracing.opentelemetry import OpenTelemetryExtension
80-
```
81-
82-
**Migration (`extend_federated_schema`):** Use `graphql.extend_schema()` from graphql-core directly:
83-
84-
```python
85-
# Before
86-
from ariadne.contrib.federation.schema import extend_federated_schema
87-
88-
schema = extend_federated_schema(schema, type_defs)
89-
90-
# After
91-
from graphql import build_ast_schema, extend_schema, parse
92-
93-
schema = extend_schema(schema, parse(type_defs))
94-
```
95-
96-
### Renamed base handler classes
97-
98-
Base handler class names have been made consistent:
99-
100-
| Old Name | New Name |
101-
|----------|----------|
102-
| `GraphQLHandler` | `GraphQLHandlerBase` |
103-
| `GraphQLWebsocketHandler` | `GraphQLWebsocketHandlerBase` |
104-
105-
`GraphQLHttpHandlerBase` was already correctly named and is unchanged.
106-
107-
**Migration:** Find-and-replace your imports. This only affects users subclassing these base handlers.
108-
109-
```python
110-
# Before
111-
from ariadne.asgi.handlers import GraphQLHandler, GraphQLWebsocketHandler
112-
113-
class MyHandler(GraphQLHandler): ...
114-
class MyWSHandler(GraphQLWebsocketHandler): ...
115-
116-
# After
117-
from ariadne.asgi.handlers import GraphQLHandlerBase, GraphQLWebsocketHandlerBase
118-
119-
class MyHandler(GraphQLHandlerBase): ...
120-
class MyWSHandler(GraphQLWebsocketHandlerBase): ...
121-
```
122-
123-
### `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`:
136-
137-
```python
138-
from ariadne import make_executable_schema
139-
140-
def my_name_converter(graphql_name: str, schema) -> str:
141-
# Your custom logic here — return the name unchanged
142-
# to preserve old behavior for digit boundaries
143-
return graphql_name
144-
145-
schema = make_executable_schema(
146-
type_defs, ..., name_converter=my_name_converter
147-
)
148-
```

0 commit comments

Comments
 (0)