Skip to content

Commit 69f19ee

Browse files
committed
fix: changelog
1 parent 040446d commit 69f19ee

1 file changed

Lines changed: 2 additions & 25 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,8 @@
22

33
## [Unreleased](https://github.com/openfga/java-sdk/compare/v0.9.4...HEAD)
44

5-
### Changed
6-
- **BREAKING**: Renamed "Raw API" to "API Executor" throughout the SDK for consistency with Go SDK naming conventions
7-
- `RawApi` class renamed to `ApiExecutor`
8-
- `RawRequestBuilder` class renamed to `ApiExecutorRequestBuilder`
9-
- `OpenFgaClient.raw()` method renamed to `OpenFgaClient.apiExecutor()`
10-
- All documentation updated to refer to "API Executor" instead of "Raw API"
11-
- Example directory `examples/raw-api` renamed to `examples/api-executor`
12-
- Documentation file `docs/RawApi.md` renamed to `docs/ApiExecutor.md`
13-
14-
**Migration Guide**: Update your code as follows:
15-
```java
16-
// Before
17-
RawRequestBuilder request = RawRequestBuilder.builder("POST", "/stores/{store_id}/endpoint")
18-
.pathParam("store_id", storeId)
19-
.body(requestData)
20-
.build();
21-
ApiResponse<ResponseType> response = client.raw().send(request, ResponseType.class).get();
22-
23-
// After
24-
ApiExecutorRequestBuilder request = ApiExecutorRequestBuilder.builder("POST", "/stores/{store_id}/endpoint")
25-
.pathParam("store_id", storeId)
26-
.body(requestData)
27-
.build();
28-
ApiResponse<ResponseType> response = client.apiExecutor().send(request, ResponseType.class).get();
29-
```
5+
### Added
6+
- Introduced `ApiExecutor` for executing custom HTTP requests to OpenFGA API endpoints
307

318
## v0.9.4
329

0 commit comments

Comments
 (0)