diff --git a/.chloggen/bump-go-1.20.yaml b/.chloggen/bump-go-1.20.yaml deleted file mode 100644 index 0f42a873..00000000 --- a/.chloggen/bump-go-1.20.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: 'breaking' - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: all - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "bump minimal Go version to 1.20" - -# One or more tracking issues related to the change -issues: [474] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/codeboten_add-ignore-excluded.yaml b/.chloggen/codeboten_add-ignore-excluded.yaml deleted file mode 100755 index a8b7d871..00000000 --- a/.chloggen/codeboten_add-ignore-excluded.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: multimod - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: ignore excluded-modules when using sync to update dependencies - -# One or more tracking issues related to the change -issues: [442] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - This allows users of the sync command to sync all modules in a monorepo, including - those listed in the excluded-modules. This is useful for repositories where some modules - may not yet be ready for releasing (therefore listed under excluded-modules) but their - dependencies still need to be managed via multimod. diff --git a/.chloggen/codeboten_crosslink-skip.yaml b/.chloggen/codeboten_crosslink-skip.yaml deleted file mode 100755 index 40a8afff..00000000 --- a/.chloggen/codeboten_crosslink-skip.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: crosslink - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Add `--skip` flag to ignore specified go modules" - -# One or more tracking issues related to the change -issues: [480] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/codeboten_multimod-add-tag-support.yaml b/.chloggen/codeboten_multimod-add-tag-support.yaml deleted file mode 100755 index 7da803a7..00000000 --- a/.chloggen/codeboten_multimod-add-tag-support.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: multimod - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "add support for `--commit-hash` to allow users to overwrite the tag in a versions.yaml file" - -# One or more tracking issues related to the change -issues: [422] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - This feature allows users to specify a tag (i.e. main) when they want to update - modules. diff --git a/.chloggen/crosslink-fix-windows-backslashes.yaml b/.chloggen/crosslink-fix-windows-backslashes.yaml deleted file mode 100644 index 844ef628..00000000 --- a/.chloggen/crosslink-fix-windows-backslashes.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: crosslink - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Fix Windows produces backslashes instead of slashes - -# One or more tracking issues related to the change -issues: [458] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - This fixes the issue of Windows produces backslashes instead of slashes when crosslinking - dependencies in go.mod files on Windows. diff --git a/.chloggen/custom-changelog-template.yaml b/.chloggen/custom-changelog-template.yaml deleted file mode 100644 index 4ac7e531..00000000 --- a/.chloggen/custom-changelog-template.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: chloggen - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: support a custom changelog summary template - -# One or more tracking issues related to the change -issues: [501] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - The changelog summary template can be customized by configuring a custom template with the `summary_template` configuration setting. - The default template provides a starting point for a custom template: https://github.com/open-telemetry/opentelemetry-go-build-tools/blob/v0.13.0/chloggen/internal/chlog/summary.tmpl diff --git a/.chloggen/dbotconf-fix-windows-backslashes.yaml b/.chloggen/dbotconf-fix-windows-backslashes.yaml deleted file mode 100644 index 57e50967..00000000 --- a/.chloggen/dbotconf-fix-windows-backslashes.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: dbotconf - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Fix Windows produces backslashes instead of slashes - -# One or more tracking issues related to the change -issues: [264] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - This fixes the issue of Windows produces backslashes instead of slashes when generating - Dependabot configuration files on Windows. diff --git a/.chloggen/multimod-fix-tagging-on-windows.yaml b/.chloggen/multimod-fix-tagging-on-windows.yaml deleted file mode 100644 index 0111f982..00000000 --- a/.chloggen/multimod-fix-tagging-on-windows.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: multimod - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Fix tagging on Windows - -# One or more tracking issues related to the change -issues: [464] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - This fixes the issue of `multimod tag` failing on Windows. diff --git a/.chloggen/multimod-print-using-to-stderr.yaml b/.chloggen/multimod-print-using-to-stderr.yaml deleted file mode 100644 index 01fd21e4..00000000 --- a/.chloggen/multimod-print-using-to-stderr.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: multimod - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Fix to log 'Using versioning file' and 'Successfully deleted module tags' to stderr instead of stdout - -# One or more tracking issues related to the change -issues: [507] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/permissions-with-no-execution.yaml b/.chloggen/permissions-with-no-execution.yaml deleted file mode 100644 index dd357a79..00000000 --- a/.chloggen/permissions-with-no-execution.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. crosslink) -component: chloggen - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: change generated files permissions from 0755 to 0644 - -# One or more tracking issues related to the change -issues: [457] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bcd8f1d..526e8c3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,46 @@ +## v0.13.0 + +### 🛑 Breaking changes 🛑 + +- `all`: bump minimal Go version to 1.20 (#474) + +### 💡 Enhancements 💡 + +- `multimod`: ignore excluded-modules when using sync to update dependencies (#442) + This allows users of the sync command to sync all modules in a monorepo, including + those listed in the excluded-modules. This is useful for repositories where some modules + may not yet be ready for releasing (therefore listed under excluded-modules) but their + dependencies still need to be managed via multimod. + +- `crosslink`: Add `--skip` flag to ignore specified go modules (#480) +- `multimod`: add support for `--commit-hash` to allow users to overwrite the tag in a versions.yaml file (#422) + This feature allows users to specify a tag (i.e. main) when they want to update + modules. + +- `chloggen`: support a custom changelog summary template (#501) + The changelog summary template can be customized by configuring a custom template with the `summary_template` configuration setting. + The default template provides a starting point for a custom template: https://github.com/open-telemetry/opentelemetry-go-build-tools/blob/v0.13.0/chloggen/internal/chlog/summary.tmpl + + +### 🧰 Bug fixes 🧰 + +- `crosslink`: Fix Windows produces backslashes instead of slashes (#458) + This fixes the issue of Windows produces backslashes instead of slashes when crosslinking + dependencies in go.mod files on Windows. + +- `dbotconf`: Fix Windows produces backslashes instead of slashes (#264) + This fixes the issue of Windows produces backslashes instead of slashes when generating + Dependabot configuration files on Windows. + +- `multimod`: Fix tagging on Windows (#464) + This fixes the issue of `multimod tag` failing on Windows. + +- `multimod`: Fix to log 'Using versioning file' and 'Successfully deleted module tags' to stderr instead of stdout (#507) +- `chloggen`: change generated files permissions from 0755 to 0644 (#457) + ## 0.12.0 ### 💡 Enhancements 💡 diff --git a/crosslink/go.mod b/crosslink/go.mod index aedfee56..892bed23 100644 --- a/crosslink/go.mod +++ b/crosslink/go.mod @@ -8,7 +8,7 @@ require ( github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 - go.opentelemetry.io/build-tools v0.12.0 + go.opentelemetry.io/build-tools v0.13.0 go.uber.org/zap v1.27.0 golang.org/x/mod v0.15.0 ) diff --git a/dbotconf/go.mod b/dbotconf/go.mod index 84d4fe6d..6fc021b1 100644 --- a/dbotconf/go.mod +++ b/dbotconf/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/spf13/cobra v1.8.0 github.com/stretchr/testify v1.8.4 - go.opentelemetry.io/build-tools v0.12.0 + go.opentelemetry.io/build-tools v0.13.0 golang.org/x/mod v0.15.0 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/internal/tools/go.mod b/internal/tools/go.mod index fffbb5c8..4cd5aed8 100644 --- a/internal/tools/go.mod +++ b/internal/tools/go.mod @@ -194,7 +194,7 @@ require ( gitlab.com/bosi/decorder v0.4.1 // indirect go-simpler.org/musttag v0.8.0 // indirect go-simpler.org/sloglint v0.4.0 // indirect - go.opentelemetry.io/build-tools v0.12.0 // indirect + go.opentelemetry.io/build-tools v0.13.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.27.0 // indirect golang.org/x/crypto v0.19.0 // indirect diff --git a/multimod/go.mod b/multimod/go.mod index f538b425..fb583f9c 100644 --- a/multimod/go.mod +++ b/multimod/go.mod @@ -7,7 +7,7 @@ require ( github.com/spf13/cobra v1.8.0 github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.4 - go.opentelemetry.io/build-tools v0.12.0 + go.opentelemetry.io/build-tools v0.13.0 go.uber.org/multierr v1.11.0 golang.org/x/mod v0.15.0 ) diff --git a/semconvgen/go.mod b/semconvgen/go.mod index 43ca27ea..27593433 100644 --- a/semconvgen/go.mod +++ b/semconvgen/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/spf13/pflag v1.0.5 - go.opentelemetry.io/build-tools v0.12.0 + go.opentelemetry.io/build-tools v0.13.0 golang.org/x/mod v0.15.0 golang.org/x/text v0.14.0 ) diff --git a/versions.yaml b/versions.yaml index 5880c670..8730bd05 100644 --- a/versions.yaml +++ b/versions.yaml @@ -14,7 +14,7 @@ module-sets: tools: - version: v0.12.0 + version: v0.13.0 modules: - go.opentelemetry.io/build-tools - go.opentelemetry.io/build-tools/checkfile