Skip to content

Releases: remix-run/react-router

v0.4.1

10 Nov 16:56
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release
  • 8152d67 [changed] repo location to rackt/react-router
  • 0ac4dea [removed] Dependency on react/lib/emptyFunction

v0.4.0

10 Nov 16:55
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

NPM users should point their apps to react-router instead of react-nested-router. Make sure to npm prune!

Changes

  • 0be4bf7 [changed] npm registry name to react-router :D

v0.3.5

10 Nov 16:55
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release
  • 0a7298c [removed] browserify.transforms from package.json
  • ebf54ab [removed] Dependency on react/lib/merge

v0.3.4

10 Nov 16:55
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release

v0.3.3

10 Nov 16:55
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release
  • 92b9077 [changed] file name of dist builds

v0.3.2

10 Nov 16:54
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release
  • 3a4732e [changed] global export to ReactRouter

v0.3.1

10 Nov 16:53
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

v0.3.0

10 Nov 16:53
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • React 0.11.x is now required.
  • this.props.activeRoute became this.props.activeRouteHandler()
// 0.2.x

var App = React.createClass({
  render: function () {
    return (
      <div>
        {this.props.activeRoute}
      </div>
    );
  }
});

// 0.3.x
var App = React.createClass({
  render: function () {
    // now you can send extra props to the active route handler
    // and use the new jsx syntax
    // <this.props.activeRouteHandler extraProp={something}/>
    return (
      <div>
        {this.props.activeRouteHandler()}
      </div>
    );
  }
});

Changes

  • e827870 [added] bower support
  • 58e7b98 [changed] activeRoute -> activeRouteHandler
  • 0177cdd [fixed] Pass the correct component instance to willTransitionFrom hooks
  • 3b590e0 [changed] Upgrade to React 0.11.0
  • 51e1be2 [fixed] Use peerDeps
  • a8df2f0 [added] Browser builds for version 0.2.1
  • bb066b8 [added] Browser build script
  • baf79b6 [fixed] Avoid some warnings
  • 8d30552 [changed] README to make use of activeRoute clearer in JSX.
  • 991dede [changed] activeRoute is a function that returns null when no child routes are active.
  • 73570ed [changed] activeRoute can render with props and children.
  • 8562482 [added] ActiveState mixin
  • 616f8bf [changed] Preserve forward slashes in URL params
  • 6c74c69 [changed] Combine URL helpers into URL module

v0.2.1

10 Nov 16:52
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
  • 0f86654 [fixed] checks for class instead of components
  • a3d6e2a [changed] Render empty div before transition hooks
  • f474ab1 [changed] '.' is no longer a path delimeter
  • f3dcdd7 [fixed] injectParams invariant should not throw on values that coerce to false.
  • 468bf3b [changed] Deprecate Router interface
  • 31d1a6e [added] renderComponentToString()

v0.2.0

10 Nov 16:52
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

The Router function was removed.

// 0.1.x
var router = Router(routes);
router.renderComponent(element);

// 0.2.x
React.renderComponent(routes, element);

Changes

  • 468bf3b [changed] Deprecate Router interface
  • 31d1a6e [added] renderComponentToString()