This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
Releases: omaralbeik/UserDefaultsStore
Releases · omaralbeik/UserDefaultsStore
3.0.0
2.1.0
What's Changed
- Fixed a bug where updating an item was not increasing objects count in
UserDefaultsStore
. - Deprecated snapshots and custom encoder/decoder in both stores.
- Removed installation via CocoaPods and Carthage, sorry I don't have the energy to support anything other than SPM anymore, feel free to open a PR to add them back.
- Removed doc generation with Jazzy in favor of DocC.
2.0.0
Introducing v2.0
- Removed the
Identifiable
protocol in favor of Swift'sIdentifiable
. - Increased deployment targets to iOS
13.0
,tvOS 13.0
,macOS 10.15
, andwatchOS 6.0
. - Objects defined as non-final classes can now be used as well.
- Added new
generateSnapshot()
andrestoreSnapshot(_:)
methods to generate and restore aSnapshot
object that can be saved (e.g. to iCloud) and restored later. - Fixed a bug where
objectsCount
might run out of sync with the actual count of objects in store.
1.5.0
- Add
init?(uniqueIdentifier:, encoder:, decoder:)
to bothUserDefaultsStore
andSingleUserDefaultsStore
to create a store with custom encoder and/or decoder - Replace TravisCI with Github Actions
1.4.3
- Fix a bug where saving an array of objects with an invalid object will cause the store to have an invalid count
- Fix a bug where project was not accessible using SPM
1.4.2
Fix Package.swift
1.4.1
Merge pull request #37 from omaralbeik/v1.4.1 Add test cases for failable initializers, update SPM code
1.4
v1.4 brings Swift 5.0 and Xcode 10.2 support!
1.3
Fixes #23 Remove Hashable constraint for ID (#30)
1.2.2
v1.2.2 (#28)