Skip to content

Commit 6145ea6

Browse files
authored
release: v0.9.0 (#157)
2 parents 38798c8 + 52bef42 commit 6145ea6

15 files changed

+21
-17
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## [Unreleased](https://github.com/openfga/python-sdk/compare/v0.8.1...HEAD)
3+
## [Unreleased](https://github.com/openfga/python-sdk/compare/v0.9.0...HEAD)
4+
5+
## v0.9.0
6+
7+
### [0.9.0](https://github.com/openfga/python-sdk/compare/v0.8.1...v0.9.0) (2024-12-18)
48

59
- feat: remove client-side validation - thanks @GMorris-professional (#155)
610
- feat: add support for `start_time` parameter in `ReadChanges` endpoint (#156) - Note, this feature requires v1.8.0 of OpenFGA or newer

VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.1
1+
0.9.0

example/example1/requirements.txt

+1-1
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.8.1
7+
openfga-sdk >= 0.9.0
88
python-dateutil >= 2.8.2
99
urllib3 >= 2.1.0
1010
yarl >= 1.9.4

example/example1/setup.py

+1-1
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.8.1"]
17+
REQUIRES = ["openfga-sdk >= 0.9.0"]
1818

1919
setup(
2020
name=NAME,

openfga_sdk/__init__.py

+1-1
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.8.1"
13+
__version__ = "0.9.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

+1-1
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.8.1"
39+
DEFAULT_USER_AGENT = "openfga-sdk python/0.9.0"
4040

4141

4242
def random_time(loop_count, min_wait_in_ms):

openfga_sdk/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def to_debug_report(self):
515515
"OS: {env}\n"
516516
"Python Version: {pyversion}\n"
517517
"Version of the API: 1.x\n"
518-
"SDK Package Version: 0.8.1".format(env=sys.platform, pyversion=sys.version)
518+
"SDK Package Version: 0.9.0".format(env=sys.platform, pyversion=sys.version)
519519
)
520520

521521
def get_host_settings(self):

openfga_sdk/oauth2.py

+1-1
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.8.1",
86+
"User-Agent": "openfga-sdk (python) 0.9.0",
8787
}
8888
)
8989

openfga_sdk/sync/api_client.py

+1-1
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.8.1"
38+
DEFAULT_USER_AGENT = "openfga-sdk python/0.9.0"
3939

4040

4141
def random_time(loop_count, min_wait_in_ms):

openfga_sdk/sync/oauth2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ 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.8.1",
86+
"User-Agent": "openfga-sdk (python) 0.9.0",
8787
}
8888
)
8989

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from setuptools import find_packages, setup
1717

1818
NAME = "openfga-sdk"
19-
VERSION = "0.8.1"
19+
VERSION = "0.9.0"
2020
REQUIRES = []
2121

2222

test/api/open_fga_api_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ async def test_check_api_token(self, mock_request):
15331533
{
15341534
"Accept": "application/json",
15351535
"Content-Type": "application/json",
1536-
"User-Agent": "openfga-sdk python/0.8.1",
1536+
"User-Agent": "openfga-sdk python/0.9.0",
15371537
"Authorization": "Bearer TOKEN1",
15381538
}
15391539
)
@@ -1587,7 +1587,7 @@ async def test_check_custom_header(self, mock_request):
15871587
{
15881588
"Accept": "application/json",
15891589
"Content-Type": "application/json",
1590-
"User-Agent": "openfga-sdk python/0.8.1",
1590+
"User-Agent": "openfga-sdk python/0.9.0",
15911591
"Custom Header": "custom value",
15921592
}
15931593
)

test/oauth2_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def test_get_authentication_obtain_client_credentials(self, mock_request):
8484
{
8585
"Accept": "application/json",
8686
"Content-Type": "application/x-www-form-urlencoded",
87-
"User-Agent": "openfga-sdk (python) 0.8.1",
87+
"User-Agent": "openfga-sdk (python) 0.9.0",
8888
}
8989
)
9090
mock_request.assert_called_once_with(

test/sync/oauth2_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_get_authentication_obtain_client_credentials(self, mock_request):
8484
{
8585
"Accept": "application/json",
8686
"Content-Type": "application/x-www-form-urlencoded",
87-
"User-Agent": "openfga-sdk (python) 0.8.1",
87+
"User-Agent": "openfga-sdk (python) 0.9.0",
8888
}
8989
)
9090
mock_request.assert_called_once_with(

test/sync/open_fga_api_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ async def test_check_api_token(self, mock_request):
15331533
{
15341534
"Accept": "application/json",
15351535
"Content-Type": "application/json",
1536-
"User-Agent": "openfga-sdk python/0.8.1",
1536+
"User-Agent": "openfga-sdk python/0.9.0",
15371537
"Authorization": "Bearer TOKEN1",
15381538
}
15391539
)
@@ -1587,7 +1587,7 @@ async def test_check_custom_header(self, mock_request):
15871587
{
15881588
"Accept": "application/json",
15891589
"Content-Type": "application/json",
1590-
"User-Agent": "openfga-sdk python/0.8.1",
1590+
"User-Agent": "openfga-sdk python/0.9.0",
15911591
"Custom Header": "custom value",
15921592
}
15931593
)

0 commit comments

Comments
 (0)