mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
S3 buckets support object versioning to prevent unexpected changes, but Nix previously lacked the ability to fetch specific versions of S3 objects. This adds support for a `versionId` query parameter in S3 URLs, enabling users to pin to specific object versions: ``` s3://bucket/key?region=us-east-1&versionId=abc123 ```
14 lines
414 B
Markdown
14 lines
414 B
Markdown
---
|
|
synopsis: "S3 URLs now support object versioning via versionId parameter"
|
|
prs: [14274]
|
|
issues: [13955]
|
|
---
|
|
|
|
S3 URLs now support a `versionId` query parameter to fetch specific versions
|
|
of objects from S3 buckets with versioning enabled. This allows pinning to
|
|
exact object versions for reproducibility and protection against unexpected
|
|
changes:
|
|
|
|
```
|
|
s3://bucket/key?region=us-east-1&versionId=abc123def456
|
|
```
|