From 5dab5a035621350c15685259df5342433060901d Mon Sep 17 00:00:00 2001 From: Zac Sweers Date: Tue, 23 Apr 2024 14:53:43 -0400 Subject: [PATCH] Prepare for release 1.8.0. --- CHANGELOG.md | 21 +++++++++++++++++++ gradle.properties | 2 +- .../gradle.properties | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2805273f..043f6fb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,27 @@ Changelog ========= +1.8.0 +----- + +_2024-04-23_ + +- **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. + ```kotlin + @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](https://github.com/DrewCarlson) for contributing to this release! + 1.7.1 ----- diff --git a/gradle.properties b/gradle.properties index 572de75a..1d831ef6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ kotlin.compiler.keepIncrementalCompilationCachesInMemory=true kotlin.compiler.preciseCompilationResultsBackup=true GROUP=dev.zacsweers.redacted -VERSION_NAME=1.8.0-SNAPSHOT +VERSION_NAME=1.8.0 POM_DESCRIPTION=A Kotlin compiler plugin that generates redacted toString() implementations. POM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/ POM_SCM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/ diff --git a/redacted-compiler-plugin-gradle/gradle.properties b/redacted-compiler-plugin-gradle/gradle.properties index 7907d576..222f357a 100644 --- a/redacted-compiler-plugin-gradle/gradle.properties +++ b/redacted-compiler-plugin-gradle/gradle.properties @@ -3,7 +3,7 @@ POM_ARTIFACT_ID=redacted-compiler-plugin-gradle POM_PACKAGING=jar GROUP=dev.zacsweers.redacted -VERSION_NAME=1.8.0-SNAPSHOT +VERSION_NAME=1.8.0 POM_DESCRIPTION=A Kotlin compiler plugin that generates redacted toString() implementations. POM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/ POM_SCM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/