uv/docs/reference
Charlie Marsh 2651aee33f
Enforce lockfile schema versions (#8509)
## Summary

Historically, we haven't enforced schema versions. This PR adds a
versioning policy such that, if a uv version writes schema v2, then...

- It will always reject lockfiles with schema v3 or later.
- It _may_ reject lockfiles with schema v1, but can also choose to read
them, if possible.

(For example, the change we proposed to rename `dev-dependencies` to
`dependency-groups` would've been backwards-compatible: newer versions
of uv could still read lockfiles that used the `dev-dependencies` field
name, but older versions should reject lockfiles that use the
`dependency-groups` field name.)

Closes https://github.com/astral-sh/uv/issues/8465.
2024-10-24 12:23:56 -04:00
..
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
build_failures.md Add help page for build failures (#8286) 2024-10-22 13:35:54 +02:00
cli.md Fix typo in description of --strict flag (#8513) 2024-10-24 07:21:56 -05:00
index.md Disable collapsible navigation in the documentation (#5674) 2024-08-16 18:09:21 -05:00
platforms.md Add 3.13 support to the platform reference (#7971) 2024-10-07 12:06:43 -05:00
resolver-internals.md Fix up reference to environment markers in resolver reference (#6773) 2024-08-28 18:00:43 -04:00
settings.md Allow users to incorporate Git tags into dynamic cache keys (#8259) 2024-10-16 11:13:29 -04:00
versioning.md Enforce lockfile schema versions (#8509) 2024-10-24 12:23:56 -04:00