Compare commits

...

8 Commits

Author SHA1 Message Date
Ben Alpert
575cf6a82e v0.14.5 2015-12-29 14:37:06 -08:00
Ben Alpert
d6a0a083e4 Readme for 0.14.5 2015-12-29 14:36:24 -08:00
Ben Alpert
e7b178390d Changelog for 0.14.5 2015-12-29 14:36:15 -08:00
Ben Alpert
a9732ba548 Upgrade fbjs to 0.6 in npm package too 2015-12-29 14:35:10 -08:00
Ben Alpert
05269bf16b Bump version for 0.14.5 dev 2015-12-29 14:34:38 -08:00
Ben Alpert
093a97c54b 0.14.4 blog post
(cherry picked from commit 2a64098271)
2015-12-29 14:19:27 -08:00
Ben Alpert
0d5d0b2688 Update a few changelog things forgotten in 3f355d99 2015-12-29 14:09:26 -08:00
Ben Alpert
c8398491d8 update website for 0.14.4 2015-12-29 14:01:54 -08:00
13 changed files with 91 additions and 39 deletions

View File

@@ -1,8 +1,21 @@
## 0.14.5 (December 29, 2015)
### React
- More minor internal changes for better compatibility with React Native
## 0.14.4 (December 29, 2015)
### React
- Minor internal changes for better compatibility with React Native
### React DOM
- The `autoCapitalize` and `autoCorrect` props are now set as attributes in the DOM instead of properties to improve cross-browser compatibility
- Fixed bug with controlled `<select>` elements not handling updates properly
### React Perf Add-on
- Some DOM operation names have been updated for clarity in the output of `.printDOM()`
## 0.14.3 (November 18, 2015)

View File

@@ -37,12 +37,12 @@ The fastest way to get started is to serve JavaScript from the CDN (also availab
```html
<!-- The core React library -->
<script src="https://fb.me/react-0.14.4.js"></script>
<script src="https://fb.me/react-0.14.5.js"></script>
<!-- The ReactDOM Library -->
<script src="https://fb.me/react-dom-0.14.4.js"></script>
<script src="https://fb.me/react-dom-0.14.5.js"></script>
```
We've also built a [starter kit](https://facebook.github.io/react/downloads/react-0.14.4.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](https://facebook.github.io/react/downloads/react-0.14.5.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:

View File

@@ -2,9 +2,9 @@
name: React
description: A JavaScript library for building user interfaces
url: https://facebook.github.io
baseurl: "/react"
permalink: "/blog/:year/:month/:day/:title.html"
paginate_path: "/blog/page:num/"
baseurl: /react
permalink: /blog/:year/:month/:day/:title.html
paginate_path: /blog/page:num/
relative_permalinks: true
paginate: 5
timezone: America/Los_Angeles
@@ -36,4 +36,4 @@ sass:
sass_dir: _css
gems:
- jekyll-redirect-from
react_version: 0.14.3
react_version: 0.14.4

View File

@@ -0,0 +1,37 @@
---
title: "React v0.14.4"
author: spicyj
---
Happy December! We have a minor point release today. It has just a few small bug fixes.
The release is now available for download:
* **React**
Dev build with warnings: <https://fb.me/react-0.14.4.js>
Minified build for production: <https://fb.me/react-0.14.4.min.js>
* **React with Add-Ons**
Dev build with warnings: <https://fb.me/react-with-addons-0.14.4.js>
Minified build for production: <https://fb.me/react-with-addons-0.14.4.min.js>
* **React DOM** (include React in the page before React DOM)
Dev build with warnings: <https://fb.me/react-dom-0.14.4.js>
Minified build for production: <https://fb.me/react-dom-0.14.4.min.js>
* **React DOM Server** (include React in the page before React DOM Server)
Dev build with warnings: <https://fb.me/react-dom-server-0.14.4.js>
Minified build for production: <https://fb.me/react-dom-server-0.14.4.min.js>
We've also published version `0.14.4` of the `react`, `react-dom`, and addons packages on npm and the `react` package on bower.
- - -
## Changelog
### React
- Minor internal changes for better compatibility with React Native
### React DOM
- The `autoCapitalize` and `autoCorrect` props are now set as attributes in the DOM instead of properties to improve cross-browser compatibility
- Fixed bug with controlled `<select>` elements not handling updates properly
### React Perf Add-on
- Some DOM operation names have been updated for clarity in the output of `.printDOM()`

Binary file not shown.

View File

@@ -1,5 +1,5 @@
/**
* ReactDOM v0.14.3
* ReactDOM v0.14.4
*
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.

46
docs/js/react.js vendored
View File

@@ -1,5 +1,5 @@
/**
* React v0.14.3
* React v0.14.4
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.React = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
@@ -3343,8 +3343,8 @@ var HTMLDOMPropertyConfig = {
*/
// autoCapitalize and autoCorrect are supported in Mobile Safari for
// keyboard hints.
autoCapitalize: null,
autoCorrect: null,
autoCapitalize: MUST_USE_ATTRIBUTE,
autoCorrect: MUST_USE_ATTRIBUTE,
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
autoSave: null,
// color is for Safari mask-icon link
@@ -3375,9 +3375,7 @@ var HTMLDOMPropertyConfig = {
httpEquiv: 'http-equiv'
},
DOMPropertyNames: {
autoCapitalize: 'autocapitalize',
autoComplete: 'autocomplete',
autoCorrect: 'autocorrect',
autoFocus: 'autofocus',
autoPlay: 'autoplay',
autoSave: 'autosave',
@@ -7750,7 +7748,7 @@ function updateOptionsIfPendingUpdateAndMounted() {
var value = LinkedValueUtils.getValue(props);
if (value != null) {
updateOptions(this, props, value);
updateOptions(this, Boolean(props.multiple), value);
}
}
}
@@ -8822,7 +8820,9 @@ var DOM_OPERATION_TYPES = {
'setValueForProperty': 'update attribute',
'setValueForAttribute': 'update attribute',
'deleteValueForProperty': 'remove attribute',
'dangerouslyReplaceNodeWithMarkupByID': 'replace'
'setValueForStyles': 'update styles',
'replaceNodeWithMarkup': 'replace',
'updateTextContent': 'set textContent'
};
function getTotalTime(measurements) {
@@ -13840,7 +13840,7 @@ module.exports = ReactUpdates;
'use strict';
module.exports = '0.14.3';
module.exports = '0.14.4';
},{}],85:[function(_dereq_,module,exports){
/**
* Copyright 2013-2015, Facebook, Inc.
@@ -18074,15 +18074,11 @@ module.exports = focusNode;
* Same as document.activeElement but wraps in a try-catch block. In IE it is
* not safe to call document.activeElement if there is nothing focused.
*
* The activeElement will be null only if the document or document body is not yet defined.
* The activeElement will be null only if the document body is not yet defined.
*/
'use strict';
"use strict";
function getActiveElement() /*?DOMElement*/{
if (typeof document === 'undefined') {
return null;
}
try {
return document.activeElement || document.body;
} catch (e) {
@@ -18325,7 +18321,7 @@ module.exports = hyphenateStyleName;
* will remain to ensure logic does not differ in production.
*/
var invariant = function (condition, format, a, b, c, d, e, f) {
function invariant(condition, format, a, b, c, d, e, f) {
if ("development" !== 'production') {
if (format === undefined) {
throw new Error('invariant requires an error message argument');
@@ -18339,15 +18335,16 @@ var invariant = function (condition, format, a, b, c, d, e, f) {
} else {
var args = [a, b, c, d, e, f];
var argIndex = 0;
error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {
error = new Error(format.replace(/%s/g, function () {
return args[argIndex++];
}));
error.name = 'Invariant Violation';
}
error.framesToPop = 1; // we don't care about invariant's own frame
throw error;
}
};
}
module.exports = invariant;
},{}],145:[function(_dereq_,module,exports){
@@ -18609,19 +18606,24 @@ module.exports = performance || {};
'use strict';
var performance = _dereq_(151);
var curPerformance = performance;
var performanceNow;
/**
* Detect if we can use `window.performance.now()` and gracefully fallback to
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
* because of Facebook's testing infrastructure.
*/
if (!curPerformance || !curPerformance.now) {
curPerformance = Date;
if (performance.now) {
performanceNow = function () {
return performance.now();
};
} else {
performanceNow = function () {
return Date.now();
};
}
var performanceNow = curPerformance.now.bind(curPerformance);
module.exports = performanceNow;
},{"151":151}],153:[function(_dereq_,module,exports){
/**

View File

@@ -1,7 +1,7 @@
{
"name": "react-build",
"private": true,
"version": "0.14.4",
"version": "0.14.5",
"devDependencies": {
"babel": "^5.8.3",
"babel-eslint": "^4.1.3",

View File

@@ -1,6 +1,6 @@
{
"name": "react-addons-template",
"version": "0.14.4",
"version": "0.14.5",
"main": "index.js",
"repository": "facebook/react",
"keywords": [
@@ -9,6 +9,6 @@
],
"license": "BSD-3-Clause",
"peerDependencies": {
"react": "^0.14.4"
"react": "^0.14.5"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "react-dom",
"version": "0.14.4",
"version": "0.14.5",
"description": "React package for working with the DOM.",
"main": "index.js",
"repository": "facebook/react",
@@ -13,6 +13,6 @@
},
"homepage": "https://github.com/facebook/react/tree/master/npm-react-dom",
"peerDependencies": {
"react": "^0.14.4"
"react": "^0.14.5"
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "react",
"description": "React is a JavaScript library for building user interfaces.",
"version": "0.14.4",
"version": "0.14.5",
"keywords": [
"react"
],
@@ -24,7 +24,7 @@
},
"dependencies": {
"envify": "^3.0.0",
"fbjs": "^0.3.1"
"fbjs": "^0.6.0"
},
"browserify": {
"transform": [

View File

@@ -11,4 +11,4 @@
'use strict';
module.exports = '0.14.4';
module.exports = '0.14.5';

View File

@@ -1,5 +1,5 @@
{
"name": "react-haste",
"version": "0.14.4",
"version": "0.14.5",
"license": "BSD-3-Clause"
}