Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 732ffad

Browse files
committed
0.11.2 release materials
TODO: starter kit for cherry-pick to master
1 parent 3845e21 commit 732ffad

File tree

5 files changed

+71
-4
lines changed

5 files changed

+71
-4
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 0.11.2 (September 16, 2014)
2+
3+
### React Core
4+
5+
#### New Features
6+
7+
* Added support for `<dialog>` element and associated `open` attribute
8+
* Added support for `<picture>` element and associated `media` and `sizes` attributes
9+
* Added `React.createElement` API in preparation for React v0.12
10+
* `React.createDescriptor` has been deprecated as a result
11+
12+
### JSX
13+
14+
* `<picture>` is now parsed into `React.DOM.picture`
15+
16+
### React Tools
17+
18+
* Update `esprima` and `jstransform` for correctness fixes
19+
* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove TypeScript-like type annotations
20+
* This option is also exposed to `require('react-tools').transform` as `stripTypes`
21+
122
## 0.11.1 (July 24, 2014)
223

324
### React Core

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ The fastest way to get started is to serve JavaScript from the CDN (also availab
3636

3737
```html
3838
<!-- The core React library -->
39-
<script src="http://fb.me/react-0.11.1.js"></script>
39+
<script src="http://fb.me/react-0.11.2.js"></script>
4040
<!-- In-browser JSX transformer, remove when pre-compiling JSX. -->
41-
<script src="http://fb.me/JSXTransformer-0.11.1.js"></script>
41+
<script src="http://fb.me/JSXTransformer-0.11.2.js"></script>
4242
```
4343

44-
We've also built a [starter kit](http://facebook.github.io/react/downloads/react-0.11.1.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.
44+
We've also built a [starter kit](http://facebook.github.io/react/downloads/react-0.11.2.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.
4545

4646
If you'd like to use [bower](http://bower.io), it's as easy as:
4747

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ sass:
3434
sass_dir: _css
3535
gems:
3636
- jekyll-redirect-from
37-
react_version: 0.11.1
37+
react_version: 0.11.2
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: React v0.11.2
3+
author: Paul O’Shannessy
4+
---
5+
6+
Today we're releasing React v0.11.2 to add a few small features.
7+
8+
We're adding support for two more DOM elements, `<dialog>` and `<picture>`, as well as the associated attributes needed to use these elements: `open`, `media`, and `sizes`. While not all browsers support these natively, some of our cutting edge users want to make use of them, so we're making them available to everybody.
9+
10+
We're also doing some work to prepare for v0.12 and improve compatibility between the versions. To do this we are replacing `React.createDescriptor` with `React.createElement`. `createDescriptor` will continue to work with a warning and will be gone in v0.12. Chances are that this won't affect anybody.
11+
12+
And lastly, on the heels of announcing Flow at [@Scale](http://atscaleconference.com/) yesterday, we're adding the ability to strip TypeScript-like type annotations as part of the `jsx` transform. To use, simply use the `--strip-types` flag on the command line, or set `stripTypes` in the `options` object when calling the API. We'll be talking about Flow more in the coming months. But for now, it's helpful to know that it is a flow-sensitive JavaScript type checker we will be open sourcing soon.
13+
14+
The release is available for download from the CDN:
15+
16+
* **React**
17+
Dev build with warnings: <http://fb.me/react-0.11.2.js>
18+
Minified build for production: <http://fb.me/react-0.11.2.min.js>
19+
* **React with Add-Ons**
20+
Dev build with warnings: <http://fb.me/react-with-addons-0.11.2.js>
21+
Minified build for production: <http://fb.me/react-with-addons-0.11.2.min.js>
22+
* **In-Browser JSX transformer**
23+
<http://fb.me/JSXTransformer-0.11.2.js>
24+
25+
We've also published version `0.11.2` of the `react` and `react-tools` packages on npm and the `react` package on bower.
26+
27+
Please try these builds out and [file an issue on GitHub](https://github.com/facebook/react/issues/new) if you see anything awry.
28+
29+
### React Core
30+
31+
#### New Features
32+
33+
* Added support for `<dialog>` element and associated `open` attribute
34+
* Added support for `<picture>` element and associated `media` and `sizes` attributes
35+
* Added `React.createElement` API in preparation for React v0.12
36+
* `React.createDescriptor` has been deprecated as a result
37+
38+
### JSX
39+
40+
* `<picture>` is now parsed into `React.DOM.picture`
41+
42+
### React Tools
43+
44+
* Update `esprima` and `jstransform` for correctness fixes
45+
* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove TypeScript-like type annotations
46+
* This option is also exposed to `require('react-tools').transform` as `stripTypes`

docs/downloads/react-0.11.2.zip

750 KB
Binary file not shown.

0 commit comments

Comments
 (0)