Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# react-rails

#### Breaking Changes

- Changed server rendering configuration names #253

| Old | New |
| ---- | ---- |
| `config.react.timeout` | `config.react.server_renderer_timeout` |
| `config.react.max_renderers` | `config.react.server_renderer_pool_size` |
| `config.react.react_js` | `config.react.server_renderer_options[:files]` |
| `config.react.component_filenames` | `config.react.server_renderer_options[:files]` |
| `config.react.replay_console` | `config.react.server_renderer_options[:replay_console]` |
| (none) | `config.react.server_renderer` |

#### New Features

- Allow custom renderers for server rendering #253
- Server render with `renderToStaticMarkup` via `prerender: :static` #253

#### Deprecations

#### Bug Fixes

- Fix gem versions in tests #270
- Expire the Sprockets cache if you change React.js builds #257
- Instead of copying builds into local directires, add different React.js builds to the asset pipeline #254
- Camelize attribute names in the component generator #262
- Add `tilt` dependency #248


## 1.0.0 (April 7, 2015)

#### New Features

- Vendor versions of React.js with `config.variant`, `config.addons` and `//= require react`
- Component generator
- View helper and UJS for mounting components
- Server rendering with `prerender: true`
- Transform `.jsx` in the asset pipeline