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

Update Kotlin to 2.0.20 #975

Merged
merged 8 commits into from
Sep 2, 2024
Merged

Update Kotlin to 2.0.20 #975

merged 8 commits into from
Sep 2, 2024

Conversation

lukellmann
Copy link
Member

Context receivers will be replaced by Kotlin/KEEP#367 and are deprecated for now, so the CONTEXT_RECEIVERS_DEPRECATED warning must be suppressed in the ksp-processors project.

The changes in the KLib ABI dumps are due to JetBrains/kotlin@56ba701, constructors of sealed classes aren't public ABI.

# Conflicts:
#	gradle/libs.versions.toml
Context receivers will be replaced by [1] and are deprecated for now,
so the CONTEXT_RECEIVERS_DEPRECATED warning must be suppressed in the
ksp-processors project.

The changes in the KLib ABI dumps are due to [2], constructors of sealed
classes aren't public ABI.

[1] Kotlin/KEEP#367
[2] JetBrains/kotlin@56ba701
@lukellmann
Copy link
Member Author

please merge with this commit message:

Update Kotlin to 2.0.20 (#975)

Context receivers will be replaced by [1] and are deprecated for now,
so the CONTEXT_RECEIVERS_DEPRECATED warning must be suppressed in the
ksp-processors project.

The changes in the KLib ABI dumps are due to [2], constructors of sealed
classes aren't public ABI.

[1] https://github.com/Kotlin/KEEP/issues/367
[2] https://github.com/JetBrains/kotlin/commit/56ba701b3d05738d70a4f906859bbb066c9531a0

@DRSchlaubi
Copy link
Member

Wasn't there a way to suppress warnings via cli now? If so wouldn't it be smart to use that for the ksp-processor project?

@lukellmann
Copy link
Member Author

Wasn't there a way to suppress warnings via cli now? If so wouldn't it be smart to use that for the ksp-processor project?

not in 2.0.20, it will be available in 2.1.0:
ee94ad3
https://youtrack.jetbrains.com/issue/KT-8087

@lukellmann lukellmann merged commit 2a65315 into main Sep 2, 2024
6 checks passed
@lukellmann lukellmann deleted the kotlin-2.0.20 branch September 2, 2024 12:21
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