You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,27 @@
1
1
Changelog
2
2
=========
3
3
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 classUser(
14
+
@Unredacted valname:String,
15
+
valphoneNumber: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!
0 commit comments