Skip to content

Latest commit

 

History

History
504 lines (283 loc) · 21.4 KB

CHANGELOG.md

File metadata and controls

504 lines (283 loc) · 21.4 KB

v0.13.0-beta3 (2022-07-26)

♻️ Code Refactoring

  • make all fields of core private and add decorate/populate (#248) (@谷溪)

✨ Features

🐛 Bug Fixes

  • cron: add MockStartTimeFunc helper (#243) (@谷溪)

v0.13.0-beta2 (2022-07-19)

✨ Features

  • export NowFunc config to help tests (#242) (@谷溪)

v0.13.0-beta1 (2022-05-19)

v0.12.3 (2022-03-23)

🐛 Bug Fixes

  • export some useful configuration (#240) (@谷溪)

v0.12.2 (2022-03-17)

✨ Features

  • otredis: add cleanup command to redis module (#239) (@谷溪)

v0.12.1 (2022-02-09)

🐛 Bug Fixes

v0.12.0 (2022-01-20)

♻️ Code Refactoring

  • cron: replace cron implementation. (#226) (@谷溪)

✨ Features

🐛 Bug Fixes

  • avoid extra logger wraps (#232) (@谷溪)
  • prepend dig.LocationForPC instead of append (#231) (@谷溪)
  • dag: validate edges in AddEdges before adding them. (#223) (@谷溪)
  • deps: upgrade github.com/go-redis/redis/v8 to v8.11.4 (#221) (@江湖大牛)
  • factory: on reload, close the connection right away. (#235) (@谷溪)
  • observability: data races (#227) (@谷溪)

BREAKING CHANGE

most Observe() methods now take a time.Duration instead of float64.

  • wip: new cron package

  • refactor(cron): remove cronopts, add cron

This PR replaces the cron implementation.

the new cron package github/DoNewsCode/core/cron is not compatible with github.com/robfig/cron/v3. See examples for how to migrate.

  • refactor(cron): deprecate cronopts, add cron

This PR replaces the cron implementation.

the new cron package github/DoNewsCode/core/cron is not compatible with github.com/robfig/cron/v3. See examples for how to migrate.

  • fix: delayed time calculation

  • refactor: change job middleware to job options

  • fix: use time.Since

  • fix: inconsistent labels

  • fix: race

  • fix: race

  • fix: race

  • fix: race

  • fix: race

  • fix: rename JobOptions to JobOption

  • refactor: Reduce the API interface of Container

  • refactor: Reduce the API interface of Container

  • refactor: Reduce the API interface of Container

  • refactor: Reduce the API interface of Container

  • fix: minor adjustments of docs,imports

most Observe() methods now take a time.Duration instead of float64.

v0.11.1 (2022-01-06)

⚡️ Performance

  • logger performance optimization (#219) (@谷溪)

✨ Features

v0.11.0 (2021-12-27)

♻️ Code Refactoring

  • observability: avoid panics caused by missing labels (#213) (@谷溪)

✨ Features

v0.10.4 (2021-11-18)

🐛 Bug Fixes

  • clihttp: log errors (#212) (@谷溪)
  • logging: inconsistency between go kit Logger and spanLogger (#211) (@谷溪)

v0.10.3 (2021-10-28)

🐛 Bug Fixes

  • use "tag" as the key to identify logs (@Reasno)
  • spanlogger should support log.Valuer (#209) (@谷溪)
  • clihttp: add the missing Providers function (#210) (@谷溪)

v0.10.2 (2021-10-21)

🐛 Bug Fixes

  • logging: nil pointer (#205) (@谷溪)
  • serve: signal group couldn't be canceled (#208) (@谷溪)
  • srvhttp: RequestDurationSeconds shouldn't panic when missing labels (#207) (@谷溪)

v0.10.1 (2021-09-30)

🐛 Bug Fixes

v0.10.0 (2021-09-27)

♻️ Code Refactoring

✨ Features

🐛 Bug Fixes

  • config: watch etcd from last revision (#199) (@谷溪)

BREAKING CHANGE

reload used to be enabled by default

  • refactor: add WithReload to otetcd

  • refactor: add WithReload to otkafka

  • refactor: add WithReload to ots3

  • refactor: add WithReload to otgorm

  • refactor: add WithReload to otkafka

  • refactor: add WithReload to otmongo

  • fix: tests in otkafka

  • fix: tests in otmongo

  • fix: tests in otredis

  • fix: tests in otredis

v0.9.2 (2021-09-15)

🐛 Bug Fixes

  • panic when signal sent twice (#193) (@谷溪)
  • golangci-lint complaint (@Reasno)
  • don't close connection right away after reload (@Reasno)

v0.9.1 (2021-09-13)

♻️ Code Refactoring

🐛 Bug Fixes

v0.9.0 (2021-09-10)

♻️ Code Refactoring

  • change collector mechanism (#189) (@谷溪)
  • remove dtx and rename to core-dtx (#181) (@Trock)
  • make config and log easier to use and extend (#177) (@谷溪)
  • container: remove ifilter dependency. (#183) (@谷溪)

✨ Features

  • expand the API of SyncDispatcher (#191) (@谷溪)
  • introduce provider options (#190) (@谷溪)
  • add ctxmeta package (#188) (@谷溪)
  • make metrics struct type safe (#185) (@谷溪)
  • clihttp: limit max length a client can read from body (#186) (@Trock)

🐛 Bug Fixes

  • remove unused factoryOut (@Reasno)
  • rename ThreeStats to AggStats (#184) (@Trock)
  • container: shutdown the modules in the reversed order of registr… (#187) (@谷溪)

v0.8.0 (2021-08-17)

♻️ Code Refactoring

  • rename package remote to package etcd (#175) (@谷溪)
  • move and rename (#170) (@谷溪)
  • change event system (#165) (@谷溪)
  • move otkafka/processor out of core, rename to core-processor as another package (#156) (@Trock)

✨ Features

  • config.Duration implement TextMarshaller (close #164) (#166) (@Trock)
  • add codec package (#161) (@谷溪)
  • config: add Validators to ExportedConfigs and "config verify" command. (#154) (@谷溪)

🐛 Bug Fixes

  • clarify env usage (#174) (@谷溪)
  • optimize di output (#171) (@谷溪)
  • when elasticsearch server is not up, the elasticsearch client should be constructed normally. (#167) (@谷溪)
  • golangci-lint run (@Reasno)
  • fix remote test (close #160) (#162) (@Trock)
  • core: remove WithRemote (@reasno)

BREAKING CHANGE

package remote no longer exists.

WithRemote option removed.

the event interface is changed. queue package is removed.

v0.7.3 (2021-07-19)

🐛 Bug Fixes

v0.7.2 (2021-07-13)

🐛 Bug Fixes

  • config.Duration support int for yaml (#149) (@Trock)
  • generic metrics should not have a namespace (#148) (@Trock)

v0.7.1 (2021-07-02)

🐛 Bug Fixes

  • provide the correct env value (#146) (@Trock)
  • clihttp: fix context passing in http client (#147) (@谷溪)

v0.7.0 (2021-06-11)

✨ Features

🐛 Bug Fixes

  • Incorrect loading of the pprof.Index (#145) (@Trock)
  • tests: allow test to pass when no env is provided. (#141) (@谷溪)

v0.6.1 (2021-05-25)

🐛 Bug Fixes

v0.6.0 (2021-05-19)

✨ Features

v0.5.0 (2021-04-29)

✨ Features

🐛 Bug Fixes

v0.4.2 (2021-04-06)

♻️ Code Refactoring

🐛 Bug Fixes

  • config.Duration Unmarshal with koanf (#114) (#115) (@Trock)
  • otetcd: change configuration to use config.Duration type. (#112) (@谷溪)
  • sagas: change configuration to use config.Duration type. (#111) (@谷溪)

BREAKING CHANGE

the new sagas configuration is not backward compatible.

  • doc: unified tag format

the new otetcd configuration is not backward compatible.

v0.4.1 (2021-03-25)

🐛 Bug Fixes

v0.4.0 (2021-03-18)

✨ Features

🐛 Bug Fixes

  • logging logfmt use sync-logger (#102) (@Trock)

v0.4.0-alpha.2 (2021-03-17)

✨ Features

  • add CronLogAdapter #88 (#96) (@Trock)
  • add a configuration entry to disable servers. (#93) (@谷溪)
  • add server events (#86) (@谷溪)
  • otes: allow users to specify extra options (#97) (@谷溪)

🐛 Bug Fixes

  • change default_config redis DB to db (#95) (@Trock)
  • s3 config was not exported correctly (#89) (@谷溪)
  • correctly export CorrelationID field (#87) (@谷溪)

v0.4.0-alpha.1 (2021-03-13)

♻️ Code Refactoring

  • config/env refactor (#81) (@Trock)
  • move go kit and gin related package to seperate repo (#74) (@谷溪)

✨ Features

🐛 Bug Fixes

  • don't panic when the database connection cannot be established at start up. (#77) (@谷溪)
  • fix example misspell (#72) (@另维64)
  • ginmw: use c.FullPath() to calculate route matched (#70) (@谷溪)

v0.3.0 (2021-03-10)

♻️ Code Refactoring

✨ Features

🐛 Bug Fixes

  • ots3: investigate race condition (#62) (@谷溪)
  • ots3: missing trace in ots3 (@Reasno)

Pull Requests

  • Merge pull request #58 from DoNewsCode/Reasno-patch-1

v0.2.0 (2021-03-02)

✨ Features

  • leader: add leader election package. (#56) (@谷溪)