🖼️A modern media gallery, with features like backup/sync, semantic search, media map, face recognition, memories and much more built using the latest Android technologies.
[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ZacSweers/redacted-compiler-plugin (dev.zacsweers.redacted)
### [`v1.9.0`](https://togithub.com/ZacSweers/redacted-compiler-plugin/blob/HEAD/CHANGELOG.md#190)
[Compare Source](https://togithub.com/ZacSweers/redacted-compiler-plugin/compare/1.8.1...1.9.0)
*2024-05-22*
- Update to Kotlin `2.0.0` (aka K2). This plugin now assumes 2.0, but can be used with Kotlin 1.9.x as well.
- Fully implement validation checks in FIR, allowing the plugin to report errors earlier and also (eventually) have errors appear automatically in the IDE.
- The IR plugin no longer validates by default.
- At the time of writing, I'm not able to get errors to appear in the IDE even if non-bundled plugins are force-enabled. Follow [KTIJ-29248](https://youtrack.jetbrains.com/issue/KTIJ-29248) for more info.
- The `enabled` compiler option is no longer required and just defaults to true.
- Omit the stdlib from transitive dependencies on the compiler plugin and Gradle plugin artifacts. Both kotlinc and Gradle impose their own versions on the classpath.
### [`v1.8.1`](https://togithub.com/ZacSweers/redacted-compiler-plugin/blob/HEAD/CHANGELOG.md#181)
[Compare Source](https://togithub.com/ZacSweers/redacted-compiler-plugin/compare/1.8.0...1.8.1)
*2024-04-26*
- 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 custom `toString` method
- Fail compilation when `@Unredacted` and `@Redacted` are applied to the same class
Special thanks to [@DrewCarlson](https://togithub.com/DrewCarlson) for contributing to this release!
### [`v1.8.0`](https://togithub.com/ZacSweers/redacted-compiler-plugin/blob/HEAD/CHANGELOG.md#180)
[Compare Source](https://togithub.com/ZacSweers/redacted-compiler-plugin/compare/1.7.1...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://togithub.com/DrewCarlson) for contributing to this release!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.7.1
->1.9.0
Release Notes
ZacSweers/redacted-compiler-plugin (dev.zacsweers.redacted)
### [`v1.9.0`](https://togithub.com/ZacSweers/redacted-compiler-plugin/blob/HEAD/CHANGELOG.md#190) [Compare Source](https://togithub.com/ZacSweers/redacted-compiler-plugin/compare/1.8.1...1.9.0) *2024-05-22* - Update to Kotlin `2.0.0` (aka K2). This plugin now assumes 2.0, but can be used with Kotlin 1.9.x as well. - Fully implement validation checks in FIR, allowing the plugin to report errors earlier and also (eventually) have errors appear automatically in the IDE. - The IR plugin no longer validates by default. - At the time of writing, I'm not able to get errors to appear in the IDE even if non-bundled plugins are force-enabled. Follow [KTIJ-29248](https://youtrack.jetbrains.com/issue/KTIJ-29248) for more info. - The `enabled` compiler option is no longer required and just defaults to true. - Omit the stdlib from transitive dependencies on the compiler plugin and Gradle plugin artifacts. Both kotlinc and Gradle impose their own versions on the classpath. ### [`v1.8.1`](https://togithub.com/ZacSweers/redacted-compiler-plugin/blob/HEAD/CHANGELOG.md#181) [Compare Source](https://togithub.com/ZacSweers/redacted-compiler-plugin/compare/1.8.0...1.8.1) *2024-04-26* - 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 custom `toString` method - Fail compilation when `@Unredacted` and `@Redacted` are applied to the same class Special thanks to [@DrewCarlson](https://togithub.com/DrewCarlson) for contributing to this release! ### [`v1.8.0`](https://togithub.com/ZacSweers/redacted-compiler-plugin/blob/HEAD/CHANGELOG.md#180) [Compare Source](https://togithub.com/ZacSweers/redacted-compiler-plugin/compare/1.7.1...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://togithub.com/DrewCarlson) for contributing to this release!Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.