Releases: astral-sh/ruff-action
v3.5.1 π Improve error messages on GitHub API errors
Changes
Recent GitHub outages showed that we can improve the error messages to tell the user what happened and what can be done about it.
π Bug fixes
π§° Maintenance
- chore: update known checksums for 0.12.8 @github-actions[bot] (#190)
- chore: update known checksums for 0.12.5 @github-actions[bot] (#189)
- chore: update known checksums for 0.12.4 @github-actions[bot] (#185)
β¬οΈ Dependency updates
v3.5.0 π support reading Ruff version from tools.poetry.dependencies
Changes
A big thank you to @G-Rath for his contribution π₯³
π Enhancements
π§° Maintenance
- Bump dependencies @eifinger (#181)
- chore: update known checksums for 0.12.3 @github-actions[bot] (#180)
- chore: update known checksums for 0.12.2 @github-actions[bot] (#175)
- chore: update known checksums for 0.12.1 @github-actions[bot] (#169)
- chore: update known checksums for 0.12.0 @github-actions[bot] (#167)
- chore: update known checksums for 0.11.13 @github-actions[bot] (#158)
- Fix test-pep440-version-specifier @eifinger (#165)
- Simplify step check all-tests-passed.needs @eifinger (#155)
β¬οΈ Dependency updates
v3.4.0 π Add support for pep440 version specifiers
Changes
With this release you can now also define your ruff version using pep440 specifier:
- name: Install a pep440-specifier-satisfying version of ruff
uses: astral-sh/ruff-action@v3
with:
version: ">=0.11.10,<0.12.0"
π Enhancements
π§° Maintenance
- Check that all jobs are in all-tests-passed needs @eifinger (#151)
- chore: update known checksums for 0.11.11 @github-actions[bot] (#146)
- chore: update known checksums for 0.11.10 @github-actions[bot] (#140)
- chore: update known checksums for 0.11.9 @github-actions[bot] (#138)
π Documentation
- docs: Explain that the default behaviour is ruff check @robertHowlett (#142)
β¬οΈ Dependency updates
v3.3.1 π Support ruff versions 0.1.8-0.4.7
Changes
This bugfix release enables support for ruff versions 0.1.8-0.4.7.
They have a different release URL and lead to a HTTP 404 before.
π Bug fixes
π§° Maintenance
- chore: update known checksums for 0.11.8 @github-actions[bot] (#130)
π Documentation
v3.3.0 π Support for reading the ruff version from Poetry groups
Changes
Thanks to @scootermon we now also find the desired ruff versions in poetry groups in pyproject.toml
:
[tool.poetry.group.dev.dependencies]
ruff = "0.8.3"
π Enhancements
- Add support for reading the ruff version from Poetry groups @scootermon (#127)
π§° Maintenance
- chore: update known checksums for 0.11.7 @github-actions[bot] (#125)
- chore: update known checksums for 0.11.6 @github-actions[bot] (#123)
- chore: update known checksums for 0.11.5 @github-actions[bot] (#120)
- chore: update known checksums for 0.11.4 @github-actions[bot] (#117)
- chore: update known checksums for 0.11.3 @github-actions[bot] (#116)
- chore: update known checksums for 0.11.2 @github-actions[bot] (#108)
- Add required permissions and all-tests-passed @eifinger (#107)
π Documentation
v3.2.2 π Maintenance and update known checksums
Changes
This release only changes internals and updates known checksums
π§° Maintenance
- Inline action-update-semver @eifinger (#103)
- chore: update known checksums for 0.11.0 @github-actions[bot] (#101)
- chore: update known checksums for 0.10.0 @github-actions[bot] (#99)
- chore: update known checksums for 0.9.10 @github-actions[bot] (#97)
- chore: update known checksums for 0.9.9 @github-actions[bot] (#92)
- chore: update known checksums for 0.9.8 @github-actions[bot] (#91)
- chore: update known checksums for 0.9.7 @github-actions[bot] (#86)
π Documentation
β¬οΈ Dependency updates
- Bump @types/node from 22.13.4 to 22.13.10 @dependabot[bot] (#98)
- Bump typescript from 5.7.3 to 5.8.2 @dependabot[bot] (#94)
- Bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 @dependabot[bot] (#96)
- Bump @octokit/plugin-paginate-rest from 11.4.2 to 11.4.3 @dependabot[bot] (#90)
- Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 @dependabot[bot] (#89)
v3.2.1 π Bump dependencies to fix vulnerabilites
Changes
π§° Maintenance
- Bump dependencies @eifinger (#85)
- chore: update known checksums for 0.9.6 @github-actions[bot] (#80)
- chore: update known checksums for 0.9.5 @github-actions[bot] (#77)
β¬οΈ Dependency updates
v3.2.0 π Support requirements.txt as `version-file`
Changes
With this release you can also use a file in requirements.txt
format instead of pyproject.toml
for the input version-file
.
The file ending decides which parser gets used, so make sure the filenames end in *.txt
or *.toml
Thank you @daveisfera
π Bug fixes
π Enhancements
- Support requirements.txt for version-file @daveisfera (#68)
π§° Maintenance
- Run npm install as part of npm run all @eifinger (#75)
- Make it clearer how to fix lint errors @eifinger (#74)
- Run update-known-checksums every night @eifinger (#73)
π Documentation
v3.1.0 π Determine ruff version from optional or dependency groups
Changes
Big thank you to @AA-Turner for expanding the pyproject.toml parsing to also find the ruff version to use in the following scenarios:
[dependency-groups]
dev = [
{ include-group = "docs" },
{ include-group = "lint" },
]
docs = [
"sphinx",
]
lint = [
"ruff==0.8.3",
]
[project.optional-dependencies]
lint = [
"ruff==0.8.3",
]
π Enhancements
- Read the
[project.optional-dependencies]
and[dependency-groups]
tables @AA-Turner (#66)
v3.0.2 π Full support for GHES
Changes
This release fixes some issues that prevented use with GitHub Enterprise Server instances.
Parsing the ruff version from pyproject.toml now also uses a library that is fully TOML 1.0.0 compliant.
π Bug fixes
- Do not expect GITHUB_TOKEN to be set or valid @eifinger (#65)
- Use TOML 1.0.0 compliant library for parsing @eifinger (#47)
π§° Maintenance
- Fix compiled known versions @eifinger (#62)
- chore: update known checksums for 0.9.3 @github-actions[bot] (#61)
- chore: update known checksums for 0.9.1 @github-actions[bot] (#42)
π Documentation
β¬οΈ Dependency updates
- Bump @types/node from 22.10.10 to 22.12.0 @dependabot[bot] (#60)
- Bump eifinger/actionlint-action from 1.9.0 to 1.9.1 @dependabot[bot] (#59)
- Bump typescript from 5.7.2 to 5.7.3 @dependabot[bot] (#41)
- Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 @dependabot[bot] (#50)
- Bump @types/node from 22.10.5 to 22.10.10 @dependabot[bot] (#53)
- Bump @types/node from 22.10.2 to 22.10.5 @dependabot[bot] (#38)
- Bump eifinger/actionlint-action from 1.8.0 to 1.9.0 @dependabot[bot] (#39)
- Bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 @dependabot[bot] (#34)
- Bump eifinger/actionlint-action to v1.8.0 @eifinger (#33)