-
Notifications
You must be signed in to change notification settings - Fork 124
release: 5.2.0 #2716
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
Merged
Merged
release: 5.2.0 #2716
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
a68b5d9
ci: enable breaking change detection
musa-cf 89213cc
ci: make test and detect-breaking-changes jobs non-blocking
musa-cf fbb556c
chore: sync shared codegen files from staging-next
musa-cf 8b03b3d
chore(acm): update generated types and methods
musa-cf 2f6bdf7
chore(ai): update generated types and methods
musa-cf 4923bbb
feat(ai_gateway): update generated types and methods
musa-cf 29cb585
feat(ai_security): add ai_security resource
musa-cf 5b79a34
chore(api_gateway): update generated types and methods
musa-cf b7ae845
feat(cache): update generated types and methods
musa-cf fc72368
chore(cloudforce_one): update generated types and methods
musa-cf 6a05b68
chore(d1): update generated types and methods
musa-cf 87f7e95
feat(ddos_protection): add ddos_protection resource
musa-cf c89d1ce
chore(email_security): update generated types and methods
musa-cf b097e5d
chore(intel): update generated types and methods
musa-cf bb6815d
feat(load_balancers): update generated types and methods
musa-cf f26713b
chore(logpush): update generated types and methods
musa-cf 72d2149
feat(r2): update generated types and methods
musa-cf fb2f0c4
feat(radar): update generated types and methods
musa-cf 792bf24
chore(resource_sharing): update generated types and methods
musa-cf 636414f
feat(secrets_store): update generated types and methods
musa-cf 0bdb685
feat(workers): update generated types and methods
musa-cf 7bfed3c
feat(workers_for_platforms): update generated types and methods
musa-cf aeff7d5
feat(zero_trust): update generated types and methods
musa-cf 9f99d4b
chore: restore version
7bb67aa
ci: move continue-on-error from job level to step level
musa-cf 5a119e4
Merge pull request #2723 from cloudflare/apix-852/ci-step-soft-fail
musa-cf ece809f
ci: fail open on running example
musa-cf 1a0b300
Merge pull request #2724 from cloudflare/musa-cf-patch-1
musa-cf ed104a9
ci: per-job permissions for publish-pypi, release-doctor, sync-labels…
musa-cf eac1888
Merge pull request #2726 from cloudflare/ci/add-permissions
musa-cf 5466fc1
release: 5.2.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
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 |
|---|---|---|
|
|
@@ -11,6 +11,8 @@ on: | |
| jobs: | ||
| publish: | ||
| name: publish | ||
| permissions: | ||
| contents: read | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
|
|
||
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 |
|---|---|---|
| @@ -1,31 +1,21 @@ | ||
| name: Semgrep OSS scan | ||
| on: | ||
| pull_request: {} | ||
| push: | ||
| branches: [main, master] | ||
| workflow_dispatch: {} | ||
| schedule: | ||
| - cron: '0 0 15 * *' | ||
| concurrency: | ||
| group: semgrep-${{ github.event_name }}-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
| permissions: | ||
| contents: read | ||
| - cron: '0 4 * * *' | ||
| name: Semgrep config | ||
| jobs: | ||
| semgrep: | ||
| name: semgrep-oss | ||
| runs-on: ubuntu-slim | ||
| timeout-minutes: 25 | ||
| name: semgrep/ci | ||
| permissions: | ||
| contents: read | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} | ||
| SEMGREP_URL: https://cloudflare.semgrep.dev | ||
| SEMGREP_APP_URL: https://cloudflare.semgrep.dev | ||
| SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version | ||
| container: | ||
| image: returntocorp/semgrep | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| with: | ||
| fetch-depth: 1 | ||
| - id: cache-semgrep | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.local | ||
| key: semgrep-1.160.0-${{ runner.os }} | ||
| - if: steps.cache-semgrep.outputs.cache-hit != 'true' | ||
| run: pip install --user semgrep==1.160.0 | ||
| - run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | ||
| - run: semgrep scan --config=auto | ||
| - uses: actions/checkout@v4 | ||
| - run: semgrep ci | ||
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 |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| ".": "5.1.0" | ||
| ".": "5.2.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: 2204 | ||
| configured_endpoints: 2277 | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a6c352830d1270d0abb5bb983058ea21815e1bb7d2e163965335dcb0e706f057.yml | ||
| openapi_spec_hash: e722ad1f58e3dfb3a928cf9890d48da4 | ||
| config_hash: ff549978909de2badc92845fea964f4b | ||
| openapi_spec_hash: c0d553c22ef1e807dd815f71023050f4 | ||
| config_hash: 245f966442f3af14c23b79cbfdf06161 |
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,60 @@ | ||
| ## 5.1.0 (2026-05-04) | ||
|
|
||
| Full Changelog: [v5.0.0...v5.1.0](https://github.com/cloudflare/cloudflare-python/compare/v5.0.0...v5.1.0) | ||
|
|
||
| ### Features | ||
|
|
||
| * **security_center:** add `audit_logs`, `classification`, and `context` sub-resources to insights ([ed7d261](https://github.com/cloudflare/cloudflare-python/commit/ed7d261e6)) | ||
| * **zero_trust:** add `deployment_groups` sub-resource to devices ([7121a55](https://github.com/cloudflare/cloudflare-python/commit/7121a55d3)) | ||
| * **aisearch:** update generated types and methods ([54b87759](https://github.com/cloudflare/cloudflare-python/commit/54b87759b)) | ||
| * **email_security:** update generated types and methods ([23a979df](https://github.com/cloudflare/cloudflare-python/commit/23a979df2)) | ||
| * **radar:** update generated types and methods ([b48274ef](https://github.com/cloudflare/cloudflare-python/commit/b48274ef7)) | ||
| * **zones:** update generated types and methods ([f0a54099](https://github.com/cloudflare/cloudflare-python/commit/f0a540997)) | ||
|
|
||
| #### Security Center - New Insights Sub-Resources | ||
|
|
||
| **AuditLogs** (`client.security_center.insights.audit_logs`) | ||
|
|
||
| - `list(*, account_id, zone_id, **params) -> SyncCursorPagination[AuditLogListResponse]` | ||
| - `list_by_insight(issue_id, *, account_id, zone_id, **params) -> SyncCursorPagination[AuditLogListByInsightResponse]` | ||
|
|
||
| New types: | ||
| ```python | ||
| from cloudflare.types.security_center.insights import ( | ||
| AuditLogListResponse, | ||
| AuditLogListByInsightResponse, | ||
| ) | ||
| ``` | ||
|
|
||
| **Classification** (`client.security_center.insights.classification`) | ||
|
|
||
| - `update(issue_id, *, account_id, zone_id, **params) -> ClassificationUpdateResponse` | ||
|
|
||
| New types: | ||
| ```python | ||
| from cloudflare.types.security_center.insights import ClassificationUpdateResponse | ||
| ``` | ||
|
|
||
| **Context** (`client.security_center.insights.context`) | ||
|
|
||
| - `get(issue_id, *, account_id) -> Optional[ContextGetResponse]` | ||
|
|
||
| New types: | ||
| ```python | ||
| from cloudflare.types.security_center.insights import ContextGetResponse | ||
| ``` | ||
|
|
||
| #### Zero Trust - Device Deployment Groups | ||
|
|
||
| New sub-resource `client.zero_trust.devices.deployment_groups`: | ||
|
|
||
| - `create(*, account_id, **params) -> DeploymentGroup` | ||
| - `list(*, account_id, **params) -> SyncV4PagePaginationArray[DeploymentGroup]` | ||
| - `delete(group_id, *, account_id) -> DeploymentGroupDeleteResponse` | ||
| - `edit(group_id, *, account_id, **params) -> DeploymentGroup` | ||
| - `get(group_id, *, account_id) -> DeploymentGroup` | ||
|
|
||
| New types: | ||
| ```python | ||
| from cloudflare.types.zero_trust.devices import DeploymentGroup, DeploymentGroupDeleteResponse | ||
| ``` |
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.
Uh oh!
There was an error while loading. Please reload this page.