Skip to content

Commit 9b67e04

Browse files
committed
Release v3.1.0 (pubsub live subscriptions)
1 parent 1d5dd64 commit 9b67e04

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ The FastComments Python SDK. You can use this to build secure and scalable backe
88
Install directly from a release tag (recommended, fully reproducible):
99

1010
```bash
11-
pip install git+https://github.com/fastcomments/fastcomments-python.git@v3.0.0
11+
pip install git+https://github.com/fastcomments/fastcomments-python.git@v3.1.0
1212
```
1313

1414
Pin the tag rather than a branch so builds are deterministic. The same form works in `requirements.txt`:
1515

1616
```
17-
fastcomments @ git+https://github.com/fastcomments/fastcomments-python.git@v3.0.0
17+
fastcomments @ git+https://github.com/fastcomments/fastcomments-python.git@v3.1.0
1818
```
1919

2020
Each tagged [GitHub Release](https://github.com/fastcomments/fastcomments-python/releases) also has a built wheel attached if you prefer to install a binary artifact directly.
@@ -156,7 +156,7 @@ sso_token = sso.create_token()
156156
The `pubsub` module lets you subscribe to real-time comment events (new comments, votes, edits, notifications, etc.) over a WebSocket, mirroring the FastComments Java SDK's `LiveEventSubscriber`. It requires the `pubsub` extra, which adds a WebSocket client on top of the generated API client:
157157

158158
```bash
159-
pip install "fastcomments[pubsub] @ git+https://github.com/fastcomments/fastcomments-python.git@v3.0.0"
159+
pip install "fastcomments[pubsub] @ git+https://github.com/fastcomments/fastcomments-python.git@v3.1.0"
160160
```
161161

162162
```python
@@ -239,7 +239,7 @@ which pulls in `urllib3 >= 1.25.3`, `python-dateutil >= 2.8.2`,
239239
`pydantic >= 2.0.0`, and `typing-extensions >= 4.0.0`:
240240

241241
```bash
242-
pip install "fastcomments[client] @ git+https://github.com/fastcomments/fastcomments-python.git@v3.0.0"
242+
pip install "fastcomments[client] @ git+https://github.com/fastcomments/fastcomments-python.git@v3.1.0"
243243
```
244244

245245
## License

openapi-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packageName": "client",
33
"projectName": "fastcomments",
4-
"packageVersion": "3.0.1",
4+
"packageVersion": "3.1.0",
55
"packageUrl": "https://github.com/fastcomments/fastcomments-python",
66
"authorName": "FastComments",
77
"authorEmail": "support@fastcomments.com",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "fastcomments"
7-
version = "3.0.1"
7+
version = "3.1.0"
88
description = "FastComments Python SDK - A SDK for interacting with the FastComments API"
99
readme = "README.md"
1010
license = "MIT"

0 commit comments

Comments
 (0)