Skip to content

Releases: ZacSweers/redacted-compiler-plugin

1.18.0

Choose a tag to compare

@ZacSweers ZacSweers released this 02 Jul 06:02
  • Integrate Metro's compiler-compat infra to support a wider range of Kotlin compiler versions.
  • Test+support Kotlin 2.4.10-RC and 2.4.20-Beta1.

What's Changed

Full Changelog: 1.17.0...1.18.0

1.17.0

Choose a tag to compare

@ZacSweers ZacSweers released this 03 Jun 14:03
  • Compile against Kotlin 2.4.0.This release requires Kotlin 2.4.0 or later. It may work on older versions but is untested.

What's Changed

Full Changelog: 1.16.0...1.17.0

1.16.0

Choose a tag to compare

@ZacSweers ZacSweers released this 16 Mar 17:56
  • Compile against Kotlin 2.3.20.This release requires Kotlin 2.3.20 or later.
  • Raise the Gradle plugin Kotlin target to 2.0, which in turn requires Gradle 8.11 or later.
  • Remove the following deprecated targets. See: https://kotl.in/native-targets-tiers.
    • macosX64
    • iosX64
    • watchosX64
    • tvosX64

What's Changed

Full Changelog: 1.15.1...1.16.0

1.15.1

Choose a tag to compare

@ZacSweers ZacSweers released this 20 Nov 20:07
  • Add RedactedCompilerPluginRegistrar.pluginId for forward compatibility with Kotlin 2.3.0's new API.
  • Compile against Gradle 9.2.1.
  • Compile against Kotlin 2.2.21.

What's Changed

Full Changelog: 1.15.0...1.15.1

1.15.0

Choose a tag to compare

@ZacSweers ZacSweers released this 11 Sep 02:16
  • Update to Kotlin 2.2.20. This release requires 2.2.20 or later.
  • Compile against Gradle 9.0.

What's Changed

Full Changelog: 1.14.1...1.15.0

1.14.1

Choose a tag to compare

@ZacSweers ZacSweers released this 29 Jun 17:53
  • Fix: Handle failed error message when no redacted properties.

Special thanks to @jonapoul for contributing to this release!

What's Changed

  • Update dependency com.facebook:ktfmt to v0.56 by @renovate in #331
  • Update plugin binaryCompatibilityValidator to v0.18.0 by @renovate in #329
  • Handle failed error message when no redacted properties by @jonapoul in #332

New Contributors

Full Changelog: 1.14.0...1.14.1

1.14.0

Choose a tag to compare

@ZacSweers ZacSweers released this 23 Jun 15:23
  • Fix: Check both the parameter and property declarations for redacted annotations. Depending on the specified annotation target of custom annotations, these may end up in different places.
  • Update Kotlin to 2.2.0. This plugin version requires Kotlin 2.2.0 or later.
  • Update Gradle plugin to target Kotlin language version to 1.9 (requires Gradle 8.3+).
  • Build against Gradle 8.14.2.

What's Changed

Full Changelog: 1.13.0...1.14.0

1.13.0

Choose a tag to compare

@ZacSweers ZacSweers released this 26 Mar 16:52
  • Update to Kotlin 2.1.20. This plugin version requires Kotlin 2.1.20 or later.
  • Build against Gradle 8.13.

What's Changed

Full Changelog: 1.12.1...1.13.0

1.12.1

Choose a tag to compare

@ZacSweers ZacSweers released this 22 Feb 20:01
  • Fix: Fix CLI parsing for multiple custom annotations. Note that while the previous version was broken, it would have also failed compilation so there shouldn't be a chance that broken redactions would have made it into a production build.
  • Update to Kotlin 2.1.10.
  • Build against Gradle 8.12.1.

What's Changed

Full Changelog: 1.12.0...1.12.1

1.12.0

Choose a tag to compare

@ZacSweers ZacSweers released this 21 Dec 03:34
  • Fix FIR diagnostics rendering in the IDE. Note this only works in the K2 Kotlin IDE plugin + setting the IntelliJ kotlin.k2.only.bundled.compiler.plugins.enabled registry key to false.
  • When custom annotations are defined, report those names in FIR error messages.
  • Support multiple custom annotations.
    • For Gradle configuration, the singular *Annotation properties are deprecated in favor of plural*Annotations SetProperty types.
    • For CLI consumers, the redactedAnnotation and unredactedAnnotation properties are now redactedAnnotations and unredactedAnnotations.
  • Build against Gradle 8.12.
  • Only report errors in FIR now. Removes the validateIr plugin option.
  • No longer support K1.
  • Raise Gradle plugin Kotlin target to 1.9.

This release goes all in on FIR for in-IDE error reporting!

image

What's Changed

Full Changelog: 1.11.0...1.12.0