react-on-rails
Advanced tools
Comparing version 6.0.0-beta.4 to 6.0.0-beta.5
@@ -5,8 +5,9 @@ # Change Log | ||
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] | ||
## [Unreleased] | ||
## [6.0.0-rc1] | ||
##### Breaking Changes | ||
- 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. | ||
[#398](https://github.com/shakacode/react_on_rails/pull/398). | ||
- Migration: you can either | ||
[#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808). | ||
- **Migration to v6: you can either:** | ||
@@ -24,15 +25,21 @@ 1. Specify a `config/react_on_rails` setting for `npm_build_production_command` to be nil to turn this feature off. | ||
##### Fixed | ||
- Fixed errors when server rendered props contain \u2028 or \u2029 characters [#375](https://github.com/shakacode/react_on_rails/pull/375) by [mariusandra] | ||
- 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) | ||
##### Added | ||
- Non-digested version of assets in public folder [#413](https://github.com/shakacode/react_on_rails/pull/413) by [alleycat-at-git] | ||
- Experimental ability to use node.js process for server rendering. See [#380](https://github.com/shakacode/react_on_rails/pull/380) by [alleycat-at-git](https://github.com/alleycat-at-git). | ||
- Non-digested version of assets in public folder [#413](https://github.com/shakacode/react_on_rails/pull/413) by [alleycat-at-git](https://github.com/alleycat-at-git). | ||
- Cache client/node_modules directory to prevent Heroku from reinstalling all modules from scratch [#324](https://github.com/shakacode/react_on_rails/pull/324) by [modosc](https://github.com/modosc). | ||
- ReactOnRails.reactOnRailsPageLoaded() is exposed in case one needs to call this manually and information on async script loading added. See [#315](https://github.com/shakacode/react_on_rails/pull/315) by [SqueezedLight](https://github.com/SqueezedLight). | ||
##### Changed | ||
- Only one webpack config is generated for server and client config. Package.json files were changed to reflect this [#398](https://github.com/shakacode/react_on_rails/pull/398). | ||
- Added npm_build_test_command to allow developers to change what npm command is automatically run from rspec [#398](https://github.com/shakacode/react_on_rails/pull/398). | ||
- Replace URI with Addressable gem. See [#405](https://github.com/shakacode/react_on_rails/pull/405) by [lucke84] | ||
- [#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808) contains: | ||
- Only one webpack config is generated for server and client config. Package.json files were changed to reflect this. | ||
- Added npm_build_test_command to allow developers to change what npm command is automatically run from rspec. | ||
- Replace URI with Addressable gem. See [#405](https://github.com/shakacode/react_on_rails/pull/405) by [lucke84](https://github.com/lucke84) | ||
##### Removed | ||
- Server rendering is no longer an option in the generator and is always accessible [#398](https://github.com/shakacode/react_on_rails/pull/398). | ||
- removed lodash, jquery, and loggerMiddleware from the generated code [#398](https://github.com/shakacode/react_on_rails/pull/398). | ||
- [#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808) contains: | ||
- Server rendering is no longer an option in the generator and is always accessible. | ||
- Removed lodash, jquery, and loggerMiddleware from the generated code. | ||
- Removed webpack watch check for test helper automatic compilation. | ||
@@ -315,3 +322,5 @@ ## [5.2.0] - 2016-04-08 | ||
- Fix several generator related issues. | ||
[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 | ||
[5.2.0]: https://github.com/shakacode/react_on_rails/compare/5.1.1...5.2.0 | ||
@@ -318,0 +327,0 @@ [5.1.1]: https://github.com/shakacode/react_on_rails/compare/5.1.0...5.1.1 |
@@ -11,3 +11,4 @@ 'use strict'; | ||
exports.default = clientStartup; | ||
exports.reactOnRailsPageLoaded = reactOnRailsPageLoaded; | ||
exports.clientStartup = clientStartup; | ||
@@ -14,0 +15,0 @@ var _reactDom = require('react-dom'); |
@@ -21,3 +21,3 @@ 'use strict'; | ||
var _clientStartup2 = _interopRequireDefault(_clientStartup); | ||
var ClientStartup = _interopRequireWildcard(_clientStartup); | ||
@@ -56,2 +56,4 @@ var _handleError2 = require('./handleError'); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -119,2 +121,5 @@ | ||
}, | ||
reactOnRailsPageLoaded: function reactOnRailsPageLoaded() { | ||
ClientStartup.reactOnRailsPageLoaded(); | ||
}, | ||
@@ -243,4 +248,4 @@ | ||
(0, _clientStartup2.default)(ctx); | ||
ClientStartup.clientStartup(ctx); | ||
exports.default = ctx.ReactOnRails; |
{ | ||
"name": "react-on-rails", | ||
"version": "6.0.0-beta.4", | ||
"version": "6.0.0-beta.5", | ||
"description": "react-on-rails JavaScript for react_on_rails Ruby gem", | ||
@@ -5,0 +5,0 @@ "main": "node_package/lib/ReactOnRails.js", |
[![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) | ||
# NEWS | ||
* 2016-04-08: 5.2.0 Released! Support for React 15.0 and updates to the Generator. See the [CHANGELOG.md](./CHANGELOG.md) for details. | ||
* 2016-05-11: 6.0.0-rc.1 Released! Simplified generator and install process! See the [CHANGELOG.md](./CHANGELOG.md) for details. | ||
* [New slides on React on Rails](http://www.slideshare.net/justingordon/react-on-rails-v4032). | ||
@@ -21,3 +21,3 @@ * 2016-02-28: We added a [Projects page](./PROJECTS.md) and a [Kudos page](./KUDOS.md). Please edit the page and add your project or [email us](mailto:contact@shakacode.com) and we'll add you. We also love stars as it helps us attract new users and contributors. | ||
React on Rails integrates Facebook's [React](https://github.com/facebook/react) front-end framework with Rails. React v0.14.x is supported, with server rendering. [Redux](https://github.com/reactjs/redux) and [React-Router](https://github.com/reactjs/react-redux) are supported as well, also with server rendering. See the Rails on Maui [blog post](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/) that started it all! | ||
React on Rails integrates Facebook's [React](https://github.com/facebook/react) front-end framework with Rails. React v0.14.x and greate is supported, with server rendering. [Redux](https://github.com/reactjs/redux) and [React-Router](https://github.com/reactjs/react-redux) are supported as well, also with server rendering. See the Rails on Maui [blog post](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/) that started it all! | ||
@@ -75,2 +75,3 @@ ## Including your React Component in your Rails Views | ||
- [React-Router](#react-router) | ||
- [Deployment](#deployment) | ||
+ [Adding Additional Routes for the Dev Server](#adding-additional-routes-for-the-dev-server) | ||
@@ -412,2 +413,7 @@ + [Migrate From react-rails](#migrate-from-react-rails) | ||
## Deployment | ||
* Version 6.0 puts the necessary precompile steps automatically in the rake precompile step. You can, however, disable this by setting certain values to nil in the [config/react_on_rails.rb](config/react_on_rails.rb). | ||
* See the [Heroku Deployment](docs/additional-reading/heroku-deployment.md) doc for specifics regarding Heroku. | ||
* If you're using the node server for server rendering, you may want to do your own AWS install. We'll have more docs on this in the future. | ||
## Additional Reading | ||
@@ -414,0 +420,0 @@ + [JavaScript API](docs/api/javascript-api.md) |
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
87807
709
480