From 46048733fda9b6607759e438b4cacb1818093882 Mon Sep 17 00:00:00 2001 From: shtrikulis Date: Thu, 7 Oct 2021 14:52:21 +0300 Subject: [PATCH] Prepare release 2.2.0 --- .chglog/config.yml | 13 +- CHANGELOG..v2.1.5.md | 116 ++++++++++++++++++ CHANGELOG.md | 278 +++++++++++++++++++++++++------------------ main.mk | 2 +- 4 files changed, 290 insertions(+), 119 deletions(-) create mode 100644 CHANGELOG..v2.1.5.md diff --git a/.chglog/config.yml b/.chglog/config.yml index fb68b7d..afcc9d7 100755 --- a/.chglog/config.yml +++ b/.chglog/config.yml @@ -13,24 +13,31 @@ options: - added - add - refactor + - feat + - chore + - deprecated commit_groups: sort_by: Title title_maps: fix: Bug Fixes fixed: Bug Fixes Fix: Bug Fixes + chore: Chores + refactor: Chores + deprecated: Deprecations added: Features add: Features + feat: Features # feat: Features # fix: Bug Fixes # perf: Performance Improvements - refactor: Code Refactoring header: - pattern: "^((\\w+)\\s.*)$" + pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" pattern_maps: - - Subject - Type + - Scope + - Subject notes: keywords: - BREAKING CHANGE diff --git a/CHANGELOG..v2.1.5.md b/CHANGELOG..v2.1.5.md new file mode 100644 index 0000000..411627c --- /dev/null +++ b/CHANGELOG..v2.1.5.md @@ -0,0 +1,116 @@ +# Change Log + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). + +## [Unreleased] + + +## [2.1.5] - 2021-04-01 +- Removed `app.dc` field from logs + +## [2.1.4] - 2021-02-21 +- provider registration refactoring +- Deprecate app.NoWait() +- Deprecate server.NoWait() +- Deprecate app.NoDefaultProviders() +- Deprecate server.NoDefaultProviders() + +## [2.1.3] - 2021-01-21 +- Fixed server mode startup + +## [2.1.0] - 2021-01-18 + +- Removed deprecations from 2.0.X +- Finalized new project generator with `lego new name` +- Runtime moved to its own package - app +- Fixes and improvements + +## [2.0.10] - 2021-01-12 + +- Fixes + +## [2.0.9] - 2021-01-09 + +- Fixes + +## [2.0.8] - 2021-01-09 + +- Added root `cobra.Command` in container +- Added `server.CommandMode()` option for run commands +- Fixed flag resolving with `cobra.Command` +- Removed package `inject` + +## [2.0.7] - 2021-01-09 + +- MultiLog: + - Added `LocalMode` (colored human console) and `DebugMode` (trace log level) to `config.Application` + - Application name in log fields + - By default, console log enabled (added `SilentMode` in `multilog.Config` to turn it off) +- Runner: + - All builtin providers are public + - Added startup options: + - `server.NoDefaultProviders()` - turn off all default providers and configurations + - `server.LocalDebug()` - turn on colored console logging and trace level +- Other: + - `mysql.Provide` now returns `driver.Connector` (and added `mysql.ProvideConnector` for manual registering) + - `sql.Provide` now accepting `driver.Connector` +- Deprecated: + - `server.NoWaitOption()` -> `server.NoWait()` + - `server.EnvPathOption(path)` -> `server.EnvPath(path)` + - `server.ConfigOption(cfg)` -> `server.WithConfig(cfg)` + - Field `MySQL` in `sql.Args` structure + +## [2.0.6] - 2020-11-12 + +## [2.0.5] - 2020-11-12 + +## [2.0.4] - 2020-11-12 + +## [2.0.3] - 2020-11-12 + +## [2.0.2] - 2020-11-11 + +## [2.0.1] - 2020-11-06 + +## [2.0.0] - 2020-11-06 + +## [1.0.2] - 2020-10-29 + +## [1.0.1] - 2020-10-29 + +## 1.0.0 - 2020-09-28 + +[Unreleased]: https://github.com/vseinstrumentiru/lego/compare/v2.1.5...HEAD +[2.1.5]: https://github.com/vseinstrumentiru/lego/compare/v2.1.4...v2.1.5 +[2.1.4]: https://github.com/vseinstrumentiru/lego/compare/v2.1.3...v2.1.4 +[2.1.3]: https://github.com/vseinstrumentiru/lego/compare/v2.1.0...v2.1.3 +[2.1.0]: https://github.com/vseinstrumentiru/lego/compare/v2.0.10...v2.1.0 + +[2.0.10]: https://github.com/vseinstrumentiru/lego/compare/v2.0.8.1...v2.0.10 + +[2.0.9]: https://github.com/vseinstrumentiru/lego/compare/v2.0.8...v2.0.9 + +[2.0.8]: https://github.com/vseinstrumentiru/lego/compare/v2.0.7...v2.0.8 + +[2.0.7]: https://github.com/vseinstrumentiru/lego/compare/v2.0.6...v2.0.7 + +[2.0.6]: https://github.com/vseinstrumentiru/lego/compare/v2.0.5...v2.0.6 + +[2.0.5]: https://github.com/vseinstrumentiru/lego/compare/v2.0.4...v2.0.5 + +[2.0.4]: https://github.com/vseinstrumentiru/lego/compare/v2.0.3...v2.0.4 + +[2.0.3]: https://github.com/vseinstrumentiru/lego/compare/v2.0.2...v2.0.3 + +[2.0.2]: https://github.com/vseinstrumentiru/lego/compare/v2.0.1...v2.0.2 + +[2.0.1]: https://github.com/vseinstrumentiru/lego/compare/v2.0.0...v2.0.1 + +[2.0.0]: https://github.com/vseinstrumentiru/lego/compare/v1.0.2...v2.0.0 + +[1.0.2]: https://github.com/vseinstrumentiru/lego/compare/v1.0.1...v1.0.2 + +[1.0.1]: https://github.com/vseinstrumentiru/lego/compare/v1.0.0...v1.0.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 411627c..ea509d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,116 +1,164 @@ -# Change Log - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - + ## [Unreleased] - - -## [2.1.5] - 2021-04-01 -- Removed `app.dc` field from logs - -## [2.1.4] - 2021-02-21 -- provider registration refactoring -- Deprecate app.NoWait() -- Deprecate server.NoWait() -- Deprecate app.NoDefaultProviders() -- Deprecate server.NoDefaultProviders() - -## [2.1.3] - 2021-01-21 -- Fixed server mode startup - -## [2.1.0] - 2021-01-18 - -- Removed deprecations from 2.0.X -- Finalized new project generator with `lego new name` -- Runtime moved to its own package - app -- Fixes and improvements - -## [2.0.10] - 2021-01-12 - -- Fixes - -## [2.0.9] - 2021-01-09 - -- Fixes - -## [2.0.8] - 2021-01-09 - -- Added root `cobra.Command` in container -- Added `server.CommandMode()` option for run commands -- Fixed flag resolving with `cobra.Command` -- Removed package `inject` - -## [2.0.7] - 2021-01-09 - -- MultiLog: - - Added `LocalMode` (colored human console) and `DebugMode` (trace log level) to `config.Application` - - Application name in log fields - - By default, console log enabled (added `SilentMode` in `multilog.Config` to turn it off) -- Runner: - - All builtin providers are public - - Added startup options: - - `server.NoDefaultProviders()` - turn off all default providers and configurations - - `server.LocalDebug()` - turn on colored console logging and trace level -- Other: - - `mysql.Provide` now returns `driver.Connector` (and added `mysql.ProvideConnector` for manual registering) - - `sql.Provide` now accepting `driver.Connector` -- Deprecated: - - `server.NoWaitOption()` -> `server.NoWait()` - - `server.EnvPathOption(path)` -> `server.EnvPath(path)` - - `server.ConfigOption(cfg)` -> `server.WithConfig(cfg)` - - Field `MySQL` in `sql.Args` structure - -## [2.0.6] - 2020-11-12 - -## [2.0.5] - 2020-11-12 - -## [2.0.4] - 2020-11-12 - -## [2.0.3] - 2020-11-12 - -## [2.0.2] - 2020-11-11 - -## [2.0.1] - 2020-11-06 - -## [2.0.0] - 2020-11-06 - -## [1.0.2] - 2020-10-29 - -## [1.0.1] - 2020-10-29 - -## 1.0.0 - 2020-09-28 - -[Unreleased]: https://github.com/vseinstrumentiru/lego/compare/v2.1.5...HEAD -[2.1.5]: https://github.com/vseinstrumentiru/lego/compare/v2.1.4...v2.1.5 -[2.1.4]: https://github.com/vseinstrumentiru/lego/compare/v2.1.3...v2.1.4 -[2.1.3]: https://github.com/vseinstrumentiru/lego/compare/v2.1.0...v2.1.3 -[2.1.0]: https://github.com/vseinstrumentiru/lego/compare/v2.0.10...v2.1.0 - -[2.0.10]: https://github.com/vseinstrumentiru/lego/compare/v2.0.8.1...v2.0.10 - -[2.0.9]: https://github.com/vseinstrumentiru/lego/compare/v2.0.8...v2.0.9 - -[2.0.8]: https://github.com/vseinstrumentiru/lego/compare/v2.0.7...v2.0.8 - -[2.0.7]: https://github.com/vseinstrumentiru/lego/compare/v2.0.6...v2.0.7 - -[2.0.6]: https://github.com/vseinstrumentiru/lego/compare/v2.0.5...v2.0.6 - -[2.0.5]: https://github.com/vseinstrumentiru/lego/compare/v2.0.4...v2.0.5 - -[2.0.4]: https://github.com/vseinstrumentiru/lego/compare/v2.0.3...v2.0.4 - -[2.0.3]: https://github.com/vseinstrumentiru/lego/compare/v2.0.2...v2.0.3 - -[2.0.2]: https://github.com/vseinstrumentiru/lego/compare/v2.0.1...v2.0.2 - -[2.0.1]: https://github.com/vseinstrumentiru/lego/compare/v2.0.0...v2.0.1 - -[2.0.0]: https://github.com/vseinstrumentiru/lego/compare/v1.0.2...v2.0.0 - -[1.0.2]: https://github.com/vseinstrumentiru/lego/compare/v1.0.1...v1.0.2 - -[1.0.1]: https://github.com/vseinstrumentiru/lego/compare/v1.0.0...v1.0.1 + +## [v2.2.0] - 2021-10-07 +### Bug Fixes +- [6348d2a] Lint timeout +- [ddff28f] wrong flag config in http/monitoring servers +- [deae4ae] file provider args DI +- [cea86ac] Lint errors +- [392353d] Build without packr +- [f2c2418] **log:** Transform ZeroLog levels to Logur +- [a97d89b] **postgres:** optional newrelic +### Chores +- [0b63b5b] **deps:** bump old deps +- [f2f1e7a] **core:** Bump to Go 1.16; Code generation; Linters +- [daf8628] **log:** handlers cosmetics +- [e4398e3] **log:** Multilog renamed to log +### Deprecations +- [339222c] **multilog:** Use log package instead +- [16fbed0] **multilog:** Log handler renamed to console. +### Features +- [6b4e569] bump uber/dig to 1.12 +- [3ef8288] **log:** Log to file with file rotations +### Pull Requests +- Merge pull request [#5](https://github.com/vseinstrumentiru/lego/issues/5) from vseinstrumentiru/dependabot/go_modules/github.com/cloudflare/tableflip-1.2.1 +- Merge pull request [#4](https://github.com/vseinstrumentiru/lego/issues/4) from vseinstrumentiru/PostgresNewrelicInstrumenting +- Merge pull request [#3](https://github.com/vseinstrumentiru/lego/issues/3) from vseinstrumentiru/MongoProvider +- Merge pull request [#2](https://github.com/vseinstrumentiru/lego/issues/2) from sn5ake6/patch-1 + + +## [v2.1.5] - 2021-04-01 + + +## [v2.1.4] - 2021-02-21 + + +## [v2.1.3] - 2021-01-21 + + +## [v2.1.0] - 2021-01-18 + + +## [v2.1.1] - 2021-01-18 + + +## [v2.1.2] - 2021-01-18 + + +## [v2.0.10] - 2021-01-12 + + +## [v2.0.9] - 2021-01-09 + + +## [v2.0.8.1] - 2021-01-09 + + +## [v2.0.8] - 2021-01-09 + + +## [v2.0.7] - 2021-01-09 + + +## [v2.0.6] - 2020-11-12 + + +## [v2.0.5] - 2020-11-12 + + +## [v2.0.4] - 2020-11-12 + + +## [v2.0.3] - 2020-11-12 + + +## [v2.0.2] - 2020-11-11 + + +## [v2.0.1] - 2020-11-06 + + +## [v2.0.0] - 2020-11-06 + + +## [v1.0.2] - 2020-10-29 + + +## [v1.0.1] - 2020-10-29 +### Pull Requests +- Merge pull request [#1](https://github.com/vseinstrumentiru/lego/issues/1) from vseinstrumentiru/NewRelicAppName + + +## [v2.0.0-rc.3] - 2020-10-26 + + +## [v2.0.0-rc.2] - 2020-10-26 + + +## [v2.0.0-rc.1] - 2020-10-26 +### Bug Fixes +- [5f7ce52] cycling dependencies +- [bc8305f] event providers +- [9b8a7ab] message router +- [1a2440f] log depth +- [ec6e5b6] container: pointer kind resolver +- [ca706cd] container: pointer kind resolver +- [973e991] container: pointer kind resolver +- [be1b54b] container: pointer kind resolver +- [7b12d7f] multilog: caller depth + + +## v1.0.0 - 2020-09-28 +### Pull Requests +- Merge pull request [#1](https://github.com/vseinstrumentiru/lego/issues/1) from vseinstrumentiru/NewRelicAppName + +[Unreleased]: https://github.com/vseinstrumentiru/lego/compare/v2.2.0...HEAD +[v2.2.0]: https://github.com/vseinstrumentiru/lego/compare/v2.1.5...v2.2.0 +[6348d2a]: https://github.com/vseinstrumentiru/lego/commit/6348d2acb7d7052267094b5d99bfc8670fbe74a7 +[ddff28f]: https://github.com/vseinstrumentiru/lego/commit/ddff28f94353b5074777767728bce3769400d106 +[deae4ae]: https://github.com/vseinstrumentiru/lego/commit/deae4ae564fef9c368c7462cf95cbae685ca94f2 +[cea86ac]: https://github.com/vseinstrumentiru/lego/commit/cea86ac630f1ed8d4afd4e2eab07dddb533e244a +[392353d]: https://github.com/vseinstrumentiru/lego/commit/392353d3178859257895da62c1a0c6213549fb6f +[f2c2418]: https://github.com/vseinstrumentiru/lego/commit/f2c241838addba5b657dd56343d5659ff0a7b73b +[a97d89b]: https://github.com/vseinstrumentiru/lego/commit/a97d89bbb4a41227d1206378a86e52b6abbdcf6e +[0b63b5b]: https://github.com/vseinstrumentiru/lego/commit/0b63b5ba268b4f2cc661d64ae06711a5408aa2ca +[f2f1e7a]: https://github.com/vseinstrumentiru/lego/commit/f2f1e7aa59e47a285e677aeb0a6ca47122f00172 +[daf8628]: https://github.com/vseinstrumentiru/lego/commit/daf862876a4e2b9a89138a8da44fc5e780164e3c +[e4398e3]: https://github.com/vseinstrumentiru/lego/commit/e4398e3e770ac92208a71c57853b2709e6a4a645 +[339222c]: https://github.com/vseinstrumentiru/lego/commit/339222cc10cad31d8cd2c41e701d300294c724e0 +[16fbed0]: https://github.com/vseinstrumentiru/lego/commit/16fbed06a20fbdf80f6e3e8645aa97ed2e526e2f +[6b4e569]: https://github.com/vseinstrumentiru/lego/commit/6b4e5694b6dce50844119545eaec8c2eaf48d595 +[3ef8288]: https://github.com/vseinstrumentiru/lego/commit/3ef82880863b558617288dbe6050896232c706a2 +[v2.1.5]: https://github.com/vseinstrumentiru/lego/compare/v2.1.4...v2.1.5 +[v2.1.4]: https://github.com/vseinstrumentiru/lego/compare/v2.1.3...v2.1.4 +[v2.1.3]: https://github.com/vseinstrumentiru/lego/compare/v2.1.0...v2.1.3 +[v2.1.0]: https://github.com/vseinstrumentiru/lego/compare/v2.1.1...v2.1.0 +[v2.1.1]: https://github.com/vseinstrumentiru/lego/compare/v2.1.2...v2.1.1 +[v2.1.2]: https://github.com/vseinstrumentiru/lego/compare/v2.0.10...v2.1.2 +[v2.0.10]: https://github.com/vseinstrumentiru/lego/compare/v2.0.9...v2.0.10 +[v2.0.9]: https://github.com/vseinstrumentiru/lego/compare/v2.0.8.1...v2.0.9 +[v2.0.8.1]: https://github.com/vseinstrumentiru/lego/compare/v2.0.8...v2.0.8.1 +[v2.0.8]: https://github.com/vseinstrumentiru/lego/compare/v2.0.7...v2.0.8 +[v2.0.7]: https://github.com/vseinstrumentiru/lego/compare/v2.0.6...v2.0.7 +[v2.0.6]: https://github.com/vseinstrumentiru/lego/compare/v2.0.5...v2.0.6 +[v2.0.5]: https://github.com/vseinstrumentiru/lego/compare/v2.0.4...v2.0.5 +[v2.0.4]: https://github.com/vseinstrumentiru/lego/compare/v2.0.3...v2.0.4 +[v2.0.3]: https://github.com/vseinstrumentiru/lego/compare/v2.0.2...v2.0.3 +[v2.0.2]: https://github.com/vseinstrumentiru/lego/compare/v2.0.1...v2.0.2 +[v2.0.1]: https://github.com/vseinstrumentiru/lego/compare/v2.0.0...v2.0.1 +[v2.0.0]: https://github.com/vseinstrumentiru/lego/compare/v1.0.2...v2.0.0 +[v1.0.2]: https://github.com/vseinstrumentiru/lego/compare/v1.0.1...v1.0.2 +[v1.0.1]: https://github.com/vseinstrumentiru/lego/compare/v2.0.0-rc.3...v1.0.1 +[v2.0.0-rc.3]: https://github.com/vseinstrumentiru/lego/compare/v2.0.0-rc.2...v2.0.0-rc.3 +[v2.0.0-rc.2]: https://github.com/vseinstrumentiru/lego/compare/v2.0.0-rc.1...v2.0.0-rc.2 +[v2.0.0-rc.1]: https://github.com/vseinstrumentiru/lego/compare/v1.0.0...v2.0.0-rc.1 +[5f7ce52]: https://github.com/vseinstrumentiru/lego/commit/5f7ce5276bc76283186be7ba3a156922a9b3c63c +[bc8305f]: https://github.com/vseinstrumentiru/lego/commit/bc8305f1a61768e5c2f3f52b2e3502ab7b870aca +[9b8a7ab]: https://github.com/vseinstrumentiru/lego/commit/9b8a7ab27f7fab37fd3893873f66e954dd5914fe +[1a2440f]: https://github.com/vseinstrumentiru/lego/commit/1a2440f19cad7c7bce856a927d1e0ead5f2ebaec +[ec6e5b6]: https://github.com/vseinstrumentiru/lego/commit/ec6e5b6bd4588c3358c0ba1e3da9ba35176f0c58 +[ca706cd]: https://github.com/vseinstrumentiru/lego/commit/ca706cd2bf5c40219b912c81bf31213ee2102fb2 +[973e991]: https://github.com/vseinstrumentiru/lego/commit/973e991707370fc37f89e3f190eeea4d220b342f +[be1b54b]: https://github.com/vseinstrumentiru/lego/commit/be1b54b01be64f89fd29a8ae8fcb030f1c532e0f +[7b12d7f]: https://github.com/vseinstrumentiru/lego/commit/7b12d7f033930128d54686a4dcc287233b732ee0 diff --git a/main.mk b/main.mk index 3b2b693..edf321a 100644 --- a/main.mk +++ b/main.mk @@ -154,7 +154,7 @@ lint: bin/golangci-lint ## Run linter fix: bin/golangci-lint ## Fix lint violations bin/golangci-lint run --fix -CHGLOG_VERSION = 0.14.2 +CHGLOG_VERSION = 0.15.0 bin/chglog-${CHGLOG_VERSION}: @mkdir -p bin curl -L https://github.com/git-chglog/git-chglog/releases/download/v${CHGLOG_VERSION}/git-chglog_${CHGLOG_VERSION}_${OS}_amd64.tar.gz | tar -zOxf - git-chglog > ./bin/chglog-${CHGLOG_VERSION} && chmod +x ./bin/chglog-${CHGLOG_VERSION}