From cc9c2d1c6e3b2f2387de9b5cc16bebe2009cd8ff Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Wed, 11 Mar 2020 08:52:23 +0000 Subject: [PATCH] Automated changelog update [skip ci] --- CHANGELOG.md | 113 ++++++++++++++++++++++++++++++++------------------- go.mod | 1 + go.sum | 21 ++++++++++ 3 files changed, 94 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 251d58e49..a606c1646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,33 +1,54 @@ -# Changelog for 2.0.2 +# Changelog for [unreleased] (UNRELEASED) -The following sections list the changes for 2.0.2. +The following sections list the changes in ocis-pkg unreleased. + +[unreleased]: https://github.com/owncloud/ocis-pkg/compare/v2.0.2...master ## Summary - * Enh #33: Allow http services to register handlers +* Enhancement - Tracing middleware: [#35](https://github.com/owncloud/ocis-pkg/pull/35/) ## Details - * Enhancement #33: Allow http services to register handlers +* Enhancement - Tracing middleware: [#35](https://github.com/owncloud/ocis-pkg/pull/35/) + + A new tracing middleware has been added to unpack context propagation + + https://github.com/owncloud/ocis-pkg/pull/35/ + +# Changelog for [2.0.2] (2020-03-04) + +The following sections list the changes in ocis-pkg 2.0.2. + +[2.0.2]: https://github.com/owncloud/ocis-pkg/compare/v2.0.0...v2.0.2 + +## Summary + +* Enhancement - Allow http services to register handlers: [#33](https://github.com/owncloud/ocis-pkg/pull/33) + +## Details + +* Enhancement - Allow http services to register handlers: [#33](https://github.com/owncloud/ocis-pkg/pull/33) Added a handler option on http services https://github.com/owncloud/ocis-pkg/pull/33 +# Changelog for [2.0.0] (2020-02-05) -# Changelog for 2.0.0 +The following sections list the changes in ocis-pkg 2.0.0. -The following sections list the changes for 2.0.0. +[2.0.0]: https://github.com/owncloud/ocis-pkg/compare/v2.0.0...v2.0.0 ## Summary - * Fix #25: Fix Module Path - * Fix #27: Change import paths to ocis-pkg/v2 - * Chg #22: Upgrade the micro libraries +* Bugfix - Fix Module Path: [#25](https://github.com/owncloud/ocis-pkg/pull/25) +* Bugfix - Change import paths to ocis-pkg/v2: [#27](https://github.com/owncloud/ocis-pkg/pull/27) +* Change - Upgrade the micro libraries: [#22](https://github.com/owncloud/ocis-pkg/pull/22) ## Details - * Bugfix #25: Fix Module Path +* Bugfix - Fix Module Path: [#25](https://github.com/owncloud/ocis-pkg/pull/25) The module version must be in the path. See https://github.com/golang/go/wiki/Modules#semantic-import-versioning for more @@ -41,32 +62,35 @@ The following sections list the changes for 2.0.0. https://github.com/owncloud/ocis-pkg/pull/25 - * Bugfix #27: Change import paths to ocis-pkg/v2 + +* Bugfix - Change import paths to ocis-pkg/v2: [#27](https://github.com/owncloud/ocis-pkg/pull/27) Changed the import paths to the current version https://github.com/owncloud/ocis-pkg/pull/27 - * Change #22: Upgrade the micro libraries + +* Change - Upgrade the micro libraries: [#22](https://github.com/owncloud/ocis-pkg/pull/22) Upgraded the go-micro libraries to v2. https://github.com/owncloud/ocis-pkg/pull/22 +# Changelog for [2.0.0] (2020-02-04) -# Changelog for 2.0.0 +The following sections list the changes in ocis-pkg 2.0.0. -The following sections list the changes for 2.0.0. +[2.0.0]: https://github.com/owncloud/ocis-pkg/compare/v1.3.0...v2.0.0 ## Summary - * Fix #25: Fix Module Path - * Fix #27: Change import paths to ocis-pkg/v2 - * Chg #22: Upgrade the micro libraries +* Bugfix - Fix Module Path: [#25](https://github.com/owncloud/ocis-pkg/pull/25) +* Bugfix - Change import paths to ocis-pkg/v2: [#27](https://github.com/owncloud/ocis-pkg/pull/27) +* Change - Upgrade the micro libraries: [#22](https://github.com/owncloud/ocis-pkg/pull/22) ## Details - * Bugfix #25: Fix Module Path +* Bugfix - Fix Module Path: [#25](https://github.com/owncloud/ocis-pkg/pull/25) The module version must be in the path. See https://github.com/golang/go/wiki/Modules#semantic-import-versioning for more @@ -80,32 +104,35 @@ The following sections list the changes for 2.0.0. https://github.com/owncloud/ocis-pkg/pull/25 - * Bugfix #27: Change import paths to ocis-pkg/v2 + +* Bugfix - Change import paths to ocis-pkg/v2: [#27](https://github.com/owncloud/ocis-pkg/pull/27) Changed the import paths to the current version https://github.com/owncloud/ocis-pkg/pull/27 - * Change #22: Upgrade the micro libraries + +* Change - Upgrade the micro libraries: [#22](https://github.com/owncloud/ocis-pkg/pull/22) Upgraded the go-micro libraries to v2. https://github.com/owncloud/ocis-pkg/pull/22 +# Changelog for [1.3.0] (2020-01-20) -# Changelog for 1.3.0 +The following sections list the changes in ocis-pkg 1.3.0. -The following sections list the changes for 1.3.0. +[1.3.0]: https://github.com/owncloud/ocis-pkg/compare/v1.2.0...v1.3.0 ## Summary - * Fix #14: Fix serving static assets - * Chg #19: Add TLS support for http services - * Enh #8: Introduce OpenID Connect middleware +* Bugfix - Fix serving static assets: [#14](https://github.com/owncloud/ocis-pkg/pull/14) +* Change - Add TLS support for http services: [#19](https://github.com/owncloud/ocis-pkg/issues/19) +* Enhancement - Introduce OpenID Connect middleware: [#8](https://github.com/owncloud/ocis-pkg/issues/8) ## Details - * Bugfix #14: Fix serving static assets +* Bugfix - Fix serving static assets: [#14](https://github.com/owncloud/ocis-pkg/pull/14) Ocis-hello used "/" as root. adding another / caused the static middleware to always fail stripping that prefix. All requests will return 404. Setting root to `""` in the `ocis-hello` @@ -114,7 +141,8 @@ The following sections list the changes for 1.3.0. https://github.com/owncloud/ocis-pkg/pull/14 - * Change #19: Add TLS support for http services + +* Change - Add TLS support for http services: [#19](https://github.com/owncloud/ocis-pkg/issues/19) `ocis-pkg` http services support TLS. The idea behind is setting the issuer on phoenix's `config.json` to `https`. Or in other words, use https to access the Kopano extension, and @@ -122,65 +150,68 @@ The following sections list the changes for 1.3.0. https://github.com/owncloud/ocis-pkg/issues/19 - * Enhancement #8: Introduce OpenID Connect middleware + +* Enhancement - Introduce OpenID Connect middleware: [#8](https://github.com/owncloud/ocis-pkg/issues/8) Added an openid connect middleware that will try to authenticate users using OpenID Connect. The claims will be added to the context of the request. https://github.com/owncloud/ocis-pkg/issues/8 +# Changelog for [1.2.0] (2019-12-09) -# Changelog for 1.2.0 +The following sections list the changes in ocis-pkg 1.2.0. -The following sections list the changes for 1.2.0. +[1.2.0]: https://github.com/owncloud/ocis-pkg/compare/v1.1.0...v1.2.0 ## Summary - * Chg #9: Add root path to static middleware +* Change - Add root path to static middleware: [#9](https://github.com/owncloud/ocis-pkg/issues/9) ## Details - * Change #9: Add root path to static middleware +* Change - Add root path to static middleware: [#9](https://github.com/owncloud/ocis-pkg/issues/9) Currently the `Static` middleware always serves from the root path, but all our HTTP handlers accept a custom root path which also got to be applied to the static file handling. https://github.com/owncloud/ocis-pkg/issues/9 +# Changelog for [1.1.0] (2019-12-06) -# Changelog for 1.1.0 +The following sections list the changes in ocis-pkg 1.1.0. -The following sections list the changes for 1.1.0. +[1.1.0]: https://github.com/owncloud/ocis-pkg/compare/v1.0.0...v1.1.0 ## Summary - * Chg #2: Better log level handling within micro +* Change - Better log level handling within micro: [#2](https://github.com/owncloud/ocis-pkg/issues/2) ## Details - * Change #2: Better log level handling within micro +* Change - Better log level handling within micro: [#2](https://github.com/owncloud/ocis-pkg/issues/2) Currently every log message from the micro internals are logged with the info level, we really need to respect the proper defined log level within our log wrapper package. https://github.com/owncloud/ocis-pkg/issues/2 +# Changelog for [1.0.0] (2019-12-05) -# Changelog for 1.0.0 +The following sections list the changes in ocis-pkg 1.0.0. -The following sections list the changes for 1.0.0. +[1.0.0]: https://github.com/owncloud/ocis-pkg/compare/63fa90a673cbc3238a503ea5e6304f1db7fdf47b...v1.0.0 ## Summary - * Chg #1: Initial release of basic version +* Change - Initial release of basic version: [#1](https://github.com/owncloud/ocis-pkg/issues/1) ## Details - * Change #1: Initial release of basic version +* Change - Initial release of basic version: [#1](https://github.com/owncloud/ocis-pkg/issues/1) Just prepared an initial basic version to have some shared functionality published which can be used by all other ownCloud Infinite Scale extensions. https://github.com/owncloud/ocis-pkg/issues/1 - diff --git a/go.mod b/go.mod index f5e2c489d..060b92e4e 100644 --- a/go.mod +++ b/go.mod @@ -12,6 +12,7 @@ require ( github.com/micro/go-plugins/wrapper/trace/opencensus/v2 v2.0.1 github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect github.com/prometheus/client_golang v1.2.1 + github.com/restic/calens v0.2.0 // indirect github.com/rs/zerolog v1.17.2 github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce go.opencensus.io v0.22.2 diff --git a/go.sum b/go.sum index 4724a12bb..d9406062e 100644 --- a/go.sum +++ b/go.sum @@ -29,6 +29,12 @@ github.com/Azure/go-autorest/tracing v0.1.0/go.mod h1:ROEEAFwXycQw7Sn3DXNtEedEvd github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= +github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver/v3 v3.0.2 h1:tRi7ENs+AaOUCH+j6qwNQgPYfV26dX3JNonq+V4mhqc= +github.com/Masterminds/semver/v3 v3.0.2/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= +github.com/Masterminds/sprig/v3 v3.0.1 h1:RuaOafp+8qOLUPX1lInLfUrLc1MEVbnz7a40RLoixKY= +github.com/Masterminds/sprig/v3 v3.0.1/go.mod h1:Cp7HwZjmqKrC+Y7XqSJOU2yRvAJRGLiohfgz5ZJj8+4= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= @@ -153,6 +159,7 @@ github.com/go-playground/universal-translator v0.16.0/go.mod h1:1AnU7NaIRDWWzGEK github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible/go.mod h1:qf9acutJ8cwBUhm1bqgz6Bei9/C/c93FPDljKWwsOgM= +github.com/go-test/deep v1.0.1/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= @@ -219,8 +226,12 @@ github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uG github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/huandu/xstrings v1.2.0 h1:yPeWdRnmynF7p+lLYz0H2tthW9lqhMJrQV/U7yy4wX0= +github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4= github.com/iij/doapi v0.0.0-20190504054126-0bbf12d6d7df/go.mod h1:QMZY7/J/KSQEhKWFeDesPjMj+wCHReeknARU3wqlyN4= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= +github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.8 h1:CGgOkSJeqMRmt0D9XLWExdT4m4F1vd3FV3VPt+0VxkQ= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= @@ -303,11 +314,15 @@ github.com/miekg/dns v1.1.22 h1:Jm64b3bO9kP43ddLjL2EY3Io6bmy1qGb9Xxz6TqS6rc= github.com/miekg/dns v1.1.22/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.27 h1:aEH/kqUzUxGJ/UHcEKdJY+ugH6WEzsEBBSPa8zuy1aM= github.com/miekg/dns v1.1.27/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= +github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= +github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed/go.mod h1:3rdaFaCv4AyBgu5ALFM0+tSuHrBh6v692nyQe3ikrq0= github.com/mitchellh/hashstructure v1.0.0 h1:ZkRJX1CyOoTkar7p/mLS5TZU4nJ1Rn/F8u9dGS02Q3Y= github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= +github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -394,6 +409,8 @@ github.com/prometheus/procfs v0.0.5 h1:3+auTFlqw+ZaQYJARz6ArODtkaIwtvBTx3N2NehQl github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/rainycape/memcache v0.0.0-20150622160815-1031fa0ce2f2/go.mod h1:7tZKcyumwBO6qip7RNQ5r77yrssm9bfCowcLEBcU5IA= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/restic/calens v0.2.0 h1:LVNAtmFc+Pb4ODX66qdX1T3Di1P0OTLyUsVyvM/xD7E= +github.com/restic/calens v0.2.0/go.mod h1:UXwyAKS4wsgUZGEc7NrzzygJbLsQZIo3wl+62Q1wvmU= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= @@ -415,6 +432,10 @@ github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1 github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=