From 33c3f8460c8bdc902e859d846ead86fa411d8b5f Mon Sep 17 00:00:00 2001 From: andres-portainer <91705312+andres-portainer@users.noreply.github.com> Date: Sat, 7 Jan 2023 12:08:23 -0300 Subject: [PATCH] Bump to v2.18.0. (#8266) --- api/datastore/migrator/migrator.go | 1 + api/datastore/test_data/output_24_to_latest.json | 2 +- api/http/handler/handler.go | 2 +- api/portainer.go | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/api/datastore/migrator/migrator.go b/api/datastore/migrator/migrator.go index cd3aa4266..747c059d1 100644 --- a/api/datastore/migrator/migrator.go +++ b/api/datastore/migrator/migrator.go @@ -205,6 +205,7 @@ func (m *Migrator) initMigrations() { m.addMigrations("2.16", m.migrateDBVersionToDB70) m.addMigrations("2.16.1", m.migrateDBVersionToDB71) m.addMigrations("2.17", m.migrateDBVersionToDB80) + m.addMigrations("2.18") // Add new migrations below... // One function per migration, each versions migration funcs in the same file. diff --git a/api/datastore/test_data/output_24_to_latest.json b/api/datastore/test_data/output_24_to_latest.json index e79e31179..987be0184 100644 --- a/api/datastore/test_data/output_24_to_latest.json +++ b/api/datastore/test_data/output_24_to_latest.json @@ -931,6 +931,6 @@ } ], "version": { - "VERSION": "{\"SchemaVersion\":\"2.17.0\",\"MigratorCount\":1,\"Edition\":1,\"InstanceID\":\"463d5c47-0ea5-4aca-85b1-405ceefee254\"}" + "VERSION": "{\"SchemaVersion\":\"2.18.0\",\"MigratorCount\":0,\"Edition\":1,\"InstanceID\":\"463d5c47-0ea5-4aca-85b1-405ceefee254\"}" } } \ No newline at end of file diff --git a/api/http/handler/handler.go b/api/http/handler/handler.go index 83129d920..e79b7b9e9 100644 --- a/api/http/handler/handler.go +++ b/api/http/handler/handler.go @@ -82,7 +82,7 @@ type Handler struct { } // @title PortainerCE API -// @version 2.17.0 +// @version 2.18.0 // @description.markdown api-description.md // @termsOfService diff --git a/api/portainer.go b/api/portainer.go index d5b345bce..bb2ac3734 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -1479,7 +1479,7 @@ type ( const ( // APIVersion is the version number of the Portainer API - APIVersion = "2.17.0" + APIVersion = "2.18.0" // Edition is what this edition of Portainer is called Edition = PortainerCE // ComposeSyntaxMaxVersion is a maximum supported version of the docker compose syntax diff --git a/package.json b/package.json index b8857da80..8630de416 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Portainer.io", "name": "portainer", "homepage": "http://portainer.io", - "version": "2.17.0", + "version": "2.18.0", "repository": { "type": "git", "url": "git@github.com:portainer/portainer.git"