Skip to content

Commit cf32f3a

Browse files
release: 0.0.24 (#28)
* feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(client): add support for binary request streaming * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * chore(internal): update `actions/checkout` version * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * codegen metadata * feat(api): api update * feat(api): api update * chore(ci): upgrade `actions/github-script` * feat(api): manual updates * release: 0.0.24 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 6a7583e commit cf32f3a

79 files changed

Lines changed: 1167 additions & 891 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2020
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323

2424
- name: Install Rye
2525
run: |
@@ -44,7 +44,7 @@ jobs:
4444
id-token: write
4545
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848

4949
- name: Install Rye
5050
run: |
@@ -63,7 +63,7 @@ jobs:
6363
- name: Get GitHub OIDC Token
6464
if: github.repository == 'stainless-sdks/whopsdk-python'
6565
id: github-oidc
66-
uses: actions/github-script@v6
66+
uses: actions/github-script@v8
6767
with:
6868
script: core.setOutput('github_token', await core.getIDToken());
6969

@@ -81,7 +81,7 @@ jobs:
8181
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
8282
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
8383
steps:
84-
- uses: actions/checkout@v4
84+
- uses: actions/checkout@v6
8585

8686
- name: Install Rye
8787
run: |

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818

1919
- name: Install Rye
2020
run: |

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'whopio/whopsdk-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
- name: Check release environment
1818
run: |

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.23"
2+
".": "0.0.24"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 149
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-54c90c246d009f9f497b45992768d2a85ad7213629fa4910f25acd54fe226559.yml
3-
openapi_spec_hash: 4b8eac0f1a57239c285b065fa2397a51
4-
config_hash: d4f8c855179a930e9297fbd41adfb4f1
1+
configured_endpoints: 150
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-c2ec7a86a71bec3d7b44bd29c8fd46b809794df3e92a39e20e4d43aed65c7725.yml
3+
openapi_spec_hash: c1729209a70aa843c9100053913fe2a0
4+
config_hash: 730978eefcbaabd3de523cdc8fff6814

CHANGELOG.md

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

3+
## 0.0.24 (2026-01-25)
4+
5+
Full Changelog: [v0.0.23...v0.0.24](https://github.com/whopio/whopsdk-python/compare/v0.0.23...v0.0.24)
6+
7+
### Features
8+
9+
* **api:** api update ([357f388](https://github.com/whopio/whopsdk-python/commit/357f3888026ce75af8ffe992a475f215adf9f1a1))
10+
* **api:** api update ([674f3d8](https://github.com/whopio/whopsdk-python/commit/674f3d8b57de4b3c4ad0acff5b10ceaac25f496d))
11+
* **api:** api update ([cce5997](https://github.com/whopio/whopsdk-python/commit/cce5997a68898f0f092eacdbc1a0a0992061cfe4))
12+
* **api:** api update ([e8534dd](https://github.com/whopio/whopsdk-python/commit/e8534ddb4153d1b92af8749abdb1236d8ed48fab))
13+
* **api:** api update ([d4ad504](https://github.com/whopio/whopsdk-python/commit/d4ad50414615e424f6d8bb580a9424872d0d4c22))
14+
* **api:** api update ([d897270](https://github.com/whopio/whopsdk-python/commit/d897270c715c88e37b70973e7c01d0a5981dd351))
15+
* **api:** api update ([3443622](https://github.com/whopio/whopsdk-python/commit/3443622036fccaf7dcba2e34d401fb3a256cded2))
16+
* **api:** api update ([57de7ee](https://github.com/whopio/whopsdk-python/commit/57de7eed7757ebb9d61521381a9469c46504754c))
17+
* **api:** api update ([9f6735d](https://github.com/whopio/whopsdk-python/commit/9f6735d3062eac581f80211d48f2f34a14aece4e))
18+
* **api:** api update ([78da3f2](https://github.com/whopio/whopsdk-python/commit/78da3f26588c299da76dce5868511b9146f17607))
19+
* **api:** api update ([ec3efe2](https://github.com/whopio/whopsdk-python/commit/ec3efe25e4e43e19ce03399c67e4afea1efc0028))
20+
* **api:** api update ([66fdb3b](https://github.com/whopio/whopsdk-python/commit/66fdb3b57cd29227a0b70f85c4a9fd092f572aa2))
21+
* **api:** api update ([3228988](https://github.com/whopio/whopsdk-python/commit/3228988ccc9c47cfc2e643ec7d546b03ccb5f3d7))
22+
* **api:** api update ([3e1e44b](https://github.com/whopio/whopsdk-python/commit/3e1e44bd9dcd40765bd3dd429ba4c8905370f0e0))
23+
* **api:** api update ([10170f5](https://github.com/whopio/whopsdk-python/commit/10170f57379561b95f4d9500c1dbe485c3048abe))
24+
* **api:** api update ([49d5794](https://github.com/whopio/whopsdk-python/commit/49d57942ab4dec302afb89fed5f6fa77f2b40e5d))
25+
* **api:** api update ([2370069](https://github.com/whopio/whopsdk-python/commit/23700699801a68e1e364420003aa55163d2c7917))
26+
* **api:** api update ([26e9984](https://github.com/whopio/whopsdk-python/commit/26e9984a3bf8cb77b6ff98fd1a5718e7d0734f4a))
27+
* **api:** api update ([63c9d28](https://github.com/whopio/whopsdk-python/commit/63c9d284fcb841598a93d85c1561e6a0cba73361))
28+
* **api:** api update ([a52f4a5](https://github.com/whopio/whopsdk-python/commit/a52f4a5504b7175c3938102449204088b606fe38))
29+
* **api:** api update ([c8afe02](https://github.com/whopio/whopsdk-python/commit/c8afe023d41bead426a76a593b244ec8b19db2d0))
30+
* **api:** manual updates ([0fa86ce](https://github.com/whopio/whopsdk-python/commit/0fa86cee59af6b6c6b573c60979a024c4821dee9))
31+
* **client:** add support for binary request streaming ([0cf5376](https://github.com/whopio/whopsdk-python/commit/0cf53763bf59ab21991ed5b5ccf57b1296261fb0))
32+
33+
34+
### Chores
35+
36+
* **ci:** upgrade `actions/github-script` ([9c04435](https://github.com/whopio/whopsdk-python/commit/9c04435a285c7798704b0e49304ad26219532664))
37+
* **internal:** update `actions/checkout` version ([66cabf4](https://github.com/whopio/whopsdk-python/commit/66cabf4a519d11d82c45d446fb0bc404d8f8dd1a))
38+
339
## 0.0.23 (2026-01-09)
440

541
Full Changelog: [v0.0.22...v0.0.23](https://github.com/whopio/whopsdk-python/compare/v0.0.22...v0.0.23)

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,6 @@ for payment in first_page.data:
192192
# Remove `await` for non-async usage.
193193
```
194194

195-
from datetime import datetime
196-
197195
## Nested params
198196

199197
Nested parameters are dictionaries, typed using `TypedDict`, for example:
@@ -203,15 +201,12 @@ from whop_sdk import Whop
203201

204202
client = Whop()
205203

206-
invoice = client.invoices.create(
207-
collection_method="send_invoice",
204+
app = client.apps.create(
208205
company_id="biz_xxxxxxxxxxxxxx",
209-
due_date=datetime.fromisoformat("2023-12-01T05:00:00.401"),
210-
member_id="mber_xxxxxxxxxxxxx",
211-
plan={},
212-
product={"title": "title"},
206+
name="name",
207+
icon={"id": "id"},
213208
)
214-
print(invoice.plan)
209+
print(app.icon)
215210
```
216211

217212
## Handling errors

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ Methods:
271271
- <code title="post /memberships/{id}/cancel">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">cancel</a>(id, \*\*<a href="src/whop_sdk/types/membership_cancel_params.py">params</a>) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
272272
- <code title="post /memberships/{id}/pause">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">pause</a>(id, \*\*<a href="src/whop_sdk/types/membership_pause_params.py">params</a>) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
273273
- <code title="post /memberships/{id}/resume">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">resume</a>(id) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
274+
- <code title="post /memberships/{id}/uncancel">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">uncancel</a>(id) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
274275

275276
# AuthorizedUsers
276277

@@ -651,7 +652,6 @@ from whop_sdk.types import (
651652
WithdrawalFeeTypes,
652653
WithdrawalSpeeds,
653654
WithdrawalStatus,
654-
WithdrawalTypes,
655655
WithdrawalCreateResponse,
656656
WithdrawalRetrieveResponse,
657657
WithdrawalListResponse,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "whop-sdk"
3-
version = "0.0.23"
3+
version = "0.0.24"
44
description = "The official Python library for the Whop API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)