From cfa1879967c035e70eb8359dc7dde5be575d7488 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Wed, 5 Feb 2020 15:16:06 +0100 Subject: [PATCH 1/2] v2.0.0 --- .../2.0.1_2020-02-05/add-module-version-to-module-path.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/2.0.1_2020-02-05/add-module-version-to-module-path.md diff --git a/changelog/2.0.1_2020-02-05/add-module-version-to-module-path.md b/changelog/2.0.1_2020-02-05/add-module-version-to-module-path.md new file mode 100644 index 000000000..83122a91d --- /dev/null +++ b/changelog/2.0.1_2020-02-05/add-module-version-to-module-path.md @@ -0,0 +1,6 @@ +Bugfix: Fix Module Path + +The module version must be in the path. See https://github.com/golang/go/wiki/Modules#semantic-import-versioning for more information. +> If the module is version v2 or higher, the major version of the module must be included as a /vN at the end of the module paths used in go.mod files (e.g., module github.com/my/mod/v2, require github.com/my/mod/v2 v2.0.1) and in the package import path (e.g., import "github.com/my/mod/v2/mypkg"). This includes the paths used in go get commands (e.g., go get github.com/my/mod/v2@v2.0.1. Note there is both a /v2 and a @v2.0.1 in that example. One way to think about it is that the module name now includes the /v2, so include /v2 whenever you are using the module name). + +https://github.com/owncloud/ocis-pkg/pull/25 From 1109a4a9bde7e5e30498329c4ed65140081718b3 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Wed, 5 Feb 2020 15:19:35 +0100 Subject: [PATCH 2/2] rename... --- .../add-module-version-to-module-path.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog/{2.0.1_2020-02-05 => 2.0.0_2020-02-05}/add-module-version-to-module-path.md (100%) diff --git a/changelog/2.0.1_2020-02-05/add-module-version-to-module-path.md b/changelog/2.0.0_2020-02-05/add-module-version-to-module-path.md similarity index 100% rename from changelog/2.0.1_2020-02-05/add-module-version-to-module-path.md rename to changelog/2.0.0_2020-02-05/add-module-version-to-module-path.md