Skip to content

Release 0.1.3

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Oct 14:11
b08f9d8

Release highlights

  • diktat migrated to kotlin 1.4 (#389)
  • diktat migrated from jackson to kotlinx.serialization (#393)
  • 7 new rules, 6th chapter of codestyle introduced

New features

  • 5eca888 Rule 5.2.3 Use default values for function arguments instead of overloading them (#370)
  • 20cb97b Suggest using @Property tag in KDoc (#332)
  • f57a88b ENUM_VALUE styles support: snakeCase/pascalCase (#408)
  • d8e8b2d Recommendation 3.1 - recommended order of imports (#380)
  • d0ab9f9 Recommendation 4.2.1 smart casts
  • 036f18a Rule 6.1.9 (#434)
  • 3ea3348 Rule 6.1.2. Prefer data classes instead of classes without any functional logic
  • f28dfb9 Rule 6.1.6 abstract classes should have at least one abstract method (#457)
  • fa9a4fc Rule 6.1.4 several init blocks are redundant and generally should not be used in your class (#459)

Fixes

  • Improving variable search mechanism (#352)
  • dcc073b Wildcard without "import" word (#392)
  • a6b5e1e Fixed issue #405 in WhiteSpaceRule (#412)
  • 2180e77 Fixing bug with lineNumber in autocorrect mode (#400)
  • 4576e59 Check backticks only in symbol declarations (#399)
  • a9e5a56 Validate warning names in config file on startup (#396)
  • 4a6060d Correctly handle prefix and postfix operators in WhiteSpaceRule (#416) (#437)
  • 6852628 Fix for issue #407 - no newline between consecutive braces in autocorrect mode (#463)
  • 2d9e88e (bugfix/arraystore#406) String template curly braces bugfix (#427)
  • b08f9d8 (tag: v0.1.3) Fixing DiktatRuleSet crashes when there are no package and no imports (#464)
  • e273989 Added logic for parameters and supertypes lists to NewlinesRule (#431)
  • f3da291 BlockStructureBraces assertion failed (#461)

Docs

Housekeeping

  • 3fa9105 Make diktat consistent with own code style (#404)
  • 906fe1c Refactored diktat-maven-plugin build to speed up CI builds (#410)
  • 2175cb9 Remove deprecated calculateLineColByOffset methods from Ktlint (#394)

Dependencies