Skip to content

Releases: astral-sh/ruff-action

v3.6.1 🌈 fix automatic minor tag updates

30 Jan 18:45
4919ec5

Choose a tag to compare

Changes

This is just a bugfix release for the release process

  • fix: persist credentials for git push in update-major-minor-tags workflow @eifinger-bot (#312)

🧰 Maintenance

v3.6.0 🌈 search for pyproject.toml in parent dirs

30 Jan 08:51
aedff8d

Choose a tag to compare

Changes

This release brings some bug fixes like

  • support for hashes in requirement.txt files
  • ignoring environment markers in version specifiers like "ruff~=0.13 ; python_version >= '3.11'" to prevent them from breaking the version resolver. If you have a usecase for needing the environment markers to derive the correct ruff version this action should use please add your voice to #256

In case no pyproject.toml is in the configured src this action now also walks up the directory tree to search for it, just like the "normal" ruff does. This is limited to the current workspace to prevent this action from trying to access private data outside the GitHub Actions runner.

EDIT: Oh I forgot to mention that the error matcher now properly detects invalid formatting and displays the correct line number etc in the GitHub UI.

πŸ› Bug fixes

πŸš€ Enhancements

  • Update the ruff-format matcher to properly extract all info @eifinger (#293)

🧰 Maintenance

⬆️ Dependency updates

v3.5.1 🌈 Improve error messages on GitHub API errors

12 Aug 19:56
57714a7

Choose a tag to compare

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

⬆️ Dependency updates

v3.5.0 🌈 support reading Ruff version from tools.poetry.dependencies

14 Jul 08:06
0c50076

Choose a tag to compare

Changes

A big thank you to @G-Rath for his contribution πŸ₯³

πŸš€ Enhancements

  • feat: support reading Ruff version from tools.poetry.dependencies @G-Rath (#177)

🧰 Maintenance

⬆️ Dependency updates

v3.4.0 🌈 Add support for pep440 version specifiers

26 May 20:52
eaf0ecd

Choose a tag to compare

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

πŸ“š Documentation

⬆️ Dependency updates

v3.3.1 🌈 Support ruff versions 0.1.8-0.4.7

07 May 15:00
84f83ec

Choose a tag to compare

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

πŸ“š Documentation

v3.3.0 🌈 Support for reading the ruff version from Poetry groups

27 Apr 13:08
c6bea56

Choose a tag to compare

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

πŸ“š Documentation

  • Mention the --diff flag for format --check @Avasam (#104)

v3.2.2 🌈 Maintenance and update known checksums

16 Mar 20:48
9828f49

Choose a tag to compare

Changes

This release only changes internals and updates known checksums

🧰 Maintenance

πŸ“š Documentation

⬆️ Dependency updates

v3.2.1 🌈 Bump dependencies to fix vulnerabilites

18 Feb 18:15
39f75e5

Choose a tag to compare

Changes

🧰 Maintenance

⬆️ Dependency updates

v3.2.0 🌈 Support requirements.txt as `version-file`

06 Feb 17:13
a7b1296

Choose a tag to compare

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

🧰 Maintenance

πŸ“š Documentation