apolloconfig/agollo
🚀Go client for ctrip/apollo (https://github.com/apolloconfig/apollo)
30 Releases
Latest: 3mo ago
v5.0.0Latest
📋 What's Changed
- feat:update version to go1.20 by @dyx1234 in https://github.com/apolloconfig/agollo/pull/322
- chore: format code style by @xuthus5 in https://github.com/apolloconfig/agollo/pull/332
- chore: change source code license header by @xuthus5 in https://github.com/apolloconfig/agollo/pull/334
- chore: add readme english version by @xuthus5 in https://github.com/apolloconfig/agollo/pull/336
- Bump github.com/agiledragon/gomonkey/v2 from 2.11.0 to 2.13.0 by @dependabot[bot] in https://github.com/apolloconfig/agollo/pull/329
- chore: remove deprecated API and unused action by @xuthus5 in https://github.com/apolloconfig/agollo/pull/337
- Fix infinite loop when consecutive releases return 304 Not Modified responses by @Copilot in https://github.com/apolloconfig/agollo/pull/344
- fix: serverIPListComponent not close when invoke Client close by @Epiphany523 in https://github.com/apolloconfig/agollo/pull/350
- + 5 more
✨ New Contributors
- @xuthus5 made their first contribution in https://github.com/apolloconfig/agollo/pull/332
- @Copilot made their first contribution in https://github.com/apolloconfig/agollo/pull/344
- @Epiphany523 made their first contribution in https://github.com/apolloconfig/agollo/pull/350
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.4.0...v5.0.0
v4.4.0
📋 What's Changed
- [Ftr]: 让 hash 签名函数可设置 by @nanjj in https://github.com/apolloconfig/agollo/pull/299
- [Ftr]: 对显式错误http请求进行快速失败,而非重试 (#296) by @larry4xie in https://github.com/apolloconfig/agollo/pull/297
- [Rtf]: 简化从 int 到 time 的转换 by @wzy9607 in https://github.com/apolloconfig/agollo/pull/294
- [Rtf]: 优化加载某个命名空间失败的策略 by @qdsordinarydream in https://github.com/apolloconfig/agollo/pull/300
- [Fix]: 如果获取不到config,尝试远端同步获取一次,获取到的内容需要更新缓存 by @qdsordinarydream in https://github.com/apolloconfig/agollo/pull/301
- [Fix]: 触发懒加载时,需要同步更新notify内容,更新component监听变更的ns by @qdsordinarydream in https://github.com/apolloconfig/agollo/pull/302
✨ New Contributors
- @larry4xie made their first contribution in https://github.com/apolloconfig/agollo/pull/297
- @qdsordinarydream made their first contribution in https://github.com/apolloconfig/agollo/pull/300
- @nanjj made their first contribution in https://github.com/apolloconfig/agollo/pull/299
📦 测试报告
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/8956275048)
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.3.1...v4.4.0
v4.3.1
📋 What's Changed
- [Fix]修复错误拼写 by @Shoothzj in https://github.com/apolloconfig/agollo/pull/272
- [Fix]同步方法中修复重试次数 by @saltbo in https://github.com/apolloconfig/agollo/pull/281
- [Ftr]修改注释 by @piglig in https://github.com/apolloconfig/agollo/pull/279
- [Ftr]更新github.com/spf13/viper from 1.7.1 to 1.8.1 by @dependabot in https://github.com/apolloconfig/agollo/pull/283
- [Fix]多处日志格式串问题,以及一处error shadow 导致日志中的error为nil by @wzy9607 in https://github.com/apolloconfig/agollo/pull/270
✨ New Contributors
- @Shoothzj made their first contribution in https://github.com/apolloconfig/agollo/pull/272
- @saltbo made their first contribution in https://github.com/apolloconfig/agollo/pull/281
- @piglig made their first contribution in https://github.com/apolloconfig/agollo/pull/279
- @wzy9607 made their first contribution in https://github.com/apolloconfig/agollo/pull/270
📦 测试报告
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/5706651181/job/15462563832)
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.3.0...v4.3.1
v4.3.0
📋 What's Changed
- [Ftr]添加 Close() 方法停止轮询 by @MoonBall in https://github.com/apolloconfig/agollo/pull/254
- [Fix]删除变更监控 by @zy84338719 in https://github.com/apolloconfig/agollo/pull/255
- [Fix]修正自定义parse内容为空 by @fengqi in https://github.com/apolloconfig/agollo/pull/253
- [Fix]修复 load balance 问题 by @dougsong in https://github.com/apolloconfig/agollo/pull/261
- [Fix]修复不能通过 string 和 int 格式化数组 by @zouyx in https://github.com/apolloconfig/agollo/pull/265
- [Fix]删除无用方法 by @zouyx in https://github.com/apolloconfig/agollo/pull/266
✨ New Contributors
- @zy84338719 made their first contribution in https://github.com/apolloconfig/agollo/pull/255
- @MoonBall made their first contribution in https://github.com/apolloconfig/agollo/pull/254
- @fengqi made their first contribution in https://github.com/apolloconfig/agollo/pull/253
- @dougsong made their first contribution in https://github.com/apolloconfig/agollo/pull/261
📦 测试报告
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/3723056927/jobs/6314330700)
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.2.1...v4.3.0
v4.2.1
📋 What's Changed
- [Fix] 通过 MkdirAll 替换 Mkdir by @qshuai in https://github.com/apolloconfig/agollo/pull/243
- [Fix] 服务端返回 304 时增加 debug 日志 by @qshuai in https://github.com/apolloconfig/agollo/pull/246
- [Fix] 修复日志格式输出问题 by @fatelei in https://github.com/apolloconfig/agollo/pull/240
- [Fix] 获取数据类型转换至对应目标类型 by @why444216978 in https://github.com/apolloconfig/agollo/pull/247
- [Fix] 修复错误文档内容 by @zouyx in https://github.com/apolloconfig/agollo/pull/252
✨ New Contributors
- @qshuai made their first contribution in https://github.com/apolloconfig/agollo/pull/243
- @fatelei made their first contribution in https://github.com/apolloconfig/agollo/pull/240
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.2.0...v4.2.1
📦 测试报告
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/3148157246/jobs/5118395376)
v4.2.0
📋 What's Changed
- [Ftr]: 支持客户端标签功能 by @zanderme in https://github.com/apolloconfig/agollo/pull/224
- [Ftr]: 增加不阻塞获取配置方法 by @why444216978 in https://github.com/apolloconfig/agollo/pull/230
- [Fix]: 不跟随系统vpn代理 by @onanying in https://github.com/apolloconfig/agollo/pull/222
- [Fix] 修复 changeListeners 的 data race 问题 by @zouyx in https://github.com/apolloconfig/agollo/pull/231
✨ New Contributors
- @onanying made their first contribution in https://github.com/apolloconfig/agollo/pull/222
- @zanderme made their first contribution in https://github.com/apolloconfig/agollo/pull/224
- @why444216978 made their first contribution in https://github.com/apolloconfig/agollo/pull/230
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.1.1...v4.2.0
- [详细测试报告](https://github.com/zouyx/agollo_demo/runs/6492604952?check_suite_focus=true)
v4.1.1
📋 What's Changed
- [Ftr]: 支持请求配置host by @zenghur in https://github.com/apolloconfig/agollo/pull/212
- [Fix]: 修复一些 log 相关的问题 by @zouyx in https://github.com/apolloconfig/agollo/pull/217
- [Fix]: 修复当调用 repository.go 中 GetXXXValue,类型不一致时的报错 by @zouyx in https://github.com/apolloconfig/agollo/pull/216
- [Fix]: 修复 getDefaultTransport 的 data race by @wubin1989 in https://github.com/apolloconfig/agollo/pull/218
✨ New Contributors
- @zenghur made their first contribution in https://github.com/apolloconfig/agollo/pull/212
- @wubin1989 made their first contribution in https://github.com/apolloconfig/agollo/pull/218
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.1.0...v4.1.1
- [详细测试报告](https://github.com/zouyx/agollo_demo/runs/5703455336?check_suite_focus=true)
v4.1.0
📋 What's Changed
- [Ftr]: 可以控制第一次连接 apollo 必须成功([使用方法](https://github.com/apolloconfig/agollo/blob/6893d9f0439f05878ad8bb30478d28e99cd4c343/start_test.go#L249)) by @yellowmarlboro in https://github.com/apolloconfig/agollo/pull/202
- [Fix]:整理 go.sum by @haiyux in https://github.com/apolloconfig/agollo/pull/205
- [Fix] 整理 error 时输出的数据格式 by @richardJiang in https://github.com/apolloconfig/agollo/pull/208
- [Fix] 创建备份文件时写标志错误 by @zouyx in https://github.com/apolloconfig/agollo/pull/209
✨ New Contributors
- @haiyux made their first contribution in https://github.com/apolloconfig/agollo/pull/205
- @richardJiang made their first contribution in https://github.com/apolloconfig/agollo/pull/208
- @yellowmarlboro made their first contribution in https://github.com/apolloconfig/agollo/pull/202
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.11...v4.1.0
- [详细测试报告](https://github.com/zouyx/agollo_demo/runs/4913432026?check_suite_focus=true)
v4.0.11
📋 What's Changed
- [Fix]: SyncWithNamespace 支持自定义超时时间 by @zxdstyle in https://github.com/apolloconfig/agollo/pull/190
- *将 Client 的操作抽取成 interface 方便 mock by @Casper-Mars in https://github.com/apolloconfig/agollo/pull/193
- [Fix]: 在配置备份目录之后,如不存在会自动创建 by @zouyx in https://github.com/apolloconfig/agollo/pull/197
- [Fix]: 降级 viper 至 1.7.1 by @zouyx in https://github.com/apolloconfig/agollo/pull/198
✨ New Contributors
- @nobodyiam made their first contribution in https://github.com/apolloconfig/agollo/pull/189
- @zxdstyle made their first contribution in https://github.com/apolloconfig/agollo/pull/190
- @Casper-Mars made their first contribution in https://github.com/apolloconfig/agollo/pull/193
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.9...v4.0.11
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/1573842443)
v4.0.9
📋 What's Changed
- Bump github.com/spf13/viper from 1.7.1 to 1.8.1 by @dependabot in https://github.com/apolloconfig/agollo/pull/177
- [Fix]: 复用Transport避免goroutine泄露 by @yldian in https://github.com/apolloconfig/agollo/pull/182
- [Doc]: 修复 readme 中错误的 demo by @pigbayspy in https://github.com/apolloconfig/agollo/pull/183
✨ New Contributors
- @dependabot made their first contribution in https://github.com/apolloconfig/agollo/pull/177
- @yldian made their first contribution in https://github.com/apolloconfig/agollo/pull/182
- @pigbayspy made their first contribution in https://github.com/apolloconfig/agollo/pull/183
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.8...v4.0.9
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/1143555584)
v4.0.8
📋 What's Changed
- [Ftr] 迁移 zouyx/agollo 到 apolloconfig/agollo by @zouyx in https://github.com/apolloconfig/agollo/pull/179
- [Fix] 修复迁移产生的问题 by @zouyx in https://github.com/apolloconfig/agollo/pull/180
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.7...v4.0.8
- [详细测试报告](https://github.com/zouyx/agollo_demo/actions/runs/1015723535)
v4.0.7
📋 What's Changed
- [Fxi]: 修改日志央视 by @Han-MeiM in https://github.com/apolloconfig/agollo/pull/168
- [Bot]: Upgrade to GitHub-native Dependabot by @dependabot-preview in https://github.com/apolloconfig/agollo/pull/170
- [Fix]:去除无用标识位 by @zouyx in https://github.com/apolloconfig/agollo/pull/172
✨ New Contributors
- @Han-MeiM made their first contribution in https://github.com/apolloconfig/agollo/pull/168
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.6...v4.0.7
- [详细测试报告](https://github.com/zouyx/agollo_demo/pull/23/checks?check_run_id=2335004542)
v4.0.6
📋 What's Changed
- [Ftr]: 增加同步服务器列表自定义超时时间 by @zouyx in https://github.com/apolloconfig/agollo/pull/167
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.5...v4.0.6
- [详细测试报告](https://github.com/zouyx/agollo_demo/pull/23/checks?check_run_id=2335004542)
v4.0.5
📋 What's Changed
- [Fix]: 修改当更新配置失败时会导致后续再也无法更新的问题 by @ichiro999 in https://github.com/apolloconfig/agollo/pull/166
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.4...v4.0.5
- [详细测试报告](https://github.com/zouyx/agollo_demo/pull/23/checks?check_run_id=2283510234)
v4.0.4
📋 What's Changed
- [Ftr]: 在更新时间中增加更新时间 by @cloverstd in https://github.com/apolloconfig/agollo/pull/158
✨ New Contributors
- @cloverstd made their first contribution in https://github.com/apolloconfig/agollo/pull/158
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.3...v4.0.4
v4.0.3
📋 What's Changed
- [Bot]: Mergify: configuration update by @zouyx in https://github.com/apolloconfig/agollo/pull/153
- [Fix]: 修复 data race 的问题 by @zouyx in https://github.com/apolloconfig/agollo/pull/154
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.2...v4.0.3
v4.0.2
📋 What's Changed
- [Fix]: http response 内存泄漏 by @hxzqlh in https://github.com/apolloconfig/agollo/pull/150
- [Fix]: 当同步获取配置失败时增加读取本地配置文件 by @zouyx in https://github.com/apolloconfig/agollo/pull/151
✨ New Contributors
- @hxzqlh made their first contribution in https://github.com/apolloconfig/agollo/pull/150
- Full Changelog: https://github.com/apolloconfig/agollo/compare/v4.0.1...v4.0.2
v4.0.1
v4.0.0-rc1
📋 Changes
- #140 重构 client,从单例调整到可适应多实例
v3.4.5
📋 Changes
- #137 将 Apollo 配置无更新时的提示信息降级为debug
- #136 增加 apache license 到每个文件
- @Marxel-cn( #137 )
v3.4.4
v3.4.2
📋 Changes
- #124 #125 修复 change event 问题
v3.4.1
📋 Changes
- #123 修复变更监听问题
v3.4.0
📋 Changes
- 增加yaml后缀的格式解析,对接apollo的类型
- 实现list类型配置的解析写入和读取
- 修改了OnChange事件保存的value类型为interface
- 提供为某些key注册Listener,从而实现对某些key进行事件处理;注册支持模糊匹配
- @ichiro999( #121 )
v3.3.0
📋 Changes
- #115 #116 支持 YML 配置写入
- #113 支持 HTTPS 拉取配置
v3.2.0
📋 Changes
- #111 删除LoggerInterfac接口中方法的返回值
- #112 增加客户端鉴权
- @ichiro999( #111 )
v3.1.0
📋 Changes
- #99 增加备份原始namespace功能 @lj99boy
- #107 增加 cache、load balance 增加至 extension
v3.0.1
📋 Changes
- Fixed #101 客户端容灾,连不上apollo时,没有使用本地的application.json文件配置信息
v3.0.0
📋 Changes
- 项目整体重构,分包
- Fix: 其他组件的初始化应该在配置初始化之后 https://github.com/zouyx/agollo/pull/98
v2.2.6
📋 Changes
- 修复偶发性卡住问题,ref: #90
