Repository navigation
Releases
v0.2.0
Breaking changes
- fix(config)!: validate s3_prefix, allow bucket root, pair S3 keys (f09023c)
Features
- feat: serve Prometheus metrics on a separate port (7ef67aa)
- feat: read secrets from files and harden the container (625177e)
- feat(storage): size streamed S3 parts from max_upload_size (bcb1d9a)
- feat(lfs): accept uploads without Content-Length (658bb0d)
- feat(config): allow dots in endpoint paths, reserve data dir names (c7a00a6)
- feat(cli): add --config and check commands, improve startup logs (2098dfc)
- feat(docker): run the published image, stamp local builds (0841679)
- feat(lfs): abandon stalled uploads after upload_idle_timeout (e359a3b)
- feat(server): add shutdown_timeout and sweep stale temp files (bb5786a)
- feat(health): add /ready, startup storage check and Docker healthcheck (38d623f)
- feat(middleware): log request IDs and accept them from proxies (998a911)
- feat(logging): add log_format, log_level and default access log (fec35ad)
- feat(go): upgrade to Go 1.27, adopt json/v2, uuid, and slices (efa9bd6)
Fixes
- fix(lfs): answer 404 to non-OID object paths (e05d536)
- fix(lfs): never report a negative size in batch errors (60b4278)
- fix(lfs): report unsupported hash_algo per object (42d0834)
- fix(lfs): answer 404 to downloads the caller cannot read (bb050db)
- perf(storage): skip object shards in hourly sweeps (77dd797)
- fix(storage): reuse one buffer for chunked S3 uploads (60dc455)
- fix(config): reject endpoint paths ending in a dot (990c8c2)
- fix(locks): read lock files under a shared file lock (634e1eb)
- fix(storage): cap S3 parts at 5 GiB (8ec7b41)
- fix(proxy): tell apart clients behind a private proxy (ca093a7)
- fix(server): restore signal handling when Serve fails (80beea4)
- fix(auth): answer 401 when a probe finds the token revoked (6709c68)
- fix(storage): never sweep temp files of running uploads (d29f17f)
- fix(storage): keep sweeping past unreadable directories (c3a2be7)
- fix(auth): check the token's own repository access (42da502)
- perf(lfs): cut URL signing work in batch responses (8f4bc95)
- fix(lfs): send Cache-Control: no-store on API and downloads (d1face2)
- fix(lfs): validate lock paths the same way on every OS (c94a120)
- fix: stop on a second signal and exit 1 when the drain times out (2ea02db)
- perf(auth): share GitHub lookups and cache access per endpoint (6c6575a)
- fix(lfs): answer interrupted uploads with 400, not 500 (bfad30f)
- fix(lfs): page locks by position so released cursors keep going (0c7d079)
- fix(lfs): align batch and lock responses with the LFS spec (931f98d)
- fix(lfs): count only missing objects in the 507 space check (ca438d2)
- fix(config): require https for github_api_url, warn on proxies (928a9ae)
- fix(lfs): require maintain or admin to force-unlock other locks (e872686)
- fix(lfs): bind signed URLs to their operation and host (0644d16)
- perf(lfs): index locks in memory, skip re-parsing unchanged files (8b319bb)
- perf(lfs): look up batch objects concurrently, reuse S3 connections (4a6a9bd)
- fix(docs): correct false claims, add version command and env vars (27a5d91)
- fix(release): print the published image tag in release notes (87a5063)
- fix(config): report every config problem, reject bad env values (d106c91)
- fix(config): reject unrecognised configuration keys (961d402)
- fix(config): reject private endpoints without authentication (c4dca49)
- fix(routing): answer unknown paths with a JSON 404 (88f699b)
- fix(auth): map GitHub denials, rate limits and outages (461e159)
- fix(middleware): trust X-Forwarded headers only from proxies (081c11c)
- fix(ratelimit): stop counting signed transfers, default to 1m (038734b)
- fix(storage): enforce SHA-256 on presigned S3 uploads (bba326f)
- fix(storage): make S3 proxy mode work end to end (cb2532e)
- fix(lfs): serialise lock file writes across processes (640715b)
- fix(config): reject endpoints that share a storage directory (49dd452)
- fix(config): reject endpoint paths that are not clean and rooted (5adabeb)
- fix(docker): check data dir is writable and document chown (7b1a099)
- fix(lfs): accept any Content-Type on object uploads (2ea4c15)
- fix(storage): validate OIDs in the adapters to close path-injection alerts (1f00378)
Other changes
- style(auth): keep retry const comment to one line (41dab4a)
- refactor(storage): drop duplicate local write probe (2f0d2bb)
- test(auth): cover uploads to an empty repository (a1261bc)
- style: remove the remaining em-dashes from comments (018e71c)
- build: move lint and vuln tools to a separate module (acafa72)
- build: ship release binaries, checksums and attestations (83cb5a6)
- test: tighten weak tests and cover range downloads (379d63f)
- build: limit the Docker context to Go sources (6c48023)
- build: produce a static binary from make build (62dddae)
- ci: build the image, vet every OS, schedule and pin scanners (52c621b)
- docs(readme): link the Operations wiki page (b801625)
- ci(release): gate on CI and main, split permissions, pin actions (b78592e)
Dependencies
- deps: bump golangci-lint 2.13.2 to 2.15.0 (85e1434)
- deps: bump github.com/aws/aws-sdk-go-v2/service/s3 (33bbdb8)
- deps: bump the gomod group with 4 updates (5d68942)
- docker: bump alpine from
28bd5feto294b683in the docker group (d56ac8e) - deps: bump the gomod group across 1 directory with 4 updates (eab7230)
- docker: bump golang from 1.26-alpine to 1.27-alpine in the docker group (2b3a7bc)
Full changes: v0.1.4...v0.2.0
Docker
docker pull ghcr.io/refringe/anchor-lfs:0.2.0
gh attestation verify oci://ghcr.io/refringe/anchor-lfs:0.2.0 --repo refringe/anchor-lfs
Verifying downloads
sha256sum --check --ignore-missing checksums.txt
gh attestation verify <archive> --repo refringe/anchor-lfs
v0.1.4
Changes
a3feecc Merge branch 'develop'
57be913 docker: bump alpine from a2d49ea to 28bd5fe in the docker group
22566b6 deps: bump the gomod group across 1 directory with 5 updates
88c7bb0 ci: name jobs and add prettier, coverage, and CodeQL workflows
71ec142 ci: bump actions/checkout from 6 to 7 in the github-actions group
8ceb512 docker: bump alpine from a2d49ea to 28bd5fe in the docker group
Docker
docker pull ghcr.io/refringe/anchor-lfs:0.1.4
v0.1.3
Changes
e6bf21f lint: silence gosec G103 on the Windows disk-space syscall
bf55b37 build: adopt golangci-lint as a go tool and bump deps
3322e68 deps: bump the gomod group across 1 directory with 5 updates
e208539 docker: bump alpine from 3.23 to 3.24 in the docker group
628b729 deps: bump the gomod group with 2 updates
Docker
docker pull ghcr.io/refringe/anchor-lfs:0.1.3
v0.1.2
Changes
4ccb68a style: extract repeated string literals into constants
f665679 ci: group dependabot updates per ecosystem
f6b5477 chore: update module dependencies
59ce4df docker: bump alpine from 2510918 to 5b10f43
5055868 ci: bump softprops/action-gh-release from 2 to 3
5f2253f deps: bump github.com/aws/aws-sdk-go-v2/credentials
422c0c4 deps: bump github.com/rs/zerolog from 1.34.0 to 1.35.0
294612e deps: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.97.2 to 1.97.3
014b4a1 deps: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.97.1 to 1.97.2
b4938c6 fix: use filepath.Rel for path traversal sanitisation
6334720 fix: add path containment check in local storage
8fe5943 fix: use HMAC-SHA256 for auth cache key derivation
6f0a5fb ci: add explicit permissions to workflow files
dd57c1d deps: bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.96.4 to 1.97.1
95608cc deps: bump github.com/aws/aws-sdk-go-v2/config from 1.32.11 to 1.32.12
813007d deps: bump github.com/aws/aws-sdk-go-v2/credentials
d0cd832 feat: adds Copilot agent instructions for auto PR reviews
efbf55e Merge pull request #1 from refringe/dependabot/docker/alpine-3.23
5955c8d Merge pull request #2 from refringe/dependabot/github_actions/docker/build-push-action-7
1a2f74c ci: bump docker/build-push-action from 6 to 7
db02fa6 docker: bump alpine from 3.21 to 3.23
1573602 Enable Dependabot
621a99f Add sponsor option
fdc4112 chore: update GitHub Actions to latest versions
605b3d1 perf: speed up release workflow
Docker
docker pull ghcr.io/refringe/anchor-lfs:0.1.2
v0.1.1
Changes
ab57652 fix: remove redundant auth checks from transfer handlers
Docker
docker pull ghcr.io/refringe/anchor-lfs:0.1.1