From 55e766249cf5f5a879a6304782e8b4d254a6a168 Mon Sep 17 00:00:00 2001 From: stianst Date: Wed, 4 Mar 2020 09:37:10 +0100 Subject: [PATCH] KEYCLOAK-9346 Add note to migration guide around promiseType for JS adapter --- upgrading/topics/keycloak/changes.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/upgrading/topics/keycloak/changes.adoc b/upgrading/topics/keycloak/changes.adoc index cd7530b573..a89a9e0b37 100644 --- a/upgrading/topics/keycloak/changes.adoc +++ b/upgrading/topics/keycloak/changes.adoc @@ -1,5 +1,13 @@ == Migration Changes +=== Migrating to 9.0.1 + +==== Legacy promise in JavaScript adapter + +It is no longer necessary to set promiseType in the JavaScript adapter, and both are available at the same time. It is +recommended to update applications to use native promise API (`then` and `catch`) as soon as possible, as the legacy API +(`success` and `error`) will be removed at some point. + === Migrating to 9.0.0 ===== Improved handling of user locale