Skip to content

Releases: alonrbar/redux-app

v2.0.0

17 Mar 21:44

Choose a tag to compare

Added

  • Actions are now opt-in and declared via the action decorator.
  • Dynamic component class name generation - generated components name follows
    the following pattern: "OriginalClassName_ReduxAppComponent" (As a consequence
    the emitClassNames was removed as it is no longer needed).
  • Improve overall performance (remove state "finalization" step).

Changed

  • uppercaseActions option defaults to false.
  • Rename SchemaOptions to ActionOptions
  • Don't remove getters from state.

Removed

  • Remove 5 decorators: component, connect, computed, method and noDispatch.
  • Remove convertToPlainObject option.
  • Remove package-lock.json (using yarn.lock).

Fixed

  • Fix duplicate component creation when created from the same template instance.

v1.11.0

03 Feb 09:47

Choose a tag to compare

Added

  • New ReduxApp static method: getComponent.
    Primarily aimed for better integration with React (check out the new react examples).
  • yarn.lock file.

Changed

  • Differentiate between noDispatch and sequence methods. The first stays the
    same while the latter changed. From now on sequence methods 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

24 Dec 18:29

Choose a tag to compare

Added

  • Support for symbol polyfill. This enables the use of redux-app even with IE (tested with core-js).

v1.10.2

21 Dec 11:29

Choose a tag to compare

Added

  • New schema option: actionNamespaceSeparator.
  • Update computed values only if they are not deeply equal (using lodash.isEqual).
    Controlled via the ReduxApp.options.computed.deepComparison option.

Changed

  • Lock dependencies versions.

Removed

  • Remove the unused inheritMethods schema option.

Fixed

  • Global SchemaOptions handling.

v1.9.0

29 Nov 15:17

Choose a tag to compare

Added

  • New decorator: ignoreState.
  • Allow noDispatch calls inside actions.
  • Significant performance boost (reducers and update state logic refactored).

Removed

  • Breaking change: Can no longer use the computed decorator on non-components.

Changed

  • Some log messages changed/removed.

v1.8.0

16 Nov 16:23

Choose a tag to compare

Added

Changed

  • Npm package only contains the source and dist files.
  • Update docs.

Fix

  • Fix computed properties that are based on connected values.
  • Fix reduction of arrays of objects when the array is initially undefined.

v1.7.2

08 Nov 16:28

Choose a tag to compare

Added

  • Expose and document the convertToPlainObject global option.

Changed

  • Use wepback's ModuleConcatenationPlugin to reduce library footprint and increase loading efficiency.

v1.7.1

04 Nov 20:35

Choose a tag to compare

Fix

  • Fix time travel.
  • Fix and shorten some log messages.

v1.7.0

04 Nov 08:39

Choose a tag to compare

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

04 Nov 08:36

Choose a tag to compare

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.