Skip to content

Release 0.1.4

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Nov 11:35
c2c47fb

Release highlihts

  • diktat-gradle-plugin is released
  • 5 new rules

New features

  • Rule 6.1.1 Primary constructor should be defined implicitly in the declaration of class (#435)
  • Recommendation 6.1.10 no tivial getters or setters are allowed (#499)
  • Support kotlin multiplatform project layout in PackageNaming rule (#516)
  • Adding rule 6.1.8 regarding getters and setters (#518)
  • Rule 6.1.11 - Use apply for object initialization (#491)
  • Rule 6.1.5: Explicit supertype qualification should not be used if there is not clash between called methods (#458)
  • Do not require configuration for every rule in yml file (#520)
  • diktat-gradle-plugin (#514)
  • Rule 6.2.2(#447) (#501)
  • Adding rule 4.3.3 related to null-checks (#522)

Bugfixes

  • Confusing warning message in KDOC_NO_CONSTRUCTOR_PROPERTY (#497)
  • Bugfix. Do not check KDoc on method main (#509)
  • bugfix/extension-function-kdoc(#489) (#507)
  • Bugfix. NPE in TrivialPropertyAccessors rule (#512)
  • Fix for #415 - WHEN_WITHOUT_ELSE doesn't recognize when expression in when branch (#450)
  • Change generic-type algorithm (#536)
  • Bugfix for release configs (#539)
  • NPE is ASTNode.squeezeSpaces method (#500)
  • NPE in BlockStructureBraces (#502)
  • Bugfix. Unhandled ArrayStoreException when string template has [] operator inside (#513)

Docs

  • Improve Gradle snippet (Readme) (#506)
  • Adding examples to the diktat (#523)
  • Coding guide, chapter 1 after Native review (#466)
  • Adding chapters 2 and 3 after the native review (#494)
  • Cosmetic changes to a codestyle (#495)
  • Fixes for chapters 4-5 after native review. (#496)

Housekeeping

  • Fixing diktat functional test (#487)
  • Making diktat consistent with own code style (rules.kdoc + diktat-rules tests) (#485)
  • Use GITHUB_ENV file instead of set-env command (#534)

Dependencies

  • Update versions in pom.xml and documentation after 0.1.3 release (#469)
  • Bump kotlinx-serialization from 1.0.0 to 1.0.1 (#473)
  • Bump kaml from 0.25.0 to 0.26.0 (#503)
  • Bump whelk-io/maven-settings-xml-action from v12 to v14 (#525)