Skip to content

Commit 6f9787e

Browse files
release: 1.9.0 (#53)
* feat(api): api update * fix(ci): release-doctor — report correct token name * feat(api): api update * chore(ci): only run for pushes and fork pull requests * fix(ci): correct conditional * release: 1.9.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 86bea22 commit 6f9787e

36 files changed

+125
-76
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
timeout-minutes: 10
1818
name: lint
1919
runs-on: ${{ github.repository == 'stainless-sdks/knock-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2021
steps:
2122
- uses: actions/checkout@v4
2223

@@ -35,7 +36,7 @@ jobs:
3536
run: ./scripts/lint
3637

3738
upload:
38-
if: github.repository == 'stainless-sdks/knock-python'
39+
if: github.repository == 'stainless-sdks/knock-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)
3940
timeout-minutes: 10
4041
name: upload
4142
permissions:
@@ -62,6 +63,7 @@ jobs:
6263
timeout-minutes: 10
6364
name: test
6465
runs-on: ${{ github.repository == 'stainless-sdks/knock-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
66+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
6567
steps:
6668
- uses: actions/checkout@v4
6769

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 89
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-c15e6924891ae19a301d5e878d353bda7cf6aa486c13be9525fe9d4d06eb140f.yml
3-
openapi_spec_hash: 397a88d71e81d4339d41c151a61e12b9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-fa68e7353b6d2eb51af35279f2f591a7d6168c5ade69c3cf40b5aae119ebcce1.yml
3+
openapi_spec_hash: f9315c4f1d89624aa2447499dbfe734c
44
config_hash: b4c547c1d4c8cd0834bc793ddf5388ee

CHANGELOG.md

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

3+
## 1.9.0 (2025-06-30)
4+
5+
Full Changelog: [v1.8.1...v1.9.0](https://github.com/knocklabs/knock-python/compare/v1.8.1...v1.9.0)
6+
7+
### Features
8+
9+
* **api:** api update ([c8ba197](https://github.com/knocklabs/knock-python/commit/c8ba197008e7f90ff4005223037e260c55e8df67))
10+
* **api:** api update ([5379162](https://github.com/knocklabs/knock-python/commit/5379162632b4d170aa98b5f05cfb182823e3916e))
11+
12+
13+
### Bug Fixes
14+
15+
* **ci:** correct conditional ([4fca14e](https://github.com/knocklabs/knock-python/commit/4fca14eea5991a391667ee0b7eeb4262bb1a1306))
16+
* **ci:** release-doctor — report correct token name ([2fc22a4](https://github.com/knocklabs/knock-python/commit/2fc22a4fc600700721d43872047fca2c0c8ff999))
17+
18+
19+
### Chores
20+
21+
* **ci:** only run for pushes and fork pull requests ([4c11d9d](https://github.com/knocklabs/knock-python/commit/4c11d9d7191034b78abbd43f93b2a2062bbbdb79))
22+
323
## 1.8.1 (2025-06-24)
424

525
Full Changelog: [v1.8.0...v1.8.1](https://github.com/knocklabs/knock-python/compare/v1.8.0...v1.8.1)

bin/check-release-environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
errors=()
44

55
if [ -z "${PYPI_TOKEN}" ]; then
6-
errors+=("The KNOCK_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
6+
errors+=("The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
77
fi
88

99
lenErrors=${#errors[@]}

pyproject.toml

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

src/knockapi/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "knockapi"
4-
__version__ = "1.8.1" # x-release-please-version
4+
__version__ = "1.9.0" # x-release-please-version

src/knockapi/resources/messages/messages.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def list(
110110
message_ids: Limits the results to only the message IDs given (max 50). Note: when using this
111111
option, the results will be subject to any other filters applied to the query.
112112
113-
page_size: The number of items per page.
113+
page_size: The number of items per page (defaults to 50).
114114
115115
source: Limits the results to messages triggered by the given workflow key.
116116
@@ -293,7 +293,7 @@ def list_activities(
293293
294294
before: The cursor to fetch entries before.
295295
296-
page_size: The number of items per page.
296+
page_size: The number of items per page (defaults to 50).
297297
298298
trigger_data: The trigger data to filter activities by.
299299
@@ -350,7 +350,7 @@ def list_delivery_logs(
350350
351351
before: The cursor to fetch entries before.
352352
353-
page_size: The number of items per page.
353+
page_size: The number of items per page (defaults to 50).
354354
355355
extra_headers: Send extra headers
356356
@@ -404,7 +404,7 @@ def list_events(
404404
405405
before: The cursor to fetch entries before.
406406
407-
page_size: The number of items per page.
407+
page_size: The number of items per page (defaults to 50).
408408
409409
extra_headers: Send extra headers
410410
@@ -726,7 +726,7 @@ def list(
726726
message_ids: Limits the results to only the message IDs given (max 50). Note: when using this
727727
option, the results will be subject to any other filters applied to the query.
728728
729-
page_size: The number of items per page.
729+
page_size: The number of items per page (defaults to 50).
730730
731731
source: Limits the results to messages triggered by the given workflow key.
732732
@@ -909,7 +909,7 @@ def list_activities(
909909
910910
before: The cursor to fetch entries before.
911911
912-
page_size: The number of items per page.
912+
page_size: The number of items per page (defaults to 50).
913913
914914
trigger_data: The trigger data to filter activities by.
915915
@@ -966,7 +966,7 @@ def list_delivery_logs(
966966
967967
before: The cursor to fetch entries before.
968968
969-
page_size: The number of items per page.
969+
page_size: The number of items per page (defaults to 50).
970970
971971
extra_headers: Send extra headers
972972
@@ -1020,7 +1020,7 @@ def list_events(
10201020
10211021
before: The cursor to fetch entries before.
10221022
1023-
page_size: The number of items per page.
1023+
page_size: The number of items per page (defaults to 50).
10241024
10251025
extra_headers: Send extra headers
10261026

src/knockapi/resources/objects/objects.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def list(
107107
108108
include: Includes preferences of the objects in the response.
109109
110-
page_size: The number of items per page.
110+
page_size: The number of items per page (defaults to 50).
111111
112112
extra_headers: Send extra headers
113113
@@ -440,7 +440,7 @@ def list_messages(
440440
message_ids: Limits the results to only the message IDs given (max 50). Note: when using this
441441
option, the results will be subject to any other filters applied to the query.
442442
443-
page_size: The number of items per page.
443+
page_size: The number of items per page (defaults to 50).
444444
445445
source: Limits the results to messages triggered by the given workflow key.
446446
@@ -563,7 +563,7 @@ def list_schedules(
563563
564564
before: The cursor to fetch entries before.
565565
566-
page_size: The number of items per page.
566+
page_size: The number of items per page (defaults to 50).
567567
568568
tenant: Filter schedules by tenant id.
569569
@@ -641,7 +641,7 @@ def list_subscriptions(
641641
642642
objects: Objects to filter by (only used if mode is `recipient`).
643643
644-
page_size: The number of items per page.
644+
page_size: The number of items per page (defaults to 50).
645645
646646
recipients: Recipients to filter by (only used if mode is `object`).
647647
@@ -947,7 +947,7 @@ def list(
947947
948948
include: Includes preferences of the objects in the response.
949949
950-
page_size: The number of items per page.
950+
page_size: The number of items per page (defaults to 50).
951951
952952
extra_headers: Send extra headers
953953
@@ -1280,7 +1280,7 @@ def list_messages(
12801280
message_ids: Limits the results to only the message IDs given (max 50). Note: when using this
12811281
option, the results will be subject to any other filters applied to the query.
12821282
1283-
page_size: The number of items per page.
1283+
page_size: The number of items per page (defaults to 50).
12841284
12851285
source: Limits the results to messages triggered by the given workflow key.
12861286
@@ -1403,7 +1403,7 @@ def list_schedules(
14031403
14041404
before: The cursor to fetch entries before.
14051405
1406-
page_size: The number of items per page.
1406+
page_size: The number of items per page (defaults to 50).
14071407
14081408
tenant: Filter schedules by tenant id.
14091409
@@ -1481,7 +1481,7 @@ def list_subscriptions(
14811481
14821482
objects: Objects to filter by (only used if mode is `recipient`).
14831483
1484-
page_size: The number of items per page.
1484+
page_size: The number of items per page (defaults to 50).
14851485
14861486
recipients: Recipients to filter by (only used if mode is `object`).
14871487

src/knockapi/resources/schedules/schedules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def list(
243243
244244
before: The cursor to fetch entries before.
245245
246-
page_size: The number of items per page.
246+
page_size: The number of items per page (defaults to 50).
247247
248248
recipients: Filter by recipient references.
249249
@@ -514,7 +514,7 @@ def list(
514514
515515
before: The cursor to fetch entries before.
516516
517-
page_size: The number of items per page.
517+
page_size: The number of items per page (defaults to 50).
518518
519519
recipients: Filter by recipient references.
520520

0 commit comments

Comments
 (0)