Skip to content

Commit 5e61ff0

Browse files
authored
release: v0.8.0 (#150)
2 parents 041a713 + de37e15 commit 5e61ff0

File tree

16 files changed

+30
-18
lines changed

16 files changed

+30
-18
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
.github/ISSUE_TEMPLATE/config.yaml
66
.github/ISSUE_TEMPLATE/feature_request.yaml
77
.github/dependabot.yaml
8-
.github/workflows/main.yaml
9-
.github/workflows/semgrep.yaml
108
.gitignore
119
.snyk
1210
CHANGELOG.md

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [Unreleased](https://github.com/openfga/python-sdk/compare/v0.8.0...HEAD)
4+
5+
## v0.8.0
6+
7+
### [0.8.0](https://github.com/openfga/python-sdk/compare/v0.7.2...v0.8.0) (2024-11-15)
8+
9+
- feat: allow configuring the token endpoint (#137)
10+
- feat: add per-HTTP request counter metric (#135)
11+
- refactor: remove SDK version for OpenTelemetry meter name (#134)
12+
- fix: only send SDK method header from SDK wrapper methods (#142)
13+
- fix: unable to pass `retry_params` (#144)
14+
- fix: list users should send contextual tuples as a list (#147)
15+
- fix: handle no models existing in `read_latest_authorization_model` (#147)
16+
317
## v0.7.2
418

519
### [0.7.2](https://github.com/openfga/python-sdk/compare/v0.7.1...v0.7.2) (2024-09-22)

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.2
1+
0.8.0

example/example1/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ attrs >= 23.1.0
44
frozenlist >= 1.4.1
55
idna >= 3.6
66
multidict >= 6.0.4
7-
openfga-sdk >= 0.7.2
7+
openfga-sdk >= 0.8.0
88
python-dateutil >= 2.8.2
99
urllib3 >= 2.1.0
1010
yarl >= 1.9.4

example/example1/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
NAME = "example1"
1616
VERSION = "0.0.1"
17-
REQUIRES = ["openfga-sdk >= 0.7.2"]
17+
REQUIRES = ["openfga-sdk >= 0.8.0"]
1818

1919
setup(
2020
name=NAME,

openfga_sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
NOTE: This file was auto generated by OpenAPI Generator (https://openapi-generator.tech). DO NOT EDIT.
1111
"""
1212

13-
__version__ = "0.7.2"
13+
__version__ = "0.8.0"
1414

1515
from openfga_sdk.api.open_fga_api import OpenFgaApi
1616
from openfga_sdk.api_client import ApiClient

openfga_sdk/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from openfga_sdk.telemetry import Telemetry
3737
from openfga_sdk.telemetry.attributes import TelemetryAttribute, TelemetryAttributes
3838

39-
DEFAULT_USER_AGENT = "openfga-sdk python/0.7.2"
39+
DEFAULT_USER_AGENT = "openfga-sdk python/0.8.0"
4040

4141

4242
def random_time(loop_count, min_wait_in_ms):

openfga_sdk/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def to_debug_report(self):
539539
"OS: {env}\n"
540540
"Python Version: {pyversion}\n"
541541
"Version of the API: 1.x\n"
542-
"SDK Package Version: 0.7.2".format(env=sys.platform, pyversion=sys.version)
542+
"SDK Package Version: 0.8.0".format(env=sys.platform, pyversion=sys.version)
543543
)
544544

545545
def get_host_settings(self):

openfga_sdk/oauth2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async def _obtain_token(self, client):
8383
{
8484
"Accept": "application/json",
8585
"Content-Type": "application/x-www-form-urlencoded",
86-
"User-Agent": "openfga-sdk (python) 0.7.2",
86+
"User-Agent": "openfga-sdk (python) 0.8.0",
8787
}
8888
)
8989

openfga_sdk/sync/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from openfga_sdk.telemetry import Telemetry
3636
from openfga_sdk.telemetry.attributes import TelemetryAttribute, TelemetryAttributes
3737

38-
DEFAULT_USER_AGENT = "openfga-sdk python/0.7.2"
38+
DEFAULT_USER_AGENT = "openfga-sdk python/0.8.0"
3939

4040

4141
def random_time(loop_count, min_wait_in_ms):

0 commit comments

Comments
 (0)