Skip to content

Releases: ZacSweers/redacted-compiler-plugin

1.8.1

26 Apr 19:42
Compare
Choose a tag to compare
  • Allow @Unredacted to be applied to a class, only when a supertype is @Redacted
  • Allow @Redacted supertypes to be inherited by objects, only when the child does not implement a custom toString method
  • Fail compilation when @Unredacted and @Redacted are applied to the same class

Special thanks to @DrewCarlson for contributing to this release!

What's Changed

Full Changelog: 1.8.0...1.8.1

1.8.0

23 Apr 19:04
Compare
Choose a tag to compare
  • New: Support for annotating interfaces and non-final classes as @Redacted. In this event, all data/value subclasses will be treated as @Redacted.
  • New: Support for @Unredacted to explicitly opt out of redacting specific properties in otherwise-redacted classes.
    @Redacted
    data class User(
      @Unredacted val name: String,
      val phoneNumber: String
    )
    
    // This will redact `phoneNumber` but not `name`
    // User(name=Bob, phoneNumber=██)
  • Update Kotlin to 1.9.23.

Special thanks to @DrewCarlson for contributing to this release!

What's Changed

Full Changelog: 1.7.1...1.8.0

1.7.1

26 Nov 19:01
Compare
Choose a tag to compare
  • Update Kotlin to 1.9.21.

1.7.0

31 Oct 20:29
Compare
Choose a tag to compare
  • Update to Kotlin 1.9.20. This plugin now requires 1.9.20.
  • Update wasm target to wasmJs.

What's Changed

Full Changelog: 1.6.1...1.7.0

1.6.1

03 Sep 03:18
Compare
Choose a tag to compare
  • Enhancement: Simplify lookup of KotlinCompilation's implementation configuration name in the Gradle plugin when using the default annotation.
  • Update to Kotlin 1.9.10.
  • Build against Gradle 8.3.

What's Changed

Full Changelog: 1.6.0...1.6.1

1.6.0

08 Jul 21:32
Compare
Choose a tag to compare
  • New: Support value class types. Note that only annotating the class is supported, as annotating the property would be redundant.

What's Changed

Full Changelog: 1.5.0...1.6.0

1.5.0

06 Jul 21:33
Compare
Choose a tag to compare
  • Update to Kotlin 1.9.0. This plugin now requires 1.9.0.

What's Changed

Full Changelog: 1.4.0...1.5.0

1.4.0

03 Apr 13:17
Compare
Choose a tag to compare
  • Update to Kotlin 1.8.20. This plugin now requires 1.8.20.
  • [annotations] Mark JS binaries as executable.
  • [annotations] Remove deprecated watchosX86().
  • [annotations] Add wasm target. Note this is experimental and not stable.
  • [annotations] Add androidNativeArm32, androidNativeArm64, androidNativeX86, androidNativeX64, and watchosDeviceArm64 targets.

What's Changed

Full Changelog: 1.3.1...1.4.0

1.3.1

16 Mar 20:26
Compare
Choose a tag to compare
  • Fix: Missing jvmTarget in the annotations artifact. Target is now properly set to Java 11.
  • Update to Kotlin 1.8.10.

1.3.0

29 Dec 14:46
Compare
Choose a tag to compare
  • Update to Kotlin 1.8.0. This release is only compatible with Kotlin 1.8 or later.
  • Update JVM target to 11.
  • Kotlin JS artifact now only supports IR.
  • Migrate the IR and FIR plugins to new CompilerPluginRegistrar entrypoint API.

What's Changed

Full Changelog: 1.2.1...1.3.0