Releases: KazaiMazai/Puredux
Releases · KazaiMazai/Puredux
Release v1.4.1
What's Changed
- Store performance tests by @KazaiMazai in #18
- Store dispatch performance improvements by @KazaiMazai in #19
- Update README.md by @KazaiMazai in #20
- Fixed flaky test by @KazaiMazai in #21
Full Changelog: 1.3.1...1.4.1
Release v1.3.1
What's Changed
- Store Object Refactoring by @KazaiMazai in #7
- Store Observer improvements: Deduplication and Reference Type observer by @KazaiMazai in #8
- Tests fixes by @KazaiMazai in #9
- UIKit binding internals refactoring by @KazaiMazai in #10
- Store referencing refactoring by @KazaiMazai in #11
- Referenced object store refactoring by @KazaiMazai in #12
- Explicit mock store init by @KazaiMazai in #13
- Added State Store by @KazaiMazai in #14
- Internal store protocol refactoring by @KazaiMazai in #15
- Store transformations by @KazaiMazai in #16
- Internals refactoring for StateStore by @KazaiMazai in #17
Full Changelog: 1.2.0...1.3.1
Breaking changes
There are a few breaking changes related to the replacement of StoreObject
with a StateStore
.
Referenced StoreObject
StoreObject
used to be a class, StateStore
is a struct.
StoreObject
that were weakly referenced wll require a fix.
Since is StoreObject
now a typealias of StateStore
the compiler will point you to all the places that require a fix:
- let storeObject: StoreObject = ....
- doSomethingWithStore() { [weak storeObject] in
- storeObject?.dispatch(...)
- }
+ let stateStore: StateStore = ....
+ let store = stateStore.store()
+ doSomethingWithStore() {
+ store.dispatch(...)
+ }
StoreObject constructor
The following StoreObject
's constructor is no longer available. It was not needed except for the cases when you wanted to mock your StoreObject
.
It can be fixed by replacing StoreObject
with a Store
- StoreObject(dispatch: { ... }, subscribe: { ... })
+ Store(dispatch: { ... }, subscribe: { ... })
Release v1.2.0
What's Changed
- Migration to Monorepo by @KazaiMazai in #1
- Fixed docs link by @KazaiMazai in #2
- Migration docs update by @KazaiMazai in #3
- Update README.md by @KazaiMazai in #4
- Fixed flaky tests by @KazaiMazai in #5
Full Changelog: 1.0.0-beta.1...1.2.0