Skip to content

Releases: KazaiMazai/Puredux

Release v1.4.1

11 Apr 18:13
902dfcd
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.1...1.4.1

Release v1.3.1

09 Apr 10:45
b99bc46
Compare
Choose a tag to compare

What's Changed

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 StoreObjectnow 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

25 Feb 20:02
a1766be
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0-beta.1...1.2.0

Pre-release v1.0.0-beta.1

26 May 17:19
Compare
Choose a tag to compare
Pre-release