Releases: kalbasit/ncps
Releases · kalbasit/ncps
v0.1.1
v0.1.0
What's Changed
Full Changelog: v0.0.20...v0.1.0
v0.0.20
What's Changed
- ci(nix): include testdata and testhelper in package-ncps checks by @kalbasit in #157
- fix: Add support for cachix using base16 encoding by @kalbasit in #70
- chore(deps): update go dependencies by @kalbasit in #158
- test: fix failing tests by @kalbasit in #159
- refactor: use http.Method constants instead of string literals by @kalbasit in #160
- feat(pkg/cache/upstream): add HasNarInfo and HasNar methods by @kalbasit in #161
- feat(pkg/cache): optimize upstream NAR selection by @kalbasit in #162
- feat(pkg/cache): optimize upstream narinfo selection by @kalbasit in #163
- refactor(pkg/cache): deduplicate upstream selection logic by @kalbasit in #164
- fix(pkg/cache): correct log messages for nar operations by @kalbasit in #167
- feat(pkg/cache): improve NAR pull context handling by @kalbasit in #166
- fix(pkg/cache): downgrade not found errors to info level by @kalbasit in #168
- feat(cmd): add timestamp to logger output by @kalbasit in #169
- feat(ci): add logging flags to nix commands by @kalbasit in #170
- fix: update go-nix to fix parsing narinfo with unknown deriver by @kalbasit in #172
Full Changelog: v0.0.19...v0.0.20
v0.0.19
What's Changed
- feat(pkg/otelzerolog): add OpenTelemetry zerolog integration by @kalbasit in #144
- feat(cmd): add OpenTelemetry logging support by @kalbasit in #145
- fix(pkg/nar): handle empty compression type by @kalbasit in #153
- feat(cmd): add OpenTelemetry SDK integration by @kalbasit in #146
- feat(server): add OpenTelemetry middleware and metrics by @kalbasit in #147
- feat(pkg/database): add OpenTelemetry SQL instrumentation by @kalbasit in #149
- feat(pkg/cache): add OpenTelemetry tracing support by @kalbasit in #148
- feat(pkg/cache/upstream): add OpenTelemetry tracing by @kalbasit in #150
- feat(pkg/server): add OpenTelemetry tracing support by @kalbasit in #151
- feat(pkg/storage/local): add OpenTelemetry tracing by @kalbasit in #152
- fix(pkg/server): use hostname for OpenTelemetry tracer name by @kalbasit in #154
- feat(cmd): enhance OpenTelemetry resource detection by @kalbasit in #155
- fix: standardize log field names to use underscores by @kalbasit in #156
Full Changelog: v0.0.18...v0.0.19
v0.0.18
What's Changed
- test(pkg/nar): Fuzz the Parse and JoinURL funcs by @kalbasit in #134
- fix(deps): update github.com/nix-community/go-nix digest to 4ad2fe8 by @renovate in #135
- ci: run flake-check before pushing docker on main branch by @kalbasit in #136
- Ensure pull requests are conventional by @kalbasit in #137
- feat(cmd): Add global flag --log-level to change Logger level by @kalbasit in #139
- refactor(server): improve logging and error handling by @kalbasit in #140
- refactor(pkg/cache): use context logger instead of struct logger by @kalbasit in #141
- refactor(pkg/cache/upstream): use context logger instead of struct logger by @kalbasit in #142
Full Changelog: v0.0.17...v0.0.18
v0.0.17
What's Changed
- treewide: replace log15 with zerolog by @kalbasit in #123
- fix(deps): update module github.com/go-chi/chi/v5 to v5.2.0 by @renovate in #121
- cmd: open sqlite database and create cache with it by @kalbasit in #126
- pkg/storage: Add interface defining the storage by @kalbasit in #124
- pkg/storage/local: Implement local storage by @kalbasit in #125
- pkg/cache: make use of the new storage by @kalbasit in #127
- feat(pre-commit)!: enforce conventional commits by @kalbasit in #128
- fix(server): logger was being overritten by @kalbasit in #130
- fix(server): properly fix the logging by @kalbasit in #132
- docs: add --cache-database-url to the README by @kalbasit in #133
Full Changelog: v0.0.16...v0.0.17
v0.0.16
What's Changed
- cmd/serve: auto-configure runtime.GOMAXPROCS based on quotas by @kalbasit in #117
- nix/devshells: Remove references to Dockerfile by @kalbasit in #118
- testdata: add a way to customize Server handler from tests by @kalbasit in #119
- pkg/cache: ensure only one signature from our server by @kalbasit in #120
- Nix: Allow setting ncps version; GitHub: build Docker with version by @kalbasit in #122
Full Changelog: v0.0.15...v0.0.16
v0.0.15
What's Changed
- chore: Configure Renovate by @renovate in #95
- GitHub: Pin runner to ubuntu-24.04 by @kalbasit in #97
- nix/devshells: add watchexec by @kalbasit in #98
- nix/formatters: exclude files that have no formatter by @kalbasit in #104
- golangci-lint: remove iretrun by @kalbasit in #99
- pkg/nar: extract nar-related features from pkg/helper by @kalbasit in #100
- pkg/nar: add support for URL query by @kalbasit in #101
- pkg/database: add query field to the nars table by @kalbasit in #102
- pkg/cache/upstream: Set URL.RawQuery to original query in nar URL by @kalbasit in #103
- treewide: only main/test should call log15.New() by @kalbasit in #105
- testdata: Fix lint issues by @kalbasit in #107
- pkg/server: capture and trickle down URL Query by @kalbasit in #106
- pkg/nar: offer String() function by @kalbasit in #109
- pkg/cache/upstream: GetNar should return http.Response by @kalbasit in #110
- pkg/upstream/cache: GetNar accept request mutators by @kalbasit in #111
- testdata: HTTPTestServer support for zstd transparent compression by @kalbasit in #112
- testdata: Fix the HTTPTestServer handling of ZSTD by @kalbasit in #113
- pkg/nar: Add proprer compressionType handling by @kalbasit in #114
- pkg/cache: Use nar.URL when possible by @kalbasit in #115
- pkg/cache: pull Narinfo from upstream in a go-routine by @kalbasit in #116
- pkg/cache: Save compressed NAR when compression is only over HTTP by @kalbasit in #108
New Contributors
Full Changelog: v0.0.14...v0.0.15
v0.0.14
What's Changed
- build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 by @dependabot in #75
- cmd/serve: --upstream-public-key should not be required by @kalbasit in #76
- pkg/cache/upstream: Fix the cache with no signatures by @kalbasit in #78
- pkg/cache/upstream: Take in a URL not a Hostname by @kalbasit in #79
- treewide: Fix tests in Nix sandbox by @kalbasit in #81
- flake: first commit by @kalbasit in #82
- flake: add ncps package by @kalbasit in #83
- flake: add formatters and format treewide by @kalbasit in #84
- flake: add devshells by @kalbasit in #85
- flake: Add pre-commit by @kalbasit in #86
- flake: add checks by @kalbasit in #87
- GitHub: Update CI job to run nix flake check by @kalbasit in #88
- Direnv: use flake instead of devbox by @kalbasit in #89
- flake: add a docker package by @kalbasit in #90
- GitHub: Remove golangci-lint job as it's now part of the CI job by @kalbasit in #91
- GitHub: Release job to use Flake by @kalbasit in #92
- devbox: Remove devbox files by @kalbasit in #80
- devshells: Add Delve for debugging by @kalbasit in #77
- Direnv: watch the entire nix/ directory. by @kalbasit in #93
- GitHub: Build and push docker image with Nix by @kalbasit in #94
New Contributors
- @dependabot made their first contribution in #75
Full Changelog: v0.0.13...v0.0.14
v0.0.13
What's Changed
- cmd/serve: start the cronjob only if it was created by @kalbasit in #69
- sqlc: define the schema/queries and make use of generated models by @kalbasit in #71
- Dockerfile: Include dbmate and db migrations in the final image by @kalbasit in #72
- pkg/database: Do not auto-create the database by @kalbasit in #73
- pkg/database: Remove custom queries, use sqlc queries everywhere by @kalbasit in #74
Full Changelog: v0.0.12...v0.0.13