From ecf5744df5072cc8fa88b55f3beb9eaf4f72939e Mon Sep 17 00:00:00 2001 From: Ilya Dus Date: Thu, 21 Feb 2019 17:37:51 +0300 Subject: [PATCH] Fix plugins for v0.9, update the docs --- README.md | 3 ++- src/pages/create_or_update_plugin/plugin.controller.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 723c9f5..5880aec 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ and services such as requests routing, authentication, rate limiting, etc. | 3.0.x | >= 0.9, <0.12 | >= 6.0.0 | | 3.1.x, 3.2.x | >= 0.9, <0.13 | >= 6.0.0 | | 3.3.x, 3.4.x | >= 0.9, <0.14 | >= 6.0.0 | -| 3.5.x | >= 0.9, <0.15 | >= 6.0.0 | +| 3.5.x | >= 0.9, <0.15 | >= 6.0.0 | +| 3.6.x | >= 0.9, <1.1.x | >= 6.0.0 | Notes: * Kong Dashboard 3.3.0 is only partially compatible with Kong 0.13. It does not support the new Service and Route diff --git a/src/pages/create_or_update_plugin/plugin.controller.js b/src/pages/create_or_update_plugin/plugin.controller.js index 23d0aa5..4186aba 100644 --- a/src/pages/create_or_update_plugin/plugin.controller.js +++ b/src/pages/create_or_update_plugin/plugin.controller.js @@ -280,7 +280,7 @@ function isKong1xVersion(versionStr){ // 0.15 is the replica version for 1.0.0 - return versionStr >= "0.15.0"? true : false + return versionStr >= "1.0.0" || versionStr.substring(0, 4) === "0.15"? true : false } } })();