@samitouri / QOS-React-2 / commits / 5c9f96d12f

v0.8 blog post

Paul O’Shannessy committed Dec 19, 2013 at 10:42 UTC 5c9f96d12fe088636e08b3ec770e7df62dc42c16
1 file changed +48
docs/_posts/2013-12-19-react-v0.8.0.md new
+48
@@ -0,0 +1,48 @@
1 +---
2 +title: "React v0.8"
3 +layout: post
4 +author: Paul O'Shannessy
5 +---
6 +
7 +I'll start by answering the obvious question:
8 +
9 +> What happened to 0.6 and 0.7?
10 +
11 +It's become increasingly obvious since our launch in May that people want to use React on the server. With the server-side rendering abilities, that's a perfect fit. However using the same copy of React on the server and then packaging it up for the client is surprisingly a harder problem. People have been using our `react-tools` module which includes React, but when browserifying that ends up packaging all of `esprima` and some other dependencies that aren't needed on the client. So we wanted to make this whole experience better.
12 +
13 +We talked with [Jeff Barczewski][jeff] who was the owner of the `react` module on npm. He was kind enough to transition ownership to us and release his package under a different name: `autoflow`. I encourage you to [check it out][autoflow] if you're writing a lot of asynchronous code. In order to not break all of `react`'s current users of 0.7.x, we decided to bump our version to 0.8 and skip the issue entirely. We're also including a warning if you use our `react` module like you would use the previous package.
14 +
15 +In order to make the transition to 0.8 for our current users as painless as possible, we decided to make 0.8 primarily a bug fix release on top of 0.5. No public APIs were changed (even if they were already marked as deprecated). We haven't added any of the new features we have in master, though we did take the opportunity to pull in some improvements to internals.
16 +
17 +We hope that by releasing `react` on npm, we will enable a new set of uses that have been otherwise difficult. All feedback is welcome!
18 +
19 +
20 +## Changelog
21 +
22 +### React
23 +
24 +* Added support for more attributes:
25 + * `rows` & `cols` for `<textarea>`
26 + * `defer` & `async` for `<script>`
27 + * `loop` for `<audio>` & `<video>`
28 + * `autoCorrect` for form fields (a non-standard attribute only supported by mobile WebKit)
29 +* Improved error messages
30 +* Fixed Selection events in IE11
31 +* Added `onContextMenu` events
32 +
33 +### React with Addons
34 +
35 +* Fixed bugs with TransitionGroup when children were undefined
36 +* Added support for `onTransition`
37 +
38 +### react-tools
39 +
40 +* Upgraded `jstransform` and `esprima-fb`
41 +
42 +### JSXTransformer
43 +
44 +* Added support for use in IE8
45 +* Upgraded browserify, which reduced file size by ~65KB (16KB gzipped)
46 +
47 +[jeff]: https://github.com/jeffbski
48 +[autoflow]: https://github.com/jeffbski/autoflow