Releases: levibostian/Teller-iOS
Releases · levibostian/Teller-iOS
Bug fix for 0.2.0-alpha
[0.2.1-alpha] - 2-7-2019
Fixed crash in OnlineRepository after first fetch is completed successfully. Do not use 0.2.0-alpha, use this release instead.
Fixed
- Fixed #45
Changes to the API. Thread safety and bug fixes.
Changes to the API. Thread safety and bug fixes.
Changed
- Breaking Change
OnlineRepository
'ssync()
has been renamed torefresh()
. - Breaking Change
OnlineDataState.FetchingFreshDataState
has been renamed toOnlineDataState.NoCacheState
. - Breaking Change A few of the properties in
OnlineDataState
have been renamed. Even though it's best practice to useOnlineDatatState.___State
to parse it, you can access the properties manually if you wish. - Breaking Change
OnlineRepositoryDataSource.observeCachedData()
andOnlineRepositoryDataSource.isDataEmpty()
gets called on UI thread.OnlineRepositoryDataSource.saveData()
gets called on background thread. #28 OnlineRepository.observe()
andLocalRepository.observe()
no longerthrows
. Observe anytime you wish and receive event updates through all changes of the repository.OnlineRepository.refresh()
calls are shared in the sameOnlineRepository
instance. This saves on the amount of network calls performed.OnlineRepository.observe()
observers are all notified whenOnlineRepository.refresh()
actions are performed. #24OnlineRepository
is thread safe.
Added
OnlineRepository
now supports observing 2+ queries, as long as it's the same type of data. #38- Delete Teller data for development purposes or when someone logs out of your app and the data is cleared. #19
Contributors changelog
Changed
OnlineDataState
has been refactored to using a finite state machine implementation. SeeOnlineDataStateStateMachine
. It's a immutable object that represents an immutableOnlineDataState
instance.- Fetching fresh cache data and the state of the cache data have been decoupled in
OnlineDataState
. Each of these 2 different states (fetching and cache) are updated independently from each other in theOnlineRepository
so decoupling them fixes bugs that have been reported.
Fixed
First release!
[0.1.0-alpha] - 2018-10-04
First release of Teller!
Added
LocalRepository
for saving and querying locally cached data.OnlineRepository
for saving, querying, and fetching remote data that is cached locally.- Unit tests for all parts of the library.
- README.md documentation on status of project and how to use it.