-
Notifications
You must be signed in to change notification settings - Fork 175
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
2.14.0-rc2 does not work with Kotlin 1.4 (requires 1.6) #586
Comments
I would definitely need help here to figure out if and how it'd be possible to compile module to work with Kotlin 1.4. Assuming that is what we claim to support -- I don't know what the intended version range is at this point. |
We do support [1.4,) in 2.13 and we probably should keep it until there is a strong specific reason why is it time to move on. |
@Spikhalskiy forgot to add one obvious aspect: for any given minor version we definitely should keep supported kotlin-core versions the same. So if and when 2.13.0 started with support for given versions (minus bugs), then all 2.13.x should do the same. I finally went ahead and did #565 to make it simpler to verify compatibility (or lack thereof) for branches as well as PRs. It does not actually guard against the issue reported here, I am guessing -- for that we need bit different job, which builds and installs artifact, then tries to run something against it? -- but should help avoid some of compatibility problems. |
@Spikhalskiy Back to the original problem: aside from tests not passing as module does not build against 1.4, does the error suggest that one would have to actually do Maven build for release artifact with Kotlin 1.4.x? That would not be good. |
At this point CI passes tests for Kotlin-core versions 1.5 through 1.7. I am planning to push one more Release Candidate for Jackson 2.14, 2.14.0-rc3. But soon it will be time for 2.14.0 final and unless someone can figure out a way to support 1.4, Jackson 2.14.0 will officially then require Kotlin 1.5.x as minimum. This does not mean that further 2.14.x (or 2.15) could not support 1.4 but there will be less benefit: it may just make sense to leave 1.4 supported by earlier versions only. I did add a small section on project README to indicate expected compatibility, with the ranges I assume are accurate for Jackson 2.13 and 2.14 as things are. Anyone with more information (or willing to test it out) feel free to send a PR to add more information. |
2.14.x was reverted to use 1.5 Kotlin as it was used before in 2.13.x, which means the released artifact will still be binary compatible with Kotlin 1.4. |
I plan to do #593 as well which should verify compatibility as expected: build using whatever project defaults to (1.5.32) and only run tests against other |
Describe the bug
An attempt to upgrade to 2.14.0-rc2 on Korlin 1.4 projects leads to
Expected behavior
Kotlin 1.4 should be supported if possible to be compatible with Jackson 2.13.
Versions
Kotlin:
Jackson-module-kotlin: 2.14.0-rc2
Jackson-databind: 2.14.0-rc2
The text was updated successfully, but these errors were encountered: