Releases: hugoh/upd
Releases · hugoh/upd
Release list
v4.4.9
v4.4.4
v4.4.3
v4.4.2
Changelog
Bug Fixes
- ef54c45 fix(check): guard DNS probe against an empty resolver result
- 7ae338d fix(config): reject a downAction section with no exec command
- 9cc69df fix(config): validate check URIs by building the real probe
- 2a15936 fix(logic): make DownActionLoop.Stop wait for the run loop to exit
- 871cd61 fix(logic): only update lastSuccess when a check actually succeeds
- 67510e8 fix(logic): run StopExec asynchronously so it can't stall the check loop
- e3564bc fix(test): stop Test_ExecuteReplacesStaleCmd racing its own reaper
Documentation
- 1acddd2 docs: trim verbose comments to their load-bearing point
Others
- a760649 build: moved from jscpd to jscpd v5's cpd
- 52d8fae ci: lint:release task propagates goreleaser check failures
- 1febe47 ci: remove redundant test dep from ci-core
- a715f55 ci: test-int task no longer swallows integration test failures
- 62f50be refactor(logic): replace done channel with sync.WaitGroup
- f1d2a17 refactor: eliminate copy-paste duplication flagged by cpd
v4.4.1
Changelog
Bug Fixes
- 960cc7e fix(report): emit "Not computed" for Downtime when period exceeds retention
- aa7c03e fix(stats): atomic multi-period snapshot + consistent FailureRate sentinel
- bada033 fix(stats): guard against coverage ≤ 0 in CalculateUptime
- de0cedd fix(stats): panic on unknown period in Stats() instead of silent zero
- 933ce2e fix(stats): remove dead ProbeStats.Coverage field
- ac1fe20 fix(test): use InDelta for float assertions to satisfy testifylint
Others
- 2ae69e9 perf(stats): batch-clear evicted buckets in advanceTo
v4.4.0
v4.3.1
v4.3.0
Changelog
Features
- ad0ca15 feat(report): added probe target in logs
- 518258a feat(stats): additional failure / success details
- 7cff627 feat(status): per-period probe-stat rings with bucket tuning
Bug Fixes
- 753917f fix(check): bound entire DNS lookup by the check timeout
- be69014 fix(check): report https scheme for HTTPS probes
- 5264e9f fix(cmd): process SIGHUP while worker is running
- 4ac5488 fix(config): fail config load on invalid checks
- e322123 fix(downaction): drop dead nil check after Process deref
- 3e423f5 fix(downaction): let StopExec run to completion
- aa38f9a fix(logger): use slog.LevelVar for race-free level changes
- d761920 fix(main): print fatal error before exiting
- 14d60db fix(stats): retention logic
- 38576c1 fix(status): finer probe-stat buckets to bound window skew
- 4303ddd fix: potential race condition
Documentation
- d01f00b docs(README): updated stats section
- ba8c990 docs: TOML examples in config doc, fix stale status.Get() ref
Others
- e66950a chore: removed dead code
- 08bb455 perf(status): 8-byte probe buckets, cap ring size
- edeaaec refactor(check): replace iterator types with iter.Seq
- 95606be refactor(check): set User-Agent at request build, drain body
- 513df27 refactor(cmd): reuse GetStatServerConfig for report periods
- 8696080 refactor(config): name nested config structs, drop reflect
- 81f43db refactor(logic): replace Delays map[bool] with a struct
- 6bf9deb refactor: simplify timers and small idioms
- f4fd920 refactor: tests
- 83ce830 style: satisfy golangci-lint
v4.2.0
Changelog
Features
- e97ba9f feat(stats): loop/downaction state
Others
- 9ad2c8f refactor(log): removed trace level
- 3ea27a3 refactor(logger): component logging
- be3594f refactor(status): remove ErrInvalidRange from CalculateUptime
- e2540ab refactor(test): extracted helpers
- 4eb8525 refactor: cleanup
- 731e950 refactor: int64 -> uint64
- c65b6bd refactor: modernize
- 7c0f976 refactor: modernize
- 687f625 refactor: name collision
- f574bca refactor: rename Checker → LoopChecker, inline types.Duration
- e152dd6 refactor: split internal into config + cli packages
- 5eae175 test(status): add unit tests for Status setters
- c47fac7 test: add end-to-end integration test
v4.1.3
Changelog
Bug Fixes
- 1ff7c1d fix(dns): probe config parsing
- bed7234 fix: increased logging for failed checks & down action
Others
- 7fc7426 refactor(check): remove unused Report getter methods
- 81ff399 refactor(cmd): remove dead ExitCodeError and ConfigDump
- 0445e89 refactor(conf): simplify redundant var declaration
- 38ab097 refactor(downaction): remove no-op timer.Stop and dead ErrInvalidCommand
- 892e379 refactor(downaction): simplified loop
- 788f11c refactor(loop): remove no-op timer.Stop and inline hasDownAction
- 180eaa7 refactor(status): inline InvalidRangeMsg const
- f5827fd refactor(status): inline InvalidRangeMsg const
- 6e34182 refactor(status): remove unused NewStatHandler constructor
- c8407fe refactor: fixed linting issues