Releases: ZacSweers/redacted-compiler-plugin
Releases · ZacSweers/redacted-compiler-plugin
1.8.1
- 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 customtoString
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
- Update actions/checkout digest to 1d96c77 by @renovate in #209
- Update actions/checkout digest to 0ad4b8f by @renovate in #211
- Allow
@Unredacted
classes &@Redacted
child objects by @DrewCarlson in #212
Full Changelog: 1.8.0...1.8.1
1.8.0
- New: Support for annotating interfaces and non-final classes as
@Redacted
. In this event, alldata
/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
- Update actions/setup-java action to v4 by @renovate in #183
- Update plugin spotless to v6.23.1 by @renovate in #181
- Update dependency gradle to v8.5 by @renovate in #182
- Update dependency com.google.truth:truth to v1.2.0 by @renovate in #188
- Update kotlin monorepo by @renovate in #186
- Update plugin mavenPublish to v0.26.0 by @renovate in #187
- Update plugin spotless to v6.23.3 by @renovate in #184
- Update ksp to v1.9.22-1.0.16 by @renovate in #185
- Update plugin spotless to v6.24.0 by @renovate in #191
- Update dependency org.jetbrains.kotlinx:kotlinx-metadata-jvm to v0.9.0 by @renovate in #190
- Update plugin mavenPublish to v0.27.0 by @renovate in #189
- Update dependency gradle to v8.6 by @renovate in #198
- Update gradle/wrapper-validation-action action to v2 by @renovate in #197
- Update plugin binaryCompatibilityValidator to v0.14.0 by @renovate in #196
- Update dependency com.google.truth:truth to v1.4.0 by @renovate in #194
- Update ksp to v1.9.22-1.0.17 by @renovate in #193
- Update CI and spotless by @renovate in #195
- Update kotlin monorepo to v1.9.23 by @renovate in #203
- Update ksp to v1.9.23-1.0.19 by @renovate in #201
- Update plugin mavenPublish to v0.28.0 by @renovate in #204
- Update dependency com.google.truth:truth to v1.4.2 by @renovate in #200
- Update plugin dokka to v1.9.20 by @renovate in #202
- Update dependency gradle to v8.7 by @renovate in #205
- Update kotlinCompileTesting to v0.4.1 by @renovate in #206
- Update ksp to v1.9.23-1.0.20 by @renovate in #207
- Update gradle/wrapper-validation-action action to v3 by @renovate in #208
- Support Unredacted properties and supertype based redaction by @DrewCarlson in #210
Full Changelog: 1.7.1...1.8.0
1.7.1
1.7.0
- Update to Kotlin
1.9.20
. This plugin now requires1.9.20
. - Update wasm target to
wasmJs
.
What's Changed
- Update actions/checkout action to v4 by @renovate in #169
- Update dependency gradle to v8.4 by @renovate in #175
- Update plugin dokka to v1.9.10 by @renovate in #177
- Update plugin spotless to v6.22.0 by @renovate in #174
- Update actions/checkout digest to b4ffde6 by @renovate in #173
- Update dependency com.facebook:ktfmt to v0.46 by @renovate in #170
- Prepare for Kotlin 1.9.20 by @ZacSweers in #171
Full Changelog: 1.6.1...1.7.0
1.6.1
- Enhancement: Simplify lookup of
KotlinCompilation
'simplementation
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
- Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.1.0 by @renovate in #157
- Update ksp to v1.9.0-1.0.12 by @renovate in #160
- Update plugin spotless to v6.20.0 by @renovate in #159
- Update dependency org.jetbrains.kotlinx:kotlinx-metadata-jvm to v0.7.0 by @renovate in #154
- Update dependency gradle to v8.2.1 by @renovate in #158
- Update ksp to v1.9.0-1.0.13 by @renovate in #161
- Update kotlinCompileTesting to v0.3.2 by @renovate in #155
- Update dependency macos to v13 by @renovate in #162
- Update dependency gradle to v8.3 by @renovate in #163
- Update kotlin monorepo to v1.9.10 by @renovate in #164
- Update ksp to v1.9.10-1.0.13 by @renovate in #165
- Update plugin spotless to v6.21.0 by @renovate in #166
- Simplify configuration name resolution by @ZacSweers in #168
- Update plugin dokka to v1.9.0 by @renovate in #167
Full Changelog: 1.6.0...1.6.1
1.6.0
- New: Support
value class
types. Note that only annotating the class is supported, as annotating the property would be redundant.
What's Changed
- Update dependency gradle to v8.2 by @renovate in #152
- Support value classes by @ZacSweers in #156
Full Changelog: 1.5.0...1.6.0
1.5.0
- Update to Kotlin
1.9.0
. This plugin now requires1.9.0
.
What's Changed
- Update dependency gradle to v8.1 by @renovate in #133
- Update plugin spotless to v6.18.0 by @renovate in #132
- Update plugin mavenPublish to v0.25.2 by @renovate in #134
- Update dependency gradle to v8.1.1 by @renovate in #137
- Update kotlin monorepo to v1.8.21 by @renovate in #138
- Update ksp to v1.8.21-1.0.11 by @renovate in #135
- Update plugin binaryCompatibilityValidator to v0.13.1 by @renovate in #136
- Update plugin spotless to v6.19.0 by @renovate in #142
- Update dependency com.google.auto.service:auto-service-annotations to v1.1.0 by @renovate in #141
- Update dependency com.facebook:ktfmt to v0.44 by @renovate in #139
- Update dependency com.google.truth:truth to v1.1.4 by @renovate in #145
- Update plugin binaryCompatibilityValidator to v0.13.2 by @renovate in #146
- Update plugin dokka to v1.8.20 by @renovate in #147
- Update dependency org.jetbrains.kotlinx:kotlinx-metadata-jvm to v0.6.2 by @renovate in #144
- Update kotlin monorepo to v1.8.22 by @renovate in #148
- Update dependency com.google.auto.service:auto-service-annotations to v1.1.1 by @renovate in #150
- Update dependency com.google.truth:truth to v1.1.5 by @renovate in #151
- Update ksp to v1.8.22-1.0.11 by @renovate in #149
- Update plugin mavenPublish to v0.25.3 by @renovate in #153
- Update to Kotlin 1.9.0 by @ZacSweers in #143
Full Changelog: 1.4.0...1.5.0
1.4.0
- Update to Kotlin
1.8.20
. This plugin now requires1.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
, andwatchosDeviceArm64
targets.
What's Changed
- Kotlin 1.8.20 support by @ZacSweers in #120
- Update plugin mavenPublish to v0.25.1 by @renovate in #128
Full Changelog: 1.3.1...1.4.0
1.3.1
1.3.0
- 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
- Update actions/checkout action to v3 by @renovate in #98
- Update plugin spotless to v6.12.0 by @renovate in #97
- Update actions/setup-java action to v3 by @renovate in #99
- Update plugin binaryCompatibilityValidator to v0.12.1 by @renovate in #95
- Update dependency gradle to v7.6 by @renovate in #94
- Update plugin dokka to v1.7.20 by @renovate in #93
- Enable explicit API mode by @ZacSweers in #103
- Standardize options and descriptions by @ZacSweers in #101
- Update dependency com.facebook:ktfmt to v0.42 by @renovate in #100
- Update plugin mavenPublish to v0.22.0 by @renovate in #96
- Kotlin 1.8 by @ZacSweers in #87
Full Changelog: 1.2.1...1.3.0