From 064a4304cc9fc41b7c9abd6e49e8a6ebdbb080f4 Mon Sep 17 00:00:00 2001 From: Nick Wilkinson <139098028+Nick-Portainer@users.noreply.github.com> Date: Tue, 19 May 2026 13:34:13 +1200 Subject: [PATCH] chore: bump version to 2.42.0 (#2654) Co-authored-by: Claude Sonnet 4.6 --- api/datastore/test_data/output_24_to_latest.json | 4 ++-- api/http/handler/handler.go | 2 +- api/portainer.go | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/datastore/test_data/output_24_to_latest.json b/api/datastore/test_data/output_24_to_latest.json index cfd9c1161..e840f28d4 100644 --- a/api/datastore/test_data/output_24_to_latest.json +++ b/api/datastore/test_data/output_24_to_latest.json @@ -616,7 +616,7 @@ "RequiredPasswordLength": 12 }, "KubeconfigExpiry": "0", - "KubectlShellImage": "portainer/kubectl-shell:2.41.1", + "KubectlShellImage": "portainer/kubectl-shell:2.42.0", "LDAPSettings": { "AnonymousMode": true, "AutoCreateUsers": true, @@ -937,7 +937,7 @@ } ], "version": { - "VERSION": "{\"SchemaVersion\":\"2.41.1\",\"MigratorCount\":0,\"Edition\":1,\"InstanceID\":\"463d5c47-0ea5-4aca-85b1-405ceefee254\"}" + "VERSION": "{\"SchemaVersion\":\"2.42.0\",\"MigratorCount\":0,\"Edition\":1,\"InstanceID\":\"463d5c47-0ea5-4aca-85b1-405ceefee254\"}" }, "webhooks": null } \ No newline at end of file diff --git a/api/http/handler/handler.go b/api/http/handler/handler.go index de1f39f20..bbb819941 100644 --- a/api/http/handler/handler.go +++ b/api/http/handler/handler.go @@ -79,7 +79,7 @@ type Handler struct { } // @title PortainerCE API -// @version 2.41.1 +// @version 2.42.0 // @description.markdown api-description.md // @x-tagGroups [{"name":"Access Control","tags":["auth","roles","team_memberships","teams","users"]},{"name":"Administration","tags":["backup","ldap","motd","settings","status","system","ssl","upload"]},{"name":"Docker","tags":["templates","custom_templates","docker","registries","resource_controls","stacks","webhooks","websocket"]},{"name":"Edge Compute","tags":["edge_groups","edge_jobs","edge","edge_stacks"]},{"name":"Environment Management","tags":["endpoint_groups","endpoints","tags"]},{"name":"GitOps","tags":["gitops"]},{"name":"Kubernetes","tags":["helm","kubernetes"]}] // @termsOfService diff --git a/api/portainer.go b/api/portainer.go index b17c417d1..19704a3e5 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -1926,7 +1926,7 @@ type ( const ( // APIVersion is the version number of the Portainer API - APIVersion = "2.41.1" + APIVersion = "2.42.0" // Support annotation for the API version ("STS" for Short-Term Support or "LTS" for Long-Term Support) APIVersionSupport = "STS" // Edition is what this edition of Portainer is called diff --git a/package.json b/package.json index fa6feee2c..a25cfca4f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Portainer.io", "name": "@portainer/ce", "homepage": "http://portainer.io", - "version": "2.41.1", + "version": "2.42.0", "repository": { "type": "git", "url": "git@github.com:portainer/portainer.git"