Releases: Maxr1998/ModernAndroidPreferences
Releases · Maxr1998/ModernAndroidPreferences
2.4.0-beta2
New features
- Support
Int
keys forsingleChoice
preferences. While this is API-compatible for the DSL API and (mostly) for the general API, advanced usage might face some breaking changes.
Behavior changes
- Compile SDK was raised to 34
Other
- Lots of dependency updates, see full changelog for details
Full Changelog: 2.4.0-beta1...2.4.0-beta2
2.4.0-beta1
New features
- Allow to prevent dialog item selection through listener #139, by @rosenpin
- Support custom badge colors and badges in dialog preferences #140, by @rosenpin
Fixes
- Fixed a bug in
PreferencesAdapter.loadSavedState()
where the restore process would continue after a bogus state entry
Behavior changes
- Previously deprecated
Preference.getString(String)
andDialogPreference.onStop()
were finally removed – potentially breaking change - Deprecate
DEFAULT_RES_ID
constant which was exposed to the API surface accidentally
Other
- Lots of dependency updates, see full changelog for details
New Contributors
Full Changelog: 2.3.2...2.4.0-beta1
Release 2.3.2
New features
- Support setting default value for EditTextPreference
Other
- Lots of dependency updates, see full changelog for details
Full Changelog
Release 2.3.1
This is a simple maintenance release with just dependency updates, notably Kotlin 1.7.0.
Full Changelog: 2.3.0...2.3.1
Release 2.3.0
New features
- Support overriding accent-colored texts with
mapAccentTextColor
attribute in a theme - by default, it still usescolorAccent
from AppCompat
Behavior changes
- Hide various functions and variables from public API - potentially breaking!
(shouldn't have been public in the first place and are unlikely to be used)
Other
- Update Gradle Wrapper to 7.3.3 (#22, #24, #25)
- Add dump of public API and automatic binary compatiblity validation
- Run lint, detekt and API validation in CI via check task
- Other CI tweaks, see full changelog below for more info
Full Changelog
Release 2.2.1
Fixes
- Fix specs of selection dialog items
Release 2.2.0
New features
- Allow overriding the default AlertDialog builder through a factory in
Preference.Config
Fixes
- Rework lifecycle observers to properly handle dialogs (should now restore properly on device rotation)
Other
- Target Android 12
- Build environment changes
- Bump Kotlin to 1.5.31
- Bump Android Gradle plugin to 7.0.3 and update other plugins
- Dependency updates
Release 2.1.0
New features
- Allow to disable summary generation for choice preferences 7780c3d
Fixes
- Force
viewStart
text alignment for summary 4491211, by @8bitPit - Set Kotlin module name to fix library conflict #10, by @kdrag0n
Other
- Update Kotlin to 1.4.32
- Build plugin and dependency updates
- Introduce detekt for static code analysis and improve code quality
- CI improvements
Release 2.0
IMPORTANT
The library is now available on Maven Central as de.maxr1998:modernandroidpreferences
.
See the README for more information!
Other
- Dependency updates and maintainance
- Removed unnecessary stdlib dependency
Release 1.2.0-alpha1
New features
- Added
EditTextPreference
that allows free-form text input in a dialog
Behavior changes
DialogPreference
now uses the AlertDialog from AppCompat