Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
.github/ISSUE_TEMPLATE/bug_report.yaml
.github/ISSUE_TEMPLATE/config.yaml
.github/ISSUE_TEMPLATE/feature_request.yaml
.github/dependabot.yaml
.gitignore
CHANGELOG.md
CONTRIBUTING.md
LICENSE
NOTICE.txt
README.md
VERSION.txt
api/openapi.yaml
Expand Down Expand Up @@ -102,18 +100,17 @@ docs/WriteAuthorizationModelResponse.md
docs/WriteRequest.md
docs/WriteRequestDeletes.md
docs/WriteRequestWrites.md
example/Makefile
example/README.md
example/example1/README.md
example/example1/build.gradle
example/example1/gradle.properties
example/example1/gradle/wrapper/gradle-wrapper.jar
example/example1/gradle/wrapper/gradle-wrapper.properties
example/example1/gradlew
example/example1/settings.gradle
example/example1/src/main/java/dev/openfga/sdk/example/Example1.java
example/example1/src/main/kotlin/dev/openfga/sdk/example/KotlinExample1.kt
example/example1/src/main/resources/example1-auth-model.json
examples/README.md
examples/basic-examples/README.md
examples/basic-examples/build.gradle
examples/basic-examples/gradle.properties
examples/basic-examples/gradle/wrapper/gradle-wrapper.jar
examples/basic-examples/gradle/wrapper/gradle-wrapper.properties
examples/basic-examples/gradlew
examples/basic-examples/settings.gradle
examples/basic-examples/src/main/java/dev/openfga/sdk/example/Example1.java
examples/basic-examples/src/main/kotlin/dev/openfga/sdk/example/KotlinExample1.kt
examples/basic-examples/src/main/resources/example1-auth-model.json
gradle.properties
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Changelog

## [Unreleased](https://github.com/openfga/java-sdk/compare/v0.9.0...HEAD)
## [Unreleased](https://github.com/openfga/java-sdk/compare/v0.9.1...HEAD)

## v0.9.1

### [0.9.1](https://github.com/openfga/java-sdk/compare/v0.9.0...v0.9.1) (2025-10-07)

### Fixed

- Override `defaultHeaders` in `ClientConfiguration` to return correct type when using method (#226)
- Correctly handle options with no modelID set in `readAuthorizationModel` (#226)
- Include headers when converting from `ClientListRelationsOptions` to `ClientBatchCheckOptions` (#226)

## v0.9.0

Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fopenfga%2Fjava-sdk.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fopenfga%2Fjava-sdk?ref=badge_shield)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/openfga/java-sdk/badge)](https://securityscorecards.dev/viewer/?uri=github.com/openfga/java-sdk)
[![Join our community](https://img.shields.io/badge/slack-cncf_%23openfga-40abb8.svg?logo=slack)](https://openfga.dev/community)
[![X](https://img.shields.io/twitter/follow/openfga?color=%23179CF0&logo=twitter&style=flat-square "@openfga on Twitter")](https://x.com/openfga)
[![X](https://img.shields.io/twitter/follow/openfga?color=%23179CF0&logo=x&style=flat-square "@openfga on X")](https://x.com/openfga)

This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).

Expand Down Expand Up @@ -66,7 +66,7 @@ OpenFGA is designed to make it easy for application builders to model their perm

- [OpenFGA Documentation](https://openfga.dev/docs)
- [OpenFGA API Documentation](https://openfga.dev/api/service)
- [Twitter](https://twitter.com/openfga)
- [X](https://x.com/openfga)
- [OpenFGA Community](https://openfga.dev/community)
- [Zanzibar Academy](https://zanzibar.academy)
- [Google's Zanzibar Paper (2019)](https://research.google/pubs/pub48190/)
Expand All @@ -82,13 +82,13 @@ It can be used with the following:
* Gradle (Groovy)

```groovy
implementation 'dev.openfga:openfga-sdk:0.9.0'
implementation 'dev.openfga:openfga-sdk:0.9.1'
```

* Gradle (Kotlin)

```kotlin
implementation("dev.openfga:openfga-sdk:0.9.0")
implementation("dev.openfga:openfga-sdk:0.9.1")
```

* Apache Maven
Expand All @@ -97,26 +97,26 @@ implementation("dev.openfga:openfga-sdk:0.9.0")
<dependency>
<groupId>dev.openfga</groupId>
<artifactId>openfga-sdk</artifactId>
<version>0.9.0</version>
<version>0.9.1</version>
</dependency>
```

* Ivy

```xml
<dependency org="dev.openfga" name="openfga-sdk" rev="0.9.0"/>
<dependency org="dev.openfga" name="openfga-sdk" rev="0.9.1"/>
```

* SBT

```scala
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.9.0"
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.9.1"
```

* Leiningen

```edn
[dev.openfga/openfga-sdk "0.9.0"]
[dev.openfga/openfga-sdk "0.9.1"]
```


Expand Down Expand Up @@ -300,6 +300,7 @@ public class Example {
}
```


### Get your Store ID

You need your store id to call the OpenFGA API (unless it is to call the [CreateStore](#create-store) or [ListStores](#list-stores) methods).
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ plugins {
apply from: 'publish.gradle'

group = 'dev.openfga'
version = '0.9.0'
version = '0.9.1'

repositories {
mavenCentral()
Expand Down
Loading
Loading