Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Releases: omaralbeik/UserDefaultsStore

3.0.0

05 Jun 02:07
1dce059
Compare
Choose a tag to compare

What's Changed

Both UserDefaultsStore and SingleUserDefaultsStore are now thread safe!
BREAKING: Use of custom encoder/decoder has been removed.
BREAKING: Snapshots have been removed.

2.1.0

05 Jun 00:29
bd27d3d
Compare
Choose a tag to compare

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

21 Aug 12:54
f2233cb
Compare
Choose a tag to compare

Introducing v2.0

  • Removed the Identifiable protocol in favor of Swift's Identifiable.
  • Increased deployment targets to iOS 13.0, tvOS 13.0, macOS 10.15, and watchOS 6.0.
  • Objects defined as non-final classes can now be used as well.
  • Added new generateSnapshot() and restoreSnapshot(_:) methods to generate and restore a Snapshot 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

22 Feb 14:38
15d35ff
Compare
Choose a tag to compare
  • Add init?(uniqueIdentifier:, encoder:, decoder:) to both UserDefaultsStore and SingleUserDefaultsStore to create a store with custom encoder and/or decoder
  • Replace TravisCI with Github Actions

1.4.3

17 Nov 18:15
0f14367
Compare
Choose a tag to compare
  • 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

27 Jun 05:51
Compare
Choose a tag to compare
Fix Package.swift

1.4.1

05 Jun 09:15
b743b0d
Compare
Choose a tag to compare
Merge pull request #37 from omaralbeik/v1.4.1

Add test cases for failable initializers, update SPM code

1.4

04 Apr 13:27
9399dcc
Compare
Choose a tag to compare
1.4

v1.4 brings Swift 5.0 and Xcode 10.2 support!

1.3

04 Oct 18:36
ffbac3f
Compare
Choose a tag to compare
1.3
Fixes #23 Remove Hashable constraint for ID (#30)

1.2.2

30 Sep 20:00
e4c57ac
Compare
Choose a tag to compare
v1.2.2 (#28)