1.7.0
Improvements
General
- Update to
Kotlin
1.7.0,IntelliJ
Platform 213 - Support definitely non-nullable types (#2520)
- Don't expose enum entry constructor arguments, thanks to @ebraminio (#2497)
- Preserve ordering of enum entries as in source code, previously reversed (#2469)
- Improve support for inherited
Java
fields with accessors, now properly interpreted asval
/var
properties (#2481, #2532, #2540) - Skip
@Deprecated
members withHIDDEN
level (#2486) - Make rendered default value dependent on source set for expect/actual declarations (#2449)
HTML format
- Render quotes as blockquotes instead of code blocks, thanks to @TheOnlyTails (#2496)
Javadoc format
- Make
Javadoc
pages generation deterministic (#2479) - Update shipped
jQuery
to avoid multiple CVEs, thanks to @ToppleTheNun (#1938)
GFM format
- Support rendering of code blocks and inline code used in KDocs, thanks to @cosinekitty (#2485)
Kotlin-as-Java plugin
- Include
Java
access modifiers into function signatures, thanks to @tripolkaandrey (#2510)
Gradle runner
- Make
dokka-analysis
dependencycompileOnly
, this should help avoid compatibility problems if different versions ofKotlin
are bundled inGradle
andDokka
(#2521) - Enable stricter validation for cacheable
Gradle
tasks, thanks to @3flex (#2500) - Remove unused & redundant dependencies for
Gradle
runner, thanks to @3flex (#2502) - Remove outdated suppression in
Gradle
runner, thanks to @3flex (#2501)
Fixes
General bugfixes
- Fixed a compiler deadlock issue which led to stalling builds in some KMP projects (#2480)
- Fixed incorrect argument names of functional type parameters (#2478)
- Fixed missing external docs for AndroidX libraries, thanks to @EdricChan03 (#2456)
- Fixed tests failing on Windows, thanks to @3flex (#2507)
Security
- Get rid of bundled
log4j
1.2 that came as a transitive dependency (#2488) - Update Jackson to avoid CVE-2020-36518, thanks to @1mt (#2525)
Plugin API
- Decompose
base.ftl
template: nowheader.ftl
,footer.ftl
andpage_metadata.ftl
can be overridden individually (#2432)
Other
- Add Kotlin stability & support badges, thanks to @etolstoy (#2511)
- Remove an unused runner parameter, thanks to @3flex (#2498)
- Correct typos, thanks to @PaladiRka (#2504) and @mahozad (#2506)!
Thanks to all the contributors!