Skip to content

Commit 8c8507c

Browse files
Change to use semantic versioning
1 parent 3af6cc1 commit 8c8507c

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## Version 3.3.0-20191217 (2019-12-17)
3+
## Version 4.0.0-20191217 (2019-12-17)
44
!!!important
55
Square is excited to announce the public release of customized SDKs for [Java](https://github.com/square/square-java-sdk) and [.NET](https://github.com/square/square-dotnet-sdk). For more information, see [Square SDKs](/sdks).
66
!!!
@@ -9,8 +9,8 @@ Square is excited to announce the public release of customized SDKs for [Java](h
99

1010
* __Beta release:__ SDKs updated to support the new [CashDrawerShifts](cashdrawershift-api/reporting) API.
1111

12-
* Square now follows the semantic versioning scheme that uses three numbers to delineate MAJOR, MINOR, and PATCH versions of our SDK. In addition, the SDK version also includes the API version so you know what Square API version the SDK is related to. For more information, see [Versioning and SDKs](build-basics/versioning-overview#versioning-and-sdks).
13-
12+
* Square now follows the semantic versioning scheme for all SDKs except PHP and Node.js. This versioning scheme uses three numbers to delineate MAJOR, MINOR, and PATCH versions of our SDK. In addition, the SDK version also includes the API version so you know what Square API version the SDK is related to. For more information, see [Versioning and SDKs](build-basics/versioning-overview#versioning-and-sdks).
13+
* Java, .Net, Python, and Ruby SDKs are now version 4.0.0. Java and .Net SDKs have breaking changes in version 4.0.0. Ruby and Python do not have breaking changes.
1414

1515
## Version 3.20191120.0 (2019-11-20)
1616
!!!important

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='squareup',
15-
version='3.3.0.20191217',
15+
version='4.0.0.20191217',
1616
description='Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.',
1717
long_description=long_description,
1818
long_description_content_type="text/markdown",

square/api/base_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class BaseApi(object):
2020
"""
2121

2222
global_headers = {
23-
'user-agent': 'Square-Python-SDK/3.3.0.20191217',
23+
'user-agent': 'Square-Python-SDK/4.0.0.20191217',
2424
'Square-Version': '2019-12-17'
2525
}
2626

square/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Client(object):
2929

3030
@staticmethod
3131
def sdk_version():
32-
return '3.3.0.20191217'
32+
return '4.0.0.20191217'
3333

3434
@staticmethod
3535
def square_version():

0 commit comments

Comments
 (0)