React Native November 2017 (v0.51.0) released
v0.51.0 on GitHub (npm)
Highlights
- New styling rules:
Breaking changes
Android
Bugfixes
- Fixing bug when permission showing dialog and user go to home and re-open
minimized app (ce967c6) - @RafaelMagalhaesN - Fix wrong error code when location service is turned off on Android device
(7e0b7ef) - Fixing RTL HorizontalScrolling (c278020)
- Fix line terminators for
ImageStore.getBase64ForTag
(7a7bdee) - @FnTm
New features and enhancements
- Add
visible-password
for TextInput.keyboardType (752b688) - @fmoo - Add helpful examples to Android test env validation failure messages.
(ff908aa) - @pori
Others
- Put all non-drawable resources to
res/raw
(cc86d12) - Native Animated - Restore default values when removing props (2b4ff6e) -
@janicduplessis - Event documentation - Adding part about mapping event names. (e6ef035) -
@tdekoning - Removed
ProgressBarAndroid.android
deprecation warning (b60fa63) - @bvaughn - Forward RN start/end styles to Yoga (dc92e69) - @rsnara
iOS
Bugfixes
- Fix potential retain cycles in Animated iOS (c47759a) - @janicduplessis
- Fix iOS 11
WebView
extra white space on top due to
contentInsetAdjustmentBehavior
(2546c95) - @yshing - Fix memory leak in
RCTSafeAreaView
(9150975) - @mmmulani
New features and enhancements
- Opensourcing RCTWrapper (c0e9936) - @shergin
- Add "jsBundlesDirectory" method to RCTBridgeDelegate (dd400f8) -
@fromcelticpark - Introduce RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD() macro to provide the return
type of a sync method (47bfbbb) - @fkgozali - Make
react-native link
play nicely with CocoaPods-based iOS projects.
(74146cb) - @mironiasty - Support for ExtraBold alias of Heavy (font-weight 800) (d38b95f) - @sjmueller
- Add "subject" field for Share (eca3319) - @gusgard
Others
[RCTShadowView localData]
is now only setter. (b0c1bd2) - @shergin- Deprecated stuff was removed from RCTUIManager (4342879) - @shergin
- Deprecated stuff was removed from RCTShadowView (32e5c8e) - @shergin
- Issue #16159 - RCTImageStoreManager's priority (4e5d50d) - @tsjamm
- Make RCTUIManager and RCTDeviceInfo unsubscribe from NSNotificationCenter on
(04ff184) - Move JS-native version check to its own module + unit tests + prefix Obj-C
macro w/RCT (7733d40) - @ide - Forward RN start/end styles to Yoga (38b5506) - @rsnara
- Move RCTConvertSelectorForType to their respective using modules (bbc90b4)
- Code cleanup - Xcode 9 build warning/issue. (3fa6482) - @nbomberger
General
Bugfixes
- Updated project file to fix Apple TV build (aa97c9a) - @shergin
- Fix that section headers in SectionList don't stick at correct position.
(a541d58) - @miyabi - Fix scrolling events for RN. (ca834f9)
- Fix platform flags to also check for linux (7997a2b) - @mzlee
- Fixed crash on attempt to update local data of deallocated shadow node
(f2c6877) - @shergin - VirtualizedList: fix bug where onViewableItemsChanged wouldn't trigger
(6747a36) - @formatlos - Fix Systrace section for Lazy View Managers (52a67db) - @alexeylang
- Fix border clipping (de313f6) - @rsnara
- Fix Flow errors at declaration of most major library components (833b274) -
@Ashoat - Fix crash when loading local bundle and hot reload is enabled (1d674f0) -
@dtsolis
New features and enhancements
- Add finally method to Promise flow definition (4eccb16) - @Bhullnatik
- Add React Native Bot (1de46b5) - @hramos
- js1 metro-bundler: add script to publish new version (acd9a29) - @jeanlauliac
- Added
fetchBundle
global function (452ac1b) - @fromcelticpark - Improve support for unbundle feature (e268883) - @dmueller39
- Add Danger and publish to npm (601abd2) - @hramos
- Add support for FBReactModule (Wilde) to use jsi/hermes with a bcbundle
(0a7d5ab) - @mhorowitz - Add callback for UIImplementation layout updates (91372e8) - @ayc1
- Add
babel-plugin-transform-exponentiation-operator
to
babel-preset-react-native
(30b057f) - @DylanVann - Implement partial rounded borders (4994d6a) - @rsnara
- Implement border(Left|Right|Top|Bottom)Color for rounded borders (f788831) -
@rsnara - Implement gating support for direction-aware API changes (98547d4) - @rsnara
- Add examples to RTLExample (bc5083a) - @rsnara
- Implement direction-aware border clipping (00c9c1a) - @rsnara
- Introduce mobile config flag to load classes for View Managers (f0fb720)
- Introduce getConstants generation for Native Modules codegen. (a5550a5)
- Adds PrivateDatabase podspec (6817f05) - @notjosh
Others
- Using
StyleSheet.hairlineWidth
in TextInputExample (9e220da) - @shergin - Direct assignment of the ref to avoid warning when mocking (bbceb48) - @jmoutte
- Document adb shell input keyevent 82 (b9da155) - @forki
- Change attribute mentioned in alignItem (7c89cf3) - @linh-le
- Correct propTypes for
TextInput
's placeholder (dbe6044) - @gusgard - Handling exceptions in video player (9424cd7)
- Improve flow typing and linting for MessageQueue (7b575d6) - @dulinriley
- Remove redundant style field from ScrollView propTypes. (0ec04ed) - @fmoo
- more detailed CxxModule logging (4192790) - @dryganets
- RN: Improve NativeEventEmitter Flow Types (2fff445) - @yungsters
- Un-revert logMarker for hermes diff (f3b117a) - @johnislarry
- Update Animated docs to mention potential issues with VirtualizedList
(a59d157) - @rawrmaan - Update the
NetInfo.isConnected
example code so that it uses the new
connectionChange
event (8b044dc) - @fibbers - Update Flow to v0.57.2 (720a99a) - @gabelevi
- Persistent Yoga (60c898d) - @sebmarkbage
- Expose ReactInstanceManager from ReactRootView (dc16150) - @ayc1
- Update to regenerator-runtime@0.11.0 (747eeba) - @zertosh
- Apple TV: TouchableOpacity and Button need hasTVPreferredFocus support
(c1223c5) - @dlowder-salesforce - Handle touchCancel properly in ScrollResponder (bae9b2b) - @kmagiera
- Remove usage of the
...
operator in BackHandler (165b38a) - @dantman - Use ReactMarker for all perf logging in the bridge (95073f8) - @alexeylang
- Export deps to be source-ABI friendly (18364e9) - @jkeljo
- React native shadow tree sonar plugin (90a4239) - @ayc1
- Rename
I18nManager
Left/Right swap methods (efa4d3c) - @rsnara - Remove experimental shouldBridgeInitializeNativeModulesSynchronously:
(ca85a53) - @danzimm - Remove experimental shouldBridgeLoadJavaScriptSynchronously: (fe792f5) -
@danzimm - Remove the experimental concept of whitelisted modules (55f75df) - @danzimm
- RN catalyst instance destroy markers (1c10431) - @cwdick
- Create CODE_OF_CONDUCT.md (c0fea38) - @hramos
- Automated fixups for Instagram (dd016f3) - @jkeljo
- Change name of the file to edit (7153671) - @martincerny-awin
- Remove quicklog (9742bcb) - @alexeylang
- Gate ReactNativeVersionCheck by DEV (8ef28ea) - @cblappert
- [podspec] Define
pod_target_xcconfig
for PrivateDatabase (87e524b) - @ide