v0.3.0: fix HTTP client leak, add tests and CI pipeline
Reuse a single long-poll HTTP client instead of creating one per Events() call (~every 30s). Make TLS skip-verify configurable via syncthing_insecure_tls. Log previously swallowed config errors. Add unit tests for all monitor trackers, config, and state logic. Add CI workflow (vet, golangci-lint, govulncheck, go test -race). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## v0.3.0
|
||||
|
||||
- Fix memory leak: reuse HTTP client for long-poll events instead of creating a new one every ~30s
|
||||
- Add `syncthing_insecure_tls` config field (default: true) — TLS skip-verify is now opt-out
|
||||
- Log previously swallowed errors: config parse, config save (tray, menu, monitor)
|
||||
- Add unit tests for all monitor trackers, config round-trip, state aggregation, and detect
|
||||
- Add CI pipeline: go vet, golangci-lint, govulncheck, `go test -race`
|
||||
- Add `.golangci.yml` with errcheck, gosec, govet, ineffassign, staticcheck, unused
|
||||
|
||||
## v0.2.0
|
||||
|
||||
- Detect missing Syncthing installation (checks PATH and config file)
|
||||
|
||||
Reference in New Issue
Block a user