Changelog History
Page 1
-
v1.0.0 Changes
September 21, 2015Get it
compile 'net.grandcentrix.tray:tray:1.0.0-rc1'
๐ Changelog
- ๐ Android M Auto Backup feature support (see the Documentation)
- split up database for user and device specific data (device specific data can now be excluded from the auto backup)
TrayPreferences
has now an optional 3. constructor parameterTrayStorage.Type
,USER
orDEVICE
indicating the internal database (required for Android M Auto Backup). Default isUSER
- ๐ New methods and changes
PreferenceAccessor#wipe()
clears the preference data and it's internal data (version)TrayPreferences#annexModule(String name)
imports a module by name and wipes it afterwards. This allows renaming of preferences without losing dataAbstractTrayPreference#annex(ModularizedStorage<TrayItem>)
allows a storage to import another storage, wipes the imported afterwardsPreference
#onCreate(...)
and#onUpgrade(...)
aren't abstract anymore because they don't require an implementation
- ๐ Deprecations (will be removed soon)
TrayAppPreferences
is now deprecated. UseAppPreferences
instead (renaming)TrayModulePreferences
is now deprecated. UseTrayPreferences
instead to extend from for your own Preferences
- Internal structure
- new package structure. merged packages
accessor
,migration
andstorage
intocore
- package
provider
contains aTrayStorage
implementation with aContentProvider
. Is easy exchangeable with anotherTrayStorage
implementation ModularizedTrayPreference
is now calledAbstractTrayPreference
ModularizedStorage
was renamed toTrayStorage
- new package structure. merged packages
- ๐ Android M Auto Backup feature support (see the Documentation)
-
v1.0.0-rc3
November 05, 2015 -
v1.0.0-rc2
September 24, 2015 -
v1.0.0-rc1 Changes
September 21, 2015Get it
compile 'net.grandcentrix.tray:tray:1.0.0-rc1'
๐ Changelog
- ๐ Android M Auto Backup feature support (see the Documentation)
- split up database for user and device specific data (device specific data can now be excluded from the auto backup)
TrayPreferences
has now an optional 3. constructor parameterTrayStorage.Type
,USER
orDEVICE
indicating the internal database (required for Android M Auto Backup). Default isUSER
- ๐ New methods and changes
PreferenceAccessor#wipe()
clears the preference data and it's internal data (version)TrayPreferences#annexModule(String name)
imports a module by name and wipes it afterwards. This allows renaming of preferences without losing dataAbstractTrayPreference#annex(ModularizedStorage<TrayItem>)
allows a storage to import another storage, wipes the imported afterwardsPreference
#onCreate(...)
and#onUpgrade(...)
aren't abstract anymore because they don't require an implementation
- ๐ Deprecations (will be removed soon)
TrayAppPreferences
is now deprecated. UseAppPreferences
instead (renaming)TrayModulePreferences
is now deprecated. UseTrayPreferences
instead to extend from for your own Preferences
- Internal structure
- new package structure. merged packages
accessor
,migration
andstorage
intocore
- package
provider
contains aTrayStorage
implementation with aContentProvider
. Is easy exchangeable with anotherTrayStorage
implementation ModularizedTrayPreference
is now calledAbstractTrayPreference
ModularizedStorage
was renamed toTrayStorage
- new package structure. merged packages
- ๐ Android M Auto Backup feature support (see the Documentation)
-
v0.12.0 Changes
May 05, 2017๐
tray__authority
is now deprecated. You'll see a big error in logcat when your are still using it. Instead the<applicationId>.tray
will be used as authority.If you rely on a specific authority of the
ContentProvider
(and you really don't) you can change it. Read the wiki for more information.dependencies { compile 'net.grandcentrix.tray:tray:0.12.0'}
-
v0.11.1 Changes
February 07, 2017 -
v0.11.0 Changes
September 07, 2016 -
v0.10.0 Changes
May 31, 2016- ๐ All features and changes of the 1.0.0-rc preview builds
- #65 Fix deletion of non string migrated shared preferences.
Version 1.0.0 preview - postponed until the memory cache is ready
1.0.0-rc3
05.11.15
๐ > - hotfix for listener on Android 6.0 which has caused a infinity loop #55 โ > - the sample project includes now a way to test the multi process support compared to the
SharedPreferences
๐ > - removed unnecessary write operation for every version check #541.0.0-rc2
24.09.15
๐ฒ > - added logging for all data changing methods. Enable via
adb shell setprop log.tag.Tray VERBOSE
1.0.0-rc1
21.09.15
๐ > - Android M Auto Backup feature support (see the Documentation) ๐ > - split up database for user and device specific data (device specific data can now be excluded from the auto backup) 0๏ธโฃ > -
TrayPreferences
has now an optional 3. constructor parameterTrayStorage.Type
,USER
orDEVICE
indicating the internal database (required for Android M Auto Backup). Default isUSER
๐ > - New methods and changesPreferenceAccessor#wipe()
clears the preference data and it's internal data (version)TrayPreferences#annexModule(String name)
imports a module by name and wipes it afterwards. This allows renaming of preferences without losing dataAbstractTrayPreference#annex(ModularizedStorage<TrayItem>)
allows a storage to import another storage, wipes the imported afterwards โฌ๏ธ > -Preference
#onCreate(...)
and#onUpgrade(...)
aren't abstract anymore because they don't require an implementation ๐ > - Deprecations (will be removed soon) ๐ > -TrayAppPreferences
is now deprecated. UseAppPreferences
instead (renaming) ๐ > -TrayModulePreferences
is now deprecated. UseTrayPreferences
instead to extend from for your own Preferences- Internal structure
๐ฆ > - new package structure. merged packages
accessor
,migration
andstorage
intocore
๐ฆ > - packageprovider
contains aTrayStorage
implementation with aContentProvider
. Is easy exchangeable with anotherTrayStorage
implementation ModularizedTrayPreference
is now calledAbstractTrayPreference
ModularizedStorage
was renamed toTrayStorage
-
v0.9.2 Changes
June 02, 2015getContext()
is working inTrayModulePreference#onCreate
- ๐ applied new code style
-
v0.9.1 Changes
May 18, 2015- saving
null
withmPref.put(KEY, null)
works now - 0๏ธโฃ access to preference with throwing methods instead of default value (throws ItemNotFoundException). Example:
mPref.getString(KEY);
instead ofmPref.getString(KEY, "defaultValue");
- โ
WrongTypeException when accessing a preference with a different type and the data isn't parsable. Float (
10.1f
) -> String works, String ("10.1"
) -> Float works, String ("test"
) -> Float throws! - javadoc in now included in aar
- saving