Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @hfhbd!
Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
Flow.timeout throws the exception with which the channel was closed (#4071).
Small tweaks and documentation fixes.
1.8.1-Beta
Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @hfhbd!
Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @hfhbd!
Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
Flow.timeout throws the exception with which the channel was closed (#4071).
Small tweaks and documentation fixes.
Changelog relative to version 1.8.1-Beta
Flow.timeout throws the exception with which the channel was closed (#4071).
Small documentation fixes.
Version 1.8.1-Beta
Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @hfhbd!
Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
This release contains all of the changes from 1.7.0-RC and is compatible with Kotlin 2.0.
Please note that for reasons explained in the 1.7.0-RC changelog, it may not be possible to use it with the Kotlin 1.9.x
compiler plugin. Yet, it is still fully backward compatible with previous versions.
The only difference with 1.7.0-RC is that the classDiscriminatorMode property in JsonBuilder is marked as experimental,
as it should have been when it was introduced (#2680).
1.7.0-RC
This is a release candidate for the next version. It is based on Kotlin 2.0.0-RC3 and is fully compatible with a stable Kotlin 2.0 release.
Due to a potential breaking change (see below), it requires a compiler plugin with a version at least of 2.0.0-RC1.
Important change: priority of PolymorphicSerializer for interfaces during call to serializer() function
Non-sealed interfaces in kotlinx.serialization are always serializable with a polymorphic serializer,
even if they do not have @Serializable annotation. This also means that serializersModule.serializer<SomeInterface>() call will return you a serializer capable of polymorphism. This function was written in a way that it unconditionally returns a PolymorphicSerializer if type argument is a non-sealed interface. This caused problems with SerializersModule functionality, because actual module was not taken into consideration, and therefore it was impossible to override serializer for interface using 'contextual serialization' feature. The problem is described in detail here. To overcome these problems, we had to change the behavior of this function regarding interfaces. It now looks into SerializersModule first if T is a non-sealed interface, and only if there is no registered contextual serializer for T, it returns a polymorphic serializer.
Behavior before 1.7.0-RC:
interface SomeInterface
val module = SerializersModule {
contextual(SomeInterface::class, CustomSomeInterfaceSerializer)
}
// Prints PolymorphicSerializer<SomeInterface>:
println(module.serializer<SomeInterface>())
Behavior in 1.7.0-RC, 1.7.0, and higher:
interface SomeInterface
val module = SerializersModule {
contextual(SomeInterface::class, CustomSomeInterfaceSerializer)
}
// Prints CustomSomeInterfaceSerializer:
println(module.serializer<SomeInterface>())
We expect minimal impact from this change, but be aware of it anyway.
Implementation details are available in this PR.
Due to the serializer() function being also a compiler intrinsic, code
of kotlinx.serialization compiler plugin also accommodates this change in the 2.0 branch. To get a consistent result from both plugin and runtime, kotlinx.serialization compiler plugin should be at least of 2.0.0-RC1 version.To verify so, 1.7.0-RC runtime will be rejected by older plugins.
This release contains all of the changes from 1.7.0-RC and is compatible with Kotlin 2.0.
Please note that for reasons explained in the 1.7.0-RC changelog, it may not be possible to use it with the Kotlin 1.9.x
compiler plugin. Yet, it is still fully backwards compatible with previous versions.
The only difference with 1.7.0-RC is that classDiscriminatorMode property in JsonBuilder is marked as experimental,
as it should have been when it was introduced (#2680).
1.7.0-RC / 2024-05-16
This is a release candidate for the next version. It is based on Kotlin 2.0.0-RC3 and is fully compatible with a stable Kotlin 2.0 release.
Due to a potential breaking change (see below), it requires a compiler plugin with a version at least of 2.0.0-RC1.
Important change: priority of PolymorphicSerializer for interfaces during call to serializer() function
Non-sealed interfaces in kotlinx.serialization are always serializable with a polymorphic serializer,
even if they do not have @Serializable annotation. This also means that serializersModule.serializer<SomeInterface>() call will return you a serializer capable of polymorphism.
This function was written in a way that it unconditionally returns a PolymorphicSerializer if type argument is a non-sealed interface.
This caused problems with SerializersModule functionality, because actual module was not taken into consideration, and therefore it was impossible
to override serializer for interface using 'contextual serialization' feature. The problem is described in details here.
To overcome these problems, we had to change the behavior of this function regarding interfaces. It now looks into SerializersModule first if T is a non-sealed interface,
and only if there is no registered contextual serializer for T, it returns a polymorphic serializer.
Behavior before 1.7.0-RC:
interface SomeInterface
val module = SerializersModule {
contextual(SomeInterface::class, CustomSomeInterfaceSerializer)
}
// Prints PolymorphicSerializer<SomeInterface>:
println(module.serializer<SomeInterface>())
Behavior in 1.7.0-RC, 1.7.0, and higher:
interface SomeInterface
val module = SerializersModule {
contextual(SomeInterface::class, CustomSomeInterfaceSerializer)
}
// Prints CustomSomeInterfaceSerializer:
println(module.serializer<SomeInterface>())
</tr></table>
... (truncated)
Commits
d2dc7d2 Update to Kotlin 2.0 and prepare 1.7.0 release (#2706)
1cac162 Merge remote-tracking branch 'origin/master' into dev
fbd0734 Use @PublishedApi annotation on functions called from plugin-generated code (...
4bf4113 Add bencoding to community-supported formats (#2687)
c487e78 JSON: Fix mutable classDiscriminatorMode in config, and mark experimental i...
version 1.0 (2012-05-29)
* First official release with authorisation endpoint, token endpoint, check
ID endpoint and UserInfo endpoint support.
* JSON Web Tokens (JWTs) support through the Nimbus-JWT library.
* Language Tags (RFC 5646) support through the Nimbus-LangTag library.
* JSON support through the JSON Smart library.
version 2.0 (2013-05-13)
* Intermediary development release with Maven build, published to
Maven Central.
version 2.1 (2013-06-06)
* Updates the APIs to OpenID Connect Messages draft 20, OpenID Connect
Standard draft 21, OpenID Connect Discovery draft 17 and OpenID
Connect Registration draft 19.
* Major refactoring of the APIs for greater simplicity.
* Adds JUnit tests.
version 2.2 (2013-06-18)
* Refactors dynamic OpenID Connect client registration.
* Adds partial support of the OAuth 2.0 Dynamic Client Registration
Protocol (draft-ietf-oauth-dyn-reg-12).
* Optimises parsing of request parameters consisting of one or more
tokens (scope, response type, etc).
version 2.4 (2013-06-20)
* Adds static OIDCClientInformation.parse(JSONObject) method.
version 2.5 (2013-06-22)
* Adds support OAuth 2.0 dynamic client update.
* Adds OpenID Connect dynamic client registration classes.
version 2.6 (2013-06-25)
* Enforces order of preference of ACR values in OpenID Connect client
metadata, as required by the specification.
* Documentation and performance improvements.
version 2.7 (2013-06-26)
* Switches Identifier generation to java.security.SecureRandom.
version 2.8 (2013-06-30)
* Fixes serialisation and assignment bugs in ClientMetadata.
* Switches Secret generation to java.security.SecureRandom.
version 2.9 (2013-09-17)
... (truncated)
Commits
e0c3075 [maven-release-plugin] prepare for next development iteration
Bumps the libs group with 10 updates in the / directory:
1.8.0
1.8.1
1.6.3
1.7.0
11.10.1
11.12
1.78
1.78.1
3.2.4
3.3.1
1.1.4
1.1.5
1.9.23
2.0.0
1.9.23
2.0.0
1.9.23
2.0.0
9.1.0
9.2.0
Updates
org.jetbrains.kotlinx:kotlinx-coroutines-test
from 1.8.0 to 1.8.1Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-test's releases.
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-test's changelog.
Commits
cd696d3
Version 1.8.1c1ba5af
Fix the ticker channel example giving wrong results on the website (#4109)2430d9a
Fix broken API reference links to the Project Reactor Javadoc (#4111)f22b229
fix the link toThread.uncaughtExceptionHandler
515308d
fix: get rid of horizontal scrolling by splitting the comment and show more c...f8d1821
Fix typo in coroutine-context-and-dispatchers.md (#3941)20707d3
fix: removesampleStart
andsampleEnd
comments from example in coroutine-...0148534
chore: fix identation in example loadContributorsBlocking() (#4085)74774df
Docs: reference to The Hitchhiker's Guide to the Galaxy (#4082)d106ac7
Docs: avoid scrolling sample code; fix test description; add () to functions ...Updates
org.jetbrains.kotlinx:kotlinx-serialization-json
from 1.6.3 to 1.7.0Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's changelog.
... (truncated)
Commits
d2dc7d2
Update to Kotlin 2.0 and prepare 1.7.0 release (#2706)1cac162
Merge remote-tracking branch 'origin/master' into devfbd0734
Use@PublishedApi
annotation on functions called from plugin-generated code (...4bf4113
Add bencoding to community-supported formats (#2687)c487e78
JSON: Fix mutableclassDiscriminatorMode
in config, and mark experimental i...385c97d
Remove yellow code (#2691)688f64b
Added link to kotlinx-serialization-smile in the formats list (#2689)1f38e22
Add additional repositorydd1b76e
Prepare Changelog and Readme for 1.7.0-RC releaseb4bf182
Raise Require-Kotlin-Version to 2.0.0-RC1Updates
com.nimbusds:oauth2-oidc-sdk
from 11.10.1 to 11.12Changelog
Sourced from com.nimbusds:oauth2-oidc-sdk's changelog.
... (truncated)
Commits
e0c3075
[maven-release-plugin] prepare for next development iteration2884f47
Java URI cannot handle unencoded { and } chars, implements https://www.rfc-ed...b6d163a
Bumps pipeline image to maven:3.9.6-eclipse-temurin-173624ba5
Updates tests from Java 11 to Java 17 runtimed031c3f
Anonymous Token class in TokenIntrospectionRequest and TokenRevocationRequest...3bcee72
Makes AbstractOptionallyAuthenticatedRequest constructor protectedb23642b
Optimises JWTAuthentication.parseClientID to call jwt.getJWTClaimsSet() once ...1c45c34
Bumps deps9d6c32f
IDTokenClaimsSet.hasRequiredClaims should use ResponseType constants (iss #466)3e83318
[maven-release-plugin] prepare release 11.10.2Updates
org.bouncycastle:bcpkix-jdk18on
from 1.78 to 1.78.1Changelog
Sourced from org.bouncycastle:bcpkix-jdk18on's changelog.
... (truncated)
Commits
Updates
org.springframework.boot
from 3.2.4 to 3.3.1Release notes
Sourced from org.springframework.boot's releases.
... (truncated)
Commits
586499d
Release v3.3.13ef5254
Merge branch '3.2.x'b65aae4
Next development version (v3.2.8-SNAPSHOT)8e405c0
Merge branch '3.2.x'c2f21e9
Don't execute@DockerComposeTests
if docker is not runninge7ffeb3
Use Tomcat's new setter for max queue sizefb9d779
Merge pull request #41162 from mateusscheper955fe18
Polish 'Improve readability of documentation'cf8ed63
Improve readability of documentation6c34c02
Improving readabilityUpdates
io.spring.dependency-management
from 1.1.4 to 1.1.5Release notes
Sourced from io.spring.dependency-management's releases.
Commits
b3f62a0
Release v1.1.570f3e08
Release from GitHub Actionsb5ed22b
Correct the value of build-name when deploying to Artifactory029d266
Specify the shell for build and publish step2ddde6f
Prepare snapshot workflow for addition of release workflow6cc618e
Enable linting and treat warnings as errors7a56eaa
Broaden Gradle version compatibility testing63c2738
Upgrade to Gradle 7.6.42ed89ef
Upgrade to Gradle Enterprise Conventions 0.0.170676dc0
Merge pull request #372 from fp7Updates
org.jetbrains.kotlin.jvm
from 1.9.23 to 2.0.0Release notes
Sourced from org.jetbrains.kotlin.jvm's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.jvm's changelog.
... (truncated)
Commits
e84e835
Add changelog for 2.0.0975dea2
Add changelog for 2.0.0-RC3b618ee4
[FIR] Prohibit referencing java field in case of conflict with property..b239239
K2: build outer classes sequence in FirImplicitBodyResolve properlyafc5b49
[IR] Assume IrFile has at least one offset entrybe1804c
[K/N][tests] Don't attempt to download simulator after first failureb666160
K2: fix captureFromExpressionInternal for nullable intersection typesf04f051
K2: fix withNullability() for ConeIntersectionTypecda1ad4
K2: reproduce KT-679128e0919e
[K2/JS] Use declaration session for looking up containing declarationUpdates
org.jetbrains.kotlin.plugin.spring
from 1.9.23 to 2.0.0Release notes
Sourced from org.jetbrains.kotlin.plugin.spring's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlin.plugin.spring's changelog.
Superseded by #165.