Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1692 commits
Select commit Hold shift + click to select a range
07a9232
codegen metadata
stainless-app[bot] Oct 31, 2025
e244422
codegen metadata
stainless-app[bot] Oct 31, 2025
f112b87
codegen metadata
stainless-app[bot] Oct 31, 2025
b5532ba
codegen metadata
stainless-app[bot] Oct 31, 2025
fd7b699
codegen metadata
stainless-app[bot] Oct 31, 2025
164e8b2
codegen metadata
stainless-app[bot] Oct 31, 2025
2184758
codegen metadata
stainless-app[bot] Oct 31, 2025
887aaa6
codegen metadata
stainless-app[bot] Oct 31, 2025
206bca3
codegen metadata
stainless-app[bot] Oct 31, 2025
91c5b2e
codegen metadata
stainless-app[bot] Oct 31, 2025
e6ec653
codegen metadata
stainless-app[bot] Oct 31, 2025
77960c9
feat: feat(iam): Add SSO Connectors resource to SDKs
stainless-app[bot] Oct 31, 2025
5fdf07b
chore(api): update composite API spec
stainless-app[bot] Oct 31, 2025
35670b1
chore(api): update composite API spec
stainless-app[bot] Oct 31, 2025
3d5d0e0
chore(api): update composite API spec
stainless-app[bot] Oct 31, 2025
96b52fa
codegen metadata
stainless-app[bot] Oct 31, 2025
1fa6569
codegen metadata
stainless-app[bot] Oct 31, 2025
6f09449
codegen metadata
stainless-app[bot] Oct 31, 2025
f31199b
codegen metadata
stainless-app[bot] Oct 31, 2025
93e3971
chore(api): update composite API spec
stainless-app[bot] Oct 31, 2025
b8d1c66
chore(api): update composite API spec
stainless-app[bot] Nov 2, 2025
b9191af
codegen metadata
stainless-app[bot] Nov 3, 2025
a1ddf7e
feat: feat: Add token validation to stainless config
stainless-app[bot] Nov 3, 2025
01fb118
feat: fix: Correctly reflect schema validation model <-> openapi mapping
stainless-app[bot] Nov 3, 2025
9eac1bf
codegen metadata
stainless-app[bot] Nov 3, 2025
b7c4b43
chore(api): update composite API spec
stainless-app[bot] Nov 3, 2025
faf1046
codegen metadata
stainless-app[bot] Nov 3, 2025
4b6e9cb
codegen metadata
stainless-app[bot] Nov 3, 2025
601eda0
codegen metadata
stainless-app[bot] Nov 3, 2025
eb2f696
codegen metadata
stainless-app[bot] Nov 3, 2025
2f787ab
codegen metadata
stainless-app[bot] Nov 3, 2025
38f5767
codegen metadata
stainless-app[bot] Nov 3, 2025
9547301
codegen metadata
stainless-app[bot] Nov 3, 2025
07cb878
codegen metadata
stainless-app[bot] Nov 3, 2025
0ba89d9
codegen metadata
stainless-app[bot] Nov 3, 2025
875f4f7
codegen metadata
stainless-app[bot] Nov 3, 2025
cba305a
codegen metadata
stainless-app[bot] Nov 3, 2025
353e11e
chore(api): update composite API spec
stainless-app[bot] Nov 3, 2025
6137ae2
codegen metadata
stainless-app[bot] Nov 3, 2025
40cfaa4
codegen metadata
stainless-app[bot] Nov 3, 2025
5ab7c0f
codegen metadata
stainless-app[bot] Nov 3, 2025
d31ea41
codegen metadata
stainless-app[bot] Nov 3, 2025
2e3ff8b
codegen metadata
stainless-app[bot] Nov 3, 2025
1aee3a2
codegen metadata
stainless-app[bot] Nov 3, 2025
116f174
codegen metadata
stainless-app[bot] Nov 3, 2025
b07f0d6
chore(api): update composite API spec
stainless-app[bot] Nov 3, 2025
a009bd0
chore(api): update composite API spec
stainless-app[bot] Nov 3, 2025
9988b02
codegen metadata
stainless-app[bot] Nov 3, 2025
a9a35ff
codegen metadata
stainless-app[bot] Nov 3, 2025
ebcb1d6
feat: fix(ai_controls): incorrect use of standalone_api
stainless-app[bot] Nov 3, 2025
1dbae15
codegen metadata
stainless-app[bot] Nov 4, 2025
b7a507c
codegen metadata
stainless-app[bot] Nov 4, 2025
f80e6d5
codegen metadata
stainless-app[bot] Nov 4, 2025
62e3a94
codegen metadata
stainless-app[bot] Nov 4, 2025
24b4e74
codegen metadata
stainless-app[bot] Nov 4, 2025
4900594
chore(api): update composite API spec
stainless-app[bot] Nov 4, 2025
46ce19f
chore(api): update composite API spec
stainless-app[bot] Nov 4, 2025
1093e51
codegen metadata
stainless-app[bot] Nov 4, 2025
83926a8
codegen metadata
stainless-app[bot] Nov 4, 2025
fd04baa
feat: docs: WC-4152 Expose subdomain delete for workers
stainless-app[bot] Nov 4, 2025
212fa00
codegen metadata
stainless-app[bot] Nov 4, 2025
d991d33
codegen metadata
stainless-app[bot] Nov 4, 2025
c402d88
codegen metadata
stainless-app[bot] Nov 4, 2025
7df16c3
codegen metadata
stainless-app[bot] Nov 4, 2025
e786ff4
codegen metadata
stainless-app[bot] Nov 4, 2025
b7c4e8c
codegen metadata
stainless-app[bot] Nov 4, 2025
e3d936e
codegen metadata
stainless-app[bot] Nov 4, 2025
c357dad
feat: fix: move wvpc
stainless-app[bot] Nov 4, 2025
ffd13df
codegen metadata
stainless-app[bot] Nov 4, 2025
c738522
codegen metadata
stainless-app[bot] Nov 4, 2025
e764ad8
codegen metadata
stainless-app[bot] Nov 4, 2025
592c9b5
codegen metadata
stainless-app[bot] Nov 4, 2025
cfafc0e
codegen metadata
stainless-app[bot] Nov 4, 2025
7447a8c
codegen metadata
stainless-app[bot] Nov 4, 2025
0f51b8e
codegen metadata
stainless-app[bot] Nov 4, 2025
234d9db
codegen metadata
stainless-app[bot] Nov 4, 2025
5994ce6
codegen metadata
stainless-app[bot] Nov 4, 2025
ee9bf2e
codegen metadata
stainless-app[bot] Nov 5, 2025
3e6dca2
codegen metadata
stainless-app[bot] Nov 5, 2025
bba0824
codegen metadata
stainless-app[bot] Nov 5, 2025
7199aa3
chore(api): update composite API spec
stainless-app[bot] Nov 5, 2025
b0fc29f
feat: feat(abuse_reports): Expose new abuse report endpoints. GET and…
stainless-app[bot] Nov 5, 2025
b33c23d
codegen metadata
stainless-app[bot] Nov 5, 2025
a6746dd
codegen metadata
stainless-app[bot] Nov 5, 2025
12823f5
codegen metadata
stainless-app[bot] Nov 5, 2025
dff2404
codegen metadata
stainless-app[bot] Nov 5, 2025
de5487c
codegen metadata
stainless-app[bot] Nov 5, 2025
a3c1950
codegen metadata
stainless-app[bot] Nov 5, 2025
52096cf
codegen metadata
stainless-app[bot] Nov 5, 2025
e1a8002
codegen metadata
stainless-app[bot] Nov 5, 2025
2c955c8
codegen metadata
stainless-app[bot] Nov 5, 2025
2cb9ef9
chore(api): update composite API spec
stainless-app[bot] Nov 5, 2025
e7397f6
codegen metadata
stainless-app[bot] Nov 5, 2025
12cd9ef
codegen metadata
stainless-app[bot] Nov 5, 2025
5909bb2
codegen metadata
stainless-app[bot] Nov 5, 2025
b5bea72
codegen metadata
stainless-app[bot] Nov 5, 2025
2cc2a3f
chore(api): update composite API spec
stainless-app[bot] Nov 5, 2025
9d14bdf
codegen metadata
stainless-app[bot] Nov 5, 2025
6939c9f
codegen metadata
stainless-app[bot] Nov 5, 2025
8ddc269
codegen metadata
stainless-app[bot] Nov 5, 2025
1004f37
codegen metadata
stainless-app[bot] Nov 5, 2025
6360c46
codegen metadata
stainless-app[bot] Nov 5, 2025
7e1d8b7
chore(api): update composite API spec
stainless-app[bot] Nov 6, 2025
bb4311f
chore(api): update composite API spec
stainless-app[bot] Nov 6, 2025
a03edca
codegen metadata
stainless-app[bot] Nov 6, 2025
61567e4
codegen metadata
stainless-app[bot] Nov 6, 2025
33cd609
codegen metadata
stainless-app[bot] Nov 6, 2025
de4f15a
codegen metadata
stainless-app[bot] Nov 6, 2025
315c8eb
chore(api): update composite API spec
stainless-app[bot] Nov 6, 2025
7fe3692
codegen metadata
stainless-app[bot] Nov 6, 2025
38b3425
codegen metadata
stainless-app[bot] Nov 6, 2025
4fac351
codegen metadata
stainless-app[bot] Nov 6, 2025
fee9ce0
chore(api): update composite API spec
stainless-app[bot] Nov 6, 2025
afbf485
codegen metadata
stainless-app[bot] Nov 6, 2025
dfd1c88
codegen metadata
stainless-app[bot] Nov 6, 2025
4e9deac
chore(api): update composite API spec
stainless-app[bot] Nov 6, 2025
cd4f924
chore(api): update composite API spec
stainless-app[bot] Nov 6, 2025
a4762dd
feat: fix: tabbing on realtime-kit api resources
stainless-app[bot] Nov 7, 2025
cb197df
chore(api): update composite API spec
stainless-app[bot] Nov 7, 2025
ebb9060
codegen metadata
stainless-app[bot] Nov 7, 2025
64bc54f
chore(api): update composite API spec
stainless-app[bot] Nov 7, 2025
622f384
chore(api): update composite API spec
stainless-app[bot] Nov 10, 2025
bf0d4bb
codegen metadata
stainless-app[bot] Nov 10, 2025
6a4f824
feat: feat(tomarkdown): add new markdown supported endpoint
stainless-app[bot] Nov 10, 2025
ce4789c
feat: feat(abuse_reports): add abuse mitigations in Client API
stainless-app[bot] Nov 10, 2025
f5ca4cc
chore(api): update composite API spec
stainless-app[bot] Nov 10, 2025
dafacb1
codegen metadata
stainless-app[bot] Nov 10, 2025
a59d1b6
chore(api): update composite API spec
stainless-app[bot] Nov 10, 2025
064478c
chore(api): update composite API spec
stainless-app[bot] Nov 11, 2025
c90c6e3
codegen metadata
stainless-app[bot] Nov 11, 2025
b75f514
codegen metadata
stainless-app[bot] Nov 11, 2025
7464286
chore(api): update composite API spec
stainless-app[bot] Nov 11, 2025
398b797
codegen metadata
stainless-app[bot] Nov 11, 2025
2fb65e6
codegen metadata
stainless-app[bot] Nov 11, 2025
afc24b0
codegen metadata
stainless-app[bot] Nov 11, 2025
008556f
feat: feat(pipelines): Configure SDKs/Terraform to use the new Pipeli…
stainless-app[bot] Nov 12, 2025
3186483
chore(api): update composite API spec
stainless-app[bot] Nov 12, 2025
ac247ff
chore(api): update composite API spec
stainless-app[bot] Nov 12, 2025
43e4f93
feat: feat: DLP-3878 Switch DLP Predefined Profile endpoints
stainless-app[bot] Nov 14, 2025
122598e
wip: script upload tests
Nov 19, 2025
58ffe55
codegen metadata
stainless-app[bot] Nov 20, 2025
12e2594
removing mocks
Nov 20, 2025
1c555af
feat: feat(silences): add a new alert silencing api
stainless-app[bot] Nov 21, 2025
7c4139b
codegen metadata
stainless-app[bot] Nov 24, 2025
d6049bf
codegen metadata
stainless-app[bot] Nov 24, 2025
0f87157
chore(api): update composite API spec
stainless-app[bot] Nov 24, 2025
8a45c55
codegen metadata
stainless-app[bot] Nov 25, 2025
f59526f
codegen metadata
stainless-app[bot] Nov 25, 2025
9fcecd5
chore(internal): codegen related update
stainless-app[bot] Dec 1, 2025
bd43151
chore: update lockfile
stainless-app[bot] Dec 2, 2025
385fea6
feat: feat(r2_data_catalog): Configure SDKs/Terraform to use R2 Data …
stainless-app[bot] Dec 2, 2025
0d829a6
chore(docs): use environment variables for authentication in code sni…
stainless-app[bot] Dec 2, 2025
f4cc575
chore(api): update composite API spec
stainless-app[bot] Dec 3, 2025
322d3f1
feat: chore: skip unsupported auth tests
stainless-app[bot] Dec 3, 2025
8b51de3
feat: chore(abuse_report): unsupported auth scheme
stainless-app[bot] Dec 4, 2025
fea6e2b
codegen metadata
stainless-app[bot] Dec 4, 2025
40082c2
feat: docs: Deprecate API Shield Schema Validation resources
stainless-app[bot] Dec 8, 2025
400bbb1
codegen metadata
stainless-app[bot] Dec 8, 2025
5b81cac
fix(types): allow pyright to infer TypedDict types within SequenceNotStr
stainless-app[bot] Dec 8, 2025
f109470
chore: add missing docstrings
stainless-app[bot] Dec 8, 2025
ef37bfc
chore(api): update composite API spec
stainless-app[bot] Dec 9, 2025
2e11a3f
codegen metadata
stainless-app[bot] Dec 10, 2025
be9579e
chore(api): update composite API spec
stainless-app[bot] Dec 11, 2025
2f1981a
feat: feat(leaked_credentials_check): Add GET endpoint for leaked_cre…
stainless-app[bot] Dec 12, 2025
43a4557
feat: feat(api): RAG-395: add AI Search endpoints
stainless-app[bot] Dec 12, 2025
606e4de
chore(api): update composite API spec
stainless-app[bot] Dec 16, 2025
ff9eebe
codegen metadata
stainless-app[bot] Dec 17, 2025
d289c60
codegen metadata
stainless-app[bot] Dec 19, 2025
e311a42
feat: chore: use 'next' branch for go_sdk_version
stainless-app[bot] Dec 26, 2025
e3ea504
fix: addressing issues in error handling for example script upload
Dec 29, 2025
09f150b
codegen metadata
stainless-app[bot] Dec 29, 2025
d6e535a
codegen metadata
stainless-app[bot] Dec 29, 2025
1963388
codegen metadata
stainless-app[bot] Dec 29, 2025
21e9135
codegen metadata
stainless-app[bot] Dec 29, 2025
640eb58
chore(api): update composite API spec
stainless-app[bot] Jan 4, 2026
4540857
chore(api): update composite API spec
stainless-app[bot] Jan 6, 2026
a4d9ca4
codegen metadata
stainless-app[bot] Jan 6, 2026
76513bf
chore(api): update composite API spec
stainless-app[bot] Jan 6, 2026
7f435a6
chore(api): update composite API spec
stainless-app[bot] Jan 8, 2026
1a3fd63
codegen metadata
stainless-app[bot] Jan 8, 2026
292a780
feat: fix: unsupported auth scheme
stainless-app[bot] Jan 8, 2026
a1a9301
chore(api): update composite API spec
stainless-app[bot] Jan 9, 2026
8462991
chore(api): update composite API spec
stainless-app[bot] Jan 9, 2026
5e27899
codegen metadata
stainless-app[bot] Jan 9, 2026
9c3c799
chore(api): update composite API spec
stainless-app[bot] Jan 12, 2026
19ae710
chore(api): update composite API spec
stainless-app[bot] Jan 12, 2026
bf2ba6a
codegen metadata
stainless-app[bot] Jan 12, 2026
3ddf110
codegen metadata
stainless-app[bot] Jan 13, 2026
111cba7
codegen metadata
stainless-app[bot] Jan 13, 2026
249fdaa
chore(api): update composite API spec
stainless-app[bot] Jan 13, 2026
9468e7b
chore(api): update composite API spec
stainless-app[bot] Jan 13, 2026
c5f5b46
chore(api): update composite API spec
stainless-app[bot] Jan 13, 2026
fdf3c53
chore(api): update composite API spec
stainless-app[bot] Jan 14, 2026
716ad5a
chore(api): update composite API spec
stainless-app[bot] Jan 14, 2026
05e0e8a
chore(api): update composite API spec
stainless-app[bot] Jan 14, 2026
8787161
codegen metadata
stainless-app[bot] Jan 14, 2026
f2464a6
feat: feat(d1): Add time travel `get_bookmark` and `restore` endpoints
stainless-app[bot] Jan 15, 2026
d3d41ff
codegen metadata
stainless-app[bot] Jan 15, 2026
fe435bb
codegen metadata
stainless-app[bot] Jan 16, 2026
eefa399
codegen metadata
stainless-app[bot] Jan 19, 2026
fd98170
feat: feat(fraud): public docs for fraud API
stainless-app[bot] Jan 22, 2026
3adf93a
codegen metadata
stainless-app[bot] Jan 22, 2026
6e5b66f
chore(internal): codegen related update
stainless-app[bot] Jan 22, 2026
1a09b7f
Merge pull request #2677 from christhorwarth/ct/script-upload-test
vaishakdinesh Jan 27, 2026
0bef8fa
Merge branch 'next' into ct/script-upload-issue
christhorwarth Jan 28, 2026
b2cfe5e
fix: lint
Jan 28, 2026
a07c855
Merge branch 'ct/script-upload-issue' of github.com:christhorwarth/cl…
Jan 28, 2026
22d9901
Merge pull request #2680 from christhorwarth/ct/script-upload-issue
vaishakdinesh Jan 28, 2026
0bd5559
chore(internal): codegen related update
stainless-app[bot] Feb 10, 2026
00a2dec
feat: refactor(terraform): restructure origin_tls_client_auth to peer…
stainless-app[bot] Jan 22, 2026
8c1a679
codegen metadata
stainless-app[bot] Jan 23, 2026
3b3e2d5
chore(api): update composite API spec
stainless-app[bot] Jan 26, 2026
a41d2df
codegen metadata
stainless-app[bot] Jan 26, 2026
e4f787b
chore(api): update composite API spec
stainless-app[bot] Jan 26, 2026
db75dd8
feat: feat(api): add AI Gateway Dynamic Routing endpoints
stainless-app[bot] Jan 27, 2026
1cfeef4
chore(api): update composite API spec
stainless-app[bot] Jan 27, 2026
aab6e1e
codegen metadata
stainless-app[bot] Jan 27, 2026
fb82ab6
codegen metadata
stainless-app[bot] Jan 28, 2026
ee266ad
chore(api): update composite API spec
stainless-app[bot] Jan 28, 2026
7c35696
chore(api): update composite API spec
stainless-app[bot] Jan 28, 2026
51cad72
codegen metadata
stainless-app[bot] Jan 28, 2026
91db2d6
codegen metadata
stainless-app[bot] Jan 29, 2026
baf89c9
codegen metadata
stainless-app[bot] Jan 29, 2026
3964451
chore(api): update composite API spec
stainless-app[bot] Jan 30, 2026
63a5a9b
chore(api): update composite API spec
stainless-app[bot] Jan 30, 2026
2938b45
chore(api): update composite API spec
stainless-app[bot] Feb 2, 2026
44ae23e
chore(api): update composite API spec
stainless-app[bot] Feb 2, 2026
fc39041
feat: fix(kv): use cursor_limit_pagination for KV list keys endpoint
stainless-app[bot] Feb 3, 2026
4146d0d
feat: feat(radar): add BGP RPKI ASPA endpoints and fix SDK casings
stainless-app[bot] Feb 3, 2026
f59a327
chore(api): update composite API spec
stainless-app[bot] Feb 3, 2026
8f3ac3d
chore(api): update composite API spec
stainless-app[bot] Feb 3, 2026
df29d69
codegen metadata
stainless-app[bot] Feb 3, 2026
0774f9c
codegen metadata
stainless-app[bot] Feb 3, 2026
466b5b9
codegen metadata
stainless-app[bot] Feb 4, 2026
f5c0d88
feat: feat(api): RAG-586: enable terraform for AI Search instances an…
stainless-app[bot] Feb 4, 2026
1cee2cf
codegen metadata
stainless-app[bot] Feb 4, 2026
f4f5156
feat: fix(total_tls): use upsert pattern for singleton zone setting
stainless-app[bot] Feb 4, 2026
fa8a836
codegen metadata
stainless-app[bot] Feb 6, 2026
1f77935
feat: chore: IAC-312 update Pages models to ref renamed components
stainless-app[bot] Feb 9, 2026
9a8c784
codegen metadata
stainless-app[bot] Feb 9, 2026
42c44fb
feat: chore: skip ai.tomarkdown prism tests
stainless-app[bot] Feb 10, 2026
bf1eac9
chore: fix inconsequential lint errors
musa-cf Feb 11, 2026
f280942
chore: fix more inconsequential lint errors
musa-cf Feb 11, 2026
07bb97d
codegen metadata
stainless-app[bot] Feb 11, 2026
1c415a2
test: fix tests for organizations and pipelines
musa-cf Feb 11, 2026
ed7da07
test: skip tests with stubbed union sub-types
musa-cf Feb 12, 2026
9cf7252
docs: add v5 migration guide
musa-cf Feb 13, 2026
387b476
ci: skip breaking change detection for major version bump
musa-cf Feb 13, 2026
c76453f
ci: add explicit permissions block for 'detect-breaking-changes' work…
musa-cf Feb 13, 2026
8fd6121
release: 5.0.0-beta.1
stainless-app[bot] Feb 13, 2026
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
40 changes: 31 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -18,8 +22,9 @@ jobs:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Rye
run: |
Expand All @@ -35,24 +40,40 @@ jobs:
- name: Run lints
run: ./scripts/lint

upload:
if: github.repository == 'stainless-sdks/cloudflare-python'
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
timeout-minutes: 10
name: upload
name: build
permissions:
contents: read
id-token: write
runs-on: depot-ubuntu-24.04
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Install dependencies
run: rye sync --all-features

- name: Run build
run: rye build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/cloudflare-python'
id: github-oidc
uses: actions/github-script@v6
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/cloudflare-python'
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand All @@ -63,8 +84,9 @@ jobs:
timeout-minutes: 30
name: test
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Rye
run: |
Expand All @@ -84,10 +106,10 @@ jobs:
timeout-minutes: 10
name: examples
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.repository == 'cloudflare/cloudflare-python'
if: github.repository == 'cloudflare/cloudflare-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork)

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Rye
run: |
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/detect-breaking-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI
on:
pull_request:
branches:
- main
- next

jobs:
detect_breaking_changes:
runs-on: 'ubuntu-latest'
name: detect-breaking-changes
if: false
permissions:
contents: read
steps:
- name: Calculate fetch-depth
run: |
echo "FETCH_DEPTH=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_ENV

- uses: actions/checkout@v6
with:
# Ensure we can check out the pull request base in the script below.
fetch-depth: ${{ env.FETCH_DEPTH }}

- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'
- name: Install dependencies
run: |
rye sync --all-features
- name: Detect removed symbols
run: |
rye run python scripts/detect-breaking-changes.py "${{ github.event.pull_request.base.sha }}"

- name: Detect breaking changes
run: |
# Try to check out previous versions of the breaking change detection script. This ensures that
# we still detect breaking changes when entire files and their tests are removed.
git checkout "${{ github.event.pull_request.base.sha }}" -- ./scripts/detect-breaking-changes 2>/dev/null || true
./scripts/detect-breaking-changes ${{ github.event.pull_request.base.sha }}
Comment thread Fixed
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Install Rye
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: github.repository == 'cloudflare/cloudflare-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Check release environment
run: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.prism.log
.vscode
_dev

__pycache__
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.3.1"
".": "5.0.0-beta.1"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 1752
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b15b44e0efd207de48e7e74e742b0b4b190c74f12a941a1a0ef59a51656a5224.yml
openapi_spec_hash: 83243c9ee06f88d0fa91e9b185d8a42e
config_hash: 8601d43fd5ccaf9e3d08f26748a5a63a
configured_endpoints: 2015
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-83f49bc3fa9273ef989d3e8bcd27f6fdaa7d04ae2519a91f4878f46acc501bb9.yml
openapi_spec_hash: 3f4be3af6f51eea4787dc8345f9ca9c1
config_hash: 9d1829ed664bb3efa8638f98bb32cf46
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.analysis.importFormat": "relative",
}
Loading
Loading