Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Releases: rocjs/roc-package-web-app-react

v1.0.0-alpha.12

10 Oct 13:02
Compare
Choose a tag to compare

Fixes

  • Updates dependency for react-router-redux

v1.0.0-alpha.10

08 Sep 16:04
Compare
Choose a tag to compare

Fixes

  • Updates the template to be more correct, required to work with the version 2.4.3 of Nunjucks.
    If you have defined a custom template please make sure that you use .toString() when rendering head. #27

New, correct

{{ head.title.toString() | safe }}

Old, incorrect

{{ head.title | safe }}

v1.0.0-alpha.9

03 Jun 10:32
Compare
Choose a tag to compare

Fixes

v1.0.0-alpha.8

02 Jun 11:35
Compare
Choose a tag to compare

Fixes

  • Solved a memory leak on the server when using server side rendering. #19

v1.0.0-alpha.7

24 May 14:37
Compare
Choose a tag to compare

Fixes

  • Provides better support for IE9

v1.0.0-alpha.6

06 May 11:26
Compare
Choose a tag to compare

Fixes

  • Fixed a problem where the middleware from react-router-redux would not be available in production or on the server. #13

v1.0.0-alpha.5

03 May 17:16
Compare
Choose a tag to compare

All changes

A lot has changed in this release and while most of it is internal and will not affect most end users some things might break your project.

If you have an application that has been based on roc-template-web-app-react this update will probably work without any changes!

This release document will be a bit more lightweight than what they will be when we go out of alpha. If you find any issues we encourage you to create an issue and we will address it as soon as possible.

Breaking

  • Updated dependencies
    • react ~0.14.0~15.0.1 Notable changes
      Might be plug & play, depends on how you where using React.
    • react-fetcher ~0.2.0 → redial ~0.4.1 Notable changes
      Need to change the decorator that is used to fetch data.
    • redux-simple-router ~0.0.8 → react-router-redux ~4.0.2 Notable changes
      Quite a lot of new features and new actions from the middleware.
    • react-router ~1.0.0~2.3.0
      Mostly plug & play, look at the changes for more information.
  • Config changes (Only affects you if you have defined custom ones for these ones)
    • dev.reduxDevtools.visibilityKey and dev.reduxDevtools.positionKey now requires you to add the modifier key. 'H' => 'ctrl-h'.
    • runtime.clientBlocking has been removed. Now configure this through the new runtime.fetch.client.blocking.

Might be breaking but probably not

  • Updated dependencies
    • history ~1.17.0^2.1.0
      This might be a breaking change for you if you have used history directly.

Features

  • Updated dependencies
    • nunjucks ~2.1.0~2.4.2
      Some more power when using custom templates.
    • react-helmet ~2.3.1~3.1.0
      The breaking change should not affect you.
    • react-redux ~4.0.0~4.4.5
      Nothing to note here.
    • redux ~3.0.2~3.4.0
      Nothing to note here.
  • Now uses React Router Redial for managing data fetching, both when using Redux and not. Several ways exists through the settings to configure it and most of them where used before for the old ReduxContext. See settings for all possible options.
    • Possible to configure what redial hooks runs on server and client and in what order using runtime.fetch.
  • Possible to gather additional template values, useful when using for instance React Side Effect
    . Will look for the file that is defined on build.templateValues and expect that it returns a function that in turns returns an object. See example here
  • Will use the Chrome extension for Redux Devtools if one is detected.
  • More features from React Helmet. Support for titleTemplate, style and htmlAttributes. Configurable through:
    • runtime.htmlAttributes
    • runtime.style

Improvements

  • Updated dependencies that are worth mentioning
    • react-a11y
    • redux-devtools
    • redux-devtools-dock-monitor
    • redux-devtools-log-monitor
    • redux-logger
  • Fixes a problem where the server status would be 500 instead of 404 when a page could not be found.
  • A new version of Yellowbox has been released that will solve the problem with the "Dismiss All" button not working, this change is not specefic to this release but worth noticing.
  • Improved examples
  • Fixed some issues when running React A11Y together with Redux Devtools.
  • Improved server side rendering when running in development. You should not get a mismatch now when using for instance Redux Devtools resulting in an easier time to test the server side rendering.
  • Optimized imports from React Router that will result in smaller bundle sizes.