Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 15, 2025

This PR contains the following updates:

Package Change Age Confidence
org.jetbrains.dokka 2.0.02.1.0 age confidence
org.jetbrains.dokka:javadoc-plugin 2.0.02.1.0 age confidence
org.jetbrains.dokka:dokka-gradle-plugin 2.0.02.1.0 age confidence
org.jetbrains.dokka:dokka-core 2.0.02.1.0 age confidence

Release Notes

Kotlin/dokka (org.jetbrains.dokka:javadoc-plugin)

v2.1.0: 2.1.0

Dokka 2.1.0 focuses on stabilizing experimental features, supporting new Kotlin language features, and improving the user experience. Key highlights include:

  • Dokka Gradle Plugin v2 is enabled by default!
  • K2 Analysis is enabled by default!
  • Support for Context parameters and Nested typealiases
  • HTML format refinement: better accessibility and consistency across all components
  • Multiple performance and compatibility improvements

More details about each of the changes below. See Dokka 2.1.0 milestone for the list of all changes.

Dokka's Gradle plugin v2 is enabled by default!

Please check the migration guide for the update procedure

Dokka 2.0.0 introduced a significantly improved Gradle plugin v2, and with Dokka 2.1.0 it is now enabled by default!
As a result, all types and Gradle tasks related to Dokka Gradle plugin v1 are deprecated and will be removed in future releases.
Running Gradle tasks related to Dokka Gradle plugin v1 will result in an error during execution.

Starting from this release, the minimum supported Gradle version is 7.6.3.

Other fixes and improvements
  • Update Gradle Properties types to be non-nullable (#​4136)
  • Update displayName convention for DokkaSourceSets (#​4142)
  • Update olderVersionsDir to be an optional input. (#​4155)
  • Add lifecycle tasks for generating formats (#​4141)
  • Use project name as default modulePath for root project to avoid clashing outputs during aggregation (#​4158)
  • Remove Dokka debug config file from task outputs (#​3961)
  • Remove V2EnabledWithHelpers warning & info message (#​4206)

Dokka's K2 analysis is enabled by default!

Dokka 2.1.0fixes the most problematic issues with K2 analysis and makes it enabled by default!
In addition to this, Dokka 2.1.0with K2 analysis introduces support for context parameters and nested typealiases!

Dokka's K2 analysis leverages Kotlin's K2 compiler frontend for analysing code and uses the same shared Analysis API, which is used in IntelliJ IDEA’s K2 mode.
The output with K2 analysis should mostly match that of K1 analysis, but there may be minor differences.

If you previously opted in to Dokka's K2 analysis, remove org.jetbrains.dokka.experimental.tryK2 from your project's gradle.properties file.
Dokka's K1 analysis is still available, but it is deprecated and will be removed in future releases.
We would greatly appreciate your feedback, if there is something that is blocking you from migrating to K2 analysis!

Other fixes and improvements
  • Fix merging of implicit expect/actual with a single declaration (#​4016)
  • Support Wasm platform fully (#​4123)
  • Fix override modifier for generic functions (#​4126)
  • Add a receiver to accessor DRI (#​4122)
  • Fix param tag for type parameter on implicit primary constructor (#​4154)
  • Fix the primary constructor parameter incorrectly marked as a property (#​4125)
  • Fix Javadoc links with generic parameters (#​4159)
  • Show the correct return type when narrowed by inheritance (#​4183)

HTML format refinement

Dokka 2.1.0 introduces a number of design improvements to the HTML output.
Many UI elements (listed below) now feature more consistent spacing, better contrast, and improved overall accessibility.

Highlights:

  • Improved accessibility of the Search popup and Table of Contents and Tabs
  • Resizable Table of Contents
  • Customizable spacing in the Table of Contents via a new set of CSS variables (See #​4184 for details)

In addition, the structure of the templates has been slightly modified. If you're using custom templates, the easiest way to migrate is to update your templates based on the latest default templates.
For example, to enable the resizable Table of Contents, you need to add a <div id="resizer"> element and add [data-item-type] attributes to container elements. For implementation details, see the template reference.

Updated UI Elements:

  • Main layout
  • Table of Contents
  • Footer
  • Search popup
  • Code areas and code blocks
  • Links
  • Tooltips
  • Tables
  • Markdown tables

Notable improvements

  • Performance:
    • Cache packages field, which is used by DefaultExternalLocationProvider.resolve (#​4009)
    • Cache DisplaySourceSet as it's stored a lot inside of ContentPages (#​4008)
    • Significantly improves the performance when working with PackageList (#​4198)
  • Support a newline inside link text (#​3661)
  • Resolve references to quoted names (#​3356)
  • Update jackson to 2.15.3, which doesn't have known vulnerabilities (#​4189)
  • Make Dokka safe for Jackson updates in user projects (#​4193)

Other changes and bugfixes

Changes from 2.1.0-Beta

  • Follow symbolic links when building KaModule for AA standalone session (#​4264)
  • Handle InvocationTargetException exception explicitly in DokkaBootstrap (#​4257)
  • Support for nested typealiases (#​4261)
  • Fix spacing in HTML (#​4239, #​4207)

Feedback

We would appreciate your feedback!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) October 15, 2025 12:34
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 5 times, most recently from 3c15cb2 to 6f0058a Compare October 23, 2025 10:13
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch from 6f0058a to 84b997b Compare October 23, 2025 10:13
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 13 times, most recently from 14a22b9 to bedb4c9 Compare October 30, 2025 03:30
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch from bedb4c9 to 50a3439 Compare October 30, 2025 03:30
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 5 times, most recently from d174b34 to b50270d Compare October 31, 2025 14:00
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch from b50270d to bacbc2d Compare October 31, 2025 14:00
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch from bacbc2d to b8eac4d Compare November 3, 2025 00:43
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch from 6eba218 to dcc32b8 Compare November 17, 2025 23:06
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch from dcc32b8 to 4e57c7c Compare November 17, 2025 23:06
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 2 times, most recently from 9e456b3 to 8f0c364 Compare November 17, 2025 23:27
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch from 8f0c364 to 51cdc73 Compare November 18, 2025 08:00
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 4 times, most recently from 01e8c32 to 46d159e Compare November 20, 2025 18:02
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch from 46d159e to 3c45b33 Compare November 20, 2025 18:02
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 2 times, most recently from 9c567ce to a2fb9be Compare November 21, 2025 00:43
@renovate renovate bot force-pushed the renovate/minor-2.1-dokka branch 2 times, most recently from 5e85e1c to a91666e Compare December 1, 2025 09:06
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 4 times, most recently from 1af64a7 to 424d25f Compare December 4, 2025 05:50
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch 9 times, most recently from c8f288d to 1a9664f Compare December 16, 2025 19:20
@DanySK DanySK force-pushed the renovate/minor-2.1-dokka branch from 1a9664f to c17674a Compare December 16, 2025 19:43
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants