Changelog History
Page 2
-
v4.0.0-beta.2 Changes
March 09, 2019⚡️ Minor stability update for Carthage users. This should fix the linking problem we've had in beta.1.
⚡️ No other fixes/updates were introduced in here. -
v4.0.0-beta.1 Changes
February 25, 2019⚡️ This update introduces few cool additions to the library! 🎉
🔄 Changelog
- ➕ Added support for launch arguments/plist for
Bool
,Double
,Int
,String
values. @sunshinejr - ➕ Added support for KVO! DivineDominion, toshi0383, @sunshinejr
- 👍 Brought back dictionary support for
[String: Any]
/[String: String]
and corresponding array version of it[[String: Any]]
/[[String: String]]
. @sunshinejr
👀 If you have already created a custom bridge for you type, and you want to use it with KVO, you'll need to override two new functions:
isSerialized()
anddeserialize(_:)
. See Readme for more instructions. - ➕ Added support for launch arguments/plist for
-
v4.0.0-alpha.3 Changes
February 19, 2019⚡️ This is a small update over 4.0.0-alpha.2 with two fixes.
Migration guide from 3.x to 4.x
Migration guide from 4.0.0-alpha.1 to 4.0.0-alpha.2🔄 Changelog
- 🛠 Fixed a non-optional vs optional comparison bug (#176). @z3bi and @sunshinejr
- 🛠 Fixed an invalid Info.plist error (#173). @sunshinejr
-
v4.0.0-alpha.2 Changes
February 18, 2019🍱 🎉🎉🎉
We're back with alpha 2!
Migration guide from 3.x to 4.x
Migration guide from 4.0.0-alpha.1 to 4.0.0-alpha.2🔄 Changelog
- 👍 Swift 4.2 support. @sunshinejr
- 👍 Early Swift 5.0 support! @sunshinejr
- 0️⃣ Rewritten core. We use
DefaultsBridges
now to define getters/setters for given type. @sunshinejr - 🛠 Fixed a bug where you couldn't extend non-final class like
NSColor
. @sunshinejr - ✂ Removed type-based default values. This means you need to use key-based defaultValue or use an optional
DefaultsKey
from now on. @sunshinejr - 👌 Improved CI infra: Swift 4.1/4.2/5.0 builds with CocoaPods/Carthage/SPM integration scripts. @sunshinejr
-
v4.0.0-alpha.1 Changes
May 08, 2018🍱 🎉🎉🎉
This is a huge release. Please try it out and let me know how it feels as we still have time for improvements!
Migration guide from 3.x to 4.x
🔄 Changelog
- 👍 Swift 4.1 support @sunshinejr
- ➕ Added
Codable
support! @sunshinejr - ➕ Added generic subscripts support (better
DefaultsKey
init diagnostics and accessingDefaults[.key]
) @sunshinejr - ➕ Added default values protocols (
DefaultsDefaultValueType
,DefaultsDefaultArrayValueType
) - this means that you can extend any type with default value so you can create non-optionalDefaultsKey
afterwards! @sunshinejr - ➕ Added default values in
DefaultsKey
, e.g.DefaultsKey<String>("test", defaultValue: "default value")
@sunshinejr - ➕ Added better support for custom types: using
DefaultsSerializable
, when your type implementsNSCoding
,RawRepresentable
(enums as well) orCodable
, you get default implementations for free! @sunshinejr - ➕ Added automatic array support for any type that is available to
SwiftyUserDefaults
(means custom withDefaultsSerializable
as well!) @sunshinejr - ➕ Added Swift Package Manager support! @sunshinejr
- ➕ Added
[URL]
built-in support! @sunshinejr - ✅ A lot of infrastructure changes (CI, project), around 350 tests to make sure all of the changes work properly! @sunshinejr
- Removed legacy strings based API (
Defaults["test"]
),Dictionary
andAny
support (sorry, with all the changes in the library we had to, but you probably can bring it back withDefaultsSerializable
anyways 😅) @sunshinejr
-
v3.0.1 Changes
November 12, 2016- 🛠 Fix for Swift Package Manager #114 @max-potapov
-
v3.0.0 Changes
September 14, 2016⚡️ This is the Swift 3 update version.
It contains no major changes in the library itself, however it does change some APIs because of Swift 3 requirements.
- 📚 Update documentation and README for Swift 3
- ⚡️ Updated for Swift 3 and Xcode 8 compatibility #91 @askari01
- ⚡️ Updated for Swift 3 beta 4 #102 @rinatkhanov
- ⚡️ Updated for Swift 3 beta 6 #106 @ldiqual
-
v2.2.1 Changes
August 03, 2016- 0️⃣
NSUserDefaults.set()
is now public (useful for adding support for custom types) #85 @goktugyil - 👌 Support for Xcode 8 (Swift 2.3) for Carthage users #100 @KevinVitale
- 0️⃣
-
v2.2.0 Changes
April 10, 2016- 👌 Support for
archive()
andunarchive()
onRawRepresentable
types - 👌 Improved documentation
- 👌 Support for
-
v2.1.3 Changes
March 02, 2016- 🛠 Fix Carthage build
- ✅ Suppress deprecation warnings in tests