Skip to content

Commit b1ecb18

Browse files
authored
release(v0.3.1): with dep upgrades, and reduce urllib3 min (#46)
2 parents 263d8a9 + 37ba09e commit b1ecb18

17 files changed

Lines changed: 51 additions & 26 deletions

.github/dependabot.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
groups:
8+
dependencies:
9+
patterns:
10+
- "*"
11+
ignore:
12+
- dependency-name: "urllib3"
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: "monthly"
17+
groups:
18+
dependencies:
19+
patterns:
20+
- "*"

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.github/CODEOWNERS
33
.github/ISSUE_TEMPLATE/bug_report.md
44
.github/ISSUE_TEMPLATE/feature_request.md
5+
.github/dependabot.yaml
56
.github/workflows/main.yaml
67
.github/workflows/semgrep.yaml
78
.gitignore

CHANGELOG.md

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

3+
## v0.3.1
4+
5+
### [0.3.1](https://github.com/openfga/python-sdk/compare/v0.3.0...v0.3.1) (2023-12-01)
6+
- chore(deps): reduce min urllib3 to 1.25.11, add dependabot & bump deps
7+
38
## v0.3.0
49

510
### [0.3.0](https://github.com/openfga/python-sdk/compare/v0.2.1...v0.3.0) (2023-11-02)

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.0
1+
0.3.1

openfga_sdk/__init__.py

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

17-
__version__ = "0.3.0"
17+
__version__ = "0.3.1"
1818

1919
from openfga_sdk.client.client import OpenFgaClient
2020
from openfga_sdk.client.configuration import ClientConfiguration

openfga_sdk/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from openfga_sdk.exceptions import ApiValueError, ApiException, FgaValidationException, RateLimitExceededError
3535

3636

37-
DEFAULT_USER_AGENT = 'openfga-sdk python/0.3.0'
37+
DEFAULT_USER_AGENT = 'openfga-sdk python/0.3.1'
3838

3939

4040
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
@@ -439,7 +439,7 @@ def to_debug_report(self):
439439
"OS: {env}\n"\
440440
"Python Version: {pyversion}\n"\
441441
"Version of the API: 0.1\n"\
442-
"SDK Package Version: 0.3.0".\
442+
"SDK Package Version: 0.3.1".\
443443
format(env=sys.platform, pyversion=sys.version)
444444

445445
def get_host_settings(self):

openfga_sdk/oauth2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def _obtain_token(self, client):
5454
'grant_type': "client_credentials",
5555
}
5656
headers = urllib3.response.HTTPHeaderDict(
57-
{'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'openfga-sdk (python) 0.3.0'})
57+
{'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'openfga-sdk (python) 0.3.1'})
5858
raw_response = await client.POST(token_url, headers=headers, body=body)
5959
if 200 <= raw_response.status <= 299:
6060
try:

openfga_sdk/sync/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from openfga_sdk.exceptions import ApiValueError, ApiException, FgaValidationException, RateLimitExceededError
3535

3636

37-
DEFAULT_USER_AGENT = 'openfga-sdk python/0.3.0'
37+
DEFAULT_USER_AGENT = 'openfga-sdk python/0.3.1'
3838

3939

4040
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
@@ -54,7 +54,7 @@ def _obtain_token(self, client):
5454
'grant_type': "client_credentials",
5555
}
5656
headers = urllib3.response.HTTPHeaderDict(
57-
{'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'openfga-sdk (python) 0.3.0'})
57+
{'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'openfga-sdk (python) 0.3.1'})
5858
raw_response = client.POST(token_url, headers=headers, body=body)
5959
if 200 <= raw_response.status <= 299:
6060
try:

0 commit comments

Comments
 (0)