WARNING - MAJOR CHANGES: Before updating, please read this guide!
In CHANGELOG.md
:
Added
- Allow using route ID (URI) as access URL for artifacts.
- Allow using route ID (URI) as location for subscriptions.
- Allow specifying route IDs when calling
GET /data
endpoint to automatically dispatch data via these routes.- When a route is specified, requested data will not be persisted in the local database.
- Allow using API key authentication for
DataSource
. - Create sub-types for
DataSourceDesc
for typesREST
andDATABASE
to allow adding database driver and URL. - Create datasource beans from
DataSources
of typeDATABASE
automatically. - Add database migration feature.
- Offer possibility to migrate databases to
v7.0.0
starting fromv5.0.0
.
- Offer possibility to migrate databases to
- Add
portainer.application.scheme
toapplication.properties.
. Default is set tohttp
.
Changed
- Change jdk version from 11 to 17.
- Change encoding of local data from
UTF-16
toUTF-8
. - Change relation between
Route
andArtifact
to one-to-one (previously one-to-many).- Link is created automatically when an artifact is created with a route reference as access URL.
- Change field
location
ofEndpoint
from URI to String. - Replace template engine
Velocity
withFreemarker
. - Remove suffix settings from
ConfigurationDesc
attributes (truststore
,proxy
,keystore
). - Log header and payload of sent message in
AbstractMessageService
. - Ignore IDS InfoModel version incompatibility for incoming messages. Add log message level warn.
- Rearrange Swagger UI.
- Rename tags.
- Rename tag
Messages
to_Messaging
. - Rename tag
Camel
toRoutes (Apache Camel)
. - Rename tag
Connector
to_Connector
. - Rename tag
Configurations
to_Configurations
.
- Rename tag
- Create tag
_Utils
.- Move
/api/examples/validation
and/api/examples/policy
to_Utils
. - Move
/api/utils/enum
to_Utils
.
- Move
- Remove annotation
@hidden
from the following REST endpoints:/api
/api/beans
/api/beans/{beanId}
/api/camel/routes
/api/camel/routes/{routeId}
/api/camel/routes/error
- Move contract agreement endpoints to
Contracts
. - Move
/api/configuration/negotiation
and/api/configuration/pattern
to_Configurations
.
- Rename tags.
- Change REST endpoints.
- PUT
/api/routes/{id}/endpoint/start
expects a URI instead of a UUID. - PUT
/api/routes/{id}/endpoint/end
expects a URI instead of a UUID. - Change
POST /api/configmanaer/enum/{enumName}
toGET /api/utils/enums
and change it to return all types within one call.- Add enum types
POLICY_PATTERN
,UPDATE_TYPE
,ENDPOINT_TYPE
,EVENT_TYPE
,ERROR_MESSAGE
,USAGE_CONTROL_FRAMEWORK
,ACTION_TYPE
, andDATA_SOURCE_TYPE
. - Change return value of
SECURITY_PROFILE
to the internal model. AddIDS_SECURITY_PROFILE
for the ids enum. - Change return value of
CONNECTOR_STATUS
to the internal model. AddIDS_CONNECTOR_STATUS
for the ids enum.
- Add enum types
- Change
/api/configmanaer/route/error
to/api/camel/routes/error
.
- PUT
- Change response bodies to JSON objects for the following REST endpoints:
/api/routes/{id}/endpoint/start
/api/routes/{id}/endpoint/end
/api/examples/validation
/api/examples/policy
/api/ids/app/actions
/api/routes/{id}/endpoint/start
/api/routes/{id}/endpoint/end
/api/beans
/api/beans/{beanId}
/api/camel/routes
/api/camel/routes/{routeId}
- Of every endpoint that builds an error response with
ResponseUtils
.
- Add correct content type to the following endpoints:
/api/notify
/api/configurations/{id}/active
/api/ids/app
/api/examples/validation
/api/examples/policy
- Make field
type
inDataSource
transient, as type information is persisted through thedtype
column created through the@Inheritance
annotation. - Rename param of
/describe
fromactionType
totype
and change it to typeActionType
. - Change strings of the following enums:
PolicyPattern
: added strings.UsageControlFramework
: e.g.INTERNAL
toInternal
.ActionType
: e.g.START
toStart
.EndpointType
: e.g.APP
toApp
.Event
: e.g.UPDATED
toUpdated
.
- Update dependencies.
- Increase camel version from 3.12.0 to 3.14.1.
- Increase spring-boot-starter-parent version from 2.5.6 to 2.6.3.
- Increase spotbugs version from 4.4.2 to 4.5.3.
- Increase okhttp version from 4.9.2 to 4.9.3.
- Increase checkstyle version from 9.1 to 9.3.
- Increase pmd version from 6.40.0 to 6.42.0.
- Increase springdoc version from 1.5.3 to 1.6.5.
- Increase modelmapper version from 2.4.4 to 3.0.0.
- Increase equalsverifier version from 3.7.2 to 3.8.3.
- Increase log4j2 version from 2.14.0 to 2.17.1.
- Increase dependency-check-maven from 6.5.0 to 6.5.3.
- Increase maven-site-plugin version from 3.9.1 to 3.10.0.
- Increase protobuf version from 3.15.5 to 3.19.4.
- Increase jackson version from 2.13.0 to 2.13.1.
- Increase swagger-annotations version from 1.6.3 to 1.6.4.
- Increase messaging services version from 5.1.1 to 6.0.1.
- Increase maven-plugin version from 2.8.1 to 2.9.0.
- Increase taglist-maven-plugin version from 2.4 to 3.0.0.
Fixed
- XML-escape URLs before injecting them into Camel route templates.
- Add exception handling for
SSLHandshakeExceptions
caused by PKIX errors. - Insert user input for
title
anddescription
to example policies at/api/examples/policy
. - Make
/database
accessible again. - Add class type check to rule comparison.
- Remove
@column(unique = true)
fromAppStore
entity. - Keep keystore settings for active config if not present in the updated one.
- Add missing brackets to Camel route templates, so that properties get inserted correctly.
Removed
- Remove entity
ConnectorEndpoint
and all corresponding classes.