CHANGELOG.md in react_on_rails-10.1.4 vs CHANGELOG.md in react_on_rails-11.0.0.beta.1

- old
+ new

@@ -4,19 +4,31 @@ Contributors: please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide, and add a link for the version diff at the bottom of the file. Also, please update the `Unreleased` link to compare to the latest release version. ## [Unreleased] Changes since last non-beta release. +*Please add entries here for your pull requests that are not yet released.* + +## MIGRATION for v11 +- Unused `server_render_method` was removed from the configuration. If you want to use a custom renderer, contact justin@shakacode.com. We have a custom node rendering solution in production for egghead.io. +- Removed ReactOnRails::Utils.server_bundle_file_name and ReactOnRails::Utils.bundle_file_name. These are part of the performance features of "React on Rails Pro". +- Removed ENV["TRACE_REACT_ON_RAILS"] usage and replacing it with config.trace. + +#### Enhanchements: Better Error Messages, Support for React on Rails Pro +- Tracing (debugging) options are simplified with a single `config.trace` setting that defaults to true for development and false otherwise. +- Calls to setTimeout, setInterval, clearTimeout will now always log some message if config.trace is true. Your JavaScript code should not be calling setTimout when server rendering. +- Errors raised are of type ReactOnRailsError, so you can see they came from React on Rails for debugging. +- Removed ReactOnRails::Utils.server_bundle_file_name and ReactOnRails::Utils.bundle_file_name. +- No longer logging the `railsContext` when server logging. + ### [10.1.4] - 2018-04-11 #### Fixed - Changed i18n parsing to convert ruby i18n argument syntax into FormatJS argument syntax. [PR 1046](https://github.com/shakacode/react_on_rails/pull/1046) by [sepehr500](https://github.com/sepehr500). - Fixed an issue where the spec compiler check would fail if the project path contained spaces. [PR 1045](https://github.com/shakacode/react_on_rails/pull/1045) by [andrewmarkle](https://github.com/andrewmarkle). - Updated the default `build_production_command` that caused production assets to be built with development settings. [PR 1053](https://github.com/shakacode/react_on_rails/pull/1053) by [Roman Kushnir](https://github.com/RKushnir). - -*Please add entries here for your pull requests that are not yet released.* ### [10.1.3] - 2018-02-28 #### Fixed - Improved error reporting on version mismatches between Javascript and Ruby packages. [PR 1025](https://github.com/shakacode/react_on_rails/pull/1025) by [theJoeBiz](https://github.com/squadette).