Skip to content

Commit 5dab5a0

Browse files
committed
Prepare for release 1.8.0.
1 parent a466998 commit 5dab5a0

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
Changelog
22
=========
33

4+
1.8.0
5+
-----
6+
7+
_2024-04-23_
8+
9+
- **New**: Support for annotating interfaces and non-final classes as `@Redacted`. In this event, all `data`/`value` subclasses will be treated as `@Redacted`.
10+
- **New**: Support for `@Unredacted` to explicitly opt out of redacting specific properties in otherwise-redacted classes.
11+
```kotlin
12+
@Redacted
13+
data class User(
14+
@Unredacted val name: String,
15+
val phoneNumber: String
16+
)
17+
18+
// This will redact `phoneNumber` but not `name`
19+
// User(name=Bob, phoneNumber=██)
20+
```
21+
- Update Kotlin to `1.9.23`.
22+
23+
Special thanks to [@DrewCarlson](https://github.com/DrewCarlson) for contributing to this release!
24+
425
1.7.1
526
-----
627

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ kotlin.compiler.keepIncrementalCompilationCachesInMemory=true
1212
kotlin.compiler.preciseCompilationResultsBackup=true
1313

1414
GROUP=dev.zacsweers.redacted
15-
VERSION_NAME=1.8.0-SNAPSHOT
15+
VERSION_NAME=1.8.0
1616
POM_DESCRIPTION=A Kotlin compiler plugin that generates redacted toString() implementations.
1717
POM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/
1818
POM_SCM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/

redacted-compiler-plugin-gradle/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ POM_ARTIFACT_ID=redacted-compiler-plugin-gradle
33
POM_PACKAGING=jar
44

55
GROUP=dev.zacsweers.redacted
6-
VERSION_NAME=1.8.0-SNAPSHOT
6+
VERSION_NAME=1.8.0
77
POM_DESCRIPTION=A Kotlin compiler plugin that generates redacted toString() implementations.
88
POM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/
99
POM_SCM_URL=https://github.com/ZacSweers/redacted-compiler-plugin/

0 commit comments

Comments
 (0)