v5.0.0 - 2026-03-14
-
Module path updated from
github.com/apolloconfig/agollo/v4togithub.com/apolloconfig/agollo/v5. Update your import paths accordingly:go get -u github.com/apolloconfig/agollo/v5@latest
- [Fix]: Avoid stop race on component stop channel (#354)
- [Fix]: Fix serverIPListComponent not closing when invoking Client close (#350)
- [Fix]: Add
Stoppableinterface and invoketime.Stop()in componentStartmethod - [Fix]: Use
sync.Onceto avoid panic on repeated Stop calls; add recover protection inStartRefreshConfig - [Fix]:
NewConfigComponent()returnscomponent.AbsComponenttype - [Fix]: Compatibility handling — retain
InitSyncServerIPListand addNewSyncServerIPListComponent; improve panic log format - [Fix]: Delete
SetAppConfigmethod andSetCachemethod - [Test]: Add nil-kind coverage for
IsNilObject(#352) - [Chore]: Upgrade Go toolchain to 1.18 (#337)
- [Chore]: Update Go version to 1.20
- [Dep]: Bump
github.com/agiledragon/gomonkey/v2from 2.11.0 to 2.13.0 (#329)
Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.4.0...v5.0.0