Releases: alonrbar/redux-app
Releases · alonrbar/redux-app
v2.0.0
Added
- Actions are now opt-in and declared via the
actiondecorator. - Dynamic component class name generation - generated components name follows
the following pattern: "OriginalClassName_ReduxAppComponent" (As a consequence
theemitClassNameswas removed as it is no longer needed). - Improve overall performance (remove state "finalization" step).
Changed
uppercaseActionsoption defaults to false.- Rename SchemaOptions to ActionOptions
- Don't remove getters from state.
Removed
- Remove 5 decorators:
component,connect,computed,methodandnoDispatch. - Remove
convertToPlainObjectoption. - Remove package-lock.json (using yarn.lock).
Fixed
- Fix duplicate component creation when created from the same template instance.
v1.11.0
Added
- New
ReduxAppstatic method:getComponent.
Primarily aimed for better integration with React (check out the new react examples). - yarn.lock file.
Changed
- Differentiate between
noDispatchandsequencemethods. The first stays the
same while the latter changed. From now onsequencemethods has a double
role. First, it dispatches an action which is ignored by the reducer.
Second, it's being invoked as a regular method as it used to. While this
change should not have any actual impact on application behavior it makes it
easier to debug and track the flow of the application (through the various
Redux loggers out there).
v1.10.3
v1.10.2
Added
- New schema option:
actionNamespaceSeparator. - Update
computedvalues only if they are not deeply equal (using lodash.isEqual).
Controlled via theReduxApp.options.computed.deepComparisonoption.
Changed
- Lock dependencies versions.
Removed
- Remove the unused
inheritMethodsschema option.
Fixed
- Global
SchemaOptionshandling.
v1.9.0
Added
- New decorator:
ignoreState. - Allow
noDispatchcalls inside actions. - Significant performance boost (reducers and update state logic refactored).
Removed
- Breaking change: Can no longer use the
computeddecorator on non-components.
Changed
- Some log messages changed/removed.
v1.8.0
Added
- Component inheritance.
- Return value from
noDispatchmethods. - More informative errors and warnings.
- Check out the new real world example in the examples project.
Changed
- Npm package only contains the source and dist files.
- Update docs.
Fix
- Fix
computedproperties that are based onconnected values. - Fix reduction of arrays of objects when the array is initially undefined.
v1.7.2
v1.7.1
v1.7.0
Added
- Connection of components inside the app tree is now stable.
- The 'computed' decorator is now stable.
- Can use the 'computed' decorator on non-components (although must still be used inside the app tree).
Changed
- Connected components sources are persisted only in the ReduxApp tree (and not in the store).
- Computed values are persisted only in the ReduxApp tree (and not in the store).
- Internal code organization changes.
Fix
- Fix potential collision of connected components with IDs.
v1.6.0
Added
- New decorator: connect.
- New static method ReduxApp.create (same as invoking the constructor directly, meant to help avoiding lint warnings).
- withId can be used without the parenthesis.
Changed
- Marked the 'computed' decorator as experimental (requires further testing and validation).
- Set default log level to LogLevel.Warn.
- Remove some verbose log messages.
Fix
- Avoid invoking getters unnecessarily when probing for Component methods.
- Improve updateState logic. Array handling logic in specific.
- Improve pre-loaded state handling.