Releases: patrickgold/jetpref
Releases · patrickgold/jetpref
0.2.0-beta01
What's Changed
- Update to material3 ui by @lm41 in #5
- Fix
ListPreference
horizontal content padding (#6) by @patrickgold in #7 - Update
ListPreference
divider color and width by @lm41 in #8
Full Changelog: 0.1.0...0.2.0-beta01
0.1.0
0.1.0-rc02
0.1.0-rc01
- Add ability to initialize models as read-only
- Upgrade project to AGP 8.2.2 and Gradle to 8.2
- Upgrade Kotlin to 1.9.22 and Jetpack Compose to 1.6.1
Commits included in this release: 0.1.0-beta14...0.1.0-rc01
0.1.0-beta14
- The library is now published to Maven Central instead of jitpack.io for consistency and reliability
- Add divider for clickable target distinguishably in list+switch pref
- Remove hard-coded default value for summarySwitchDisabled
- Change default text style of description composer to body2
- Fix ListPreference.summarySwitchEnabled forcing to show a disabled summary
- Add comments and an example for onPreviewSelectedValue
- Upgrade project to AGP 8.0.0
- Upgrade Kotlin to 1.8.21 and Jetpack Compose to 1.4.3
Commits included in this release: 0.1.0-beta13...0.1.0-beta14
0.1.0-beta13
- Upgrade Kotlin to 1.7.10
- Upgrade Compose to 1.2.0
- Upgrade other dependencies
- Raise compile SDK from 31 to 32
- Adjust Maven meta data (shorten names) to improve readability in tight places (e.g. about section dependency list):
jetpref-datastore-annotations
is now namedJetPref Datastore Annotations
jetpref-datastore-ui
is now namedJetPref Datastore UI
jetpref-material-ui
is now namedJetPref Material UI
Commits included in this release: 0.1.0-beta12...0.1.0-beta13
0.1.0-beta12
- Add ability to migrate preference data
- The README file provides details on this new feature!
- Add ability to preview selected value for dialog slider preferences
onPreviewSelectedValue
for a single pref dialog slideronPreviewSelectedPrimaryValue
andonPreviewSelectedSecondaryValue
for dual pref dialog sliders
- Fix SwitchPreference's switch component not properly aligned (florisboard/florisboard#1919)
- Improve enum pref initializer implementation in PreferenceModel
- Improve documentation and examples
- Extend README and provide initial detailed usage docs
- Document JetPrefColorPickerState
- Improve example preference model
- Upgrade dependencies
Commits included in this release: 0.1.0-beta11...0.1.0-beta12
0.1.0-beta11
- Fix value label in dialog slider pref not allowing composable calls (bug fix for 0.1.0-beta10 release)
Commits included in this release: 0.1.0-beta10...0.1.0-beta11
0.1.0-beta10
- Upgrade dependencies
- Upgrade Gradle to 7.4.2
- Upgrade AGP to 7.2.0
- Introduce Gradle version catalog for dependency management
- Remove Android Jetifier flag and unused version definitions
- Changes regarding
DialogSliderPreference
- Add new value label and summary arguments to
DialogSliderPreference
, which replace the old one:The value label and summary now are not static strings anymore, but are evaluator lambdas, this allows for special values to show different text (e.g. -1 = System default) to show properly. By default the summary is the same asvalueLabel: (V) -> String, summary: (V) -> String,
valueLabel
. - Add documentation strings for all public composables regarding the dialog slider pref
- Add new value label and summary arguments to
- Possibly fix datastore clearing on app launch
Commits included in this release: 0.1.0-beta09...0.1.0-beta10
0.1.0-beta09
- Upgrade dependencies
- AGP to 7.1.2
- Jetpack Compose to 1.1.1
- JUnit5 Plugin to 1.8.2.0
Commits included in this release: 0.1.0-beta08...0.1.0-beta09