-
Notifications
You must be signed in to change notification settings - Fork 78
release: 5.0.0 #2672
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
Open
stainless-app
wants to merge
873
commits into
main
Choose a base branch
from
release-please--branches--main--changes--next
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
release: 5.0.0 #2672
Changes from all commits
Commits
Show all changes
873 commits
Select commit
Hold shift + click to select a range
d3c0690
codegen metadata
stainless-app[bot] 9bee0a8
codegen metadata
stainless-app[bot] 3f7e26d
codegen metadata
stainless-app[bot] 9582934
codegen metadata
stainless-app[bot] 4a7d32d
codegen metadata
stainless-app[bot] 49c5552
codegen metadata
stainless-app[bot] be708f5
codegen metadata
stainless-app[bot] 6600542
codegen metadata
stainless-app[bot] 772aedb
codegen metadata
stainless-app[bot] 51aac22
codegen metadata
stainless-app[bot] eecae32
codegen metadata
stainless-app[bot] 18cb6b3
codegen metadata
stainless-app[bot] 9fc8b31
codegen metadata
stainless-app[bot] 8d1c023
codegen metadata
stainless-app[bot] 86277db
codegen metadata
stainless-app[bot] 3117368
codegen metadata
stainless-app[bot] 3b9ea5d
feat(api): api update
stainless-app[bot] fa0b676
codegen metadata
stainless-app[bot] c8ae192
codegen metadata
stainless-app[bot] 78661c3
codegen metadata
stainless-app[bot] 041aba6
codegen metadata
stainless-app[bot] 8378dd0
codegen metadata
stainless-app[bot] 7bfd28f
codegen metadata
stainless-app[bot] a1e726e
chore: update @stainless-api/prism-cli to v5.15.0
stainless-app[bot] 562f4e7
codegen metadata
stainless-app[bot] aa0b329
codegen metadata
stainless-app[bot] 29eeab3
codegen metadata
stainless-app[bot] e449e47
feat(api): api update
stainless-app[bot] 73c752b
codegen metadata
stainless-app[bot] 1c14611
codegen metadata
stainless-app[bot] 2526d05
codegen metadata
stainless-app[bot] cf3a21e
chore(internal): detect breaking changes when removing endpoints
stainless-app[bot] 7477489
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] 8f64f5f
chore(internal): update comment in script
stainless-app[bot] 410146f
codegen metadata
stainless-app[bot] d46c5af
codegen metadata
stainless-app[bot] a051a1a
codegen metadata
stainless-app[bot] 7c1787d
codegen metadata
stainless-app[bot] 49ea1e3
codegen metadata
stainless-app[bot] 97ef71e
codegen metadata
stainless-app[bot] f4a0e39
codegen metadata
stainless-app[bot] fa39008
codegen metadata
stainless-app[bot] 950193e
codegen metadata
stainless-app[bot] f8282eb
codegen metadata
stainless-app[bot] b20d895
feat(api): api update
stainless-app[bot] 02bb247
codegen metadata
stainless-app[bot] 080e338
codegen metadata
stainless-app[bot] e4f6db1
feat(api): api update
stainless-app[bot] 30efe43
codegen metadata
stainless-app[bot] 31b69b8
codegen metadata
stainless-app[bot] 6bee693
codegen metadata
stainless-app[bot] 8c733e8
codegen metadata
stainless-app[bot] c8b84c8
codegen metadata
stainless-app[bot] d79454a
codegen metadata
stainless-app[bot] 54b30b1
codegen metadata
stainless-app[bot] 43bcfe1
codegen metadata
stainless-app[bot] dc60d1f
codegen metadata
stainless-app[bot] e9401b4
codegen metadata
stainless-app[bot] dcdce96
codegen metadata
stainless-app[bot] f587c98
codegen metadata
stainless-app[bot] a6720f5
feat(api): api update
stainless-app[bot] 13aaaf8
codegen metadata
stainless-app[bot] df1ea9b
codegen metadata
stainless-app[bot] 73c642d
codegen metadata
stainless-app[bot] 81796e7
codegen metadata
stainless-app[bot] 8570679
feat(api): api update
stainless-app[bot] c3f510c
feat(api): api update
stainless-app[bot] 9e35d23
feat(api): api update
stainless-app[bot] e46ab45
codegen metadata
stainless-app[bot] d68eb0b
codegen metadata
stainless-app[bot] 86d177b
codegen metadata
stainless-app[bot] 1747166
codegen metadata
stainless-app[bot] c0bf1f3
codegen metadata
stainless-app[bot] 4acc106
codegen metadata
stainless-app[bot] 282793c
codegen metadata
stainless-app[bot] 04032a7
codegen metadata
stainless-app[bot] 6e2a4c8
codegen metadata
stainless-app[bot] 96dd75c
codegen metadata
stainless-app[bot] a76ac03
codegen metadata
stainless-app[bot] 2439e6f
feat(api): api update
stainless-app[bot] 1107896
codegen metadata
stainless-app[bot] af66067
feat(api): api update
stainless-app[bot] 24bfb4d
codegen metadata
stainless-app[bot] 12167db
codegen metadata
stainless-app[bot] 924f630
codegen metadata
stainless-app[bot] 05b795b
codegen metadata
stainless-app[bot] 2580c2d
codegen metadata
stainless-app[bot] 9dd5c70
codegen metadata
stainless-app[bot] 9f57ff4
codegen metadata
stainless-app[bot] 490c474
codegen metadata
stainless-app[bot] 0ac5a45
codegen metadata
stainless-app[bot] 27dcdf9
codegen metadata
stainless-app[bot] 91c3a53
codegen metadata
stainless-app[bot] 1eae20b
codegen metadata
stainless-app[bot] 2f4f8a9
codegen metadata
stainless-app[bot] fc9fb01
codegen metadata
stainless-app[bot] c79d831
codegen metadata
stainless-app[bot] b115142
feat(api): api update
stainless-app[bot] bfa56fb
codegen metadata
stainless-app[bot] 65c576c
codegen metadata
stainless-app[bot] 78034ba
feat(api): api update
stainless-app[bot] f4b8ab1
codegen metadata
stainless-app[bot] bd9776b
codegen metadata
stainless-app[bot] 6353be6
codegen metadata
stainless-app[bot] 725d375
codegen metadata
stainless-app[bot] 85fe55a
codegen metadata
stainless-app[bot] c116216
codegen metadata
stainless-app[bot] fef2d52
codegen metadata
stainless-app[bot] 8f6824a
codegen metadata
stainless-app[bot] 5ec55ef
codegen metadata
stainless-app[bot] 58a95e5
codegen metadata
stainless-app[bot] 9a383ab
feat(api): api update
stainless-app[bot] 1c6167c
codegen metadata
stainless-app[bot] 6b38219
feat(api): api update
stainless-app[bot] 98f5a49
codegen metadata
stainless-app[bot] ceef2bf
codegen metadata
stainless-app[bot] fbb869b
codegen metadata
stainless-app[bot] 52f8e71
codegen metadata
stainless-app[bot] 2bf7ec6
feat(api): api update
stainless-app[bot] 246a724
codegen metadata
stainless-app[bot] 6c49455
codegen metadata
stainless-app[bot] 5d69c85
codegen metadata
stainless-app[bot] 469282a
codegen metadata
stainless-app[bot] 2bbe521
codegen metadata
stainless-app[bot] 0a37a07
codegen metadata
stainless-app[bot] 7028488
codegen metadata
stainless-app[bot] dbf2825
codegen metadata
stainless-app[bot] 91a8f60
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] 4593272
codegen metadata
stainless-app[bot] 0962510
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] 4bdc67a
chore(internal): improve breaking change detection
stainless-app[bot] d7de81f
codegen metadata
stainless-app[bot] e3e1940
feat(api): api update
stainless-app[bot] b9a374a
codegen metadata
stainless-app[bot] ee6eb4d
codegen metadata
stainless-app[bot] a507923
codegen metadata
stainless-app[bot] ecddba4
feat(api): api update
stainless-app[bot] 04b69f3
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] f59cd16
feat(api): api update
stainless-app[bot] efe9f5a
codegen metadata
stainless-app[bot] 1a7cf3e
codegen metadata
stainless-app[bot] 14432fe
codegen metadata
stainless-app[bot] 1936438
codegen metadata
stainless-app[bot] 9505003
feat(api): api update
stainless-app[bot] 54ac6cc
codegen metadata
stainless-app[bot] 22575cb
codegen metadata
stainless-app[bot] ece4adb
codegen metadata
stainless-app[bot] 0ad0926
codegen metadata
stainless-app[bot] 30d2217
codegen metadata
stainless-app[bot] bfab4a3
codegen metadata
stainless-app[bot] 8d77d6b
codegen metadata
stainless-app[bot] 3a35ffd
chore: update github action
stainless-app[bot] cb9ce20
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] 2b3a510
feat(api): api update
stainless-app[bot] f24bee7
fix: update singularization rules
stainless-app[bot] aeff4dd
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] 79da026
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] 0c4a2d1
codegen metadata
stainless-app[bot] 7bda216
codegen metadata
stainless-app[bot] b89b811
feat(api): api update
stainless-app[bot] 51ef16f
codegen metadata
stainless-app[bot] e7312f7
codegen metadata
stainless-app[bot] cf91922
codegen metadata
stainless-app[bot] 3f99e67
codegen metadata
stainless-app[bot] 9dc78e4
codegen metadata
stainless-app[bot] fa87ed4
codegen metadata
stainless-app[bot] 35fa46f
feat(api): api update
stainless-app[bot] cfc306c
codegen metadata
stainless-app[bot] cf5a8d3
feat(api): api update
stainless-app[bot] 62ac5d8
feat(api): api update
stainless-app[bot] 495dc68
codegen metadata
stainless-app[bot] 6185ace
codegen metadata
stainless-app[bot] 0d020c3
Merge pull request #148 from stainless-sdks/robert/fix-multipart
RobertCraigie 54095db
codegen metadata
stainless-app[bot] 1abdbfd
codegen metadata
stainless-app[bot] e2a5229
chore(api): upload stainless config from cloudflare-config
stainless-app[bot] f40aace
feat(api): api update
stainless-app[bot] 5489bd9
feat(api): api update
stainless-app[bot] b597a6c
codegen metadata
stainless-app[bot] 4eb4df8
codegen metadata
stainless-app[bot] a07f998
codegen metadata
stainless-app[bot] c723f1e
chore(internal): change ci workflow machines
stainless-app[bot] a711fce
feat(api): api update
stainless-app[bot] 6252572
codegen metadata
stainless-app[bot] 52b30ec
codegen metadata
stainless-app[bot] 1b06a50
codegen metadata
stainless-app[bot] 64f325e
codegen metadata
stainless-app[bot] ff105bb
feat(api): api update
stainless-app[bot] c93fbd0
codegen metadata
stainless-app[bot] f1555e9
feat(api): api update
stainless-app[bot] 60687ae
codegen metadata
stainless-app[bot] af106a6
codegen metadata
stainless-app[bot] 079c03b
feat(api): api update
stainless-app[bot] 488949a
fix: avoid newer type syntax
stainless-app[bot] e84978b
codegen metadata
stainless-app[bot] 3df02e3
codegen metadata
stainless-app[bot] 346ea93
codegen metadata
stainless-app[bot] 6289f05
codegen metadata
stainless-app[bot] 0878824
codegen metadata
stainless-app[bot] 6598c7c
codegen metadata
stainless-app[bot] aa5f4b1
codegen metadata
stainless-app[bot] e53233d
codegen metadata
stainless-app[bot] 11b888c
codegen metadata
stainless-app[bot] 4306161
codegen metadata
stainless-app[bot] d693b56
codegen metadata
stainless-app[bot] 56fc25a
feat(api): api update
stainless-app[bot] abb1e1d
chore(internal): update pyright exclude list
stainless-app[bot] 421a68d
codegen metadata
stainless-app[bot] 68ba7ab
feat(api): api update
stainless-app[bot] 7ecd5a8
codegen metadata
stainless-app[bot] 184de4b
codegen metadata
stainless-app[bot] 8025668
codegen metadata
stainless-app[bot] ff19d67
codegen metadata
stainless-app[bot] b2f8765
chore(internal): minor formatting change
stainless-app[bot] caeddff
feat(api): api update
stainless-app[bot] 45772c9
codegen metadata
stainless-app[bot] ba98c8f
feat(api): api update
stainless-app[bot] 09987ef
codegen metadata
stainless-app[bot] 04d9673
codegen metadata
stainless-app[bot] ed4999c
codegen metadata
stainless-app[bot] 773e38e
feat(api): api update
stainless-app[bot] a252d83
codegen metadata
stainless-app[bot] 2986e58
codegen metadata
stainless-app[bot] 32f2027
codegen metadata
stainless-app[bot] 9429fcc
codegen metadata
stainless-app[bot] 927b62d
codegen metadata
stainless-app[bot] 954479f
codegen metadata
stainless-app[bot] 4d08bbe
codegen metadata
stainless-app[bot] a2ac463
codegen metadata
stainless-app[bot] 426746c
codegen metadata
stainless-app[bot] 7fc5b2f
codegen metadata
stainless-app[bot] 0760270
codegen metadata
stainless-app[bot] 913e107
codegen metadata
stainless-app[bot] 2282740
feat(api): api update
stainless-app[bot] 0176830
codegen metadata
stainless-app[bot] 005b184
chore(internal): add Sequence related utils
stainless-app[bot] 92d2466
codegen metadata
stainless-app[bot] d6ccbb2
codegen metadata
stainless-app[bot] 67ceb0e
feat(types): replace List[str] with SequenceNotStr in params
stainless-app[bot] 076307a
codegen metadata
stainless-app[bot] 813dd68
feat: improve future compat with pydantic v3
stainless-app[bot] 4df020f
chore(internal): move mypy configurations to `pyproject.toml` file
stainless-app[bot] 9414525
fix: correctly handle sending multipart/form-data requests with JSON
1000hz 7ea0926
Merge pull request #2674 from 1000hz/cina/fix-multipart-json
musa-cf 5fbdcbf
feat: Merge branch 'vaishak/skip-worker-test' into 'main'
stainless-app[bot] 94440c3
chore(internal): codegen related update
stainless-app[bot] d35fa67
chore(tests): simplify `get_platform` test
stainless-app[bot] ff43c4b
fix(types): add missing types to method arguments
stainless-app[bot] f36fac4
codegen metadata
stainless-app[bot] 5673a9d
release: 5.0.0
stainless-app[bot] 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
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- next | ||
|
||
jobs: | ||
detect_breaking_changes: | ||
runs-on: 'ubuntu-latest' | ||
name: detect-breaking-changes | ||
if: github.repository == 'cloudflare/cloudflare-python' | ||
steps: | ||
- name: Calculate fetch-depth | ||
run: | | ||
echo "FETCH_DEPTH=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_ENV | ||
|
||
- uses: actions/checkout@v4 | ||
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 }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.prism.log | ||
.vscode | ||
_dev | ||
|
||
__pycache__ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "4.3.1" | ||
".": "5.0.0" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 1809 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-77d61495fecd0d26b9adff1af0ab3510b06a3cc2c6781b9a40aabcad2f10588a.yml | ||
openapi_spec_hash: 95dee3be411dda77306a41dc7d49eb35 | ||
config_hash: ac04197a992afb1d8c3b416fc46e8c8e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"python.analysis.importFormat": "relative", | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 24 days ago
To fix this issue, we should explicitly set minimal required permissions for the workflow/job by adding a
permissions
block. The simplest and safest starting point is to setcontents: read
at the workflow level, as the steps only clone/checkout code and do not perform any write operations on issues, deployments, etc. This should be placed at the top level of the YAML file (directly below thename:
oron:
block) so all jobs inherit these permissions, unless overridden. No additional functionality is added or changed; this only restricts the escalated permissions that the workflow's GitHub token might inherit.