Commit graph

15 commits

Author SHA1 Message Date
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
David Chang
35b79b71cb
Prepare for release 4.0.4-KT15 (#359) 2021-12-08 10:59:41 -08:00
David Chang
bf2adbf127
Move to Maven Publish Gradle Plugin (#358)
* Move to Maven Publish Gradle Plugin

* Remove release scripts

* Update release docs
2021-12-08 12:45:33 -05:00
David Chang
e2c5cbfb31
Update release docs (#271)
* Prepare next development version.

* Update release docs

* Update steps
2021-05-07 07:34:20 -07:00
Eyal Guthmann
e773021fec
Revert to use the old guava port cache (via jar) (#200)
* Revert to using guava port cache by depending on jar

* Apply suggestions from code review

* revert code to old cache

* clean up build.gradle

* manually remove cache4 entries that are regenerated locally because of some dirty cache?

* bump gradle

* rerun tasks

* try to deflake rx tests

* cache builder tests

* api dump

* bump ktlint to work with 1.4 features

* formatting

Co-authored-by: Mike Nakhimovich <digitalbuddha@users.noreply.github.com>
2020-09-14 14:49:34 -07:00
David Chang
761755335e
Update release notes (#218)
* Update release notes

* numbers
2020-08-21 14:12:57 -07:00
David Chang
e82f4e9c63 Prepare next development version. 2020-08-19 14:42:48 -07:00
David Chang
39af5de6c4 Prepare next development version. 2020-08-19 13:57:51 -07:00
Eyal Guthmann
e71a4e9e4a
Support non exception errors from fetcher (#123)
* Support non exception errors from fetcher

* revert parital changes to store builder to reduce noise

* finish off diff

* Allow to create a FetcherResult.Error without a Throwable. Add tests

* Add missing funcion and more tests

* lint

* unflake RxFlowableStoreTest

* try to rename FakeFetcher to FakeRxFetcher to (maybe) solve missing codcov

* move SourceOfTruth out of impl package

* Rename accidental change of RxStoreBuilder.fromMaybe back to formSingle

* Introduce Fetcher from #139

* fix Rx artifact

* delete legacy presistor factory

* fix api file

* move fetcher to be a typealias

* code review comments + clean up documentation

* code review comments

* Update store/src/main/java/com/dropbox/android/external/store4/Fetcher.kt

Co-Authored-By: Yigit Boyar <yboyar@google.com>

* Revert "Update sample app's build.gradle to refer to the externally released version of Store (#159)"

This reverts commit fc8da86f63.

* update releasing.md

Co-authored-by: Yigit Boyar <yboyar@google.com>
2020-04-29 10:31:10 -07:00
Dave Parker
fc8da86f63
Update sample app's build.gradle to refer to the externally released version of Store (#159)
Co-authored-by: Dave Parker <davidp@dropbox.com>
2020-04-23 19:19:52 -04:00
William Clausen
7d16ce3f12
Update RELEASING.md (#158)
Needed to improve documentation about handling PRs for release versions
2020-04-22 14:52:03 -04:00
digitalbuddha
aa9c4af0f1 Prepare next development version. 2017-01-23 13:48:59 -05:00
digitalbuddha
a39069da82 Prepare next development version. 2017-01-17 11:18:13 -05:00
Mike Nakhimovich
60761710a9 Update RELEASING.md 2017-01-10 09:52:10 -05:00
Mike Nakhimovich
ac1b76be49 Create RELEASING.md 2017-01-10 09:46:07 -05:00