This release comes with a significant refactor if the internal workings of leng - you can expect faster responses, especially on high load.
The API endpoint for past queries has been removed, as its functionaly overlapped with high-cardinality prometheus metrics. It also introduced added complexity and state to the app -- removing it simplifies the codebase which makes maintining it easier.
There are other minor improvements, including
- new prometheus metric for cache hit rates
- all round updates and security fixes
What's Changed
- api: (BREAKING) remove question cache by @cottand in #81
- add metric for tracking cache hits by @cottand in #67
- fix cache counter metric not registered by @cottand in #68
- metrics: histogram for upstream resolve duration by @cottand in #71
- document histograms, add doh upstream test by @cottand in #73
- docs: specify how to use leng for local nameserver resolution in NixOS by @cottand in #76
- docs: cover DoH privacy via an additional proxy by @cottand in #70
- ci: install nix with detsys to fix nixos tests by @cottand in #80
- test for locan DNS resolution in machine hosting leng by @cottand in #78
- security: clean path before uploading blocklists by @cottand in #79
- feat: new cache implementation by @cottand in #82
- use new cache in handler, refactor handler by @cottand in #83
- chore: update all dependencies by @cottand in #84
- chore: update gh actions workflows by @cottand in #85
- chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 by @dependabot in #77
- v1.7.0 by @cottand in #86
Full Changelog: v1.6.1...v1.7.0