Skip to content

Commit ba74465

Browse files
authored
Merge pull request #163 from fingerprintjs/changeset-release/main
2 parents 7649600 + 7362cef commit ba74465

8 files changed

Lines changed: 61 additions & 7 deletions

File tree

.changeset/pre.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"initialVersions": {
55
"@fingerprint/python-sdk": "8.11.0"
66
},
7-
"changesets": []
7+
"changesets": [
8+
"late-peas-drop",
9+
"plenty-clouds-tie"
10+
]
811
}

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
# Fingerprint Pro Server Python SDK
22

3+
## 9.0.0-rc.0
4+
5+
### Major Changes
6+
7+
- Changed library name to `fingerprint_server_sdk`
8+
9+
**BREAKING CHANGE**:
10+
11+
- You need to change package name to `fingerprint_server_sdk`.
12+
13+
**MIGRATION_GUIDE**:
14+
15+
Replace imports to new name:
16+
17+
```diff
18+
- import fingerprint_pro_server_api_sdk
19+
+ import fingerprint_server_sdk
20+
```
21+
22+
If you are using docker compose file, please re-build the SDK. ([1f8ea14](https://github.com/fingerprintjs/python-sdk/commit/1f8ea14bbd77d439c53bc30bcd7f0e64c66c7d3e))
23+
24+
- Migrate to Server API v4.
25+
26+
### Breaking Changes
27+
28+
- Flatten event structure. Access fields directly intead of through `products` wrapper.
29+
- Remove `get_visitors` and `get_releated_visitors` endpoints (use `search_events` instead).
30+
- Remove deprecated v3 models (webhook models, product wrapper models, etc.)
31+
32+
### Migration Guide
33+
34+
**Event structure:**
35+
36+
```diff
37+
- event.products.identification.data.visitor_id
38+
+ event.identification.visitor_id
39+
```
40+
41+
**Region parameter:**
42+
43+
```diff
44+
- Configuration(api_key="key", region="us")
45+
+ from fingerprint_server_sdk.configuration import Region
46+
+ Configuration(api_key="key", region=Region.US)
47+
```
48+
49+
**New Features:**
50+
51+
- New exception classes: `TooManyRequestsException`, `ConflictException`, `UnprocessableEntityException`, ...
52+
- New v4 models: `BotInfo`, `Canvas`, `Emoji`, `EventRuleAction`, `FontPreferences`, ... ([f61ab2c](https://github.com/fingerprintjs/python-sdk/commit/f61ab2c876f538de8bca02f60cbab14ceae91801))
53+
354
## 8.11.0
455

556
### Minor Changes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The Fingerprint Server Python SDK is an easy way to interact with the Fingerprin
2626
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
2727

2828
- API version: 4
29-
- Package version: 8.11.0
29+
- Package version: 9.0.0-rc.0
3030
- Generator version: 7.19.0
3131
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
3232

fingerprint_server_sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Do not edit the class manually.
1313
""" # noqa: E501
1414

15-
__version__ = '8.11.0'
15+
__version__ = '9.0.0-rc.0'
1616

1717
# Define package exports
1818
__all__ = [

fingerprint_server_sdk/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def to_debug_report(self) -> str:
324324
f'OS: {sys.platform}\n'
325325
f'Python Version: {sys.version}\n'
326326
'Version of the API: 4\n'
327-
'SDK Package Version: 8.11.0'
327+
'SDK Package Version: 9.0.0-rc.0'
328328
)
329329

330330
@staticmethod

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fingerprint/python-sdk",
3-
"version": "8.11.0",
3+
"version": "9.0.0-rc.0",
44
"private": true,
55
"devDependencies": {
66
"@changesets/cli": "^2.27.8",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fingerprint_server_sdk"
3-
version = "8.11.0"
3+
version = "9.0.0-rc.0"
44
description = "Fingerprint Server API allows you to get, search, and update Events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. "
55
authors = [
66
{name = "Fingerprint Support",email = "support@fingerprint.com"},

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 = 'fingerprint-server-sdk'
19-
VERSION = '8.11.0'
19+
VERSION = '9.0.0-rc.0'
2020
PYTHON_REQUIRES = '>= 3.9'
2121
# To install the library, run the following
2222
#

0 commit comments

Comments
 (0)