diff --git a/CHANGELOG.md b/CHANGELOG.md index 49795d8eb5..781ce9bb2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## 0.11.2 (September 16, 2014) + +### React Core + +#### New Features + +* Added support for `` element and associated `open` attribute +* Added support for `` element and associated `media` and `sizes` attributes +* Added `React.createElement` API in preparation for React v0.12 + * `React.createDescriptor` has been deprecated as a result + +### JSX + +* `` is now parsed into `React.DOM.picture` + +### React Tools + +* Update `esprima` and `jstransform` for correctness fixes +* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove TypeScript-like type annotations + * This option is also exposed to `require('react-tools').transform` as `stripTypes` + ## 0.11.1 (July 24, 2014) ### React Core diff --git a/README.md b/README.md index 169423f2ca..c1d10befb4 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,12 @@ The fastest way to get started is to serve JavaScript from the CDN (also availab ```html - + - + ``` -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. +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. If you'd like to use [bower](http://bower.io), it's as easy as: diff --git a/docs/_config.yml b/docs/_config.yml index 75ca27e233..ae5ffcad65 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -34,4 +34,4 @@ sass: sass_dir: _css gems: - jekyll-redirect-from -react_version: 0.11.1 +react_version: 0.11.2 diff --git a/docs/_posts/2014-09-16-react-v0.11.2.md b/docs/_posts/2014-09-16-react-v0.11.2.md new file mode 100644 index 0000000000..b871e6d7a6 --- /dev/null +++ b/docs/_posts/2014-09-16-react-v0.11.2.md @@ -0,0 +1,46 @@ +--- +title: React v0.11.2 +author: Paul O’Shannessy +--- + +Today we're releasing React v0.11.2 to add a few small features. + +We're adding support for two more DOM elements, `` and ``, 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. + +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. + +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. + +The release is available for download from the CDN: + +* **React** + Dev build with warnings: + Minified build for production: +* **React with Add-Ons** + Dev build with warnings: + Minified build for production: +* **In-Browser JSX transformer** + + +We've also published version `0.11.2` of the `react` and `react-tools` packages on npm and the `react` package on bower. + +Please try these builds out and [file an issue on GitHub](https://github.com/facebook/react/issues/new) if you see anything awry. + +### React Core + +#### New Features + +* Added support for `` element and associated `open` attribute +* Added support for `` element and associated `media` and `sizes` attributes +* Added `React.createElement` API in preparation for React v0.12 + * `React.createDescriptor` has been deprecated as a result + +### JSX + +* `` is now parsed into `React.DOM.picture` + +### React Tools + +* Update `esprima` and `jstransform` for correctness fixes +* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove TypeScript-like type annotations + * This option is also exposed to `require('react-tools').transform` as `stripTypes` diff --git a/docs/downloads/react-0.11.2.zip b/docs/downloads/react-0.11.2.zip new file mode 100644 index 0000000000..f08b9575fd Binary files /dev/null and b/docs/downloads/react-0.11.2.zip differ