- Update to Android Gradle Plugin 3.2.0
- Update to AndroidX 1.0.0
- Fix dependency resolution failure
- Migrate to AndroidX. If you need to use legacy Android Support Libraries, use v1.4.0
- Update to SDK 28
- Add
Preferenecs.expose
option to control visibility of the generated class(issue #10). The default value istrue
for backward compatibility. If you want a generated class to be package private, you need to manually set tofalse
.
- Add clear method using
SharedPreferences.Editor#commit()
(which I forgot to add in previous release). You need to enable it with@Preferences(needCommitMethodForClear = true)
- Setter/Remover method with
SharedPreferences.Editor#commit()
is now available. You need to enable it with@Key(needCommitMethod = true)
- Add overload method for Getter that you can pass default value as parameter
- Setter methods now return it's class instance(now we can chain!)
- Update to support library 23.2.1
initial release