2 Commits in this Release
Ordered by the degree to which they evolved the repo in this version.
Browse Other Releases
Top Contributors in v0.43.4
Directory Browser for v0.43.4
We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.
Release Notes Published
Breaking changes
Switch componentWillMount / componentWillUnmount order
(5eb3ab3522bd1d46fb4f8471c8207f1e0bc2cc25) - @sebmarkbage
This switches a React feature flag so that componentWillMount happens before componentWillUnmount when a child switches. It used to be inconsistent and this makes it consistent and inline with what React Fiber does.
Correct value of Dimensions.get('screen').fontScale
(186f308) - @rigdern
On Android, the following properties now return a different number:
- Dimensions.get('window').fontScale
- Dimensions.get('screen').fontScale
- PixelRatio.getFontScale()
This is a breaking change to anyone who was using these properties because the meaning of these properties has now changed.
These properties used to return a value representing font scale times density (DisplayMetrics.scaledDensity
). Now they return a value representing just font scale (Configuration.fontScale
).
Only call batchDidComplete when there were actually native calls dispatched
(5f09ca4) - @astreet
This is breaking because it affects the contract for onBatchComplete, but modules really shouldn't (and probably aren't) depending on it being called without any actual native module method calls having happened.
Android
Bugfixes
- Fix native animated event lag on Android (61d3741) - @janicduplessis
- Fix formatting in DatePickerAndroid.open docs (643925b) - @hramos
- Fix BundleHeader init in CatalystInstanceImpl (09fa9da) - @javache
- Fix copy/paste bug in open source BUCK file for React Native. (f9df89a) - @bolinfest
New features and enhancements
- Add TextInput's prop caretHidden implementation (bb1f851) - @henrikra
- Update "Getting Started" to match latest Android Studio (3135a63) - @gaearon
- Change cursor color when using selectionColor on Android (ae57b25) - @janicduplessis
- Stop logging console logs from webview (cb68b97) - @fkgozali
- Support HTTP headers for source prop on <Image> components (8c0e6ec) - @mkonicek
- Docker Testing Environment for Android & JS (fe2ff12) - @nicktate
- Optional Alert onDismiss callback to support Android default behavior (27928f3) - @Benjamin-Dobell
- Expand the visible parts of the android bridge a little bit (0b921ef) - @mhorowitz
- Support barStyle (48a84df) - @sunnylqm
- Replace top-level
elif
withif
in BUCK files. (f294f61) - @bolinfest - Eliminate the need for
import re
in a BUCK file. (6a4f7c0) - @bolinfest - Introducing Responder and JSONObject to JSPackagerClient (e28a12c)
- Only call onLayout when layout has actually changed (15429e3) - @astreet
- Log ReactContext counters (1744639) - @alexeylang
- Yoga: More efficient decoding of Dynamic value in LayoutShadowNode (fb266fc) - @emilsjolander
iOS
Bugfixes
- Only provide elevation style prop when running on Android (adeb5ff) - @cailenmusselman
- Fix badgeColor for previous iOS 10 versions (ca27416) - @benoitvallon
New features and enhancements
- Don't add duplicate font entries to plist during link (c6c1c02) - @mosesoak
- Add RCTDevSettings module (6a14f0b) - @terribleben
- Recommend installing latest version of Xcode (8589094) - @hramos
- Expose 'RCTConvert UITabBarSystemItem:' in the header file (a512f6d) - @fkgozali
- Replace valueForKey with subscript access in RCTJavascriptLoader (a2000d1) - @javache
- Move RCTFollyConvert to the correct namespace (5d4ff69) - @javache
- Remove unused RCTMessageQueue (c529a06) - @javache
- Make RCTRefreshControl not dependent on order of setting properties (93a263d) - @mmmulani
- Simplifying RCTRootViewSizeFlexibility (ba170ec) - @shergin
- Rename
RCTShadowViews
'scssNode
property toyogaNode
(e361ce8) - @shergin - Remove leading space from accessibilityLabel (6fbc2c9) - @rigdern
- Better support of UIKit layout stuff for RCTRootView an co. (9dccff0) - @shergin
- RCTRootView's
intrinsicSize
property was deprecated in favour ofintrinsicContentSize
(e7cc1bc) - @shergin - Expose
accessibilityViewIsModal
property for any view (b00c1fa) - @shergin
General
Bugfixes
- Fix animated blog lists (7f9876c) - @janicduplessis
- Yoga: Fix align-content strech with multiple lines (0ea4742) - @emilsjolander
- Yoga: Fix up some small issues with YGUnitAuto (1b5eb36) - @emilsjolander
- Yoga: Fix
align-content: strech
overridingalign-item
(1f45636) - @woehrl01 - Yoga: Fix comments about Yoga in LayoutPropType. (bac24dd) - @desmond1121
- Yoga: Fix margin auto for start and end values (d5a381f) - @emilsjolander
- Yoga: Fix percentage in flexing parent (f52d66c) - @woehrl01
- Yoga: Fix behaviour of wrapping container within align-items: not stretch (6ac6bf0) - @emilsjolander
- FlatList: Fix
getItemLayout
flow type to includeindex
(91bda43) - @sahrens - FlatList: API update and bug fixes (6283878) - @sahrens
- FlatList: Fix doubled ItemSeparators (5bec52b) - @sahrens
- FlatList: Fix minimumViewTime (e2578cc) - @sahrens
- Fix error handling for nested exceptions (8987d86) - @javache
- Fix react-native-git-upgrade cache busting (927b356) - @ncuillery
- Fix the website build (a5ea974) - @gmuraleekrishna
- Fix incorrect line numbers in test failures (91b2dbb) - @cpojer
- Fix typo in ResolutionRequest (cf627fb) - @cpojer
- Fix duplicate symbols error in the Creating Native UI Component docs (fab0992) - @hramos
- Fix typo in ViewabilityHelper (
itemVisiblePercentThreshold
mistyped) (9217ff3) - @rexxars - Flow: Fixes type definition of StackFrame (800dc77) - @wietsevenema
- Flow: Fix a bunch of flow annotations (2a3fe06) - @cpojer
- Flow: Fix flow errors (37b91a6) - @cpojer
- Flow: Fix flowconfig in starter project (b0bdbeb) - @skevy
- Fix lint errors 1/n (5403946) - @cpojer
- Fix lint errors 2/2 (4d00df4) - @cpojer
- Fix absolute imports on Windows (5facc23) - @janicduplessis
- Fix the RN OSS gradle build (18eb7ae) - @mhorowitz
New features and enhacements
- Merge AndroidConstants and IOSConstants into PlatformConstants (dba133a) - @javache
- Fixes current CI failures and allows tree shaking of native dev support code. (19caaba) - @alloy
- Add deprecation warning for NavigationExperimental (39eddc1) - @ericvicenti
- Yoga: Add margin auto support to react native (cc27555) - @emilsjolander
- Yoga: Add display:none support to react native (4d69f4b) - @emilsjolander
- Yoga: Rename YGUnitPixel to YGPoint... (67f6b32) - @hartbit
- Yoga: Change flex getters to return the set values (80225fb) - @woehrl01
- Yoga: Expose alignContent to react native (31f848a) - @emilsjolander
- Yoga: Default root node to size of parent contraints (23f2f5f) - @emilsjolander
- Yoga: flex-wrap: wrap-reverse support (30f8380) - @woehrl01
- Yoga: Removed duplicate code by calculating with mainSize/crossSize (167ac49) - @woehrl01
- Yoga: Pass the parent size to YGNodeCalculateLayout instead of the node size (702564f) - @emilsjolander
- Yoga: Move configuration to new YGConfig and pass them down to CalculateLayout (bdd9aed) - @woehrl01
- CLI: Add support for templates fetched from npm (17c175a) - @mkonicek
- Add a hint to a very common AppRegistry error (a6adc50) - @mkonicek
- FlatList: Add SectionSeparatorComponent support (a141e63) - @sahrens
- FlatList: Native animated scroll event support (a9d5a0c) - @sahrens
- FlatList: Rename *Component props to match SectionList (376b586) - @sahrens
- FlatList: Warn about PureComponent in docs (ce0d641) - @sahrens
- FlatList: Simplify scroll interaction stuff (c8b1c73) - @sahrens
- FlatList: Improve flow typing (63d3ea1) - @sahrens
- FlatList: Propagate onScroll (7cfbb79) - @sahrens
- FlatList: configurable Viewability (f2687bf) - @sahrens
- FlatList: minViewTime and waitForScroll viewability config support (dc30203) - @sahrens
- FlatList: Rename flow type Viewable -> ViewToken (a10dbda) - @sahrens
- FlatList: Missed some viewablePercentThreshold references (f7d1060) - @sahrens
- FlatList: Move out of
Experimental
directory (7b35eb3) - @sahrens - Re-enable some failing tests (b2c545d) - @mmmulani
- Move DevTools integration into its own repo (934cd82) - @gaearon
- Expose AppRegistry.getRegistry() for app specific handling (a86559f) - @fkgozali
- Rename callFunction to jniCallFunction (a965f15) - @javache
- Prevent deadlock after bridge reload (bbe0c45) - @javache
- Update grammar and typos in documentation (c728915) - @j2kun
- Allow listener for native Animated.event (33817b8) - @janicduplessis
- Packager: Introducing async/await, return of the yarn (1a5b56d) - @jeanlauliac
- Packager: BatchProcessor: use Promise for queue() (bac576c) - @jeanlauliac
- Packager: BatchProcessor: use Promise for processBatch() (564126f) - @jeanlauliac
- Clean up Animated docs (6ad41a8) - @hramos
- Work around inspector redbox due to Fiber (fa34035) - @fkgozali
- Guard against missing native module (118e883) - @gaearon
- Support QuickPerformanceLogger.js in CxxBridge (ba029be) - @alexeylang
- Inline a bunch of NativeModule requires (1fa95ed) - @AaaChiuuu
- Remove @providesModule from polyfills (e11b9d8) - @voideanvalue
- Remove peculiar web language (c6d56d9) - @ryanflorence
- Update IntegrationWithExistingApps.md (dc52073) - @hramos
- Documented CameraRoll.getPhotos() param and return values (4b26ebd) - @xqwzts
- Ignore event listeners on unmounted components (fd4ad6c) - @sebmarkbage
- Move BatchedBridge module configuration to InitializeCore (68135d9) - @javache
- Update SwipeableListView props and more (3951223) - @fred2028
- Correct/consistent docs for Touchable components (64c8f22) - @jamesisaac
- Packager: Terminal: split status too big to fit in screen (2030b6b) - @jeanlauliac
- Packager: Discard protocol, host, and port of URLs in bundle options (3a1af41) - @davidaurelio
- Packager: simplify fs.stat mocks (f117533) - @jeanlauliac
- Finish AccessibilityInfo implementation (04790f1) - @rigdern
- Don't use 'vertically' when describing a ListView (2d44908) - @PuercoPop
- Update UsingAScrollView.md (0097ab9) - @dfischer
- Refresh website (d54c7f8) - @hramos
- Deprecate NavigationExperimental (08dbc43) - @ericvicenti
- Improve doc generation with flow types (a7a3922) - @sahrens
- Improved flow on Picker.Item (dc334b0) - @agrcrobles