Commit graph

676 commits

Author SHA1 Message Date
Matt Ramotar
fbcd34fd16
Make it easier to work with lists (#548)
* Make it possible to provide memory cache

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add HybridCache

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Fix putList

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Enable memory cache delegation with Guava as default

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add MutableStoreWithHybridCacheTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Support all cache methods

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Rename to multicache

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Refactor from list decomposition to collection decomposition

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove ReactiveCircus/android-emulator-runner

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove MemoryCache

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update .ci_test_and_publish.yml

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update .ci_test_and_publish.yml

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update .ci_test_and_publish.yml

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update .ci_test_and_publish.yml

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Prepare for release 5.0.0-beta01

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

---------

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-05-19 16:41:42 -04:00
Matt Ramotar
c10f355d24
Release 5.0.0-alpha06 (#552)
Signed-off-by: matt-ramotar <mramotar@dropbox.com>
2023-05-09 13:45:22 -04:00
Matt Ramotar
c6a87f9ed1
Incorporate @tsenggordon comments from #545 (#551)
Signed-off-by: matt-ramotar <mramotar@dropbox.com>
2023-05-08 19:26:32 -04:00
Matt Ramotar
d1e46a9d02
Introduce Fallback Mechanisms (#545)
* Superstore

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Move to impl

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add firstData

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add Superstore factory

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add README

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add SuperstoreTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Move to util

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Rename to primary

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Address comments from @tsenggordon

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Cover fallback to SOT on fresh fail

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Refactor based on @yigit feedback in #540

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Enable Fetcher identification

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Cover failing fallback

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove superstore

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove logs

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add Proposal template (#523)

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Support Rx2 (#531)

* Add rx2 module

* Support Rx2

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add unit tests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

---------

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Superstore

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove superstore

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove ReactiveCircus/android-emulator-runner

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Fix Rx2 merge issues

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Send failure if no fallback

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove Fallback interface and FallbackResponse class

Signed-off-by: matt-ramotar <mramotar@dropbox.com>

* Document Fetcher.name

Signed-off-by: matt-ramotar <mramotar@dropbox.com>

---------

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
Signed-off-by: matt-ramotar <mramotar@dropbox.com>
2023-05-08 18:18:37 -04:00
Matt Ramotar
7d73f08cc0
Support Rx2 (#531)
* Add rx2 module

* Support Rx2

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add unit tests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

---------

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-04-24 16:54:26 -04:00
Matt Ramotar
66d18cb026
Add Proposal template (#523)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-04-24 09:39:45 -04:00
Matt Ramotar
6f778e60c8
Update README.md
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-04-20 18:15:16 -04:00
Matt Ramotar
e050a15afc
Separate MutableStoreBuilder from StoreBuilder (#542)
* Separate MutableStoreBuilder from StoreBuilder

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Enable conversion from StoreBuilder to MutableStoreBuilder

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Clean up

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

---------

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-04-12 22:11:02 -04:00
Matt Ramotar
fc249e109a
Prepare next development version (#543) 2023-03-31 11:50:25 -04:00
Matt Ramotar
5c3fa141b5
Release 5.0.0-alpha05 (#538)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-03-16 14:30:13 -04:00
Matt Ramotar
80ec206472
Update build.gradle.kts
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-03-15 17:19:09 -04:00
Matt Ramotar
1d6d9c77af
Target linuxX64 (#537) 2023-03-15 16:26:14 -04:00
Matt Ramotar
022bdb782b
Remove KMMBridge (#530)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-03-05 12:11:07 -05:00
Ajesh
e6786d20dc
Make bookkeeper optional (#529)
Signed-off-by: Ajesh <ajesh_nair@ymail.com>
Co-authored-by: Ajesh <aj@Ajeshs-MacBook-Pro.local>
2023-03-03 20:35:09 -05:00
Matt Ramotar
99e7f2bd93
Create add_issue_to_project.yml
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-02-25 12:59:27 -05:00
Emanuele
2cbce8ac20
Add iOS simulator support for KMM projects (#516)
Signed-off-by: Emanuele Papa <ema987@gmail.com>
2023-02-25 12:29:09 -05:00
Emanuele
22fff44b6e
Fix wrong git head referenced in PR workflow (#524)
Signed-off-by: Emanuele Papa <ema987@gmail.com>
2023-02-25 11:51:08 -05:00
Matt Ramotar
c57e2fc5b0
Prepare next development version (#522)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-02-25 07:30:20 -05:00
Matt Ramotar
493b05e6fd
Release 5.0.0-alpha04 (#521)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-02-24 20:01:42 -05:00
Matt Ramotar
1fd77acf80
Modify workflow (#520)
Signed-off-by: mramotar <mramotar@dropbox.com>
2023-02-24 16:42:32 -05:00
mnakhimovich
303d0a326f Merge branch 'main' of https://github.com/MobileNativeFoundation/Store 2023-01-16 16:42:59 -05:00
mnakhimovich
5ee8cda46b Update README.md
Signed-off-by: Matt <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
5eff430629 Expose AtomicFU (#505)
Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
01cfe83ea6 Add Validator (#500)
* Resolve conflicts

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix rebase issues

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
ae07e0672c Clean Up (#499)
* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to Validator

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add logo!

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update CI

Signed-off-by: Matt <mramotar@dropbox.com>

* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to Validator

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add logo!

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename input to value

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
Signed-off-by: Matt <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
855a7bbc97 Update CI
Signed-off-by: Matt <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
1b21081986 Add Write + Conflict Resolution (#496)
* Stub Store write

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Compile

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Stash M1

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make Updater and Bookkeeper optional

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add conflict resolution

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Cover simple write

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add MutableStore

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add RealMutableStore

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update workflows

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove references to Market

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Converter interface

Signed-off-by: mramotar <mramotar@dropbox.com>

* Move Converter typealias

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Google copyright

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update CHANGELOG.md

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
461af1a784 Prepare next development version (#495)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
Matt
f03317503a Release 5.0.0-alpha03 (#494)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2023-01-16 16:31:12 -05:00
mnakhimovich
fee0bccde7 [Store5] Target Android, iOS, JVM, JS (#493)
* [Temp] Remove all modules

* Remove references to Store 4

* Update CHANGELOG

* Update README

* Add Store 5 foundation
Co-authored-by: Andre Claßen <aclassen@users.noreply.github.com>
Co-authored-by: Mike Nakhimovich <mnakhimovich@Mikes-MBP.localdomain>
2023-01-16 16:31:12 -05:00
Matt
73b28ac1b8
Update README.md
Signed-off-by: Matt <mramotar@dropbox.com>
2022-12-30 09:00:11 -05:00
Matt
d5aedb0ef5
Expose AtomicFU (#505)
Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-12-29 19:08:58 -05:00
Matt
eeb2bf7850
Add Validator (#500)
* Resolve conflicts

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix rebase issues

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-12-27 18:00:49 -05:00
Matt
728d0e5792
Clean Up (#499)
* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to Validator

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add logo!

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update CI

Signed-off-by: Matt <mramotar@dropbox.com>

* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove "Representation" from generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to Validator

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add logo!

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename generics

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename input to value

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
Signed-off-by: Matt <mramotar@dropbox.com>
2022-12-23 11:04:24 -08:00
Matt
45d9919536
Update CI
Signed-off-by: Matt <mramotar@dropbox.com>
2022-12-21 19:14:54 -08:00
Matt
b3659e3d2d
Add Write + Conflict Resolution (#496)
* Stub Store write

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Compile

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Stash M1

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make Updater and Bookkeeper optional

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add conflict resolution

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Cover simple write

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add MutableStore

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add RealMutableStore

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update workflows

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove references to Market

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Converter interface

Signed-off-by: mramotar <mramotar@dropbox.com>

* Move Converter typealias

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Google copyright

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update CHANGELOG.md

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2022-12-20 17:34:00 -08:00
Matt
ed833dd2ed
Prepare next development version (#495)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2022-12-20 17:14:40 -08:00
Matt
17d81939a8
Release 5.0.0-alpha03 (#494)
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
2022-12-18 11:13:33 -05:00
Matt
4689ca59c7
[Store5] Target Android, iOS, JVM, JS (#493)
* [Temp] Remove all modules

* Remove references to Store 4

* Update CHANGELOG

* Update README

* Add Store 5 foundation

Signed-off-by: mramotar <mramotar@dropbox.com>

* Dump API

Signed-off-by: mramotar <mramotar@dropbox.com>

* Delete scratch API

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix workflow

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename clear to delete

Signed-off-by: mramotar <mramotar@dropbox.com>

* Flatten sealed classes

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make ShareableLruCache threadsafe

Signed-off-by: mramotar <mramotar@dropbox.com>

* First stab

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove scope

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove scope

Signed-off-by: mramotar <mramotar@dropbox.com>

* Cherry pick

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove scope

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix multithreading LRU cache test

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove logs

Signed-off-by: mramotar <mramotar@dropbox.com>

* Cover multithreaded market write

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove redundant advance

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Stately !!

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use mutex

Signed-off-by: mramotar <mramotar@dropbox.com>

* Refactor Store to interface with factory

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to MemoryLruCache

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to RealMarket

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to delete all

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Clean up Android LRU cache tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix market factory

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename ConflictResolver to Bookkeeper

Signed-off-by: mramotar <mramotar@dropbox.com>

* From desktop

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Document Lightswitch

Signed-off-by: mramotar <mramotar@dropbox.com>

* Guard against multiple releases

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename to StoreSafety

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use withLock

Signed-off-by: mramotar <mramotar@dropbox.com>

* Document load

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make delete and deleteAll optional

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add foundation for sample app

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Kotlin serialization

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename masterLock to mainLock

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename Bookkeeper methods

Signed-off-by: mramotar <mramotar@dropbox.com>

* Rename using Market/Network prefix

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make NetworkFetcher an interface

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make NetworkUpdater an interface

Signed-off-by: mramotar <mramotar@dropbox.com>

* Make MarketReader an interface

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Make MarketWriter an interface

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add app and main activity

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add scoping

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove unused mipmap

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add Dagger components

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove icon

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Draft README.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* Wire account tab

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove campaigns sample

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add Market wiring

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove unused resources

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix Gradle plugins

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix rebase issue

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix wiring

Signed-off-by: mramotar <mramotar@dropbox.com>

* Introduce GoodValidator

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add unit tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Only load if read not in progress

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update CI and autogenerate Swift Package (#469)

* Update CI and autogenerate Swift Package

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update CI and autogenerate Swift Package

Signed-off-by: mramotar <mramotar@dropbox.com>

* Run on MacOS

Signed-off-by: mramotar <mramotar@dropbox.com>

* Only run on push

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use KMM Bridge (#470)

* Clean up deps

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use KMM Bridge

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix version prefix

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix Maven publish plugin (#471)

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>

* Refactor fetcher and updater to 1:1 with market

Signed-off-by: mramotar <mramotar@dropbox.com>

* Reset Fake API

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove unused imports

Signed-off-by: mramotar <mramotar@dropbox.com>

* Run check on store

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Api Dump + Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add default config

Signed-off-by: mramotar <mramotar@dropbox.com>

* Check all

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add ItemValidator

Signed-off-by: mramotar <mramotar@dropbox.com>

* README.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* With ViewModel

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Implement fetcher and updater

Signed-off-by: mramotar <mramotar@dropbox.com>

* Cleanup Readme/Remove Persister (#474)

* cleanup readme and rename a few concepts

* fix tests

* readme cleanup

* readme cleanup

* readme cleanup

* readme cleanup

* lint

Co-authored-by: Mike Nakhimovich <mnakhimovich@Mikes-MBP.localdomain>

* Regenerate gradle-wrapper.jar

Signed-off-by: mramotar <mramotar@dropbox.com>

* Prepare for release 5.0.0-alpha1

Signed-off-by: mramotar <mramotar@dropbox.com>

* Prepare for next development version

Signed-off-by: mramotar <mramotar@dropbox.com>

* Target browser and Node!

Signed-off-by: mramotar <mramotar@dropbox.com>

* Only generate Swift Package on release

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix iOS targets

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix workflow

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix workflow

Signed-off-by: mramotar <mramotar@dropbox.com>

* Run manually only

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update RELEASING.md

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: matt-ramotar <mramotar@dropbox.com>

* Run on macos

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove Dropbox references

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Prepare for release 5.0.0-alpha02

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Prepare next development version

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update CHANGELOG.md

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add tests for complex markets

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix import

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Distinguish network, store, and common representations

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update NetworkFetcher

Signed-off-by: mramotar <mramotar@dropbox.com>

* Refactor inputs + outputs

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update sample + fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update comment

Signed-off-by: mramotar <mramotar@dropbox.com>

* Port Cache

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: Matt <mramotar@dropbox.com>

* Move README.md

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update README.md

Signed-off-by: Matt <mramotar@dropbox.com>

* Update README.md

Signed-off-by: Matt <mramotar@dropbox.com>

* Merge multicast from github.com/MobileNativeFoundation/Store/tree/Kmp

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Fix build errors

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Move to market package

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add Fetcher + FetcherResult

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Api dump + format

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Port Store

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add unit test

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update .gitignore

Signed-off-by: mramotar <mramotar@dropbox.com>

* Api Dump

Signed-off-by: mramotar <mramotar@dropbox.com>

* Cover stream and fresh

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Run on MacOS

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use Java 11

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add HotFlowStoreTest

Signed-off-by: mramotar <mramotar@dropbox.com>

* Add gradle plugin repository

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update check.yml

Signed-off-by: Matt <mramotar@dropbox.com>

* Update check.yml

Signed-off-by: Matt <mramotar@dropbox.com>

* Add ClearAllStoreTests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use Java 11

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Remove binary-compatibility-validator

Signed-off-by: mramotar <mramotar@dropbox.com>

* Ignore Store podspec

Signed-off-by: mramotar <mramotar@dropbox.com>

* Update check.yml

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use Java 11

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use channel flow

Signed-off-by: mramotar <mramotar@dropbox.com>

* Format

Signed-off-by: mramotar <mramotar@dropbox.com>

* Fix tests

Signed-off-by: mramotar <mramotar@dropbox.com>

* Revert workflow

Signed-off-by: mramotar <mramotar@dropbox.com>

* Disable transformation

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Disable transformation

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Disable transformation

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add ClearStoreByKeyTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add FetcherResponseTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add KeyTrackerTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add StoreWithInMemoryCacheTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add StreamWithoutSourceOfTruthTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* ValueFetcherTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add MapIndexedTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add FetcherControllerTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add StoreResponseTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add SourceOfTruthErrorsTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Add SourceOfTruthWithBarrierTests

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove Market and update README

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Remove Market sample

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update README

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

* Update CHANGELOG

Signed-off-by: Matt Ramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
Signed-off-by: matt-ramotar <mramotar@dropbox.com>
Signed-off-by: Matt <mramotar@dropbox.com>
Co-authored-by: Mike Nakhimovich <digitalbuddha@users.noreply.github.com>
Co-authored-by: Mike Nakhimovich <mnakhimovich@Mikes-MBP.localdomain>
2022-12-18 10:53:21 -05:00
matt-ramotar
53a974e423
Prepare next development version (#468)
Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-11-29 10:09:04 -05:00
matt-ramotar
59a20f91dd
Bump Maven publish plugin (#467)
* Bump Maven publish plugin

Signed-off-by: mramotar <mramotar@dropbox.com>

* Use Dropbox Store

Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-11-29 09:33:26 -05:00
matt-ramotar
d04cd73ef1
Prepare for release 4.0.7 (#465)
Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-11-20 12:15:33 -05:00
matt-ramotar
61a57e5d70
Prepare for release 4.0.6 (#464)
Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-11-20 12:04:26 -05:00
matt-ramotar
157a2161a9
Flip coordinates (#463)
Signed-off-by: mramotar <mramotar@dropbox.com>

Signed-off-by: mramotar <mramotar@dropbox.com>
2022-11-20 11:16:52 -05:00
lukisk
36a548bc43
Remove downstream channel in noncancellable context. (#440)
Verifying that the channel is properly removed when the downstream flow is cancelled.

Signed-off-by: lukisk <luki.sk@gmail.com>

Signed-off-by: lukisk <luki.sk@gmail.com>
2022-09-07 18:28:24 -04:00
dependabot[bot]
698f49c158
Bump versions.kotlin from 1.6.10 to 1.6.20 (#427)
Bumps `versions.kotlin` from 1.6.10 to 1.6.20.

Updates `kotlin-gradle-plugin` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-serialization` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-test` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-test-junit` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-serialization
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-18 19:04:50 -04:00
dependabot[bot]
eb7627aae4
Bump material from 1.4.0 to 1.6.0 (#434)
Bumps [material](https://github.com/material-components/material-components-android) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.4.0...1.6.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-18 19:03:59 -04:00
Mike Nakhimovich
20aa57a002
upgrade agp (#441)
Co-authored-by: Mike Nakhimovich <mnakhimovich@MacBook-Pro.localdomain>
2022-08-18 18:59:44 -04:00
dependabot[bot]
d08048d8b4
Bump gradle from 7.1.2 to 7.2.1 (#437)
Bumps gradle from 7.1.2 to 7.2.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 08:59:59 -04:00
lukisk
4cc5b052d9
release fetcher in nonCancellable scope (#432)
* release fetcher in nonCancellable scope

* replace wildcard imports
2022-04-22 19:20:25 -05:00