Kotlin guide change log

29 July 2024

Interop

06 September 2023

  • New: Allow camelCase for plural filenames containing multiple declarations.

9 December 2021

  • Fix: Clarify rule on braces not being required for single-line if/else.

19 May 2021

  • Fix: Remove rule on when to use expression functions.
  • New: Added rule prohibiting function names with spaces.

10 June 2020

18 May 2018

Style

  • Fix: Function parameter wrap indent has changed to single indent to match the JetBrains style guide.
  • Fix: Add the range operator as an exception to binary operator whitespace.

Interop

  • New: Added a section about Lint Checks for Kotlin and Java Interoperability.

14 November 2017

Interop

Fix: Corrected the content of the "Lambda arguments" section to accurately reflect the current state of lambda types and interface SAM conversion.

2 November 2017

Initial release.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2024-07-29 UTC.