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 to K2 #510

Merged
merged 44 commits into from
May 22, 2024
Merged

Update to K2 #510

merged 44 commits into from
May 22, 2024

Conversation

ZacSweers
Copy link
Owner

@ZacSweers ZacSweers commented Nov 19, 2023

  • KSP tests with and without KSP2
  • Need to learn more about @UnsafeDuringIrConstructionAPI

@ZacSweers
Copy link
Owner Author

KSP2 support blocked by google/ksp#1643

@ZacSweers
Copy link
Owner Author

ZacSweers commented Feb 3, 2024

I've released 0.26.0-alpha01 with the changes in the PR up to this point

Notes

  • Targets Kotlin 2.0.0-Beta3 and KSP 2.0.0-Beta3-1.0.17.
  • moshi-sealed KSP does not work in KSP2 yet as KSP2 doesn't yet support exposing sealed subclasses to processors. moshi-ir's sealed support should work fine
  • proguard rule gen should work in KSP2, but not for moshi-sealed types

@ZacSweers
Copy link
Owner Author

I've published 0.26.0-alpha02 with the changes up to this point and targeting Beta5. Note that KSP2 still doesn't support sealed subclasses yet.

@ZacSweers
Copy link
Owner Author

I've published 0.26.0-alpha03 with the changes up to this point. This targets Kotlin 2.0.0-RC1 and KSP 2.0.0-RC1-1.0.20. This also migrates the project to the soon-to-be-stable new kotlin-metadata artifact (from kotlinx-metadata). This should make this library feature complete with everything coming in K2 and KSP2 🤞.

@ZacSweers
Copy link
Owner Author

Published 0.27.0-alpha01 with RC3 and the latest changes from main. Note there's no KSP update for RC3 yet

@ZacSweers ZacSweers changed the title Prepare for K2 Update to K2 May 22, 2024
@ZacSweers ZacSweers marked this pull request as ready for review May 22, 2024 20:11
@ZacSweers ZacSweers merged commit 7bd35a8 into main May 22, 2024
5 checks passed
@ZacSweers ZacSweers deleted the z/k2 branch May 22, 2024 20:11
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.

None yet

1 participant