Skip to content

Commit e4275f4

Browse files
authored
release: v0.5.0 (#103)
2 parents b78cba4 + cd7e552 commit e4275f4

16 files changed

Lines changed: 35 additions & 16 deletions

.github/dependabot.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ updates:
1010
- "*"
1111
ignore:
1212
- dependency-name: "urllib3"
13+
- package-ecosystem: "pip"
14+
directory: "/example/example1"
15+
schedule:
16+
interval: "monthly"
17+
groups:
18+
dependencies:
19+
patterns:
20+
- "*"
1321
- package-ecosystem: "github-actions"
1422
directory: "/"
1523
schedule:

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ target/
6868
#Ipython Notebook
6969
.ipynb_checkpoints
7070

71+
# Python tooling
72+
setup.local.cfg
73+
7174

7275
# IDEs
7376
.idea
@@ -89,4 +92,3 @@ credentials.json
8992

9093
VERSION.txt
9194
git_push.sh
92-
setup.local.cfg

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.5.0
4+
5+
### [0.5.0](https://github.com/openfga/python-sdk/compare/v0.4.2...v0.5.0) (2024-06-17)
6+
7+
- fix: ClientTuple condition property type
8+
- fix: list_users should accept FgaObject type
9+
- fix: remove ReadAuthorizationModel calls from BatchCheck and writes
10+
- chore!: remove excluded users from ListUsers response
11+
312
## v0.4.3
413

514
### [0.4.3](https://github.com/openfga/python-sdk/compare/v0.4.2...v0.4.3) (2024-06-07)

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.3
1+
0.5.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.4.3
7+
openfga-sdk >= 0.5.0
88
python-dateutil >= 2.8.2
99
urllib3 >= 2.1.0
1010
yarl >= 1.9.4

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.4.3"
13+
__version__ = "0.5.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
@@ -33,7 +33,7 @@
3333
ServiceException,
3434
)
3535

36-
DEFAULT_USER_AGENT = "openfga-sdk python/0.4.3"
36+
DEFAULT_USER_AGENT = "openfga-sdk python/0.5.0"
3737

3838

3939
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.4.3".format(env=sys.platform, pyversion=sys.version)
472+
"SDK Package Version: 0.5.0".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
@@ -80,7 +80,7 @@ async def _obtain_token(self, client):
8080
{
8181
"Accept": "application/json",
8282
"Content-Type": "application/x-www-form-urlencoded",
83-
"User-Agent": "openfga-sdk (python) 0.4.3",
83+
"User-Agent": "openfga-sdk (python) 0.5.0",
8484
}
8585
)
8686

openfga_sdk/sync/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
)
3434
from openfga_sdk.sync import oauth2, rest
3535

36-
DEFAULT_USER_AGENT = "openfga-sdk python/0.4.3"
36+
DEFAULT_USER_AGENT = "openfga-sdk python/0.5.0"
3737

3838

3939
def random_time(loop_count, min_wait_in_ms):

0 commit comments

Comments
 (0)