Skip to content

Releases: reduxjs/redux

v0.5.1

03 Jun 12:06
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release
  • Fix the remaining dependency on the function name (#16)
  • Add a few early invariants

v0.5.0

03 Jun 11:32
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release
  • Store function names are no longer significant, but you have to pass an object with all your Stores to the root (or Root). Fixes #16
import { root } from 'redux';
import * as stores from './stores/index';

@root(stores)
export default class TodoApp {
import { root } from 'redux';
import * as stores from './stores/index';

export default class TodoApp {
  render() {
    return (
      <Root stores={stores}>

v0.4.0

03 Jun 11:04
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • Bring decorators back, now on top of the lower-level container components (#15, thanks Florent)
  • Require stores passed to Container to be an array
  • Fix build on Windows (#11, thanks Mike)
  • Reduce context footprint (#12, thanks Florent again!)

v0.3.1

03 Jun 00:52
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release
  • Remove old files from build

v0.3.0

03 Jun 00:51
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Complete rewrite.

  • No more strings, now using module bindings for injecting stores and actions
  • Only use decorator for top-level component, keep dumb components pure and testable (#5)
  • Remove transaction logic (will be re-implemented on top of #6)
// The smart component may inject actions
// and observe stores using <Container />:

import React, { Component } from 'react';
import { Root, Container } from 'redux';
import { increment, decrement } from './actions/CounterActions';
import counterStore from './stores/counterStore';
import Counter from './Counter';

export default class CounterContainer {
  render() {
    // stores can be a single store or an array.
    // actions can only be a string -> function map.
    // props passed to children will combine these actions and state.
    return (
      <Container stores={counterStore}
                 actions={{ increment, decrement }}>
        {props => <Counter {...props} />}
      </Container>
    );
  }
}

Minor caveat: Store function names are now significant.

v0.2.2

02 Jun 18:42
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  • Pass state as a second argument to callback-style action creators

v0.2.1

02 Jun 14:36
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • Fix @provides not passing its props down

v0.2.0

02 Jun 14:29
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Initial public release.

See examples in README and the examples folder.

Alpha quality :-)