Skip to content

Commit 10a4d32

Browse files
committed
release: v0.6.1
1 parent 862750b commit 10a4d32

13 files changed

Lines changed: 23 additions & 14 deletions

File tree

CHANGELOG.md

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

3+
## v0.6.1
4+
5+
### [0.6.1](https://github.com/openfga/python-sdk/compare/v0.6.0...v0.6.1) (2024-07-31)
6+
- feat: add support for specifying consistency when evaluating or reading (#129)
7+
Note: To use this feature, you need to be running OpenFGA v1.5.7+ with the experimental flag
8+
`enable-consistency-params` enabled. See the [v1.5.7 release notes](https://github.com/openfga/openfga/releases/tag/v1.5.7) for details.
9+
10+
- feat: add OpenTelemetry metrics reporting
11+
312
## v0.6.0
413

514
### [0.6.0](https://github.com/openfga/python-sdk/compare/v0.5.0...v0.6.0) (2024-06-28)

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.6.0"]
17+
REQUIRES = ["openfga-sdk >= 0.6.1"]
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.6.0"
13+
__version__ = "0.6.1"
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.6.0"
39+
DEFAULT_USER_AGENT = "openfga-sdk python/0.6.1"
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
@@ -469,7 +469,7 @@ def to_debug_report(self):
469469
"OS: {env}\n"
470470
"Python Version: {pyversion}\n"
471471
"Version of the API: 1.x\n"
472-
"SDK Package Version: 0.6.0".format(env=sys.platform, pyversion=sys.version)
472+
"SDK Package Version: 0.6.1".format(env=sys.platform, pyversion=sys.version)
473473
)
474474

475475
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.6.0",
86+
"User-Agent": "openfga-sdk (python) 0.6.1",
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.6.0"
38+
DEFAULT_USER_AGENT = "openfga-sdk python/0.6.1"
3939

4040

4141
def random_time(loop_count, min_wait_in_ms):

openfga_sdk/sync/oauth2.py

Lines changed: 1 addition & 1 deletion
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.6.0",
86+
"User-Agent": "openfga-sdk (python) 0.6.1",
8787
}
8888
)
8989

setup.py

Lines changed: 1 addition & 1 deletion
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.6.0"
19+
VERSION = "0.6.1"
2020
REQUIRES = []
2121

2222

test/api/open_fga_api_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,7 @@ async def test_check_api_token(self, mock_request):
15201520
{
15211521
"Accept": "application/json",
15221522
"Content-Type": "application/json",
1523-
"User-Agent": "openfga-sdk python/0.6.0",
1523+
"User-Agent": "openfga-sdk python/0.6.1",
15241524
"Authorization": "Bearer TOKEN1",
15251525
}
15261526
)
@@ -1574,7 +1574,7 @@ async def test_check_custom_header(self, mock_request):
15741574
{
15751575
"Accept": "application/json",
15761576
"Content-Type": "application/json",
1577-
"User-Agent": "openfga-sdk python/0.6.0",
1577+
"User-Agent": "openfga-sdk python/0.6.1",
15781578
"Custom Header": "custom value",
15791579
}
15801580
)

0 commit comments

Comments
 (0)