Skip to content

Releases: astral-sh/setup-uv

v3.1.1 🌈 update known checksums for 0.4.15

21 Sep 18:51
abac0ce
Compare
Choose a tag to compare

Changes

🧰 Maintenance

  • chore: update known checksums for 0.4.15 @github-actions (#95)

📚 Documentation

v3.1.0 🌈 Support for semver version ranges

21 Sep 08:17
aeb4649
Compare
Choose a tag to compare

You can now also use semver ranges to define the version of uv to install:

- name: Install a semver range of uv
  uses: astral-sh/setup-uv@v3
  with:
    version: ">=0.3.0"
- name: Pinning a minor version of uv
  uses: astral-sh/setup-uv@v3
  with:
    version: "0.3.x"

Learn more in the README

Changes

🚀 Enhancements

🧰 Maintenance

  • chore: update known checksums for 0.4.14 @github-actions (#94)
  • chore: update known checksums for 0.4.13 @github-actions (#93)
  • chore: update known checksums for 0.4.12 @github-actions (#86)
  • chore: update known checksums for 0.4.11 @github-actions (#84)

📚 Documentation

⬆️ Dependency updates

v3.0.0 🌈 Set the cache-dependency-glob default to `**/uv.lock`

16 Sep 19:39
9f1f1fe
Compare
Choose a tag to compare

Changes

With this release cache-dependency-glob defaults to **/uv.lock.
This is in line with what most users would expect and also mirrors the default behaviors for setup-python which use **/requirements.txt, **/Pipfile.lock or **/poetry.lock.

The previous default led to the cache being created only once and never invalidated or updated even when the dependencies changed.

This change only affects you if you are using enable-cache: true without specifying cache-dependency-glob. The only behavioral change you might see is one time cache miss.

Learn more about cache-dependency-glob in the README section.

🚨 Breaking changes

  • Set the cache-dependency-glob default to **/uv.lock @eifinger (#77)

🧰 Maintenance

⬆️ Dependency updates

v2.1.2 🌈 update known checksums for 0.4.10

14 Sep 07:45
6dfebec
Compare
Choose a tag to compare

Changes

  • fix example for multiple cache-dependency-glob without quote @hori-ryota (#67)

🧰 Maintenance

  • chore: update known checksums for 0.4.10 @github-actions (#72)

⬆️ Dependency updates

  • Bump peter-evans/create-pull-request from 7.0.1 to 7.0.2 @dependabot (#71)

v2.1.1 🌈 use GitHub token by default

11 Sep 13:19
d70817c
Compare
Choose a tag to compare

Changes

🧰 Maintenance

  • chore: update known checksums for 0.4.9 @github-actions (#65)
  • chore: update known checksums for 0.4.8 @github-actions (#62)

v2.1.0 🌈 Use D:\a\_tmp\setup-uv-cache as default cacheLocalPath on Windows

07 Sep 12:17
b463f5b
Compare
Choose a tag to compare

The default cacheLocalPath was /tmp/setup-uv-cache which led to undefined behavior on Windows runners. On Windows the default is now D:\a_tmp\setup-uv-cache.


It is now also supported to supply a list of globs in cache-dependency-glob. This aligns with the functionality of cache-dependency-path in actions/setup-python

- name: Define a list of cache dependency globs
  uses: astral-sh/setup-uv@v1
  with:
    enable-cache: true
    cache-dependency-glob: |
      '**requirements*.txt'
      '**pyproject.toml'

Changes

🐛 Bug fixes

  • Use D:\a\_tmp\setup-uv-cache as default cacheLocalPath on Windows @eifinger (#57)

🚀 Enhancements

🧰 Maintenance

  • rename utils/utils.ts to constants.ts @eifinger (#59)
  • chore: update known checksums for 0.4.7 @github-actions (#58)
  • chore: update known checksums for 0.4.6 @github-actions (#55)
  • Always run check-dist check @eifinger (#53)
  • chore: update known checksums for 0.4.5 @github-actions (#48)
  • Run test build only on ubuntu-latest @eifinger (#51)

📚 Documentation

⬆️ Dependency updates

  • Bump peter-evans/create-pull-request from 7.0.0 to 7.0.1 @dependabot (#56)

v2.0.0 🌈 Change default version to `latest`

05 Sep 16:16
663d8f7
Compare
Choose a tag to compare

This is the first release under the @astral-sh org 🥳

We decided to change the default version to latest instead of regularly updating the default version to the latest released version of uv.

This aligns with the default behavior of other setup-x actions.

You can always pin a specific version with:

- name: Install a specific version of uv
  uses: astral-sh/setup-uv@v1
  with:
    version: "0.4.4"

For self hosted runners this enables use of the tool cache and avoids downloading uv everytime (~1s).

The known checksums will still be updated after each release of uv.

Changes

🚨 Breaking changes

🚀 Enhancements

  • Do not change default version on known checksum update @eifinger (#39)

📚 Documentation

⬆️ Dependency updates

v1.0.7 🌈 update default version to 0.4.4

04 Sep 05:54
162b8ac
Compare
Choose a tag to compare

Changes

🧰 Maintenance

  • chore: update default version to 0.4.4 @github-actions (#29)

⬆️ Dependency updates

  • Bump @typescript-eslint/parser from 7.15.0 to 7.18.0 @dependabot (#9)
  • Bump eslint-plugin-jest from 28.6.0 to 28.8.2 @dependabot (#23)
  • Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 @dependabot (#26)

v1.0.6 🌈 update default version to 0.4.3

03 Sep 06:08
4b68ead
Compare
Choose a tag to compare

Changes

🧰 Maintenance

  • chore: update default version to 0.4.3 @github-actions (#25)
  • Add default-version-update category @eifinger (#24)

v1.0.5 🌈 update default version to 0.4.2

01 Sep 18:23
b0c1123
Compare
Choose a tag to compare

Changes

🐛 Bug fixes

  • chore: update default version to 0.4.2 @github-actions (#21)