Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@whyoleg
Copy link
Collaborator

@whyoleg whyoleg commented Aug 6, 2025

Fixes #4162
Fixes #3194
Fixes #2572
Fixes #3657

Jackson 2.15.3 doesn't have known vulnerabilities (at the time this PR was created) and works fine for projects with Gradle 7.6.3+. Transitively from jackson-dataformat-xml, we now also have the woodstox-core dependency of version 6.5.1, which doesn't have vulnerabilities as well.

So, strictly speaking, this PR drops support for Gradle 6.x.

According to Kotlin Gradle Plugin compatibility matrix, Gradle 7.6.3 is supported by KGP 2.1.0+ (earlier KGP versions support Gradle 6.x)

At the same time, DGPv2 will be enabled by default in Dokka 2.1.0, and according to migration guide, it supports Gradle 7.6.x and Kotlin 1.9.x

WDYT?

@whyoleg whyoleg changed the title WIP: Update to jackson to latest supported version Update to jackson to latest supported version Aug 6, 2025
@whyoleg whyoleg marked this pull request as ready for review August 6, 2025 16:35
@whyoleg whyoleg requested review from adam-enko and vmishenev August 6, 2025 16:35
@adam-enko
Copy link
Member

Agreed, let's drop Gradle 6 support.

  • V2 mode doesn't support Gradle 6. While the V1 and V2 plugins are technically separate, it is simpler (for us and for users) to keep the supported Gradle versions aligned.
  • Generally we aim to support a range of 3 versions. Since Gradle 9 is now out, we can support Gradle 9, 8, and 7.

Let's just make sure the supported Gradle versions get documented in the docs and 2.1 release notes?

@whyoleg whyoleg changed the title Update to jackson to latest supported version Update jackson to 2.15.3 which doesn't have known vulnerabilities Aug 8, 2025
@vmishenev
Copy link
Contributor

Does it mean that we do not support the KGP 1.9.0–1.9.10?

@whyoleg
Copy link
Collaborator Author

whyoleg commented Aug 8, 2025

Does it mean that we do not support the KGP 1.9.0–1.9.10?

Nope, we still support them.

In this PR, we only stop supporting Gradle 6.x. While we do test only 7.6.3, as 7.6.x is the latest still supported Gradle 7.x release, it might even work on some earlier 7.x Gradle versions.

Regarding KGP support:

  • DGPv1 supports even KGP 1.4 - this is according to our IT, this hasn't changed
  • DGPv2 supports KGP 1.9+

@whyoleg whyoleg merged commit e4fb0e5 into master Aug 8, 2025
16 of 17 checks passed
@whyoleg whyoleg deleted the whyoleg/jackson branch August 8, 2025 15:57
@whyoleg whyoleg added this to the Dokka 2.1.0 milestone Aug 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants