Skip to content

Latest commit

 

History

History
405 lines (235 loc) · 13.7 KB

File metadata and controls

405 lines (235 loc) · 13.7 KB

Changelog

v0.30.0

🛑 Breaking changes 🛑

  • all: Bump minimum Go version to 1.25 (#1587)
  • githubgen: Stop generating the .github/ALLOWLIST file (#1505) This file has no bearing to GitHub, the CODEOWNERS file already contains a list of unmaintained components. Further, this file is flagged incorrectly by security tools as problematic.

💡 Enhancements 💡

  • chloggen: Update validate command to check all changelog entries and not exit out immediately after finding error. (#1304)
  • crosslink: Support Go versions with patch numbers (e.g., 1.23.0) in crosslink work command (#1499)

🧰 Bug fixes 🧰

  • chloggen: Correctly handle absolute paths for config file, entries_dir, template_yaml, and change_logs. (#1387)
  • crosslink: Fix false negatives in crosslink tidylist --validate (#1437)
  • githubgen: Replace panic with proper error handling for unknown generator arguments (#1549)

v0.29.0

💡 Enhancements 💡

  • checkapi: Validate the functions exported by a component (#1358) Set explicitly what functions a component can export. Set name to "*" to allow any function to be exported under a class of component. Set name to "" or missing to not allow any functions to be exported under a class of component.

  • issuegenerator: Add PR number to issue comments (#1180)

🧰 Bug fixes 🧰

  • checkapi: Do not report errors about a missing factory function if the component is not expected to have a factory function (#1283)
  • checkapi: Fix collision of struct names inside a module (#1357)
  • checkapi: do not read the API of go modules that are not associated with a metadata.yaml file. (#1356)
  • checkapi: do not try to read the API of a nested module folder (#1355)

v0.28.1

💡 Enhancements 💡

  • checkapi: Work with a JSON schema stored as yaml under metadata.yaml config key. (#1148)
  • chloggen: Sort changelog entries lexicographically based on their component field (#1276)
  • issuegenerator: issuegenerator now pings the author of a failing test's PR (#1182)
  • issuegenerator: trim component type suffix from component names (#1255)

🧰 Bug fixes 🧰

  • issuegenerator: removed pr section from autogenerated issue body. (#1243)

v0.28.0

🛑 Breaking changes 🛑

  • all: Bump minimum Go version to 1.24 (#1145, #1159)

💡 Enhancements 💡

  • issuegenerator: added component section in auto generated issue body (#42518) Related issue is in the opentelemetry-collector-contrib repository.
  • checkapi: Add the folder name to error messages (#1141)
  • issuegenerator: Include commit and pr in issues generated by issuegenerator (#1180)
  • issue generator: Use labels to search for existing issues in issue generator (#1181)

🧰 Bug fixes 🧰

  • multimod: Support vN directories when tagging (#1209) When tagging a vN version of a Go module the vN suffix should not be included in the tag before the version.
  • checkapi: Do not check internal structs for unkeyed literal initialization. (#1140)

v0.27.0

💡 Enhancements 💡

  • chloggen: Add support for YAML files that use the alternate .yml extension (#1079)

  • checkapi: Add an option to check the config JSON schema matches the Config struct. (#1135) Add check_json_schema: true to the configuration file of checkapi to enable this option.

  • checkapi: read the structs in the component's internal packages (#1137)

0.26.2

🧰 Bug fixes 🧰

  • checkapi: Support detecting usage of a Struct as part of config when used as a generic type of a map key (#1116)

0.26.1

🧰 Bug fixes 🧰

  • checkapi: Do not crash when the createDefaultConfig function calls out to another function (#1029)

v0.26.0

💡 Enhancements 💡

  • githubgen: Support a custom distribution which contains all elements that are not in a distribution (#1068)
  • issuegenerator: Include test failure message in the issue comment. (#1065)

🧰 Bug fixes 🧰

  • issuegenerator: Don't fatal when not able to ingest a JUnit report. (#1063)
  • githubgen: derive chloggen component name from repository path if no metadata is present (#1067)

v0.25.0

🛑 Breaking changes 🛑

  • semconvgen: The deprecated semconvgen tool is removed (#1017)

💡 Enhancements 💡

  • issuegenerator: Handle multiple test suites in ingested junit files. (#1031)
  • multimod: Parallelize requests to Go Proxy when doing multimod sync. (#1052)
  • multimod: Retry on 404 errors from the Go proxy (#1051)

v0.24.0

🛑 Breaking changes 🛑

  • multimod: Default to attempting pre-releasing all module sets. (#992)

🚩 Deprecations 🚩

  • semconvgen: The semconvgen tooling is deprecated. (#1004) Use Weaver instead.

💡 Enhancements 💡

  • checkapi: Allow to check the API of components matches strictly to guidelines, with the only structs exported the Config structs. (#894)

  • issuegenerator: Increased search for existing issues to 6 months. (#925)

  • multimod: Add retries to multimod sync (#941) This tries to address occasional flakes in the Go proxy.

  • multimod: Support custom version reference files (#994) A new "modules" section is parsed in the version configuration. This section defines relative file paths for files that references the version of the module set. If this section is not used for a module the default "version.go" file at the root of the module directory is still assumed.

🧰 Bug fixes 🧰

  • multimod: Use Go errors to return error instead of logging and halting. (#1006)
  • multimod: Fix the multimod root command name in help text. (#991)

v0.23.1

🧰 Bug fixes 🧰

  • issuegenerator: Trim repository prefix from new issue titles (#864)

v0.23.0

🧰 Bug fixes 🧰

  • issuegenerator: Print correct workflow link in the issue body. (#840)
  • issuegenerator: Trim repository name from the module name in the issue title. (#841)

v0.22.0

🚀 New components 🚀

  • checkapi: New tool to check API constraints of Golang modules (#729)

v0.21.0

💡 Enhancements 💡

  • chloggen: Add a --component, -c flag to chloggen update to specify a filter of which component to add to the changelog. (#725)
  • githubgen: Add support for chloggen components list generation (#717)

🧰 Bug fixes 🧰

  • issuegenerator: Fix duplicated owner when calling GitHub APIs. (#720)

v0.20.0

💡 Enhancements 💡

  • all: Update golang.org/x/crypto to v0.35.0 to address GO-2025-3487 (#703)
  • multimod: prerelease command will now update the dependencies for excluded modules. (#702)

v0.19.0

💡 Enhancements 💡

  • all: Bump minimum Go version to 1.23 (#695)
  • issuegenerator: IssueGenerator now creates issues based on JUnit test results. (#672)

v0.18.0

🛑 Breaking changes 🛑

  • githubgen: githubgen now injects component lists and others into CODEOWNERS and ALLOWLIST files using magic strings instead of writing the complete files. (#674)

    This feature allows maintainers to have custom content in addition to the component lists and others in their CODEOWNERS and ALLOWLIST files. Magic delimiter strings need to be added to CODEOWNERS and ALLOWLIST files for githubgen to fill in the content. Use # Start/End components list, # Start/End distribution list and # Start/End unmaintained components list in your CODEOWNERS file. Use # Start/End deprecated components list and # Start/End unmaintained components list in your ALLOWLIST file. Also, issue template files need to be updated and use # Start/End components list to fill in the component list.

🧰 Bug fixes 🧰

  • githubgen: Remove internal/common entry in ALLOWLIST (#669)

v0.17.0

🚀 New components 🚀

  • githubgen: Moved githubgen tool here from open-telemetry/opentelemetry-collector-contrib (#639)

💡 Enhancements 💡

  • crosslink: Added --skip flag to crosslink tidylist subcommand (#662)
  • githubgen: Enhanced githubgen tool with more options to better fit arbitrary repos, added unit tests (#655)

v0.16.0

💡 Enhancements 💡

  • crosslink: Adds a 'tidy' subcommand to generate 'go mod tidy' schedules (#642)

v0.15.0

💡 Enhancements 💡

  • all: bump minimum Go version to 1.22 (#605)
  • multimod: Improve error message when the Go proxy misbehaves (#610)

🧰 Bug fixes 🧰

  • chloggen: Fix bug that directed all output to stderr (#612)

v0.14.0

💡 Enhancements 💡

  • semconvgen: Add --capitalizations-path to allow users to add additional strings to the static capitalizations slice in generator.go (#528)

🧰 Bug fixes 🧰

  • multimod: Get pseudoversion for each module in a module set separately to support moving modules between module sets. (#582)

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 💡

  • chloggen: add component validation (#401)

v0.11.0

🛑 Breaking changes 🛑

  • checkdoc: checkdoc has been removed in favor of checkfile. Please use checkfile with argument --file-name README.md instead. (#378)

💡 Enhancements 💡

  • chloggen: Add ability to configure separate changelogs for different audiences (#364)

v0.10.0

🛑 Breaking changes 🛑

  • chloggen: Remove 'chloggen-directory' flag. Use config file instead. (#371)
  • multimod: Update HasChanged to avoid returning unnecessary boolean (#366)

🚩 Deprecations 🚩

  • checkdoc: checkdoc is deprecated in favor of checkfile. Please use checkfile with argument --file-name README.md instead. (#347)

🚀 New components 🚀

  • checkfile: checkfile checks the components enabled in OpenTelemetry core and contrib repos contain the file provided in argument --file-name. (#347)

💡 Enhancements 💡

  • dbotconf: Add the --ignore flag to the dbotconf root command (#362)
  • chloggen: Adds a 'config' flag and option to configure chloggen with a config file. (#371)

🧰 Bug fixes 🧰

  • semconvgen: Fix semconvgen to work for the new semantic conventions repository. (#374)

v0.9.0

💡 Enhancements 💡

  • multimod: add diff command to multimod to show files that have changed since a specified tag (#350)

🧰 Bug fixes 🧰

  • chloggen: Disallow whitespace-only values (#164)

v0.8.0

💡 Enhancements 💡

  • crosslink: Add work command generating go.work file. (#309)
  • dbotconf: Add support for pip package ecosystem. (#307)

v0.7.0

🛑 Breaking changes 🛑

  • all: bump minimum go version to 1.19 (#253)

🚀 New components 🚀

  • gotmpl: Add gotmpl tool to allow using text/template via CLI. (#276)

v0.6.0

💡 Enhancements 💡

  • chloggen: Allow filenames containing '.' outside of extension (#237)

🧰 Bug fixes 🧰

  • semconvgen: Correct capitalization of Otel to be OTel (#242)

v0.5.0

💡 Enhancements 💡

  • chloggen: Use go embed to embed the template file in chloggen (#224)

🧰 Bug fixes 🧰

  • semconvgen: Add docker/podman mount option to modify selinux labels of shared host files. (#222)

v0.4.0

💡 Enhancements 💡

  • dbotconf: Dynamically add upgrade entry for all repository Dockerfile. (#212)
  • semconvgen: add only flag to process only a specified type (#216)

v0.3.0

🛑 Breaking changes 🛑

  • multimod: Remove multimod tag push option in favor of printing tags (#177)

💡 Enhancements 💡

  • crosslink: Add internal build tools syncerror package to ignore known zap.logger.Sync() errors. Ignore known sync errors in crosslink. (#190)
  • dbotconf: Add upgrade entry for docker (#186)

v0.2.0

💡 Enhancements 💡

  • changelog: Add chloggen tool for creating changelog entries. (#154)
  • multimod: Add ability for multimod to publish to tags to remote repository. (#157)