The change log for Store version 1.x can be found here.
update coroutines to 1.4.0, kotlin to 1.4.10 #242
API change
- Remove need for generics with
Error
type (#220)
Bug Fixes and Stability Improvements
- Revert cache implementation to guava, rather than rolling our own (#200)
- Sample App improvements (#227)
New Features
- Add
StoreResult.NoNewData
to represent when a fetcher didn't return data. (#194) - Move
Fetcher
-factories intoCompanion
ofFetcher
interface (#168)
Bug Fixes and Stability Improvements
- Fix a leak of non-global coroutine contexts. (#199)
- Update to Kotlin 1.4.0 and Coroutines 1.3.9 (#195)
- Update to Coroutines 1.3.5 and remove
@FlowPreview
and@ExperimentalCoroutinesApi
annotations. (#166)
Major API change! (#123)
This release introduces a major change to StoreBuilder
's API. This should be the LAST major API change to store before we'll move to beta.
- The typealias
Fetcher
was added to standardize the input type for aStoreBuilder
SourceOfTruth
in now a top level interface and part ofStore
's public APIStoreBuilder
can now only be created using aFetcher
and optionally aSourceOfTruth
- All the overloads for creating a
StoreBuilder
were moved toFetcher
andSourceOfTruth
as appropriate. - Rx artifacts were updated accordingly to match main artifacts.
Bug Fixes and Stability Improvements
- Contain @ExperimentalStdlibApi within relevant scope. (#154)
- Use AtomicFu to replace Java's AtomicBoolean and ReentrantLock (#147)
- migrate Multicast to Kotlin Test (#146)
- Remove Collections.unmodifiableMap (#145)
- Update AGP version (#143)
- Remove some unneeded java.util packages (#141)
New Features
- Add
asMap
function to Cache for backward compat (#136) - Migrate filesystem library to use kotlin.time APIs (#133)
- Rx get fresh bindings (#130)
- Migrate cache library to use kotlin.time APIs (#129)
- Update sample app (#117)
Bug Fixes and Stability Improvements
- Use Kotlin version of ArrayDeque in ChannelManager (#134)
- Kotlin 1.3.70 and other dependencies updates (#125)
- Make SharedFlowProducer APIs safe (#121)
- Ensure network starts after disk is established (#115)
- Update to Gradle 6.2 (#111)
New Features
- Added Rx bindings, available as store-rx2 artifact (#93)
- Bug fixes (#90)
- Add ability to delete all entries in the store (#79)
New Features
- Introduce piggyback only downstreams to multicaster and fix #59 (#75)
- Change flow collection util to drain the flow (#64)
- Readme improvements (#70, #72)
- Avoid illegal cast in RealStore.stream (#69)
- Added docs to MemoryPolicy.setMemorySize (#67) (#68)
New Features
- Store has been rewritten using Kotlin Coroutines instead of RxJava
New Features
- (#319) Store can now be used in Java (non-Android) projects
- (#338) Room integration for Store
Bug Fixes and Stability Improvements
- (#315) Add missing reading of expire-after-policy when creating a NoopPersister
- (#311) Update Kotlin & AGP versions
- (#328) Fix memory policy default size
- (#329) Adding docs to README for setting 1.8 compatibility
- (#273) Adds comments to the sample app
- (#336) Fixes errors in README
Bug Fixes and Stability Improvements
- (#311) Update Kotlin & AGP versions
- (#314) Fix issues occured from RxJava1 dependency
New Features
- (#275) Add ParsingFetcher that wraps Raw type Parser and Fetcher
Bug Fixes and Stability Improvements
- (#267) Kotlin 1.1.4 for store-kotlin
- (#290) Remove @Experimental from store-kotlin API
- (#283) Update build tools to 26.0.2
- (#259, #261, #272, #289, #303) README + documentation updates
- (#310) Sample app fixes
New Features
- (#229) Add store-kotlin module
- (#254) Add readAll / clearAll operations for a particular BarCode type
- (#250) Return object with meta data
- Create Code of Conduct
Bug Fixes and Stability Improvements
- (#239) Fix NoClassDefFoundError for StandardCharsets GsonBufferedSourceAdapter
- (#243) Update README for Rx2
- (#247) Remove intermediate streams
- (#246) Update to Moshi 1.5.0
- (#252) Fix stream for a single barcode
This is a first alpha release of Store ported to RxJava 2.
New Features
- (#155) Port to RxJava 2
- (#220) Packages have been renamed to store3 to allow use of this artifact alongside the original Store
- (#185) Return Single/Maybe where appropriate
- (#189) Add lambdas to Store and Filesystem modules
- (#214) expireAfterAccess added to MemoryPolicy
- (#214) Deprecate setExpireAfter and getExpireAfter -- use new expireAfterWrite or expireAfterAccess, see #199 for MemoryPolicy changes
- (#214) Add Raw to BufferedSource transformer
Bug Fixes and Stability Improvements
- (#214) Fix networkBeforeStale on cold start with no connectivity
- (#214) Add a missing source.close() call
- (#164) FileSystemPersister.persisterIsStale() should return false if record is missing or policy is unspecified
- (#166) Remove apt dependency and use annotationProcessor instead
- (#214) Standardize store.stream() to emit only new items
- (#214) Fix typos
- (#214) Close source after write to filesystem