Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 4.1.0 #2359

Merged
merged 562 commits into from
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
562 commits
Select commit Hold shift + click to select a range
902af53
codegen metadata
stainless-app[bot] Feb 26, 2025
0556f5b
codegen metadata
stainless-app[bot] Feb 26, 2025
f1edb50
codegen metadata
stainless-app[bot] Feb 26, 2025
e1da61d
codegen metadata
stainless-app[bot] Feb 26, 2025
a633f27
codegen metadata
stainless-app[bot] Feb 26, 2025
6d435c7
codegen metadata
stainless-app[bot] Feb 26, 2025
f4496c0
codegen metadata
stainless-app[bot] Feb 26, 2025
da2ce0d
feat(api): api update (#2477)
stainless-app[bot] Feb 26, 2025
96bdc12
codegen metadata
stainless-app[bot] Feb 26, 2025
b097e45
codegen metadata
stainless-app[bot] Feb 26, 2025
083d115
codegen metadata
stainless-app[bot] Feb 26, 2025
94e997a
feat(api): api update (#2478)
stainless-app[bot] Feb 26, 2025
5aa1abb
codegen metadata
stainless-app[bot] Feb 26, 2025
3d0496f
codegen metadata
stainless-app[bot] Feb 26, 2025
edb66a9
codegen metadata
stainless-app[bot] Feb 27, 2025
0ddf9ee
codegen metadata
stainless-app[bot] Feb 27, 2025
eda9490
codegen metadata
stainless-app[bot] Feb 27, 2025
06feaa9
codegen metadata
stainless-app[bot] Feb 27, 2025
9acefc1
codegen metadata
stainless-app[bot] Feb 27, 2025
b42c7ed
codegen metadata
stainless-app[bot] Feb 27, 2025
4b6c160
codegen metadata
stainless-app[bot] Feb 27, 2025
b49f05d
feat(api): api update (#2479)
stainless-app[bot] Feb 27, 2025
fa43cb7
codegen metadata
stainless-app[bot] Feb 27, 2025
b77d84f
codegen metadata
stainless-app[bot] Feb 27, 2025
b27f1bb
feat(api): api update (#2480)
stainless-app[bot] Feb 27, 2025
aa9ffe9
codegen metadata
stainless-app[bot] Feb 27, 2025
3994c22
codegen metadata
stainless-app[bot] Feb 27, 2025
fe98b1d
docs: update URLs from stainlessapi.com to stainless.com (#2481)
stainless-app[bot] Feb 27, 2025
015fd49
codegen metadata
stainless-app[bot] Feb 27, 2025
e98bd28
chore(docs): update client docstring (#2483)
stainless-app[bot] Feb 27, 2025
6739a41
feat(browsing_rendering): add support for subresources (#2484)
stainless-app[bot] Feb 27, 2025
9fb8139
codegen metadata
stainless-app[bot] Feb 28, 2025
904614f
feat(vpc_flows): add token support (#2485)
stainless-app[bot] Feb 28, 2025
f0b00be
chore(internal): mark VPC and PDF as initialisms (#2486)
stainless-app[bot] Feb 28, 2025
a5d4c51
feat(radar): add DNS endpoint (#2487)
stainless-app[bot] Feb 28, 2025
3289f18
codegen metadata
stainless-app[bot] Feb 28, 2025
4080dc3
codegen metadata
stainless-app[bot] Feb 28, 2025
329da0a
codegen metadata
stainless-app[bot] Feb 28, 2025
b643ba4
codegen metadata
stainless-app[bot] Feb 28, 2025
af5e2dd
codegen metadata
stainless-app[bot] Feb 28, 2025
6b3425f
feat(api): rename browsing_rendering to browser_rendering (#2488)
stainless-app[bot] Feb 28, 2025
912fa23
codegen metadata
stainless-app[bot] Feb 28, 2025
3445a0b
codegen metadata
stainless-app[bot] Feb 28, 2025
7f6d335
feat(api): api update (#2489)
stainless-app[bot] Feb 28, 2025
5132cff
codegen metadata
stainless-app[bot] Feb 28, 2025
f38b99e
codegen metadata
stainless-app[bot] Mar 1, 2025
8068a97
codegen metadata
stainless-app[bot] Mar 1, 2025
2fce3ff
codegen metadata
stainless-app[bot] Mar 2, 2025
19e4cb0
feat(browser_rendering): move methods to top level (#2490)
stainless-app[bot] Mar 3, 2025
e93ce12
feat(api): manual updates (#2491)
stainless-app[bot] Mar 3, 2025
14c16c6
codegen metadata
stainless-app[bot] Mar 3, 2025
a89d87a
codegen metadata
stainless-app[bot] Mar 3, 2025
d2d0d82
codegen metadata
stainless-app[bot] Mar 3, 2025
6e79241
codegen metadata
stainless-app[bot] Mar 3, 2025
bb4a99d
codegen metadata
stainless-app[bot] Mar 3, 2025
12d3ff5
feat(api): api update (#2492)
stainless-app[bot] Mar 3, 2025
9061b65
feat(api): api update (#2493)
stainless-app[bot] Mar 3, 2025
aab9521
codegen metadata
stainless-app[bot] Mar 3, 2025
60114c1
codegen metadata
stainless-app[bot] Mar 3, 2025
02acbf2
codegen metadata
stainless-app[bot] Mar 3, 2025
f7b126c
codegen metadata
stainless-app[bot] Mar 3, 2025
7073422
codegen metadata
stainless-app[bot] Mar 3, 2025
f573e2b
codegen metadata
stainless-app[bot] Mar 3, 2025
ed77ee7
codegen metadata
stainless-app[bot] Mar 3, 2025
b37d819
codegen metadata
stainless-app[bot] Mar 3, 2025
72dbf7b
codegen metadata
stainless-app[bot] Mar 3, 2025
db37526
chore(internal): remove unused http client options forwarding (#2494)
stainless-app[bot] Mar 3, 2025
e57b7ba
codegen metadata
stainless-app[bot] Mar 3, 2025
6fdc4fd
codegen metadata
stainless-app[bot] Mar 3, 2025
51a4860
codegen metadata
stainless-app[bot] Mar 4, 2025
0d882c8
codegen metadata
stainless-app[bot] Mar 4, 2025
51c5ee5
codegen metadata
stainless-app[bot] Mar 4, 2025
5ee09c6
codegen metadata
stainless-app[bot] Mar 4, 2025
28d11c6
feat(api): api update (#2495)
stainless-app[bot] Mar 4, 2025
ceaff3c
codegen metadata
stainless-app[bot] Mar 4, 2025
8e05c5b
codegen metadata
stainless-app[bot] Mar 4, 2025
7e7c15f
codegen metadata
stainless-app[bot] Mar 4, 2025
1b42744
codegen metadata
stainless-app[bot] Mar 4, 2025
538f71d
feat(api): api update (#2496)
stainless-app[bot] Mar 4, 2025
ccde171
codegen metadata
stainless-app[bot] Mar 4, 2025
11e7bf6
codegen metadata
stainless-app[bot] Mar 4, 2025
7bb0118
codegen metadata
stainless-app[bot] Mar 4, 2025
5fde54d
codegen metadata
stainless-app[bot] Mar 5, 2025
12972d6
codegen metadata
stainless-app[bot] Mar 5, 2025
c020aab
codegen metadata
stainless-app[bot] Mar 5, 2025
d0976f6
codegen metadata
stainless-app[bot] Mar 5, 2025
22d7130
codegen metadata
stainless-app[bot] Mar 5, 2025
f609b1e
codegen metadata
stainless-app[bot] Mar 5, 2025
14fa19c
codegen metadata
stainless-app[bot] Mar 5, 2025
92ff140
codegen metadata
stainless-app[bot] Mar 5, 2025
d9fef55
codegen metadata
stainless-app[bot] Mar 5, 2025
6314c0d
codegen metadata
stainless-app[bot] Mar 5, 2025
496557a
codegen metadata
stainless-app[bot] Mar 5, 2025
4475816
codegen metadata
stainless-app[bot] Mar 5, 2025
e826a02
feat(api): api update (#2497)
stainless-app[bot] Mar 5, 2025
d994587
codegen metadata
stainless-app[bot] Mar 5, 2025
dbdd239
codegen metadata
stainless-app[bot] Mar 5, 2025
6fd317b
codegen metadata
stainless-app[bot] Mar 5, 2025
f3c8131
fix(internal): remove port scans pending path fixes (#2498)
stainless-app[bot] Mar 6, 2025
00c44f9
codegen metadata
stainless-app[bot] Mar 6, 2025
b8f02a0
feat(api): api update (#2500)
stainless-app[bot] Mar 6, 2025
4e0b1eb
codegen metadata
stainless-app[bot] Mar 6, 2025
6231303
codegen metadata
stainless-app[bot] Mar 6, 2025
d055cd1
codegen metadata
stainless-app[bot] Mar 6, 2025
3ecdc3c
codegen metadata
stainless-app[bot] Mar 6, 2025
a15da51
codegen metadata
stainless-app[bot] Mar 6, 2025
3e3ac2b
codegen metadata
stainless-app[bot] Mar 6, 2025
b8b3891
feat(api): api update (#2501)
stainless-app[bot] Mar 6, 2025
f9bb4c3
codegen metadata
stainless-app[bot] Mar 6, 2025
48320d3
codegen metadata
stainless-app[bot] Mar 6, 2025
33646a4
codegen metadata
stainless-app[bot] Mar 6, 2025
0c6ad41
codegen metadata
stainless-app[bot] Mar 6, 2025
c8db7ba
codegen metadata
stainless-app[bot] Mar 6, 2025
6cadb04
codegen metadata
stainless-app[bot] Mar 6, 2025
0e2a07c
codegen metadata
stainless-app[bot] Mar 6, 2025
a505675
codegen metadata
stainless-app[bot] Mar 6, 2025
8e3cc0a
codegen metadata
stainless-app[bot] Mar 6, 2025
ad1e9c0
codegen metadata
stainless-app[bot] Mar 6, 2025
69efc62
codegen metadata
stainless-app[bot] Mar 6, 2025
345ac45
feat(api): api update (#2502)
stainless-app[bot] Mar 6, 2025
a3796e8
codegen metadata
stainless-app[bot] Mar 6, 2025
8b3678b
codegen metadata
stainless-app[bot] Mar 6, 2025
80fdb8f
feat(api): api update (#2503)
stainless-app[bot] Mar 6, 2025
23e94c9
feat(cloudforce_one): fix scans model (#2504)
stainless-app[bot] Mar 9, 2025
ea4d061
chore(internal): codegen related update (#2505)
stainless-app[bot] Mar 9, 2025
1288828
fix(r2_custom_domain): update path placeholders to de-duplicate inter…
stainless-app[bot] Mar 9, 2025
6a80948
feat(dns): split account and zone DNS settings (#2507)
stainless-app[bot] Mar 9, 2025
349e280
feat(internal): group browser rendering (#2508)
stainless-app[bot] Mar 10, 2025
804b1a0
test(page_rules): skip broken test assertions (#2509)
stainless-app[bot] Mar 10, 2025
674dc94
test(email_routing): skip broken prism assertions (#2510)
stainless-app[bot] Mar 10, 2025
e981f6b
codegen metadata
stainless-app[bot] Mar 10, 2025
d8e67ed
chore(internal): codegen related update (#2511)
stainless-app[bot] Mar 10, 2025
d821024
codegen metadata
stainless-app[bot] Mar 10, 2025
65a159f
codegen metadata
stainless-app[bot] Mar 10, 2025
9650465
codegen metadata
stainless-app[bot] Mar 10, 2025
bd1f4d4
codegen metadata
stainless-app[bot] Mar 10, 2025
885da5e
codegen metadata
stainless-app[bot] Mar 10, 2025
d3869c9
codegen metadata
stainless-app[bot] Mar 10, 2025
ee0fa76
chore(internal): codegen related update (#2512)
stainless-app[bot] Mar 10, 2025
b923c2e
codegen metadata
stainless-app[bot] Mar 10, 2025
71e522b
feat(api): manual updates (#2513)
stainless-app[bot] Mar 11, 2025
a95d254
feat(dns_settings): fix hierarchy (#2514)
stainless-app[bot] Mar 11, 2025
ec1032e
codegen metadata
stainless-app[bot] Mar 11, 2025
308e00d
codegen metadata
stainless-app[bot] Mar 11, 2025
17c0192
test: add DEFER_PYDANTIC_BUILD=false flag to tests (#2515)
stainless-app[bot] Mar 11, 2025
b6adc14
feat(api): api update (#2516)
stainless-app[bot] Mar 11, 2025
fd80550
codegen metadata
stainless-app[bot] Mar 11, 2025
7baf780
codegen metadata
stainless-app[bot] Mar 11, 2025
50cb850
codegen metadata
stainless-app[bot] Mar 11, 2025
5e17d55
codegen metadata
stainless-app[bot] Mar 11, 2025
ad50fda
codegen metadata
stainless-app[bot] Mar 11, 2025
cf0968a
codegen metadata
stainless-app[bot] Mar 11, 2025
97f0d0c
codegen metadata
stainless-app[bot] Mar 11, 2025
52dc068
codegen metadata
stainless-app[bot] Mar 11, 2025
61a2fbe
codegen metadata
stainless-app[bot] Mar 11, 2025
401b717
feat(api): api update (#2517)
stainless-app[bot] Mar 11, 2025
e1a2474
feat(api): api update (#2518)
stainless-app[bot] Mar 11, 2025
a15d370
codegen metadata
stainless-app[bot] Mar 11, 2025
1d77970
codegen metadata
stainless-app[bot] Mar 11, 2025
4764858
codegen metadata
stainless-app[bot] Mar 11, 2025
aa2a3be
codegen metadata
stainless-app[bot] Mar 12, 2025
008b13d
codegen metadata
stainless-app[bot] Mar 12, 2025
084c40f
codegen metadata
stainless-app[bot] Mar 12, 2025
7bf0617
codegen metadata
stainless-app[bot] Mar 12, 2025
cde2fcd
codegen metadata
stainless-app[bot] Mar 12, 2025
151a44a
feat(api): api update (#2520)
stainless-app[bot] Mar 12, 2025
9cdf367
codegen metadata
stainless-app[bot] Mar 12, 2025
b1645d8
codegen metadata
stainless-app[bot] Mar 12, 2025
cc11dfd
codegen metadata
stainless-app[bot] Mar 12, 2025
fc307e3
codegen metadata
stainless-app[bot] Mar 12, 2025
e3a6206
codegen metadata
stainless-app[bot] Mar 12, 2025
fc6d9d6
feat(api): api update (#2522)
stainless-app[bot] Mar 12, 2025
63d0683
codegen metadata
stainless-app[bot] Mar 12, 2025
43ebeee
feat(api): api update (#2523)
stainless-app[bot] Mar 12, 2025
4925674
codegen metadata
stainless-app[bot] Mar 12, 2025
1e5eedc
codegen metadata
stainless-app[bot] Mar 12, 2025
d10fb45
feat(waiting_rooms): add account level list API (#2524)
stainless-app[bot] Mar 12, 2025
d93ff51
codegen metadata
stainless-app[bot] Mar 12, 2025
dc037a9
feat(threat_events): shuffle endpoints from POST => PATCH (#2525)
stainless-app[bot] Mar 12, 2025
f0b7af9
feat(api): manual updates (#2526)
stainless-app[bot] Mar 13, 2025
aa892cc
feat(api): manual updates (#2527)
stainless-app[bot] Mar 13, 2025
415e551
codegen metadata
stainless-app[bot] Mar 13, 2025
a452e13
codegen metadata
stainless-app[bot] Mar 13, 2025
fd6ccb9
codegen metadata
stainless-app[bot] Mar 13, 2025
62ec0c1
codegen metadata
stainless-app[bot] Mar 13, 2025
a2e4f0c
codegen metadata
stainless-app[bot] Mar 13, 2025
e337efd
codegen metadata
stainless-app[bot] Mar 13, 2025
fe38692
codegen metadata
stainless-app[bot] Mar 13, 2025
cc14467
feat(api): api update (#2528)
stainless-app[bot] Mar 13, 2025
5ac938f
codegen metadata
stainless-app[bot] Mar 13, 2025
2f8b279
codegen metadata
stainless-app[bot] Mar 13, 2025
b1cabe6
chore(internal): remove extra empty newlines (#2529)
stainless-app[bot] Mar 13, 2025
b9a2277
codegen metadata
stainless-app[bot] Mar 13, 2025
b10ad52
codegen metadata
stainless-app[bot] Mar 13, 2025
4def3c7
feat(api): api update (#2530)
stainless-app[bot] Mar 13, 2025
8621675
codegen metadata
stainless-app[bot] Mar 13, 2025
551cf47
codegen metadata
stainless-app[bot] Mar 13, 2025
a39a706
codegen metadata
stainless-app[bot] Mar 13, 2025
bf8a0fa
codegen metadata
stainless-app[bot] Mar 13, 2025
4aef71e
feat(api): api update (#2531)
stainless-app[bot] Mar 13, 2025
e1a2d25
codegen metadata
stainless-app[bot] Mar 13, 2025
0a45fe8
feat(threat_events): fix create endpoint (#2532)
stainless-app[bot] Mar 13, 2025
d231762
feat(api): api update (#2533)
stainless-app[bot] Mar 13, 2025
591c3a4
codegen metadata
stainless-app[bot] Mar 13, 2025
6bae2c2
feat(api): api update (#2534)
stainless-app[bot] Mar 14, 2025
508432f
codegen metadata
stainless-app[bot] Mar 14, 2025
af6a500
codegen metadata
stainless-app[bot] Mar 14, 2025
8947cdf
codegen metadata
stainless-app[bot] Mar 14, 2025
4830635
codegen metadata
stainless-app[bot] Mar 14, 2025
d3821d2
feat(api): api update (#2535)
stainless-app[bot] Mar 14, 2025
acdbc09
codegen metadata
stainless-app[bot] Mar 14, 2025
65545df
codegen metadata
stainless-app[bot] Mar 14, 2025
50bdf1a
codegen metadata
stainless-app[bot] Mar 14, 2025
b1a4155
chore(internal): bump rye to 0.44.0 (#2536)
stainless-app[bot] Mar 14, 2025
7cace87
feat(api): api update (#2537)
stainless-app[bot] Mar 14, 2025
a1f0457
codegen metadata
stainless-app[bot] Mar 14, 2025
cae43f2
codegen metadata
stainless-app[bot] Mar 14, 2025
cc324fe
codegen metadata
stainless-app[bot] Mar 14, 2025
e0c488d
codegen metadata
stainless-app[bot] Mar 14, 2025
a458fc8
codegen metadata
stainless-app[bot] Mar 14, 2025
52adf60
codegen metadata
stainless-app[bot] Mar 14, 2025
48a069e
codegen metadata
stainless-app[bot] Mar 14, 2025
09c57c1
codegen metadata
stainless-app[bot] Mar 14, 2025
fa4981b
test(threat_events): skip HTTP 401 prism issues for pythin (#2538)
stainless-app[bot] Mar 17, 2025
650366e
feat(ai_gateway): add urls support (#2539)
stainless-app[bot] Mar 17, 2025
0f3127d
feat(workers): add in secrets endpoints (#2540)
stainless-app[bot] Mar 17, 2025
edb7434
test(waiting_rooms): skip combined endpoint errors in CI (#2541)
stainless-app[bot] Mar 17, 2025
7d9d338
fix(workers_for_platforms): remove cyclic import due to model (#2542)
stainless-app[bot] Mar 17, 2025
5ab256e
fix(ci): ensure pip is always available (#2543)
stainless-app[bot] Mar 17, 2025
7ea429d
feat(api): api update (#2544)
stainless-app[bot] Mar 17, 2025
fb9535e
codegen metadata
stainless-app[bot] Mar 17, 2025
7e13371
codegen metadata
stainless-app[bot] Mar 17, 2025
95898f9
codegen metadata
stainless-app[bot] Mar 17, 2025
a8c7a9c
codegen metadata
stainless-app[bot] Mar 17, 2025
30bdc8c
codegen metadata
stainless-app[bot] Mar 17, 2025
2316376
fix(ci): remove publishing patch (#2546)
stainless-app[bot] Mar 17, 2025
f930cf4
codegen metadata
stainless-app[bot] Mar 17, 2025
af047dd
codegen metadata
stainless-app[bot] Mar 17, 2025
7b0ce60
feat(api): api update (#2547)
stainless-app[bot] Mar 17, 2025
a5e7d62
codegen metadata
stainless-app[bot] Mar 17, 2025
8c842a3
fix(api): missing union discriminator naming (#2548)
stainless-app[bot] Mar 17, 2025
69bfe16
codegen metadata
stainless-app[bot] Mar 17, 2025
aca2b76
feat(api): api update (#2549)
stainless-app[bot] Mar 17, 2025
ab06648
codegen metadata
stainless-app[bot] Mar 17, 2025
e871e15
codegen metadata
stainless-app[bot] Mar 17, 2025
9a45830
codegen metadata
stainless-app[bot] Mar 17, 2025
f0a6a21
feat(magic_cloud_networking): add endpoint mappings (#2550)
stainless-app[bot] Mar 18, 2025
45d91e2
feat(workflows): add `bulk` support (#2551)
stainless-app[bot] Mar 18, 2025
99c9845
feat(radar): add compromised credential endpoints (#2552)
stainless-app[bot] Mar 18, 2025
7ace883
release: 4.1.0
stainless-app[bot] Mar 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

USER vscode

RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash
ENV PATH=/home/vscode/.rye/shims:$PATH

RUN echo "[[ -d .venv ]] && source .venv/bin/activate" >> /home/vscode/.bashrc
RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/node:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

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

- name: Run lints
run: ./scripts/lint

test:
name: test
runs-on: ubuntu-latest
Expand All @@ -48,14 +49,15 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Bootstrap
run: ./scripts/bootstrap

- name: Run tests
run: ./scripts/test

examples:
name: examples
runs-on: ubuntu-latest
Expand All @@ -69,7 +71,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'
- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
curl -sSf https://rye.astral.sh/get | bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
env:
RYE_VERSION: '0.35.0'
RYE_VERSION: '0.44.0'
RYE_INSTALL_OPTION: '--yes'

- name: Publish to PyPI
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.0.0"
".": "4.1.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1493
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3d78f855257b55bbb80884f99c3802cae877968d140eed3557fcb2cdd5f937b3.yml
configured_endpoints: 1655
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0ed9f898b31619623e50d660d04beca50e44987bfd3eb3a6ff98d3bca2a9c569.yml
90 changes: 90 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,95 @@
# Changelog

## 4.1.0 (2025-03-18)

Full Changelog: [v4.0.0...v4.1.0](https://github.com/cloudflare/cloudflare-python/compare/v4.0.0...v4.1.0)

### Features

* **ai_gateway:** add urls support ([#2539](https://github.com/cloudflare/cloudflare-python/issues/2539)) ([650366e](https://github.com/cloudflare/cloudflare-python/commit/650366eb7f562d7ff3f9cdcdc713a0dac4eef742))
* **api:** api update ([#2472](https://github.com/cloudflare/cloudflare-python/issues/2472)) ([6b81c50](https://github.com/cloudflare/cloudflare-python/commit/6b81c502a95ebe8973614434039e87fbf7c59bcb))
* **api:** api update ([#2473](https://github.com/cloudflare/cloudflare-python/issues/2473)) ([eb8ac49](https://github.com/cloudflare/cloudflare-python/commit/eb8ac49d7eed6aa5c5a6ff45aaa8b582013976ea))
* **api:** api update ([#2474](https://github.com/cloudflare/cloudflare-python/issues/2474)) ([f7a03e2](https://github.com/cloudflare/cloudflare-python/commit/f7a03e224765a2162b5f74ab8ea36eef76fa7237))
* **api:** api update ([#2476](https://github.com/cloudflare/cloudflare-python/issues/2476)) ([48bdd22](https://github.com/cloudflare/cloudflare-python/commit/48bdd220c6b7ab8ea54853cf6ef7862de9e89e56))
* **api:** api update ([#2477](https://github.com/cloudflare/cloudflare-python/issues/2477)) ([da2ce0d](https://github.com/cloudflare/cloudflare-python/commit/da2ce0dcaf3806da245f6a9b040d8b5d17d992d3))
* **api:** api update ([#2478](https://github.com/cloudflare/cloudflare-python/issues/2478)) ([94e997a](https://github.com/cloudflare/cloudflare-python/commit/94e997ac4f6ccf4eeb97726f67139790b6477a95))
* **api:** api update ([#2479](https://github.com/cloudflare/cloudflare-python/issues/2479)) ([b49f05d](https://github.com/cloudflare/cloudflare-python/commit/b49f05d2186c4166171570236b639f7e77aabd2e))
* **api:** api update ([#2480](https://github.com/cloudflare/cloudflare-python/issues/2480)) ([b27f1bb](https://github.com/cloudflare/cloudflare-python/commit/b27f1bbc27264c0fe8ee683052e0b698deb91a58))
* **api:** api update ([#2489](https://github.com/cloudflare/cloudflare-python/issues/2489)) ([7f6d335](https://github.com/cloudflare/cloudflare-python/commit/7f6d33530f1cec482662ad53611ef62d63bcad25))
* **api:** api update ([#2492](https://github.com/cloudflare/cloudflare-python/issues/2492)) ([12d3ff5](https://github.com/cloudflare/cloudflare-python/commit/12d3ff52795e5da6c30f90ce659f8d4d0bacab18))
* **api:** api update ([#2493](https://github.com/cloudflare/cloudflare-python/issues/2493)) ([9061b65](https://github.com/cloudflare/cloudflare-python/commit/9061b659bcae3340e18e75eb8178e654a39361a0))
* **api:** api update ([#2495](https://github.com/cloudflare/cloudflare-python/issues/2495)) ([28d11c6](https://github.com/cloudflare/cloudflare-python/commit/28d11c6027d2ff4546b4f48f929a1140da015740))
* **api:** api update ([#2496](https://github.com/cloudflare/cloudflare-python/issues/2496)) ([538f71d](https://github.com/cloudflare/cloudflare-python/commit/538f71df81d2181e7724a73b86c181ce3f9b479d))
* **api:** api update ([#2497](https://github.com/cloudflare/cloudflare-python/issues/2497)) ([e826a02](https://github.com/cloudflare/cloudflare-python/commit/e826a024ab9bad3105cde190ab1e8717ebda80bb))
* **api:** api update ([#2500](https://github.com/cloudflare/cloudflare-python/issues/2500)) ([b8f02a0](https://github.com/cloudflare/cloudflare-python/commit/b8f02a087be93011eb24532eea5a4c5c0c61dbd1))
* **api:** api update ([#2501](https://github.com/cloudflare/cloudflare-python/issues/2501)) ([b8b3891](https://github.com/cloudflare/cloudflare-python/commit/b8b3891a42db6f5a1631ceddf5ab581d224e0b40))
* **api:** api update ([#2502](https://github.com/cloudflare/cloudflare-python/issues/2502)) ([345ac45](https://github.com/cloudflare/cloudflare-python/commit/345ac45b5700bc3d80005c61d716792e39fa4c99))
* **api:** api update ([#2503](https://github.com/cloudflare/cloudflare-python/issues/2503)) ([80fdb8f](https://github.com/cloudflare/cloudflare-python/commit/80fdb8f78726e093afbfb6e966df4a5b74ded3c9))
* **api:** api update ([#2516](https://github.com/cloudflare/cloudflare-python/issues/2516)) ([b6adc14](https://github.com/cloudflare/cloudflare-python/commit/b6adc142da1c6f6693c6c41ff3fde485aedd588d))
* **api:** api update ([#2517](https://github.com/cloudflare/cloudflare-python/issues/2517)) ([401b717](https://github.com/cloudflare/cloudflare-python/commit/401b717505df1746f6ffbbf7f111e7c93e6fae4a))
* **api:** api update ([#2518](https://github.com/cloudflare/cloudflare-python/issues/2518)) ([e1a2474](https://github.com/cloudflare/cloudflare-python/commit/e1a2474555a21af53b67e13be76d4c99dfbe4814))
* **api:** api update ([#2520](https://github.com/cloudflare/cloudflare-python/issues/2520)) ([151a44a](https://github.com/cloudflare/cloudflare-python/commit/151a44a584d21d4acbf2459513c585ef937eb984))
* **api:** api update ([#2522](https://github.com/cloudflare/cloudflare-python/issues/2522)) ([fc6d9d6](https://github.com/cloudflare/cloudflare-python/commit/fc6d9d6359390476e531499034ab114baeb1bcfe))
* **api:** api update ([#2523](https://github.com/cloudflare/cloudflare-python/issues/2523)) ([43ebeee](https://github.com/cloudflare/cloudflare-python/commit/43ebeee56dea63a55d23665e70ae2a0391d9e66b))
* **api:** api update ([#2528](https://github.com/cloudflare/cloudflare-python/issues/2528)) ([cc14467](https://github.com/cloudflare/cloudflare-python/commit/cc14467fce380ffe7d1baddb678415b319d48e22))
* **api:** api update ([#2530](https://github.com/cloudflare/cloudflare-python/issues/2530)) ([4def3c7](https://github.com/cloudflare/cloudflare-python/commit/4def3c7bb1f0fa1189fb0d0e644f54e6453f27ad))
* **api:** api update ([#2531](https://github.com/cloudflare/cloudflare-python/issues/2531)) ([4aef71e](https://github.com/cloudflare/cloudflare-python/commit/4aef71e490884d29a3e3d8f5cdd97101a464bc3b))
* **api:** api update ([#2533](https://github.com/cloudflare/cloudflare-python/issues/2533)) ([d231762](https://github.com/cloudflare/cloudflare-python/commit/d23176293003e4788c907ff0417f5470aaa4a31b))
* **api:** api update ([#2534](https://github.com/cloudflare/cloudflare-python/issues/2534)) ([6bae2c2](https://github.com/cloudflare/cloudflare-python/commit/6bae2c2223a2047270110c8d1cd934e69ef306a9))
* **api:** api update ([#2535](https://github.com/cloudflare/cloudflare-python/issues/2535)) ([d3821d2](https://github.com/cloudflare/cloudflare-python/commit/d3821d225922bf8bae3484c498e440d4e90dc194))
* **api:** api update ([#2537](https://github.com/cloudflare/cloudflare-python/issues/2537)) ([7cace87](https://github.com/cloudflare/cloudflare-python/commit/7cace874090689ada3ea6b099e7f304e6b7da6a1))
* **api:** api update ([#2544](https://github.com/cloudflare/cloudflare-python/issues/2544)) ([7ea429d](https://github.com/cloudflare/cloudflare-python/commit/7ea429d47d7741d1062eded3374c25f6f5965868))
* **api:** api update ([#2547](https://github.com/cloudflare/cloudflare-python/issues/2547)) ([7b0ce60](https://github.com/cloudflare/cloudflare-python/commit/7b0ce60f9a2ea2b7b7560cbc7da733247f31d63b))
* **api:** api update ([#2549](https://github.com/cloudflare/cloudflare-python/issues/2549)) ([aca2b76](https://github.com/cloudflare/cloudflare-python/commit/aca2b76e0daa7bef7936aee794b9cbf173ac4e4d))
* **api:** manual updates ([#2491](https://github.com/cloudflare/cloudflare-python/issues/2491)) ([e93ce12](https://github.com/cloudflare/cloudflare-python/commit/e93ce12a62dc48376a2fafba968a2eeff7f83345))
* **api:** manual updates ([#2513](https://github.com/cloudflare/cloudflare-python/issues/2513)) ([71e522b](https://github.com/cloudflare/cloudflare-python/commit/71e522b756012338f5909c2644b18c62b430cc0f))
* **api:** manual updates ([#2526](https://github.com/cloudflare/cloudflare-python/issues/2526)) ([f0b7af9](https://github.com/cloudflare/cloudflare-python/commit/f0b7af9d7cbad933520d3e50657d4762c2ca156d))
* **api:** manual updates ([#2527](https://github.com/cloudflare/cloudflare-python/issues/2527)) ([aa892cc](https://github.com/cloudflare/cloudflare-python/commit/aa892cc55f7fb177521c2b2010bf760a9975c7cd))
* **api:** rename browsing_rendering to browser_rendering ([#2488](https://github.com/cloudflare/cloudflare-python/issues/2488)) ([6b3425f](https://github.com/cloudflare/cloudflare-python/commit/6b3425fe978466d1536f77212c4ac36c93aa6105))
* **browser_rendering:** move methods to top level ([#2490](https://github.com/cloudflare/cloudflare-python/issues/2490)) ([19e4cb0](https://github.com/cloudflare/cloudflare-python/commit/19e4cb01cff0811129fbac3e0f474f04532be483))
* **browsing_rendering:** add support for subresources ([#2484](https://github.com/cloudflare/cloudflare-python/issues/2484)) ([6739a41](https://github.com/cloudflare/cloudflare-python/commit/6739a4123bcf82fe58143ac51e69f590be8c1822))
* **cloudforce_one:** fix scans model ([#2504](https://github.com/cloudflare/cloudflare-python/issues/2504)) ([23e94c9](https://github.com/cloudflare/cloudflare-python/commit/23e94c9ee7ae82bc2931d077874a9a17dd8bfec3))
* **dns_settings:** fix hierarchy ([#2514](https://github.com/cloudflare/cloudflare-python/issues/2514)) ([a95d254](https://github.com/cloudflare/cloudflare-python/commit/a95d254cf22932f9f22e3e27171ae7efe35e6abd))
* **dns:** split account and zone DNS settings ([#2507](https://github.com/cloudflare/cloudflare-python/issues/2507)) ([6a80948](https://github.com/cloudflare/cloudflare-python/commit/6a809488ff2fd32ef13ad1dc37c1d9a052b79b98))
* **internal:** group browser rendering ([#2508](https://github.com/cloudflare/cloudflare-python/issues/2508)) ([349e280](https://github.com/cloudflare/cloudflare-python/commit/349e280cd359544242e6c78cacce97f437cf9125))
* **magic_cloud_networking:** add endpoint mappings ([#2550](https://github.com/cloudflare/cloudflare-python/issues/2550)) ([f0a6a21](https://github.com/cloudflare/cloudflare-python/commit/f0a6a21ceb592b32ea1079abfd42278f1da3d392))
* **radar:** add compromised credential endpoints ([#2552](https://github.com/cloudflare/cloudflare-python/issues/2552)) ([99c9845](https://github.com/cloudflare/cloudflare-python/commit/99c9845e2548528a5ea0fc1099d3b5c39a165dae))
* **radar:** add DNS endpoint ([#2487](https://github.com/cloudflare/cloudflare-python/issues/2487)) ([a5d4c51](https://github.com/cloudflare/cloudflare-python/commit/a5d4c51312ec12691f9fa4aa1e5ff3721d927d0a))
* **threat_events:** fix create endpoint ([#2532](https://github.com/cloudflare/cloudflare-python/issues/2532)) ([0a45fe8](https://github.com/cloudflare/cloudflare-python/commit/0a45fe8002fa64e2dda4fb7e91badb43e0436bcc))
* **threat_events:** shuffle endpoints from POST => PATCH ([#2525](https://github.com/cloudflare/cloudflare-python/issues/2525)) ([dc037a9](https://github.com/cloudflare/cloudflare-python/commit/dc037a9b9385fc979e11f64e5b576bef3d2a2d0a))
* **vpc_flows:** add token support ([#2485](https://github.com/cloudflare/cloudflare-python/issues/2485)) ([904614f](https://github.com/cloudflare/cloudflare-python/commit/904614f85526fa63f3eee05532f6285c2c5d0cdd))
* **waiting_rooms:** add account level list API ([#2524](https://github.com/cloudflare/cloudflare-python/issues/2524)) ([d10fb45](https://github.com/cloudflare/cloudflare-python/commit/d10fb45195b6b6d4b689bc5629877a7dee91a74b))
* **workers:** add in secrets endpoints ([#2540](https://github.com/cloudflare/cloudflare-python/issues/2540)) ([0f3127d](https://github.com/cloudflare/cloudflare-python/commit/0f3127d57e8675a30f10caf8ba052651e5f75954))
* **workflows:** add `bulk` support ([#2551](https://github.com/cloudflare/cloudflare-python/issues/2551)) ([45d91e2](https://github.com/cloudflare/cloudflare-python/commit/45d91e2a032aac5b4d1471027dbcd50e873dd0c8))


### Bug Fixes

* **api:** missing union discriminator naming ([#2548](https://github.com/cloudflare/cloudflare-python/issues/2548)) ([8c842a3](https://github.com/cloudflare/cloudflare-python/commit/8c842a3fc5e1fb641bb1cb279f5b143ed980bbed))
* **ci:** ensure pip is always available ([#2543](https://github.com/cloudflare/cloudflare-python/issues/2543)) ([5ab256e](https://github.com/cloudflare/cloudflare-python/commit/5ab256eb4d93222012a808fde8a119a60a4a8bc3))
* **ci:** remove publishing patch ([#2546](https://github.com/cloudflare/cloudflare-python/issues/2546)) ([2316376](https://github.com/cloudflare/cloudflare-python/commit/2316376a75b6a6ff41e1d1d7510206aa050ece09))
* **internal:** remove port scans pending path fixes ([#2498](https://github.com/cloudflare/cloudflare-python/issues/2498)) ([f3c8131](https://github.com/cloudflare/cloudflare-python/commit/f3c81313a8878f84abdfcd6b6f9af48126ece4c5))
* **r2_custom_domain:** update path placeholders to de-duplicate internal values ([#2506](https://github.com/cloudflare/cloudflare-python/issues/2506)) ([1288828](https://github.com/cloudflare/cloudflare-python/commit/1288828790c8cb3ddc38e81fb4e870406a0caab9))
* **workers_for_platforms:** remove cyclic import due to model ([#2542](https://github.com/cloudflare/cloudflare-python/issues/2542)) ([7d9d338](https://github.com/cloudflare/cloudflare-python/commit/7d9d3381eacc52694d477b388165a26f77bde9b5))


### Chores

* **docs:** update client docstring ([#2483](https://github.com/cloudflare/cloudflare-python/issues/2483)) ([e98bd28](https://github.com/cloudflare/cloudflare-python/commit/e98bd2880f1f33083e0ce1e585bcaa635eda4176))
* **internal:** bump rye to 0.44.0 ([#2536](https://github.com/cloudflare/cloudflare-python/issues/2536)) ([b1a4155](https://github.com/cloudflare/cloudflare-python/commit/b1a4155e83b067684f202159ad4b6f2b1d3c5283))
* **internal:** codegen related update ([#2475](https://github.com/cloudflare/cloudflare-python/issues/2475)) ([329c314](https://github.com/cloudflare/cloudflare-python/commit/329c314d1756618ef5434817f1077173041a0ebc))
* **internal:** codegen related update ([#2505](https://github.com/cloudflare/cloudflare-python/issues/2505)) ([ea4d061](https://github.com/cloudflare/cloudflare-python/commit/ea4d06178fa05d7907edd1d2869d566c80a1a567))
* **internal:** codegen related update ([#2511](https://github.com/cloudflare/cloudflare-python/issues/2511)) ([d8e67ed](https://github.com/cloudflare/cloudflare-python/commit/d8e67ede7ad1363353b09e93d29951df62b87ed5))
* **internal:** codegen related update ([#2512](https://github.com/cloudflare/cloudflare-python/issues/2512)) ([ee0fa76](https://github.com/cloudflare/cloudflare-python/commit/ee0fa7627138689a4115a9a54e3c504d9ef2d7a9))
* **internal:** mark VPC and PDF as initialisms ([#2486](https://github.com/cloudflare/cloudflare-python/issues/2486)) ([f0b00be](https://github.com/cloudflare/cloudflare-python/commit/f0b00beeebe149cc989e6c398b5f9ccfd2dce33b))
* **internal:** remove extra empty newlines ([#2529](https://github.com/cloudflare/cloudflare-python/issues/2529)) ([b1cabe6](https://github.com/cloudflare/cloudflare-python/commit/b1cabe63a9238d0e00cbde50b1a8d1843e26b03b))
* **internal:** remove unused http client options forwarding ([#2494](https://github.com/cloudflare/cloudflare-python/issues/2494)) ([db37526](https://github.com/cloudflare/cloudflare-python/commit/db375269cd6e68fc5b184384d15f5290e6b63cb7))


### Documentation

* update URLs from stainlessapi.com to stainless.com ([#2481](https://github.com/cloudflare/cloudflare-python/issues/2481)) ([fe98b1d](https://github.com/cloudflare/cloudflare-python/commit/fe98b1da5bed21d62ff14cb1c84f8f89da4a03ac))

## 4.0.0 (2025-01-13)

Full Changelog: [v3.1.1...v4.0.0](https://github.com/cloudflare/cloudflare-python/compare/v3.1.1...v4.0.0)
Expand Down
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,42 @@ for account in first_page.result:
# Remove `await` for non-async usage.
```

## Nested params

Nested parameters are dictionaries, typed using `TypedDict`, for example:

```python
from cloudflare import Cloudflare

client = Cloudflare()

account = client.accounts.create(
name="name",
type="standard",
unit={"id": "f267e341f3dd4697bd3b9f71dd96247f"},
)
print(account.unit)
```

## File uploads

Request parameters that correspond to file uploads can be passed as `bytes`, a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.

```python
from pathlib import Path
from cloudflare import Cloudflare

client = Cloudflare()

client.api_gateway.user_schemas.create(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
file=Path("/path/to/file"),
kind="openapi_v3",
)
```

The async client uses the exact same interface. If you pass a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance, the file contents will be read asynchronously automatically.

## Handling errors

When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `cloudflare.APIConnectionError` is raised.
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Reporting Security Vulnerabilities

Please see [this page](https://www.cloudflare.com/.well-known/security.txt) for information on how to report a vulnerability to Cloudflare. Thanks!
Please see [this page](https://www.cloudflare.com/.well-known/security.txt) for information on how to report a vulnerability to Cloudflare. Thanks!
Loading