Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialize timestamps as Instant #605

Merged
merged 21 commits into from
May 5, 2022

Conversation

lukellmann
Copy link
Member

Like #586 but for Instant:

  • serialize timestamps with the default InstantIso8601Serializer or custom InstantInEpochMillisecondsSerializer/InstantInEpochSecondsSerializer
  • change types to Instant where applicable

Because of Kotlin/kotlinx.serialization#1895, using typealiases like those for Duration is not possible yet.

@HopeBaron HopeBaron merged commit 1875717 into kordlib:0.8.x May 5, 2022
@lukellmann lukellmann deleted the changes/serialize-instants branch May 5, 2022 18:47
lukellmann added a commit that referenced this pull request Feb 10, 2023
Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-Beta, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-Beta. However,
they are unlikely to affect anyone since only generated symbols that
aren't supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Feb 17, 2023
Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-Beta, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-Beta. However,
they are unlikely to affect anyone since only generated symbols that
aren't supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Feb 17, 2023
Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-Beta, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-Beta. However,
they are unlikely to affect anyone since only generated symbols that
aren't supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Mar 8, 2023
Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-RC, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-RC. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Mar 9, 2023
Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-RC, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-RC. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Mar 9, 2023
* Kotlin 1.8.10 -> 1.8.20-RC
* KSP 1.8.10-1.0.9 -> 1.8.20-RC-1.0.9
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-RC, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-RC. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Mar 21, 2023
* Kotlin 1.8.10 -> 1.8.20-RC
* KSP 1.8.10-1.0.9 -> 1.8.20-RC-1.0.9
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-RC, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-RC. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Mar 25, 2023
* Kotlin 1.8.10 -> 1.8.20-RC2
* KSP 1.8.10-1.0.9 -> 1.8.20-RC2-1.0.9
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.1

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20-RC2, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20-RC2. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 2, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-RC2-1.0.9
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.1

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 3, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.10
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.1

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 5, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.10
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.1

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 6, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.10
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.2
* KotlinPoet 1.12.0 -> 1.13.0

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 14, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.10
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.2
* KotlinPoet 1.12.0 -> 1.13.0

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 15, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.10
* kotlinx.coroutines 1.6.4 -> 1.7.0-Beta
* AtomicFU 0.20.0 -> 0.20.2
* KotlinPoet 1.12.0 -> 1.13.0

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 19, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.11
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* KotlinPoet 1.12.0 -> 1.13.0
* MockK 1.13.4 -> 1.13.5

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 19, 2023
* Kotlin 1.8.10 -> 1.8.20
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.11
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* KotlinPoet 1.12.0 -> 1.13.0
* MockK 1.13.4 -> 1.13.5

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.20, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.20. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 25, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* kotlin-node 18.14.0-pre.502 -> 18.16.0-pre.543
* KSP 1.8.10-1.0.9 -> 1.8.20-1.0.11
* KotlinPoet 1.12.0 -> 1.13.0
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.2

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 27, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* kotlin-node 18.14.0-pre.502 -> 18.16.0-pre.543
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.0
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.2

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 29, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* kotlin-node 18.14.0-pre.502 -> 18.16.0-pre.543
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.1
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.2

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request Apr 29, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* kotlin-node 18.14.0-pre.502 -> 18.16.0-pre.543
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.1
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.2

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request May 2, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0-RC
* kotlin-node 18.14.0-pre.502 -> 18.16.3-pre.546
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.1
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.4

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request May 5, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.0
* kotlin-node 18.14.0-pre.502 -> 18.16.3-pre.546
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.2
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.4

Warnings about duplicate library name with AtomicFU are no longer
present with kotlinx.coroutines 1.7.0 and AtomicFU 0.20.2, so -Werror
can be turned on again.

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
@lukellmann lukellmann mentioned this pull request May 5, 2023
lukellmann added a commit that referenced this pull request May 13, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.1
* kotlinx.serialization 1.5.0 -> 1.5.1
* kotlin-node 18.14.0-pre.502 -> 18.16.3-pre.546
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.2
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.4

Warnings about duplicate library name with AtomicFU are no longer
present with kotlinx.coroutines 1.7.0 and AtomicFU 0.20.2, so -Werror
can be turned on again.

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request May 21, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.1
* kotlinx.serialization 1.5.0 -> 1.5.1
* kotlin-node 18.14.0-pre.502 -> 18.16.3-pre.546
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.2
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.4

Warnings about duplicate library name with AtomicFU are no longer
present with kotlinx.coroutines 1.7.1 and AtomicFU 0.20.2, so -Werror
can be turned on again.

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
lukellmann added a commit that referenced this pull request May 21, 2023
* Kotlin 1.8.10 -> 1.8.21
* Ktor 2.2.4 -> 2.3.0
* kotlinx.coroutines 1.6.4 -> 1.7.1
* kotlinx.serialization 1.5.0 -> 1.5.1
* kotlin-node 18.14.0-pre.502 -> 18.16.3-pre.546
* KSP 1.8.10-1.0.9 -> 1.8.21-1.0.11
* KotlinPoet 1.12.0 -> 1.13.2
* JUnit 5 5.9.2 -> 5.9.3
* MockK 1.13.4 -> 1.13.5
* AtomicFU 0.20.0 -> 0.20.2
* Binary compatibility validator 0.13.0 -> 0.13.1
* gradle-buildconfig-plugin 3.1.0 -> 4.0.4

Warnings about duplicate library name with AtomicFU are no longer
present with kotlinx.coroutines 1.7.1 and AtomicFU 0.20.2, so -Werror
can be turned on again.

Using typealiases for overriding the default Instant serializer wasn't
possible in #605 because of
Kotlin/kotlinx.serialization#1895.
Since this Bug was fixed in Kotlin 1.8.21, the typealiases
dev.kord.common.serialization.InstantInEpochMilliseconds and
dev.kord.common.serialization.InstantInEpochSeconds can now be used.

The changes in the public API are probably because of changes in the
serialization and AtomicFU plugins with Kotlin 1.8.21. However, they
are unlikely to affect anyone since only generated symbols that aren't
supposed to be accessed directly were touched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants