Skip to content

Releases: Maxr1998/ModernAndroidPreferences

2.4.0-beta2

07 Apr 14:09
728f1d0
Compare
Choose a tag to compare
2.4.0-beta2 Pre-release
Pre-release

New features

  • Support Int keys for singleChoice 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

06 Sep 01:05
1baa095
Compare
Choose a tag to compare
2.4.0-beta1 Pre-release
Pre-release

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) and DialogPreference.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

18 Dec 15:07
c97276c
Compare
Choose a tag to compare

New features

  • Support setting default value for EditTextPreference

Other

  • Lots of dependency updates, see full changelog for details

Full Changelog

Release 2.3.1

11 Jun 14:46
60704ae
Compare
Choose a tag to compare

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

24 Dec 15:46
bc17449
Compare
Choose a tag to compare

New features

  • Support overriding accent-colored texts with mapAccentTextColor attribute in a theme - by default, it still uses colorAccent 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

12 Nov 21:19
570780e
Compare
Choose a tag to compare

Fixes

  • Fix specs of selection dialog items

Release 2.2.0

07 Nov 14:45
1275553
Compare
Choose a tag to compare

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

25 Apr 22:15
a5b561a
Compare
Choose a tag to compare

New features

  • Allow to disable summary generation for choice preferences 7780c3d

Fixes

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

04 Feb 23:32
95dddc4
Compare
Choose a tag to compare

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

17 Dec 23:29
29f9b53
Compare
Choose a tag to compare

New features

  • Added EditTextPreference that allows free-form text input in a dialog

Behavior changes

  • DialogPreference now uses the AlertDialog from AppCompat