Skip to content

release: 4.4.0#2670

Closed
stainless-app[bot] wants to merge 780 commits intomainfrom
release-please--branches--main--changes--next
Closed

release: 4.4.0#2670
stainless-app[bot] wants to merge 780 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Aug 22, 2025

Automated Release PR

4.4.0 (2025-08-22)

Full Changelog: v4.3.1...v4.4.0

Features

Bug Fixes

  • update singularization rules (f24bee7)

Chores

  • api: update composite API spec (9cce5ac)
  • api: upload OpenAPI schema from api-schemas (be94ae0)
  • api: upload stainless config from cloudflare-config (aeff4dd)
  • api: upload stainless config from cloudflare-config (cb9ce20)
  • api: upload stainless config from cloudflare-config (04b69f3)
  • api: upload stainless config from cloudflare-config (0962510)
  • api: upload stainless config from cloudflare-config (91a8f60)
  • api: upload stainless config from cloudflare-config (7477489)
  • api: upload stainless config from cloudflare-config (cadee02)
  • api: upload stainless config from cloudflare-config (f6cb2e1)
  • api: upload stainless config from cloudflare-config (649bc99)
  • api: upload stainless config from cloudflare-config (6cbf008)
  • api: upload stainless config from cloudflare-config (fcff175)
  • api: upload stainless config from cloudflare-config (c019dae)
  • api: upload stainless config from cloudflare-config (1e499f3)
  • api: upload stainless config from cloudflare-config (6464b31)
  • api: upload stainless config from cloudflare-config (6a1b4d4)
  • api: upload stainless config from cloudflare-config (9f4226d)
  • api: upload stainless config from cloudflare-config (dc18093)
  • api: upload stainless config from cloudflare-config (a4b55b1)
  • api: upload stainless config from cloudflare-config (e122304)
  • api: upload stainless config from cloudflare-config (a59205e)
  • api: upload stainless config from cloudflare-config (a27e50c)
  • api: upload stainless config from cloudflare-config (23052e9)
  • api: upload stainless config from cloudflare-config (e929abc)
  • api: upload stainless config from cloudflare-config (da40430)
  • api: upload stainless config from cloudflare-config (cde1ea6)
  • api: upload stainless config from cloudflare-config (daa7fe0)
  • api: upload stainless config from cloudflare-config (5d2c28c)
  • api: upload stainless config from cloudflare-config (8b866ab)
  • api: upload stainless config from cloudflare-config (4456fdb)
  • api: upload stainless config from cloudflare-config (d903656)
  • api: upload stainless config from cloudflare-config (f548ad4)
  • api: upload stainless config from cloudflare-config (0d5adaa)
  • api: upload stainless config from cloudflare-config (f47f76b)
  • api: upload stainless config from cloudflare-config (b0defd7)
  • internal: detect breaking changes when removing endpoints (cf3a21e)
  • internal: fix ruff target version (88f5280)
  • internal: improve breaking change detection (4bdc67a)
  • internal: update comment in script (8f64f5f)
  • update @stainless-api/prism-cli to v5.15.0 (a1e726e)
  • update github action (3a35ffd)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

Comment on lines +10 to +42
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 }} No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 9 months ago

To fix this issue, we should explicitly specify a permissions block in the workflow file. Since none of the workflow steps shown require write access to the repository (they only read contents, install dependencies, and run scripts), the safest minimal permissions are contents: read. We add the block at the workflow level to apply to all jobs unless specific jobs have unique requirements. Place the permissions entry immediately beneath the workflow name declaration, before on:.

Suggested changeset 1
.github/workflows/detect-breaking-changes.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/detect-breaking-changes.yml b/.github/workflows/detect-breaking-changes.yml
--- a/.github/workflows/detect-breaking-changes.yml
+++ b/.github/workflows/detect-breaking-changes.yml
@@ -1,3 +1,5 @@
+permissions:
+  contents: read
 name: CI
 on:
   pull_request:
EOF
@@ -1,3 +1,5 @@
permissions:
contents: read
name: CI
on:
pull_request:
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
@stainless-app stainless-app Bot closed this Aug 22, 2025
@stainless-app stainless-app Bot deleted the release-please--branches--main--changes--next branch August 22, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant