From 180d880fdc18ab1e483c82599d626b5e9e3b9a17 Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Fri, 31 Jul 2026 10:16:07 +0200 Subject: [PATCH 1/3] Update package-registry categories reference URL to v1.39.0 Generated by Claude --- .../validate_datastream_package_categories.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/code/go/internal/validator/semantic/validate_datastream_package_categories.go b/code/go/internal/validator/semantic/validate_datastream_package_categories.go index 7e538b383..91ad1804f 100644 --- a/code/go/internal/validator/semantic/validate_datastream_package_categories.go +++ b/code/go/internal/validator/semantic/validate_datastream_package_categories.go @@ -19,7 +19,7 @@ import ( "github.com/elastic/package-spec/v3/code/go/pkg/specerrors" ) -const packageRegistryCategoriesURL = "https://raw.githubusercontent.com/elastic/package-registry/v1.38.0/categories/categories.yml" +const packageRegistryCategoriesURL = "https://raw.githubusercontent.com/elastic/package-registry/v1.39.0/categories/categories.yml" type registryCategories struct { Categories map[string]struct { @@ -102,7 +102,8 @@ func ValidateDatastreamPackageCategories(fsys fspath.FS) specerrors.ValidationEr pkgType, pkgCategories, err := readPackageManifestTypeAndCategories(fsys) if err != nil { return specerrors.ValidationErrors{ - specerrors.NewStructuredErrorf("file \"%s\" is invalid: %w", fsys.Path(manifestPath), err)} + specerrors.NewStructuredErrorf("file \"%s\" is invalid: %w", fsys.Path(manifestPath), err), + } } if pkgType != integrationPackageType { @@ -112,7 +113,8 @@ func ValidateDatastreamPackageCategories(fsys fspath.FS) specerrors.ValidationEr dsCategories, err := readDataStreamManifestCategories(fsys) if err != nil { return specerrors.ValidationErrors{ - specerrors.NewStructuredErrorf("file \"%s\" is invalid: %w", fsys.Path(manifestPath), err)} + specerrors.NewStructuredErrorf("file \"%s\" is invalid: %w", fsys.Path(manifestPath), err), + } } if len(dsCategories) == 0 { @@ -122,7 +124,8 @@ func ValidateDatastreamPackageCategories(fsys fspath.FS) specerrors.ValidationEr categoryToParent, err := fetchRegistryCategoryToParentMap() if err != nil { return specerrors.ValidationErrors{ - specerrors.NewStructuredErrorf("file \"%s\" is invalid: failed to load registry categories: %w", fsys.Path(manifestPath), err)} + specerrors.NewStructuredErrorf("file \"%s\" is invalid: failed to load registry categories: %w", fsys.Path(manifestPath), err), + } } var errs specerrors.ValidationErrors From a375836ccc5bce5576eca7de5b3404a876452ff5 Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Fri, 31 Jul 2026 10:20:02 +0200 Subject: [PATCH 2/3] Add changelog entry for EPR categories reference URL update to v1.39.0 Generated by Claude --- spec/changelog.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/changelog.yml b/spec/changelog.yml index 881a010a5..8e0565022 100644 --- a/spec/changelog.yml +++ b/spec/changelog.yml @@ -25,6 +25,9 @@ - description: Add optional top-level `group` field to integration, input, and content package manifests for declaring marketplace group membership. type: enhancement link: https://github.com/elastic/package-spec/pull/1213 + - description: Update EPR categories reference URL to v1.39.0. + type: bugfix + link: https://github.com/elastic/package-spec/pull/1215 - version: 3.6.5 changes: - description: Resolve test requires `source` paths relative to the package root instead of the test config directory. From 6629d05924e1b842ba0ffcbe4c47c8b970a7fa2a Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Fri, 31 Jul 2026 10:28:13 +0200 Subject: [PATCH 3/3] Move EPR categories changelog entry to new 3.6.7-next version --- spec/changelog.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec/changelog.yml b/spec/changelog.yml index 8e0565022..287fd9dd8 100644 --- a/spec/changelog.yml +++ b/spec/changelog.yml @@ -17,6 +17,11 @@ - description: Remove the search type from by-reference validation checks. type: bugfix link: https://github.com/elastic/package-spec/pull/1196 +- version: 3.6.7-next + changes: + - description: Update EPR categories reference URL to v1.39.0. + type: bugfix + link: https://github.com/elastic/package-spec/pull/1215 - version: 3.6.6-next changes: - description: Add support for saved search assets in content packages. @@ -25,9 +30,6 @@ - description: Add optional top-level `group` field to integration, input, and content package manifests for declaring marketplace group membership. type: enhancement link: https://github.com/elastic/package-spec/pull/1213 - - description: Update EPR categories reference URL to v1.39.0. - type: bugfix - link: https://github.com/elastic/package-spec/pull/1215 - version: 3.6.5 changes: - description: Resolve test requires `source` paths relative to the package root instead of the test config directory.