v0.13.0-beta3 (2022-07-26)
v0.13.0-beta2 (2022-07-19)
v0.13.0-beta1 (2022-05-19)
v0.12.3 (2022-03-23)
v0.12.2 (2022-03-17)
v0.12.1 (2022-02-09)
v0.12.0 (2022-01-20)
- add module field injection (#234) (@谷溪)
- dag: add dag package. (#222) (@谷溪)
- logging: add WithBaggage (#225) (@谷溪)
- observability: capture transport status (#224) (@谷溪)
- 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) (@谷溪)
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)
v0.11.0 (2021-12-27)
v0.10.4 (2021-11-18)
- clihttp: log errors (#212) (@谷溪)
- logging: inconsistency between go kit Logger and spanLogger (#211) (@谷溪)
v0.10.3 (2021-10-28)
- 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)
- 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)
- lint error (#204) (@Trock)
- metrics default interval (#203) (@Trock)
- logging: nil pointer (@Reasno)
- logging: nil pointer (@Reasno)
v0.10.0 (2021-09-27)
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)
- 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)
- reduce clustering (@Reasno)
v0.9.0 (2021-09-10)
- 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) (@谷溪)
- 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)
- 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)
- 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)
- config.Duration implement TextMarshaller (close #164) (#166) (@Trock)
- add codec package (#161) (@谷溪)
- config: add Validators to ExportedConfigs and "config verify" command. (#154) (@谷溪)
- 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)
package remote no longer exists.
WithRemote option removed.
the event interface is changed. queue package is removed.
v0.7.3 (2021-07-19)
v0.7.2 (2021-07-13)
- config.Duration support int for yaml (#149) (@Trock)
- generic metrics should not have a namespace (#148) (@Trock)
v0.7.1 (2021-07-02)
- provide the correct env value (#146) (@Trock)
- clihttp: fix context passing in http client (#147) (@谷溪)
v0.7.0 (2021-06-11)
- Serve run (#137) (@Trock)
- Add more gorm-driver (#138) (@Trock)
- config: support configuration ReloadedEvent (#142) (@谷溪)
- di: support config reloading at factory level (#143) (@谷溪)
- 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)
v0.6.0 (2021-05-19)
- add otkafka processor (#134) (@Trock)
- Add kafka metrics (#130) (@Trock)
- cluster address in env (close #131) (#133) (@Trock)
v0.5.0 (2021-04-29)
- Add redis connection metrics (close #127) (#128) (@Trock)
- add mysql connection metrics (#118) (@谷溪)
- unierr: allow nil errors (close #125) (#126) (@Trock)
- cases (@谷溪)
v0.4.2 (2021-04-06)
- 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) (@谷溪)
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)
v0.4.0 (2021-03-18)
v0.4.0-alpha.2 (2021-03-17)
- 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) (@谷溪)
- 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)
- 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)
- Merge pull request #58 from DoNewsCode/Reasno-patch-1