Skip to content

Commit 54c8ac3

Browse files
committed
update changelog
1 parent 968d766 commit 54c8ac3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,35 @@
88

99
#### Bug Fixes
1010

11+
## 2.0.0 (April 13, 2017)
12+
13+
#### Breaking Changes
14+
15+
- Server rendering loads `server_rendering.js` by default #471 . Upgrade by adding a new file which requires the previous defaults:
16+
17+
```js
18+
// app/assets/javascripts/server_rendering.js
19+
// = require react-server
20+
// = require components
21+
```
22+
23+
24+
#### New Features
25+
26+
- Webpacker support:
27+
- `react_component` can find components via `require.context` + `ReactRailsUJS.useContext` #678
28+
- Server rendering detects Webpacker and uses packs #683, #687
29+
- `ReactRailsUJS` is available from `npm` with `yarn add react_ujs` or `npm install react_ujs` #678
30+
- `per_request_react_rails_prerenderer` Allows you to check out a renderer for the _whole request_ instead of once-per-`react_component` #559
31+
32+
#### Bug Fixes
33+
34+
- Improved watching of server-rendering JS files #687
35+
- Fix console replay:
36+
- Put the `<script>` tag outside the React.js container to avoid React warnings #691
37+
- Clear console history between renders #692
38+
- Use better Turbolinks events #690
39+
1140
## 1.11.0 (April 4, 2017)
1241

1342
#### New Features

0 commit comments

Comments
 (0)