Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Releases: slackhq/kotlin-cli-util

2.4.0

02 Nov 19:42
Compare
Choose a tag to compare
  • New: Upstream MergeSarifReports, a CLI for merging (lint and detekt) sarif reports from project build directories. We use this in our CI to merge all the reports from all the modules into one report.
  • Fix: Only use relative paths in lint baseline merged sarifs.

2.3.1

31 Oct 21:56
Compare
Choose a tag to compare
  • Add rules to lint baseline merging output + pretty print.

What's Changed

  • Add rules to lint baseline merging output + pretty print by @ZacSweers in #58
  • Bump io.gitlab.arturbosch.detekt from 1.23.1 to 1.23.3 by @dependabot in #57

Full Changelog: 2.3.0...2.3.1

2.3.0

30 Oct 20:27
Compare
Choose a tag to compare
  • Add new LintBaselineMergerCli for merging lint baseline files into a sarif output file.
  • Improve logging in ResultProcessor in ShellSentry.
  • Update OkHttp to 4.12.0.
  • Update Bugsnag to 3.7.1.
  • Update Clikt to 4.2.1.
  • Update Okio to 3.6.0.
  • Update MoshiX to 0.24.3.

What's Changed

Full Changelog: 2.2.1...2.3.0

2.2.1

24 Aug 21:13
Compare
Choose a tag to compare
  • Fix ShellSentry.create(argv) putting the --parse-only flag in the wrong place.

2.2.0

24 Aug 18:46
Compare
Choose a tag to compare
  • New: Extract ShellSentry program and make the CLI just wrap this.
  • New: Add ShellSentryExtension to allow adding custom checkers (i.e. non-static/not from config.json) to ShellSentry. See the doc on its interface for more details.

2.1.0

11 Aug 02:45
Compare
Choose a tag to compare
  • New: Add Issue.matching_patterns to ShellSentry's config. This allows you to specify a list of regexs to match again instead of just text.
  • Enhancement: Support multiple matching text inputs to ShellSentry's config. This is a JSON-source-compatible change, single-entry inputs will be wrapped in a list.

These technically introduce breaking changes to Issue, but we are currently considering this class to be read-only.

What's Changed

  • Add support for matching patterns and single-item lists by @ZacSweers in #38

Full Changelog: 2.0.0...2.1.0

2.0.0

09 Aug 05:07
Compare
Choose a tag to compare
  • Update to Clikt 4.1.0. This incurs some breaking API changes, this updates a major version to match.
  • Rename "ProcessedExec*" APIs to "ShellSentry*", as this is the name we've decided to give it.
  • Update Kotlin to 1.9.0.
  • Update Okio to 3.5.0.

What's Changed

  • Bump com.vanniktech.maven.publish from 0.25.2 to 0.25.3 by @dependabot in #27
  • Bump io.gitlab.arturbosch.detekt from 1.23.0 to 1.23.1 by @dependabot in #36
  • Bump kotlin from 1.8.22 to 1.9.0 by @dependabot in #29
  • Bump com.squareup.okio:okio from 3.3.0 to 3.5.0 by @dependabot in #37
  • Bump com.github.ajalt.clikt:clikt from 3.5.4 to 4.2.0 by @dependabot in #35
  • Bump com.diffplug.spotless from 6.19.0 to 6.20.0 by @dependabot in #33

Full Changelog: 1.2.3...2.0.0

1.2.3

17 Jul 20:03
Compare
Choose a tag to compare
  • Fix retried exit codes not being propagated.

Full Changelog: 1.2.2...1.2.3

1.2.1

23 Jun 18:40
Compare
Choose a tag to compare
  • Fix ProcessedExecCli not reading stderr correctly.
  • Add more logging controls to processed exec, namely via --debug and --verbose.

What's Changed

  • Bump com.bugsnag:bugsnag from 3.6.4 to 3.7.0 by @dependabot in #23
  • Bump com.google.truth:truth from 1.1.4 to 1.1.5 by @dependabot in #24
  • Add basic argument parsing test by @ZacSweers in #22
  • Add an optional description to Issue by @ZacSweers in #21
  • Fix stderror not being captured in processed exec and max retries by @ZacSweers in #26
  • Bump com.github.ajalt.clikt:clikt from 3.5.2 to 3.5.4 by @dependabot in #25

Full Changelog: 1.2.0...1.2.1

1.2.0

15 Jun 21:09
Compare
Choose a tag to compare
  • Introduce new ProcessedExecCli for post-processing and retrying commands.
  • Change projectDirOption to use Path instead of File.
  • Update all dependencies (Kotlin 1.8.22, Clikt 3.5.2, Okio 3.3.0).

What's Changed

  • Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.8.0 to 0.13.2 by @dependabot in #15
  • Bump com.google.truth:truth from 1.1.3 to 1.1.4 by @dependabot in #12
  • Bump com.diffplug.spotless from 6.3.0 to 6.19.0 by @dependabot in #11
  • Bump org.jetbrains.dokka from 1.6.10 to 1.8.20 and other build tools by @dependabot in #18
  • Bump com.squareup.okio:okio from 3.0.0 to 3.3.0 by @dependabot in #17
  • Bump com.github.ajalt.clikt:clikt from 3.4.0 to 3.5.2 by @dependabot in #14
  • Bump com.vanniktech.maven.publish from 0.19.0 to 0.25.2 by @dependabot in #16
  • Fix bad maven publish merge by @ZacSweers in #19
  • Upstream processed exec implementation by @ZacSweers in #20

New Contributors

Full Changelog: 1.1.1...1.2.0