Commit Graph

241 Commits

Author SHA1 Message Date
Kyle Fang
f9f2885583 fix: remove all items instead of just the ones to be inserted 2024-08-30 12:57:04 +08:00
Joe Fabisevich
28e295c131 Update Bodega to 2.1.3 2024-06-19 13:59:16 -04:00
Joe Fabisevich
9f595373d2 Merge pull request #66 from mergesort/chained-remove-fix
Fixes for chained operations and allowing SecurelyStoredValue to remove values with shape changes
2024-04-30 14:51:09 -04:00
Joe Fabisevich
b8f54b58a5 Adding a mechanism to force removal of keychain values when shape of data does not align 2024-04-22 16:07:12 -04:00
Joe Fabisevich
0e51481c64 Adding more tests for insert/remove chains 2024-04-16 14:21:44 -04:00
Joe Fabisevich
047ae4ae87 Adding more tests to cover scenarios where inserts occur after removes 2024-04-16 14:06:29 -04:00
Joe Fabisevich
5a2781d483 Enabling code coverage in SPM 2024-04-16 14:06:13 -04:00
Joe Fabisevich
ca61bfa537 Merge branch 'main' into chained-remove-fix
# Conflicts:
#	Tests/BoutiqueTests/AsyncStoreTests.swift
#	Tests/BoutiqueTests/BoutiqueItem.swift
#	Tests/BoutiqueTests/StoreTests.swift
2024-04-15 17:41:01 -04:00
Joe Fabisevich
ea05314f86 A fix for Boutique items not being removed from memory when chaining .remove(items) 2024-04-15 17:35:48 -04:00
Joe Fabisevich
31e22eacac Merge pull request #62 from mergesort/caching
Implementing an additional caching layer for StoredValue
2024-04-12 11:23:49 -04:00
Joe Fabisevich
221d9f8b0e Adding a layer of caching to skip JSON decoding when accessing a StoredValue 2024-04-10 15:36:04 -04:00
Joe Fabisevich
4b33c28607 Removing BoutiquItem prefixes from test fixtures 2024-04-10 10:57:50 -04:00
Joe Fabisevich
d848d4f01e Temporary workaround for a bug that prevents updating a SecurelyStoredValue 2024-04-08 20:01:35 -04:00
Joe Fabisevich
f48a08788d Merge pull request #60 from mergesort/remove-all-fix
Fix for unexpected removeItems chaining behavior
2024-01-31 16:22:52 -05:00
Joe Fabisevich
9e56b685c6 Properly removing items from StorageEngine in removeItems 2024-01-29 19:29:38 -05:00
Joe Fabisevich
d4b9364097 Removing potentially incorrect item optimization 2024-01-29 19:18:21 -05:00
Joe Fabisevich
656bfea43a Fixing a bug related to removeAll strategy 2024-01-29 19:06:34 -05:00
Joe Fabisevich
8641b9dec8 Merge pull request #59 from Qusea/patch-1
Fix typo in the-@stored-family-of-property-wrappers.json
2024-01-02 15:00:03 -05:00
Qusea Saif
d898230087 Fixed typo in correct file 2024-01-02 22:36:48 +03:00
Qusea Saif
cf613a5501 Fix typo in the-@stored-family-of-property-wrappers.json
'matter how' is repeated in 'Observing a Store’s values'
2023-12-31 18:16:10 +03:00
Joe Fabisevich
6cf5a88e42 Adding docs for togglePresence 2023-12-29 17:21:13 -05:00
Joe Fabisevich
c9044d78f5 Adding togglePresence to array variants of StoredValue and AsyncStoredValue 2023-12-12 23:01:59 -05:00
Joe Fabisevich
5582089edd Adding consistency to readme 2023-12-05 12:38:54 -05:00
Joe Fabisevich
57c64c93d5 Swapping parameter order of group and service 2023-09-18 13:56:02 -04:00
Joe Fabisevich
a386031390 Adding an option to provide an explicit service parameter 2023-09-18 13:01:34 -04:00
Joe Fabisevich
32cbb4ba36 Only add Keychain group parameters on an as needed basis 2023-09-18 12:30:06 -04:00
Joe Fabisevich
6c1b61f8c1 Adding kSecAttrAccessibleAfterFirstUnlock property 2023-09-18 01:09:27 -04:00
Joe Fabisevich
5432855a5d Adding missing group when accessing keychain value 2023-09-18 00:27:44 -04:00
Joe Fabisevich
21a202c228 Merge branch 'main' of github.com:mergesort/Boutique 2023-09-17 23:54:52 -04:00
Joe Fabisevich
c9c65eac89 Adding an optional group parameter for SecurelyStoredValue 2023-09-17 23:54:49 -04:00
Joe Fabisevich
3ee2a69b5a Tweaking spacing 2023-09-13 15:51:26 -04:00
Joe Fabisevich
1a81e8916d Making SecurelyStoredValue mutation functions operate on MainActor 2023-08-27 00:12:10 -04:00
Joe Fabisevich
fa8b035845 Making StoredValue mutation functions operate on MainActor 2023-08-26 20:03:36 -04:00
Joe Fabisevich
76f94c507a Revert "Binding StoredValue to @MainActor, was lost in a previous merge"
This reverts commit e85d0d4084.
2023-08-26 19:33:03 -04:00
Joe Fabisevich
ee6187ab98 Merge branch 'main' of github.com:mergesort/Boutique 2023-08-26 18:15:28 -04:00
Joe Fabisevich
fc4680ec5b Updating readme with SecurelyStoredValue documentation 2023-08-26 18:15:24 -04:00
github-actions
1efbb79743 Generating documentation 2023-08-25 22:35:47 +00:00
Joe Fabisevich
0efc5564ba Fixing broken async test 2023-08-25 18:06:45 -04:00
Joe Fabisevich
10601f5b1a Updating docc articles with SecurelyStoredValue docs 2023-08-25 18:03:31 -04:00
Joe Fabisevich
bacd9ef41f Tidying up docs 2023-08-25 17:28:21 -04:00
Joe Fabisevich
a2ecbdfad3 Creating a SecurelyStoredValue to persist items in the keychain 2023-08-25 17:28:10 -04:00
Joe Fabisevich
e85d0d4084 Binding StoredValue to @MainActor, was lost in a previous merge 2023-08-25 17:11:26 -04:00
Joe Fabisevich
bb9be38d2c Creating static JSONEncoders/JSONDecoders to avoid a separate one for each serialization/deserialization action 2023-08-25 17:10:19 -04:00
Joe Fabisevich
7ca3d3f1c9 Cleaning up documentation and making aesthetic tweaks 2023-08-25 17:05:51 -04:00
Joe Fabisevich
3c5ae916f7 Updating Package.resolved to point to Bodega 2.1.0 2023-08-25 17:00:27 -04:00
Joe Fabisevich
8a2afe40a4 Updating Bodega dependency to version 2.1.0 2023-08-21 10:00:35 -04:00
Joe Fabisevich
77d8788914 Merge pull request #53 from connor-ricks/task/remove-equatable-constraint
Remove unnecessary Equatable constraint.
2023-08-20 19:29:45 -04:00
Joe Fabisevich
e77bd0525b Merge branch 'main' into task/remove-equatable-constraint
# Conflicts:
#	Sources/Boutique/Store.ItemRemovalStrategy.swift
#	Sources/Boutique/Store.swift
#	Sources/Boutique/Stored.swift
#	Sources/Boutique/StoredValue.swift
2023-08-20 19:24:49 -04:00
Joe Fabisevich
f84c4897c3 StoredValue is now annotated with @MainActor 2023-08-20 18:50:52 -04:00
Joe Fabisevich
8cc8d4cc7f Updating Collections package to 1.0.4 2023-08-20 18:23:08 -04:00