Skip to content

Releases: slackhq/kotlin-cli-util

3.0.1

24 Sep 17:30
Compare
Choose a tag to compare
  • Fix: Fix wrong end index used in slicing CommandFactory args.

Full Changelog: 3.0.0...3.0.1

3.0.0

23 Sep 02:57
Compare
Choose a tag to compare
  • New: Add GradleTestFixturesMigratorCli via migrate-gradle-test-fixtures command.
  • New: Add multipleSet() clikt extension.
  • Breaking change: Update to Clikt 5.0.0.
  • Update to Kotlin 2.0.20.
  • Update to Bugsnag 3.7.1.
  • Update to Okio 3.9.1.
  • Update to kotlinx-serialization 1.7.3.
  • Update to xmlutil 0.90.1.
  • Update to MoshiX 0.28.0.
  • Update to slf4j-nop 2.0.16.

What's Changed

Full Changelog: 2.6.3...3.0.0

2.6.3

23 Jan 19:30
Compare
Choose a tag to compare
  • Fix: Handle sarif reports with no results in sarif merging.

2.6.1

08 Jan 21:56
Compare
Choose a tag to compare
  • Enhancement: Mark a number of buildkite APIs as Keyable if they can have a key: String property.
  • Update Clikt to 4.2.2.
  • Update to Kotlin 1.9.22.

What's Changed

  • Bump kotlin from 1.9.21 to 1.9.22 by @dependabot in #92
  • Bump com.google.devtools.ksp from 1.9.21-1.0.16 to 1.9.22-1.0.16 by @dependabot in #93
  • Bump org.slf4j:slf4j-nop from 2.0.9 to 2.0.10 by @dependabot in #94
  • Bump com.google.truth:truth from 1.1.5 to 1.2.0 by @dependabot in #91
  • Bump com.vanniktech.maven.publish from 0.25.3 to 0.26.0 by @dependabot in #90
  • Bump com.github.ajalt.clikt:clikt from 4.2.1 to 4.2.2 by @dependabot in #95
  • Add Keyable support by @ZacSweers in #97
  • Bump com.vanniktech.maven.publish from 0.26.0 to 0.27.0 by @dependabot in #96

Full Changelog: 2.6.0...2.6.1

2.6.0

19 Dec 03:21
Compare
Choose a tag to compare
  • New: Add Buildkite Pipeline bindings under the slack.cli.buildkite package. Note this package is subject to API changes as we iterate on it. This is for use with generating dynamic buildkite pipelines.
  • Enhancement: Introduce more modern Path walking APIs with FileVisitorBuilder.skipBuildAndCacheDirs(), Path.walkEachFile(), Sequence<Path>.filterByExtension(extension: String), and Sequence<Path>.filterByName(name: String) extensions.
  • Update xmlutil to 0.86.3.
  • Update okio to 3.7.0.

What's Changed

Full Changelog: 2.5.4...2.6.0

2.5.4

05 Dec 22:45
Compare
Choose a tag to compare
  • Enhancement: Validate all directories with build files match settings files in GradleSettingsVerifierCli.
  • Enhancement: Add ApplyBaselinesToSarifs CLI for updating or merging sarif results based on a given baseline. This has two modes (see their docs) for use with either a baseline of suppressed issues (i.e. detekt/lint baseline files) or a baseline of the base branch that it's updating from. This will mark the final output with baselineData and suppressions accordingly.
  • Enhancement: Mark merged lint baselines as suppressed.
  • Enhancement: Add a level option to lint baseline merging.

What's Changed

  • Bump com.diffplug.spotless from 6.23.2 to 6.23.3 by @dependabot in #79
  • Bump org.gradle.test-retry from 1.5.7 to 1.5.8 by @dependabot in #82
  • Update project verifier to ensure that all build file projects are also present in settings includes by @ZacSweers in #81
  • Misc sarif updates by @ZacSweers in #80

Full Changelog: 2.5.3...2.5.4

2.5.3

01 Dec 06:14
Compare
Choose a tag to compare
  • Update kotlinx-serialization to 1.6.2.
  • Add files arg + use path APIs in sarif merging. This allows specifying a variable number of extra files args for manual merging of files.
  • Introduce CommandFactory to aggregate commands. You can invoke the runCommand() function with keys to known CLIs (check their sources for keys or run with no args to print the help details). This makes it easier to invoke any CLI from a single entrypoint.
  • Add messageTemplate and level options to lint baseline merger.
  • List issues individually in lint baseline merges + preserve messages.

What's Changed

  • Bump io.gitlab.arturbosch.detekt from 1.23.3 to 1.23.4 by @dependabot in #68
  • Bump actions/setup-java from 3 to 4 by @dependabot in #72
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-core from 1.6.1 to 1.6.2 by @dependabot in #73
  • Bump com.diffplug.spotless from 6.22.0 to 6.23.2 by @dependabot in #74
  • Add files arg + use path APIs in sarif merging by @ZacSweers in #76
  • Introduce CommandFactory to aggregate commands by @ZacSweers in #75
  • Add messageTemplate and level params to baseline merger by @ZacSweers in #77
  • List issues individually in lint baseline merges + preserve messages by @ZacSweers in #78

Full Changelog: 2.5.2...2.5.3

2.5.2

27 Nov 22:38
Compare
Choose a tag to compare
  • New: Add GradleSettingsVerifierCli for verifying simple settings.gradle files.
  • Update to Kotlin 1.9.21.
  • Update to MoshiX 0.25.1.

What's Changed

Full Changelog: 2.5.1...2.5.2

2.5.1

22 Nov 22:52
Compare
Choose a tag to compare
  • New: Add GradleProjectFlattenerCli for flattening nested gradle projects to top-level projects.
  • Update coroutines to 1.6.1.

What's Changed

  • Implement GradleProjectFlattenerCli by @ZacSweers in #65
  • Bump org.jetbrains.kotlinx:kotlinx-serialization-core from 1.6.0 to 1.6.1 by @dependabot in #64

Full Changelog: 2.5.0...2.5.1

2.5.0

09 Nov 22:19
Compare
Choose a tag to compare
  • Fix: Strip leading file:// path in sarif merging when --remove-uri-prefixes is specified.
  • Enhancement: Allow graceful handling of no sarif files when merging via --allow-empty flag.
  • Update to JVM target 17.
  • Update to Kotlin 1.9.20.
  • Update to MoshiX 0.25.0.

What's Changed

  • Allow graceful handling of no sarif files by @ZacSweers in #62
  • Remove file://prefix in uri remapping by @ZacSweers in #63
  • Bump kotlin from 1.9.10 to 1.9.20 + moshix 0.25 + jvm target 17 by @dependabot in #56

Full Changelog: 2.4.0...2.5.0