The provided version of Kotlin was upgraded from 2.0.20 to 2.2.0. Plug-in developers are encouraged to upgrade to this version to remain aligned with the included version. We strongly recommend to recompile and thoroughly test all custom plugins written in Kotlin.
2.0.20
2.2.0
NonceDataAccessProvider
The consume(String, long) method of the NonceDataAccessProvider interface has been deprecated. A new overload is added which returns a boolean indicating whether the nonce was consumed by the current invocation.
consume(String, long)
The server still considers the old method as a fallback (i.e. the change is non-breaking), but it is recommended that data-source plugins implementing NonceDataAccessProvider are updated to the new method.
The User Management GraphQL API now has more strict limits on the sizes of input strings and arrays. See User Management GraphQL documentation.
GraphQL requests that are not allowed by the configured authorization manager will result in responses with the 403 (“Forbidden”) status code, instead of the 401 (“Unauthorized”) status code used before. The same behavior also applies if no authorization manager is configured.
Note that requests that are allowed with obligations may still fail because the obligation is not fulfilled later on. These failures are unchanged and remain represented as GraphQL errors, with a 200 status codes and an non-empty errors field.
errors