From a5530856897e5ce6571991e7a5e66b82de4b705e Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Fri, 12 Aug 2022 11:42:10 +0200 Subject: [PATCH] Add migration guide for v2.8.3 --- docs/content/migration/v2.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/content/migration/v2.md b/docs/content/migration/v2.md index 03c7eec49..73e58aba6 100644 --- a/docs/content/migration/v2.md +++ b/docs/content/migration/v2.md @@ -480,3 +480,14 @@ Since `v2.5.0`, the `PreferServerCipherSuites` is [deprecated and ignored](https in `v2.8.2` the `preferServerCipherSuites` option is also deprecated and ignored in Traefik. In `v2.8.2`, Traefik now reject certificates signed with the SHA-1 hash function. ([details](https://tip.golang.org/doc/go1.18#sha1)) + +## v2.8.3 + +Since `v2.8.2`, when using the [file provider](https://doc.traefik.io/traefik/v2.8/providers/file/), +malformed options of the [dynamic configuration](https://doc.traefik.io/traefik/v2.8/getting-started/configuration-overview/#the-dynamic-configuration) are detected. +If a string is used as a value for a list/array in a configuration file an error is raised. + +In `v2.8.2`, the malformed dynamic configuration produced a panic, which is now reported as an error in `v2.8.3`. + +If you are using the [file provider](https://doc.traefik.io/traefik/v2.8/providers/file/) to define the dynamic configuration, +we recommend using a [JSON Schema](https://www.schemastore.org/json/) to validate the configuration before upgrading to a version higher than `v2.8.1`.