From b8b145d277682f5c6077de2bdd883c297531c22b Mon Sep 17 00:00:00 2001 From: Tere Date: Tue, 10 Mar 2026 13:21:49 +0100 Subject: [PATCH 1/8] Update Go version to 1.26.1 and document in CHANGELOG for release 1.37.0 --- .go-version | 2 +- CHANGELOG.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.go-version b/.go-version index f1968aa88..dd43a143f 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.25.7 +1.26.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a677b2ab..96caee185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [unreleased](https://github.com/elastic/package-registry/compare/v1.36.0...main) +## [1.37.0](https://github.com/elastic/package-registry/compare/v1.37.0...main) ### Breaking changes ### Bugfixes +* Update Go runtime to 1.26.1 [TBD](https://github.com/elastic/package-registry/pull/TBD) + ### Added * Support for referencing inputs and streams by `package`: `type` (for inputs) and `input` (for streams) are no longer required when `package` is set (format_version 3.6.0+, aligns with package-spec and composable packages). [#1605](https://github.com/elastic/package-registry/pull/1605) @@ -19,7 +21,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Known Issues - ## [v1.36.0](https://github.com/elastic/package-registry/compare/v1.35.0...v1.36.0) ### Breaking changes From fb615c064af5ed49ffeb3e4078c5ac0646d85f8f Mon Sep 17 00:00:00 2001 From: Tere Date: Tue, 10 Mar 2026 13:27:18 +0100 Subject: [PATCH 2/8] Update CHANGELOG to reflect PR --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96caee185..2075c4786 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bugfixes -* Update Go runtime to 1.26.1 [TBD](https://github.com/elastic/package-registry/pull/TBD) +* Update Go runtime to 1.26.1 [TBD](https://github.com/elastic/package-registry/pull/1613) ### Added From 73d3531d02e78e48cea4378dd456ee5ed7e2e838 Mon Sep 17 00:00:00 2001 From: Tere Date: Tue, 10 Mar 2026 15:33:02 +0100 Subject: [PATCH 3/8] Downgrade Go version from 1.26.1 to 1.25.8 in .go-version file --- .go-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.go-version b/.go-version index dd43a143f..e6a6e7cd3 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.26.1 +1.25.8 From 7e053ac7870735d7a436f4bfe45e8177a508239f Mon Sep 17 00:00:00 2001 From: Tere Date: Tue, 10 Mar 2026 16:36:49 +0100 Subject: [PATCH 4/8] Update CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2075c4786..4951172aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bugfixes -* Update Go runtime to 1.26.1 [TBD](https://github.com/elastic/package-registry/pull/1613) +* Update Go runtime to 1.25.8 [1613](https://github.com/elastic/package-registry/pull/1613) ### Added From f1c176168a19fe92437a9667e9fe0d07ab91be7b Mon Sep 17 00:00:00 2001 From: Tere Date: Tue, 10 Mar 2026 16:45:32 +0100 Subject: [PATCH 5/8] Update Golang installation script to default to version 1.25.7 for specific cases --- .buildkite/scripts/run-tests.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.buildkite/scripts/run-tests.ps1 b/.buildkite/scripts/run-tests.ps1 index 0c09c62ac..381049a5d 100644 --- a/.buildkite/scripts/run-tests.ps1 +++ b/.buildkite/scripts/run-tests.ps1 @@ -10,6 +10,13 @@ function fixCRLF { function withGolang($version) { Write-Host "--- Install golang" + $latest_1_25_versions = @('1.25.7') + # not all latest Golang versions of 1.25.x are available since 1.26.0 is released + if ($version -in $latest_1_25_versions) { + Write-Host "$version not available in cholocatey, using 1.25.7" + # latest Golang version available for 1.25.x + $version = '1.25.7' + } choco install -y golang --version $version $env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.." Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" From a4d46d826cbea165494caacc8d362ffa0d4e78a9 Mon Sep 17 00:00:00 2001 From: Tere Date: Wed, 11 Mar 2026 11:31:27 +0100 Subject: [PATCH 6/8] fix latest_1_25_versions --- .buildkite/scripts/run-tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/run-tests.ps1 b/.buildkite/scripts/run-tests.ps1 index 381049a5d..6bdd47210 100644 --- a/.buildkite/scripts/run-tests.ps1 +++ b/.buildkite/scripts/run-tests.ps1 @@ -10,7 +10,7 @@ function fixCRLF { function withGolang($version) { Write-Host "--- Install golang" - $latest_1_25_versions = @('1.25.7') + $latest_1_25_versions = @('1.25.8') # not all latest Golang versions of 1.25.x are available since 1.26.0 is released if ($version -in $latest_1_25_versions) { Write-Host "$version not available in cholocatey, using 1.25.7" From 1fa2200b893090142f3fa9e5fa45e6f6a5f80c27 Mon Sep 17 00:00:00 2001 From: Tere Date: Wed, 11 Mar 2026 13:58:32 +0100 Subject: [PATCH 7/8] Bump version to 1.37.0 in main.go and index.json --- main.go | 2 +- testdata/generated/index.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 61aa9d69e..b2a072680 100644 --- a/main.go +++ b/main.go @@ -48,7 +48,7 @@ import ( ) const ( - version = "1.36.1" + version = "1.37.0" defaultInstanceName = "localhost" ) diff --git a/testdata/generated/index.json b/testdata/generated/index.json index 5c499fac2..67b3f73d6 100644 --- a/testdata/generated/index.json +++ b/testdata/generated/index.json @@ -1,4 +1,4 @@ { "service.name": "package-registry", - "service.version": "1.36.1" + "service.version": "1.37.0" } From bc88a8bb89fb9796fb9ab6d1275afd4bb14d1045 Mon Sep 17 00:00:00 2001 From: Tere Date: Wed, 11 Mar 2026 14:17:02 +0100 Subject: [PATCH 8/8] Apply suggestion from @mrodm Co-authored-by: Mario Rodriguez Molins --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 075542461..60ac6608a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.37.0](https://github.com/elastic/package-registry/compare/v1.37.0...main) +## [v1.37.0](https://github.com/elastic/package-registry/compare/v1.36.0...v1.37.0) ### Breaking changes