@samitouri / QOS-React-2 / commits / 8ef1f96850

0.12 CHANGELOG

Paul O’Shannessy committed Oct 26, 2014 at 17:12 UTC 8ef1f9685099c15d28a86ac30b14351b4cf6ae4b
1 file changed +75
CHANGELOG.md
+75
@@ -1,3 +1,78 @@
1 +## 0.12.0 (October 28, 2014)
2 +
3 +### React Core
4 +
5 +#### Breaking Changes
6 +
7 +* `key` and `ref` moved off props object, now accessible on the element directly
8 +* React is now BSD licensed with accompanying Patents grant
9 +* Default prop resolution has moved to Element creation time instead of mount time, making them effectively static
10 +* `React.__internals` is removed - it was exposed for DevTools which no longer needs access
11 +* Composite Component functions can no longer be called directly - they must be wrapped with `React.createFactory` first. This is handled for you when using JSX.
12 +
13 +#### New Features
14 +
15 +* Spread operator (`{...}`) introduced to deprecate `this.transferPropsTo`
16 +* Added support for more HTML attributes: `acceptCharset`, `classID`, `manifest`
17 +
18 +#### Deprecations
19 +
20 +* `React.renderComponent` --> `React.render`
21 +* `React.renderComponentToString` --> `React.renderToString`
22 +* `React.renderComponentToStaticMarkup` --> `React.renderToStaticMarkup`
23 +* `React.isValidComponent` --> `React.isValidElement`
24 +* `React.PropTypes.component` --> `React.PropTypes.element`
25 +* `React.PropTypes.renderable` --> `React.PropTypes.node`
26 +* **DEPRECATED** `React.isValidClass`
27 +* **DEPRECATED** `instance.transferPropsTo`
28 +* **DEPRECATED** Returning `false` from event handlers to preventDefault
29 +* **DEPRECATED** Convenience Constructor usage as function, instead wrap with `React.createFactory`
30 +* **DEPRECATED** use of `key={null}` to assign implicit keys
31 +
32 +#### Bug Fixes
33 +
34 +* Better handling of events and updates in nested results, fixing value restoration in "layered" controlled components
35 +* Correctly treat `event.getModifierState` as case sensitive
36 +* Improved normalization of `event.charCode`
37 +* Better error stacks when involving autobound methods
38 +* Removed DevTools message when the DevTools are installed
39 +* Correctly detect required language features across browsers
40 +* Fixed support for some HTML attributes:
41 + * `list` updates correctly now
42 + * `scrollLeft`, `scrollTop` removed, these should not be specified as props
43 +* Improved error messages
44 +
45 +### React With Addons
46 +
47 +#### New Features
48 +
49 +* `React.addons.batchedUpdates` added to API for hooking into update cycle
50 +
51 +#### Breaking Changes
52 +
53 +* `React.addons.update` uses `assign` instead of `copyProperties` which does `hasOwnProperty` checks. Properties on prototypes will no longer be updated correctly.
54 +
55 +#### Bug Fixes
56 +
57 +* Fixed some issues with CSS Transitions
58 +
59 +### JSX
60 +
61 +#### Breaking Changes
62 +
63 +* Enforced convention: lower case tag names are always treated as HTML tags, upper case tag names are always treated as composite components
64 +* JSX no longer transforms to simple function calls
65 +
66 +#### New Features
67 +
68 +* `@jsx React.DOM` no longer required
69 +* spread (`{...}`) operator introduced to allow easier use of props
70 +
71 +#### Bug Fixes
72 +
73 +* JSXTransformer: Make sourcemaps an option when using APIs directly (eg, for react-rails)
74 +
75 +
76 ## 0.11.2 (September 16, 2014)
77
78 ### React Core