-
Notifications
You must be signed in to change notification settings - Fork 17
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
Releases should be fully cross-versioned #6
Comments
Thanks, that's a good point. I was taking my lead on this from kind-projector, which is not fully cross-versioned. Does that plugin need to be fixed in the same way? I assume it has simply "got lucky" so far and not run into any breaking changes in the compiler. |
Yep, we don't check binary compatibility at all between even minor compiler releases. You could get lucky if you stick within the parts of the compiler that rarely change anymore, but I wouldn't recommend it. |
Thanks for confirming. I'll switch to full cross-versioning and also open an issue on kind-projector. |
Unlike scala-library.jar, the scala compiler is not binary compatible between minor releases. Therefore, compiler plugins should be released with full cross versioning, and a new release is needed for every minor Scala release. See https://github.com/scalamacros/paradise/blob/2.12.8/build.sbt for example, https://search.maven.org/search?q=g:org.scalamacros.
The text was updated successfully, but these errors were encountered: