1.2.1
This release is primarily under-the-hood changes + extra compile-time checks.
- [IR] Fail compilation if both class and any number of properties are annotated with
@Redacted. - [IR] Fail compilation if
@Redactedis used in a non-class context.- Before it would only check if the class is non-data, but with Kotlin 1.8 introducing
data objectclasses we need to also check that the target type is itself a class.
- Before it would only check if the class is non-data, but with Kotlin 1.8 introducing
- [IR] Fail compilation if a custom
toString()function is implemented in a data class using@Redacted. - [IR] Harden
toString()function declaration matching. - [FIR] Promote
REDACTED_ON_CLASS_AND_PROPERTY_WARNINGto error. - Update to Kotlin 1.7.22.
General repo infra
- Run parameterized tests against both IR and FIR
- Add more tests for failure cases
What's Changed
- Configure Renovate by @renovate in #89
- Beef up tests and add more checks in IR by @ZacSweers in #88
- Update kotlin monorepo to v1.7.22 by @renovate in #90
- Update ksp to v1.7.22-1.0.8 by @renovate in #91
New Contributors
Full Changelog: 1.2.0...1.2.1