Skip to content

Commit 13ff070

Browse files
authored
Merge pull request #144 from square/fern-support/20250319
Release 41.0.0.20250319
2 parents 38717db + 3acdd6f commit 13ff070

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

doc/client.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The following parameters are configurable for the API Client:
55

66
| Parameter | Type | Description |
77
| --- | --- | --- |
8-
| `square_version` | `str` | Square Connect API versions<br>*Default*: `'2025-02-20'` |
8+
| `square_version` | `str` | Square Connect API versions<br>*Default*: `'2025-03-19'` |
99
| `custom_url` | `str` | Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `'https://connect.squareup.com'` |
1010
| `environment` | `string` | The API environment. <br> **Default: `production`** |
1111
| `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
@@ -24,7 +24,7 @@ The API client can be initialized as follows:
2424

2525
```python
2626
client = Client(
27-
square_version='2025-02-20',
27+
square_version='2025-03-19',
2828
bearer_auth_credentials=BearerAuthCredentials(
2929
access_token='AccessToken'
3030
),
@@ -53,7 +53,7 @@ from square.http.auth.o_auth_2 import BearerAuthCredentials
5353
from square.client import Client
5454

5555
client = Client(
56-
square_version='2025-02-20',
56+
square_version='2025-03-19',
5757
bearer_auth_credentials=BearerAuthCredentials(
5858
access_token='AccessToken'
5959
),

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = ["setuptools>=61.0"]
44
[project]
55
name = "squareup"
66
description = "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management."
7-
version = "40.1.0.220250220"
7+
version = "41.0.0.20250319"
88
readme = "README.md"
99
requires-python = ">=3.7"
1010
authors = [{name = "Square Developer Platform", email = "developers@squareup.com"}]

square/api/base_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BaseApi(object):
2222

2323
@staticmethod
2424
def user_agent():
25-
return 'Square-Python-SDK/40.1.0.220250220 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
25+
return 'Square-Python-SDK/41.0.0.20250319 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
2626

2727
@staticmethod
2828
def user_agent_parameters():

square/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
class Client(object):
5656
@staticmethod
5757
def sdk_version():
58-
return '40.1.0.220250220'
58+
return '41.0.0.20250319'
5959

6060
@staticmethod
6161
def square_version():
62-
return '2025-02-20'
62+
return '2025-03-19'
6363

6464
def user_agent_detail(self):
6565
return self.config.user_agent_detail
@@ -238,7 +238,7 @@ def __init__(self, http_client_instance=None,
238238
retry_statuses=None, retry_methods=None,
239239
environment='production',
240240
custom_url='https://connect.squareup.com', access_token=None,
241-
bearer_auth_credentials=None, square_version='2025-02-20',
241+
bearer_auth_credentials=None, square_version='2025-03-19',
242242
additional_headers={}, user_agent_detail='', config=None):
243243
self.config = config or Configuration(
244244
http_client_instance=http_client_instance,

square/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, http_client_instance=None,
4545
retry_statuses=None, retry_methods=None,
4646
environment='production',
4747
custom_url='https://connect.squareup.com', access_token=None,
48-
bearer_auth_credentials=None, square_version='2025-02-20',
48+
bearer_auth_credentials=None, square_version='2025-03-19',
4949
additional_headers={}, user_agent_detail=''):
5050
if retry_methods is None:
5151
retry_methods = ['GET', 'PUT']

0 commit comments

Comments
 (0)