react-on-rails
Advanced tools
Comparing version 6.0.0-rc3 to 6.0.0
@@ -7,3 +7,3 @@ # Change Log | ||
## [6.0.0-rc.1] | ||
## [6.0.0] | ||
##### Breaking Changes | ||
@@ -13,2 +13,5 @@ - Added automatic compilation of assets at precompile is now done by ReactOnRails. Thus, you don't need to provide your own assets.rake file that does the precompilation. | ||
- **Migration to v6** | ||
- Do not run the generator again if you've already run it. | ||
- See [shakacode/react-webpack-rails-tutorial/pull/287](https://github.com/shakacode/react-webpack-rails-tutorial/pull/287) for an example of upgrading from v5. | ||
@@ -37,2 +40,3 @@ - To configure the asset compliation you can either | ||
- Fixed errors when server rendered props contain \u2028 or \u2029 characters [#375](https://github.com/shakacode/react_on_rails/pull/375) by [mariusandra](https://github.com/mariusandra) | ||
- Fixed "too early unmount" which caused problems with Turbolinks 5 not updating the screen [#425](https://github.com/shakacode/react_on_rails/pull/425) by [szyablitsky](https://github.com/szyablitsky) | ||
@@ -334,4 +338,4 @@ ##### Added | ||
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/5.2.0...master | ||
[6.0.0-rc.1]: https://github.com/shakacode/react_on_rails/compare/5.2.0...6.0.0-rc.1 | ||
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.0.0...master | ||
[6.0.0]: https://github.com/shakacode/react_on_rails/compare/5.2.0...6.0.0 | ||
[5.2.0]: https://github.com/shakacode/react_on_rails/compare/5.1.1...5.2.0 | ||
@@ -338,0 +342,0 @@ [5.1.1]: https://github.com/shakacode/react_on_rails/compare/5.1.0...5.1.1 |
@@ -174,4 +174,4 @@ 'use strict'; | ||
if (turbolinksVersion5()) { | ||
debugTurbolinks('USING TURBOLINKS 5: document added event listeners turbolinks:before-cache and ' + 'turbolinks:load.'); | ||
document.addEventListener('turbolinks:before-cache', reactOnRailsPageUnloaded); | ||
debugTurbolinks('USING TURBOLINKS 5: document added event listeners turbolinks:before-render and ' + 'turbolinks:load.'); | ||
document.addEventListener('turbolinks:before-render', reactOnRailsPageUnloaded); | ||
document.addEventListener('turbolinks:load', reactOnRailsPageLoaded); | ||
@@ -178,0 +178,0 @@ } else { |
{ | ||
"name": "react-on-rails", | ||
"version": "6.0.0-rc3", | ||
"version": "6.0.0", | ||
"description": "react-on-rails JavaScript for react_on_rails Ruby gem", | ||
@@ -5,0 +5,0 @@ "main": "node_package/lib/ReactOnRails.js", |
@@ -125,6 +125,6 @@ [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/shakacode/react_on_rails) [![Dependency Status](https://gemnasium.com/shakacode/react_on_rails.svg)](https://gemnasium.com/shakacode/react_on_rails) [![Gem Version](https://badge.fury.io/rb/react_on_rails.svg)](https://badge.fury.io/rb/react_on_rails) [![npm version](https://badge.fury.io/js/react-on-rails.svg)](https://badge.fury.io/js/react-on-rails) [![Code Climate](https://codeclimate.com/github/shakacode/react_on_rails/badges/gpa.svg)](https://codeclimate.com/github/shakacode/react_on_rails) [![Coverage Status](https://coveralls.io/repos/shakacode/react_on_rails/badge.svg?branch=master&service=github)](https://coveralls.io/github/shakacode/react_on_rails?branch=master) | ||
5. NPM install. Make sure you are on a recent version of node. Please use at least Node v5. | ||
5. Bundle and NPM install. Make sure you are on a recent version of node. Please use at least Node v5. Bundle is for adding execJs. You can remove that if you are sure you will not server render. | ||
```bash | ||
npm install | ||
bundle && npm install | ||
``` | ||
@@ -570,3 +570,3 @@ | ||
+ Rails 3.2 or greater | ||
+ Node 5.5 or great | ||
+ Node 5.5 or greater | ||
@@ -573,0 +573,0 @@ ## Contributing |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
91755
0