react-native

A framework for building native applications using React

MIT License

Downloads
121.8M
Stars
115.5K
Committers
3.5K

Bot releases are hidden (Show)

react-native - September 2018 - revision 4

Published by kelset almost 6 years ago

See the changelog here

react-native - September 2018

Published by grabbou about 6 years ago

See the changelog here

react-native - June 2018

Published by grabbou over 6 years ago

react-native - March 2018

Published by grabbou over 6 years ago

react-native - February 2018

Published by grabbou over 6 years ago

Welcome to the February 2018 release of React Native! This release includes work done by the React Native team and the community in January, and there are some big changes here after the holidays. Thanks for 270 commits from 87 contributors, you all are great! Here are a few highlights from the release:

  • Long awaited Blob changes: upload, download, fetch locally, and more
  • Sticky headers now work on inverted Lists
  • Update to the newest React, which deprecated some lifecycle methods and added new ones – expect Yellowbox until React Native is updated
  • Space-evenly is now there (sorry for the confusion with 0.52's release notes)
  • A lot of under-the-covers work on Yoga, iOS's Text and TextInput, and a ton of other areas
  • Multiple crash fixes

The changelog is arranged by the customary added, removed, changed, and fixed plus internal; the changes are also organized by platform.

If you want to get involved in the process of preparing releases and making changelog (yes, we need your help!), please get in touch with me.

We keep the draft of changelogs here: https://github.com/turnrye/react-native-changelog. Visit this repository for tracking the progress of upcoming releases and suggesting improvements to the current one.

Added

VR Specific Additions

Android Specific Additions

iOS specific additions

Removed

iOS specific removals

  • Removed outdated assertion in RCTShadowView related to breaking change in Yoga (e3ff3cf by @shergin)

Android specific removals

iOS specific removals

Changed

iOS Specific Changes

Android specific changes

Fixed

  • Fix JS debugger issues related to CORS (29f8354 by @njbmartin)
  • Keep the .gitignored files during the react-native-git-upgrade process (7492860 by @ncuillery)
  • Fix re-render case on SwipeableRow (a580a44)
  • Fix display of syntax error messages when HMR is enabled (2b80cdf by @ide)
  • Add fixtures to metro blacklist in order to let build succeed (4194bb2 by @t4deu)

Android specific fixes

iOS specific fixes

  • Make sure refreshControl shows up on initial render if specified (ed5872e by @vonovak)
  • Fix Crash when CameraRoll is getting assets from iCloud and no filename is provided (2ae2436 by @pentarex)
  • Fix Xcode Archive task failing if project path contains whitespace (8aa568e by @jevakallio)
  • react-native link has been fixed to correctly link iOS and tvOS targets (a63fd37 by @dlowder-salesforce)
  • GLog fix on case sensitive APFS macOS (2fef1ba by @hovox)
  • Fixed issue where you cannot launch tvOS app on Apple TV simulator (afd988f)

Internal work

react-native - January 2018

Published by grabbou almost 7 years ago

This changelog has been prepared by Ryan Turner (@turnrye) - thank you for your time and making such a detailed changelog 🔥🔥

Welcome to the January 2018 release of React Native. The CLI tools now support --port for both platforms. There was a lot of under-the-cover work done.

If you would like to help us with the next release changelog, please contact @grabbou

Added

  • Keyboard events now include easing and duration (4d33080 by @sahrens)

iOS exclusive additions

  • react-native run-ios now supports the --port argument for metro (33d710e)

Android exclusive additions

Changed

iOS exclusive changes

Android exclusive changes

Removed

  • TextInput no longer has the autoGrow prop, since this is platform-default behavior now (dabb78b by @shergin)

iOS exclusive removals

  • Updates to the bridge in order to enable future rendering optimizations (d2dc451 by @shergin)

Fixed

  • Do not set minify=true when calculating the list of dependencies for the CLI (4a1bb8f by @rafeca)
  • 👷 Update CODEOWNERS now that the docs are in a separate repository (85ff264 by @hramos)
  • Fixed a broken link in react-native-git-upgrade's readme (bbedf2d by @Taym95)
  • 🤡 Do not use Node 8.x specific Stream.final for FS mocks (4216cde by @hramos)
  • Fix virtualized cell keys for list headers and footers (a010a0c)
  • Fix warnings of casting and null pointer handling in Yoga (a8d4666 by @priteshrnandgaonkar)
  • Fix broken buck failures on master (4e76701 by @hramos)
  • RefreshControl appears correctly when expected on initial render of a FlatList again (9b877d6 by @vonovak)
  • Fixed JS debugger CORS issue (df8da3b by @njbmartin)

Android exclusive fixes

  • Fix position of dev loading view on Android API < 20 (7ff6657 by @kmagiera)
  • Fix Modal not disappearing when navigating from inside a Modal to another activity (e5c2a66

iOS exclusive fixes

Other

Below is a list of the remaining, low-level changes that made it into this release of React Native.

react-native - December 2017

Published by grabbou almost 7 years ago

This changelog has been prepared by Ryan Turner (@turnrye) - thank you for your time and making such a detailed changelog 🔥🔥

This release had a lot of work around the bundler and packager, a ton of bugfixes, and updates to many of React-Native's dependencies. Lots of under-the-hood work was done as well to improve the layout engine. Happy new year!

If you would like to help us with the next release changelog, please contact @grabbou

New features

Deprecated

  • Ignore YellowBox warnings with YellowBox.ignoreWarnings([...]) rather than console.ignoredYellowBox = [...] (26038f5 by @wli)

Changed

Bug fixes

Deprecated

  • Removing reactBridgeDidFinishTransaction from RCTScrollView (a255204 by @shergin)
  • Removing inherited background color optimization from RCTText to reduce code complexity – please give feedback if you find performance differences! (8c8944c by @shergin)

Other

Below is a list of the remaining, low-level changes that made it into this release of React Native.

react-native - November 2017

Published by grabbou almost 7 years ago

Big thanks to @thymikee for helping out with this release and working on release notes.

Highlights

  • New styling rules:
    • padding(Start|End)
    • margin(Start|End)
    • border(Top|Bottom)(Start|End)(Width|Color) - (1ed08d3, 04a8c62, 7ed7593,
      0f467a2, 1a7abcf, 1b5f8d3, 0a70c02, 64284bf, 38c2c26, 875f273) - @rsnara
    • Partial rounded borders (4994d6a) - @rsnara

Breaking changes

  • Consider negative border radii and widths invalid (99d294b) - @rsnara

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 [email protected] (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
react-native - October 2017

Published by grabbou about 7 years ago

Thanks to @thymikee for wrapping up release notes for this release. If you want to help by creating release notes for next release, let me know. We are happy to guide you through this process.

Highlights

  • <Image> with nested content is no longer supported. Looking into <ImageBackground> instead if this is something you did in our app
  • Android Oreo (8.0) support
  • Support for null titles in AlertIOS

Breaking changes

GENERAL

  • Add interface for ReactShadowNode (a5d1d25)

  • Default enableBabelRCLookup (recursive) to false (023ac57) - @ide

    This is a breaking change that tells Metro to look at only the project's .babelrc file. Previously it would look at .babelrc files under node_modules and would run into issues because it didn't have the version of Babel nor the plugins/presets that node_modules/randompackage/.babelrc wanted. So as a workaround, people would write a postinstall step that deletes node_modules/**/.babelrc, which worked well. This flag (getEnableBabelRCLookup = false) has the same effect and hopefully fixes one source of cryptic bugs people run into.

    To use the old behavior, create a config file named rn-cli.config.js with:

    module.exports = {
      getEnableBabelRCLookup() {
        return true;
      },
    };
    

    Go under node_modules, modify a used module to have a dummy .babelrc ({"plugins": ["dummy"]}) and ensure the JS bundle still loads.

Android

  • BREAKING: Removed support of nested content inside <Image> on Android (3ff463f) - @shergin

iOS

  • BREAKING: Removed support of nested content inside <Image> on iOS (c55fae1) - @shergin

Android

Bugfixes

  • Fix setBackground for Android sdk version 15 and below (5180995)
  • Fix slider colors in Android (31904d5) - @martinezguillaume
  • Fix regression in Java->C++->JS ViewManagers interaction. (346af55)
  • Fix DeviceIdentity on RN for Android (e7765a3)
  • Fix Android 4.1-4.3 WebView source baseUrl bug (59d9f8c) - @Etheryte
  • Fix overflow hidden (30044fd) - @AaaChiuuu
  • Fix arc drawing when sweep >= 360 (b64e6c7) - @nihgwu
  • Fixed crash in ReactTextInputLocalData (cdea3c5) - @shergin
  • Fix the debug logging regression (adde2ed) - @alexeylang
  • Fixed issue with remeasuring ReactTextShadowNode (a177979) - @shergin
  • Only disallow <Switch> changes if the value actually changed (6f6329d)

New features and enhancements

  • Add JS->Java Bridge traffic (12f123d) - @AaaChiuuu
  • Add include_defs("//ReactAndroid/DEFS") to all BUCK files in ReactAndroid (ebb42ee) - @mzlee
  • Add error customizer for React Native Android (0c234c9)
  • Implement lazy discovery for ViewManagers. (da30b04)
  • Add TimePicker modes (1c24440) - @Kerumen
  • Add check for valid rootTag in ReactRootView (c893989)
  • Add support for dynamically sized ReactRootView (4ca6172)
  • Add getter for JavaScriptExecutorFactory (e764361) - @johnislarry
  • Add interface for ReactShadowNode (08befb7) - @ayc1
  • Add locking around CatalystInstance.getJavaScriptContext() (e9aab0d) - @cwdick
  • Add GlobalImageLoadListener (7320ca5) - @foghina
  • Add headers prop in Image source array type prop (ddc2210) - @phillip055
  • ReactRawTextShadowNode does not inherit ReactTextShadowNode anymore (80027ce) - @shergin
  • Restructured inheritance around ReactTextViewManager and co. (6114f86) - @shergin
  • Keep mActivelyScrolling true as long as events are being fired. (cbb0ccb) - @tomasreimers
  • Make view hierarchy optimizer smarter (e7af72b) - @AaaChiuuu
  • Deprecate older API uses of prebuilt_cxx_library (49359e8) - @andrewjcg
  • Adding TLSv1 support for custom SSL socket factory (0818f3b) - @PaulVanStaden
  • Introducting UIManager.setLocalData(), the way to provide environmental data to ShadowNode (d0790fe) - @shergin

Others

  • Android Oreo (8.0) Support (96de23a) - @AndrewJack
  • Fixed runtime error with ProgressBarAndroid (ccddbf8) - @bvaughn
  • Document Android native communication (a43a988) - @cdlewis
  • Improve formatting of YogaNode.print() on Android (67d0cc5)
  • Update HeadlessJSAndroid.md explaining parameters (f25233b) - @flaviolivolsi
  • Use BitmapRegionDecoder to efficiently crop images on Android (64ffe45) - @faifai21
  • Default TextInput autoCapitalize to sentences on Android (227a5f4) - @jamesisaac
  • Added Android support for loading multiple RAM bundles (4162d73) - @fromcelticpark
  • Intrinsic content size for ReactTextInput (aka autoexpandable <TextInput> on Android) (c550f27) - @shergin
  • Documentation about ABI split in Android Release (d0260b4) - @SuhairZain
  • Unify supplimentary bundle path creation logic between Android and iOS (9e01d72) - @fromcelticpark
  • Updating blog post about RTL from setAllowRTL to allowRTL (Android). (88a79b3)
  • Removed ProgressBarAndroid.android deprecation warning (87bc732) - @bvaughn
  • Fixing RTL HorizontalScrolling in Android (b12213d)
  • Log some RN Core markers (6c2c2ec) - @AaaChiuuu
  • Log Native Module init (565a241) - @AaaChiuuu
  • Log UI Manager operations (672db77) - @AaaChiuuu
  • Add Relay DebugOverlayTag (652dfd0) - @AaaChiuuu
  • Move destroy threads in CatalystInstanceImpl off the UI thread (cf2ef84)
  • Re-added global event-type Map to UIManager constants (d1372fa) - @bvaughn
  • Text to Spannable conversion is now using PRIORITY flag to enforce the order of spans (7efd4fa) - @shergin
  • HeadlessJsTaskService is expected to run on UI thread (7953707) - @oriharel
  • Untangle NativeAnimatedNodesManager from UIManager internals. (4fc9e20)
  • rename catalyst animations (87a1dc4) - @kangzhang
  • Detangle destroy and create accesses in ReactInstanceManager (6334ed2)
  • Avoid oversending modalDismissed event (9bf936c) - @mmmulani
  • Allow applicationId to be specified on build (9796295) - @shockdesign

iOS

Bugfixes

  • Fix Content-Type header checking of React/RCTJavascriptLoader.mm #15791 (3ae45d5) - @justinr1234
  • DeviceInfo.isIPhoneX_deprecated: ugly and temporary way to fix your UI on iPhone X (33f4779) - @shergin
  • Fixing clowntown in RCTUIManager (d7f6208) - @shergin
  • Fix build errors exposed by building against clang 5.0 (e846a9f)
  • Fix format warnings for clang 5.0 (d005c8c)
  • Fixed crash in [UIManager setLocalData:] (f8e1386) - @shergin
  • Hack-fix the Modal component interacting with LayoutAnimation (e220878) - @mmmulani
  • Fix crash when trying to load photo library assets with nil image url (7fab093) - @terribleben
  • Fixed issue with measuring text with NaN width (6b11259) - @shergin
  • Fix Android project do not delete font files when run react-native unlink (c1058b1) - @iineva
  • Fix ReactLegacy project (01bcbd4) - @fromcelticpark

New features and enhancements

  • Support null titles in AlertIOS (d726c2c) - @11nc
  • Introducing PseudoUIManagerQueue (5e25c0e) - @shergin
  • Added iOS support for loading multiple RAM bundles (7d2021e) - @fromcelticpark
  • Proper support of the accessibilityLabel for <Text> components on iOS (915a020) - @lostatseajoshua
  • (iOS) Support for DemiBold alias of SemiBold (font-weight 600) (73c3aa8) - @wildseansy
  • Add onDismiss to Modal.js (a389ffb) - @mmmulani
  • Introducting -[UIManager.setLocalData:forView:], the way to provide environmental data to ShadowView (8b4ed94) - @shergin

Others

  • Use xcpretty for iOS build output if installed (cb8a116) - @tabrindle
  • Minor documentation correction for exposing native iOS components (3ceb20d)
  • Refactored executeApplicationScript in RCTCxxBridge (6e28179) - @fromcelticpark
  • Improve RCTCxxBridge invalidation (7b77055) - @javache
  • Using mutex inside RCTUIManagerObserverCoordinator instead of GCD (38c8b6d) - @shergin
  • Using indexOfObjectIdenticalTo instead of indexOfObject in RCTUIManager (9d9e250) - @shergin
  • Improved documentation for ActionSheetIOS.js (5317b68) - @petterh
  • Silence annoying logs in iOS 11 (f01c73d) - @mmmulani
  • Small NaN related optimisation in RCTShadowText (73b596c) - @shergin
  • Using modern API to get available size in RCTShadowText (eeda4f3) - @shergin
  • Use const reference in RCTNativeModule::invokeInner (29e7659) - @fromcelticpark
  • Bunch of utility funcs were moved to RCTUIManagerUtils (6d67e2d) - @shergin
  • Removed unused imports from RCTUIManager (ac6b1d1) - @shergin
  • always pass key parameter to RCTReadFile (c4f7ce9) - @fromcelticpark
  • Make ios-install-third-party.sh more robust (05cb7ce) - @mhorowitz
  • iOS: Support allowFontScaling on TextInput (9c4ec30) - @rigdern
  • Using RCTExecuteOnUIManagerQueue convinient func in all conseptually identical cases (feba4f6) - @shergin
  • Using RCTExecuteOnMainQueue in RCTUIManager (9cd095e) - @shergin
  • Return instancetype for shared RCTI18nUtil instance (09680f7) - @fmanns
  • Remove usage of "this" in a callback in RCTNativeModule (d07279c) - @fromcelticpark
  • Unify sampling profiler and reload logic by leveraging RCTPackagerConnection (afec987) - @fromcelticpark
  • remove RCTWebSocketObserver (7f6a7ae) - @fromcelticpark
  • Redo error handling on iOS (e87904c) - @adamjernst
  • Use UnimplementedView for CheckBox on iOS (f9be64a) - @timwangdev
  • RCTTextInput: Fixed problem with accessory view & 3rd party libs (bf36983) - @shergin
  • Move JS-native version check to its own module + unit tests + prefix Obj-C macro w/RCT (4f709f7) - @ide
  • Make react-native link play nicely with CocoaPods-based iOS projects. (4c196ae) - @mironiasty
  • Remove AdSupport from React.podspec (1e3a8e2) - @javache
  • Replace getInt with asInt in native collections (790eabc) - @johnislarry
  • Move URL escaping to Inspector layer (ef2e29f)
  • Add missing Contents.json, delete files that shouldn't be in .xcassets (9731b58) - @stepanhruda
  • Removing fallback source URL from JS bridge (1712664)
  • Access AppState constants on main thread (e8c83d1) - @mmmulani
  • Force local builds to use regular JS bundles if RCT_ENABLE_INSPECTOR set (6b733a4)
  • Improve DX for FBReactKitIntegrationTests (af2e3fe) - @sahrens
  • Log call stack symbols in case of native module method's failure (47f6068) - @fromcelticpark

General

Bugfixes

  • RN local-cli: fix the reporter creation code (1de6ec4) - @jeanlauliac
  • fix ItemSeparatorComponent position in horizontal and inverted mode (ae60ae4) - @VahidBo
  • Fix Animated spring test (1afc93d) - @sahrens
  • Fix excludedActivityTypes error in flow types (0c5b390) - @anta-semenov
  • Fix Flow errors in ListViewData source. (11963d8) - @nmn
  • Fix onSubmitEditing dispatch behavior with blurOnSubmit/multiline combinations. (4d54b48) - @Adam0000
  • Fix website generation (c5d8785) - @hramos
  • Fixes removeClipSubviews check for offscreen rendering of ListViews (03ae65b) - @MattFoley
  • Fix error appearing when disconnecting HMR client (38ec30b) - @rafeca
  • Fix navigation links in documentation. (2f2c3ea) - @prsevero
  • Fix warning on SectionList's tutorial (c12681c) - @gabrielweyer
  • Fix test suite (e8d30c6) - @grabbou
  • Add a check in InitializeCore.js that PlatformConstants native module is present (96f23e7) - @fromcelticpark

New features and enhancements

  • Add all test routes as server snapshot tests (393bf88) - @sahrens
  • Add Example for TouchableOpacity.js (fa1b533) - @lwinkyawmyat
  • Add props for overriding native component in WebView (f426a83) - @cbrevik
  • Add closed-form damped harmonic oscillator algorithm to Animated.spring (26133be) - @skevy
  • Add onScrollToIndexFailed support to VirtualizedList (e16b514) - @sahrens
  • Add missing node-notifier npm dependency (4119182) - @ide
  • Add SwipeableFlatList (d8cc6e3) - @tomasreimers
  • Add Delta Bundler client to JS remote debugger (ace7273) - @rafeca
  • Add Source Map support to e2e deltas in chrome debugger (15130d5) - @rafeca
  • Add gating to the JS delta client on the remote debugger (a0e88c2) - @rafeca
  • Add AppIdentity and DeviceIdentity to Inspector (da14fad)
  • Add isNetworkInspected to check if a JS VM needs to be paused on launch (9056314)
  • Upgrade Flow to v0.56.0 (a16ef18) - @samwgoldman
  • Log error message when there are zero connected clients (c88b2b2) - @hrp
  • Introducing <SafeAreaView> (983b054) - @shergin
  • link images to iOS project when run react-native link (c1058b1) - @iineva
  • Allow FlatList data to include 0 or '' (falsey items) (ae1a4f0) - @tomasreimers
  • Native Animated - Allow events that are dispatched from any thread (3cbc361) - @janicduplessis
  • Improve YellowBox output format (eae4fe8) - @janicduplessis
  • React sync to v16.0.0 (678a7f3) - @bvaughn

Others

  • RN buck: bundleCommand: add test for multiple bundles (53a339a) - @jeanlauliac
  • explicitly show how to add the optional listener (e3a6be5) - @geirman
  • Add example on ActivityIndicator and TouchableOpacity components (f7f3473) - @lwinkyawmyat
  • Add @rigdern to the issue task force (dd87db3) - @rigdern
  • Add missing delete to requestIdleCallback (ce0235e) - @esprehn
  • Adding Soundcloud Pulse play store link to showcase (dcac873) - @vtorosyan
  • consistent use of URL for resolving asset source (b89d6c8)
  • Migrate tests away from "jsdom" environment (bae5505) - @mjesun
  • Branding: "packager" -> "Metro Bundler" (12eb04b) - @cpojer
  • Flow type: saveToCameraRoll returns a string (274e407) - @maartenschumacher
  • Upgrade yargs to 9.0.0 (2259538) - @cpojer
  • Refactor how symlinks are discovered in local-cli, support scoped modules (39f83c4) - @skevy
  • Upgrade babel-plugin-react-transform to v3.x (f568090) - @rafeca
  • Make <TextInput multiline> default blurOnSubmit to false. (adb6646) - @rsnara
  • Prepack optimizations (e9780bd) - @bvaughn
  • Native view manager event types exposed to JS via view config (75c94a8) - @bvaughn
  • Zero out all fields in YGZeroOutLayoutRecursivly using memset (d0f36d7)
  • Added Flow types for React Native host components (11b4084) - @bvaughn
  • Use uniqBy for deduping assets in react-native link (df8d0d1) - @arahansen
  • Base class for all object private data passed to JSC (d6c519b) - @michalgr
  • More useful utilities in jschelpers (0ee502d) - @michalgr
  • Revert faulty change to HelloWorld demo in docs (c25a3db) - @drew-isnotnull
  • Fixed package.json peerDependencies (ed77dbb) - @bvaughn
  • Synchronize all relay packages (628cbe1) - @leebyron
  • Initial implementation of multiple RAM bundles registry (2f952fb) - @fromcelticpark
  • Migrate to Circle 2.0 (8fa9984) - @hramos
  • Allow "nativeRequire" to accept "bundleId" and "moduleId" values (da2ea26) - @fromcelticpark
  • Configure JSExector with BundleRegistry instead of JSModulesUnbundle (7d11573) - @fromcelticpark
  • Give complex FlatList example more motivation (82b4b9b) - @jkdf2
  • Remove older devtools hook for relay-devtools (bd70f3a) - @leebyron
  • Move debugger client code to its own folder (e6596dc) - @rafeca
  • Make the runBeforeMainModule config param to RN repo and make it absolute (34487c0) - @rafeca
  • Updated support for WebStorm (43d394c) - @esbenvb
  • Upgrade Prettier to 1.7.0 (888c6e7) (70c6700) - @vjeux
  • Bump metro-bundler dependency to 0.19.x (28525ba) - @rafeca
  • Validate that JS and Native code versions match for RN releases (1af645b) - @janicduplessis
  • Fix MaskedView to MaskedViewIOS in docs (a004e2b) - @khietvovan
  • WebView contentInset marked as iOS only (1b80118) - @paulbrittain
  • Changed React to React Native in README.md (9cf2b11) - @jxshco
  • Extend unit test for buildStyleInterpolator (3e31038) - @kodafb
  • Avoid eval in buildStyleInterpolator (915ac20) - @kodafb
  • bring back box-none as layout only prop (bbcfcdb) - @AaaChiuuu
  • Modernize docs: remove 'use strict' from docs -- es6 has 'use strict' by default (e1fb6ff) - @wesharehoodies
  • Export StyleValue and StyleProp Flow types from StyleSheet (9c29ee1)
react-native - September 2017

Published by grabbou about 7 years ago

Thanks to @satya164 for preparing this release notes!

Breaking changes and deprecations

General

  • New projects have a single entry-point (index.js) from now on (6e99e31) - @fson

    Summary:

    Before

    • When creating a new project with react-native init, generated template has two entry-points: index.ios.js and index.android.js
    • Those two files were always identical

    After

    • When creating a new project, generated template has a single, shared entry-point: index.js

    Updating your code

    When upgrading to this release with react-native-git-upgrade or react-native upgrade, be aware that these tools will automatically update your code to use index.js instead of index.ios.js and index.android.js, as previously. However, they will not create an index.js file for you. This is a side-effect of the react-native-git-upgrade that has to be reverted. After running that tool, you have two options:

    • rename index.ios.js to index.js and remove index.android.js (providing that they were as generated by react-native init)
    • revert changes done by react-native-git-upgrade in order to keep separate entry files. That is, as soon as you upgrade, revert changes made to AppDelegate.m, MainApplication.java and build.gradle.
  • Yoga: Change aspect ratio behavior (67c160c) - @emilsjolander

    Summary:

    Before

    • Aspect ratio would do its best to fit within it's parent constraints
    • Aspect ratio would prioritize alignItems: stretch over other sizing properties.

    After

    • Aspect ratio is allowed to make a node grow past its parent constraints. This matches many other aspects of flexbox where parent constraints are not treated as hard constraints but rather as suggestions.
    • Aspect ratio only takes alignItems: stretch into account if no other size definition is defined. This matches the interaction of other properties with alignItems: stretch.

    Updating your code

    You probably don't need to do anything but in case something does break in your product it should be as easy as adding {width: '100%', height: '100%', flexShrink: 1} to the style declaring the aspectRatio.

Android

  • Rename module name to module path (5d4c6e5)

iOS

  • Fix case sensitivity build warning in Xcode 8.3 (b050b69) - @rigdern
  • Add deprecation warning to RCTBatchedBridge (f3feca9) - @javache

Android

Bugfixes

  • Fix updating a view z-index on Android (b103903)
  • Fix scroll events getting skipped on Android (29e5deb) - @janicduplessis
  • Fix content appeared logging (091878a) - @bnham
  • Retrieve correct content uri for videos (1748922)
  • Separate window dimensions change from orientation (c9aeaf6) - @atsjenk
  • Android Oreo (8.0) Support (6b39d64) - @AndrewJack
  • Always set camera distance on transforms, to default 1280 if 0 (b2fe048) - @bartolkaruza
  • Allow reactinstancemanager to set an initialization function (84e80eb)
  • Fix getting correct video width and height metrics in Camera Roll (25f2938)
  • Fix fetching video length in Camera Roll (4000202)
  • Make ResourceDrawableIdHelper work with resource id (dc61f10) - @sriramramani
  • Force original ime option when using multiline with blurOnSubmit (94a2ff9) - @reneweb

New features and enhancements

  • Add --port option to run-android, defaults to 8081 (898790d)
  • Add native Checkbox component (84b11dd)
  • Expose offset parameters for ToastAndroid (546a43b)
  • Refactor MemoryPressureListener to use Android levels (37754c5) - @cwdick
  • Improve getCurrentPosition API (7e11bad) - @rigdern
  • Do not send 'hot' parameter when requesting a bundle from Android (c2b3ee7) - @rafeca
  • Allow whitelisting urls to bypass default webview loading (40a2885) - @fkgozali
  • WebView: Show loading state when reloading (f95153e)
  • Measure height of Android Text component based on includeFontPadding property (9f5bdd7)
  • WebView: Only fire onLoadStart for toplevel page loads (ffbd3db) - @rigdern
  • Support flash scroll indicators for android (2ceed95)
  • Add perf marker that fires first time content is added to root view (d013ba3) - @bnham
  • Add perf markers for reload and download (c080fe5) - @bnham
  • Add more perf counters (caaf7fd) - @alexeylang
  • Run onReactContextInitialized() on the UIThread (43ff9b4) - @AaaChiuuu
  • Allow to fetch files over the network (b4f91be)
  • Expose the ReactApplicationContext to createShadowNodeInstance() (64e9b24)
  • Make JavaScriptExecutor.Factory a configurable property of ReactInstanceManager (73f1790) - @michalgr
  • Remove appcompat dep from react/views/toolbar (c3b47e5)
  • Reduce possible race condition on gc of catalyst instance (f0d9810)
  • Report perf counters always when we call flushPendingBatches() (4aae843) - @alexeylang
  • Expose method to set custom baseline function (9c2caaa)
  • Download bundle atomically (d63cf13) - @bnham
  • Remove v4 support library from RN deps (fe0d081)

iOS

Bugfixes

  • Fix format specifier used in RCTCxxMethod (0e3117c) - @kastiglione
  • Fix format specifier used in RCTUIManager (d81e549) - @kastiglione
  • Fix infinite recursion in RCTSettingsManager init (b78b8cc) - @javache
  • Apple TV: RCTTabBar selection controlled by native after render (fix #15081) (0e7375a)
  • Fix flowtype errors for PushNotificationIOS (68bbccb)
  • Fix registration for UIContentSizeCategoryDidChangeNotification (2b7cb46) - @rigdern
  • RCTManagedPointer fix ups (77c11e8) - @fromcelticpark
  • Fix TextInput numeric keyboard submit (d565bc3)
  • Fix dev support calls made without an ifdef guard (14e67a3)
  • Fix for Modal behavior when menu button pressed on Apple TV (Issue #15313) (0d3039f)
  • Fix ENABLE_INSPECTOR ifdef not found during dev (edf60ce)
  • Fix Yoga podspec casing (4535d52) - @javache
  • Fix Image.getSize() according to image orientation (ccc11f2) - @doochik
  • Fix fontWeight regression (0a31997) - @nihgwu
  • Fix unrecognized selector error (aa0b2ad) - @giladno
  • Fix crash when trying to load photo library assets with nil image url (6d64892) - @terribleben
  • Report native warnings to YellowBox (e697ed7) - @javache
  • Correctly handle the case where HEADER_SEARCH_PATHS is a single string (23f72a9) - @hramos
  • Fixed issue with install third party script in directory with spaces (95d5d11) - @gabrielbull
  • fishhook nwlog_legacy_v to avoid log spam on websocket reconnect (878b7e4) - @emilsjolander
  • TextInput: Fix onSubmitEditing with disabled blurOnSubmit (b06672e) - @shergin
  • ScrollView: contentOffset validatation now respects contentInset (950c2b2) - @shergin
  • Fixed issue with path containing spaces (743dc20)

New features and enhancements

  • Expose didCloseWithCode in RCTReconnectingWebSocket (72dae51) - @cpluss
  • Refactor memory management of RCTModuleMethod's arguments (2a6965d) - @fromcelticpark
  • Show bundle download progress on iOS (ef23d2b)
  • Introducing smart RCTUnsafeExecuteOnMainQueueOnceSync() and fixed RCTScreenScale() (a7468a4) - @shergin
  • Do not send 'hot' parameter when requesting a bundle from iOS (6ad7e82) - @rafeca
  • Adjust row height by font size in PickerIOS (28c1c88)
  • Add rootView property to RCTShadowView (6493a85) - @shergin
  • Expose barStyle for NavigatorIOS and TabBarIOS (b48149e) - @jacobp100
  • Increase RCTTestRunner timeouts (dacb1fb) - @javache
  • Geolocation: Allow skipping of permission prompts (6b7f10d) - @rigdern
  • Expose webSocketDidOpen in RCTReconnectingWebSocket (bf67345) - @cpluss
  • encapsulate JS source in RCTSource object (abe7a2a) - @bnham
  • Allow hiding alert title on iOS (a646743) - @sterlingwes
  • Change intValue -> integerValue in RCTMultipartStreamReader (f65b9e8) - @ide
  • Improve RCTCxxBridge invalidation (af3e1d4) - @javache
  • Add pinchEnabled prop to ScrollView (614dd07) - @jmurzy
  • Add support for Cxx objects as arguments to native modules (6783694) - @fromcelticpark
  • Add notifications for dev reload (1ce7e4c) - @bnham
  • Set alertTitle in UILocalNotification (ec74a96)
  • Specialize JSCValueEncoder for id instead of NSArray (1cd276a) - @javache
  • Allow native modules to customize the main-thread init behaviour (d42ccca) - @javache
  • Configure requiresMainQueueSetup for core modules (220034c) - @javache
  • Limit calls to SoLoader (5d79b26) - @javache
  • Implement lazy discovery scaffolding for loading NativeModules on demand. (cf38b08)
  • Call reloadImage less often when setting Image props (7542f3d) - @javache

General

Bugfixes

  • VirtualizedList: Fix stale separator props and expose CellRenderer refs (ad21ad2) - @olegbl
  • Fix TextInput autoGrow (7abce0b)
  • Fix systrace section name (e16dd51) - @alexeylang
  • Fix Unexpected token ) in babel-preset-react-native (f69638b)
  • Yoga: Fix const declaration mismatch and double/float mix (95faccb)
  • Fix stylesheet registery (68664ac) - @sahrens
  • Fix HMR when adding/renaming assets (79fdb91) - @rafeca
  • Fix panResponder nativeEvent.locationX and locationY values on touch move (1a262a7) - @newyankeecodeshop
  • Add multi-client support for HMR (8b2975a) - @rafeca
  • Add BlobModule native module mock to jest setup (1f85e21) - @timwangdev
  • Make the CLI recognize CRNA projects (6f4025e) - @fson
  • Make console work with JS engines which use print (de4e51b) - @dulinriley
  • Unbreak touching in prod mode (460c5db) - @sophiebits
  • onAnimatedValueUpdate should also include offset (d0669fc)
  • Avoid race condition for AppState.currentState (809f1e9)
  • Don't assume JS integers are dynamic Ints (f6de2e4) - @mhorowitz
  • Return meaningful error when no devices available (ad4aee7)

New features and enhancements

  • Expose StatusBar height and fix StatusBar example - T13591448 (6f60f2b)
  • RN local-cli: fix saveAsset scales filtering (b6e0f4a) - @jeanlauliac
  • Add way for JS to query process-wide perf stats (f5f5ed5) - @bnham
  • Add locking around calls from JSCExecuter (66a788f)
  • RN babel preset: add import() syntax (ab9c788) - @jeanlauliac
  • Move HelloWorld template to a single index.js entry point (6e99e31) - @fson
  • Update default .gitignore to work with fastlane setups in sub-folders (aa9a40f) - @KrauseFx
  • Export Animated.Node for ease of type checking (8d757e5) - @jamesreggio
  • Reject local-cli promises with Error objects (cc4de7a) - @zertosh
  • Bring back React Stack support (3a031cc) - @alexeylang
  • WebSocket API change to make room for other connection options (SSL pinning) (cd9d6e3) - @rh389
  • Expose ModuleRegistry from Instance (1df198d) - @dulinriley
  • AutoGrow for TextInput (21b1ed3) - @sumkit
  • Gate more code with if (DEV) { } (f11f001) - @alexeylang
  • Force the debugger to disconnect before a bundle reload (4150410)
  • Allow to pass regular expressions to buildRegExps (475cf1a) - @davidaurelio
  • Expose "register devtools plugin" interface globally in React-Native (274f10f) - @Slava
  • Use offset adjusted value in ModulusAnimatedNode (fedc002)
  • metro-bundler: transform import() to basic require() (aaae99e) - @jeanlauliac
  • Make gYGNodeDefaults const (f0f25c5) - @swolchok
  • Disambiguate error messages in MethodCall (46f0a3b) - @javache
  • Update systrace markers (c68bb6a) - @javache
  • Stop CxxBridge run loop when bridge is invalidated (1f9fc0e) - @mmmulani
  • Remove the restriction on importing bridge:cxxreact (de01f09) - @mhorowitz
  • Gracefully handle any unrecognized stack frame format (9399379) - @adamjernst
  • Refactor how symlinks are discovered in local-cli, support scoped modules (5d95e99) - @skevy
  • Validate that JS and Native code versions match for RN releases (776bd34) - @janicduplessis
react-native -

Published by hramos about 7 years ago

react-native - August 2017

Published by grabbou about 7 years ago

Breaking changes

  • Make RCTDeviceEventEmitter warnings fatal (db3df34) - @javache

iOS

  • Removed unused notifications from RCTUIManager (324eba1) - @shergin
  • Remove AdSupportIOS (6ad5e2f) - @javache

General

Bugfixes

  • Fix incorrect invocation of JSClassCreate (543cd21) - @javache
  • Fixes unintended side effects caused by #14684 (4d572cd) - @lprhodes
  • Fix missing "getPolyfills" tag in CLI (98e61de) - @mjesun
  • Fixed ImageBackground couldn't be wrapped by Touchable* component (dc97e3f) - @patw0929
  • Yoga: Fixing edge case issue in Yoga where text node was unnecessary rounded down (671c6ac)
  • Yoga: Reset the hadOverflow flag at the beginning of the algorithm (5da0a99) - @woehrl01
  • Docs: Fix typo in deeplinking docs (d53d121) - @joeybaker
  • Docs: Fix typo in Animations guide (c748d69) - @abi
  • Docs: Fix mistake acquireWakeLockNow in headless js section (59da066) - @ivanzotov
  • Docs: Fix SectionList examples in documentation (0e93f4f) - @timwangdev
  • Docs: Fix type of StatusBar backgroundColor so it is displayed correctly (2781739) - @brentvatne
  • Docs: Fix broken Buck installation link (e248980) - @fson
  • Docs: Fix navigation menu regression on mobile (471c9da) - @hramos
  • Docs: Remove typo (af48b48) - @jDeppen
  • Docs: Remove unnatural indent in doc (214f544) - @sunnylqm

New features and enhancements

  • Add Blob implementation with WebSocket integration (ed90309) - @philikon
  • Add more information to __fbBatchedBridge is undefined error (26168d0) - @terribleben
  • Add missing assetRegistryPath to dependencies command (6a4fb5e) - @davidaurelio
  • Add delay support to Animated.spring (9c2ce53) - @billoosijok
  • Enable flow for TouchableHighlight (fc68dfb) - @javache
  • Add type for onLayout (9108f98) - @javache
  • Allow application/javascript and text/javascript for packager bundle mime type (3149348) - @fkgozali
  • Add CODEOWNERS file to automatically request reviews (dedffdc) - @hramos
  • Remove unused npm dependencies and add missing ones (1954fd4) - @ide
  • Replace React.createClass with create-react-class (9afb71f) - @mojodna
  • Enforce Prettier for @format (1023070) - @TheSavior
  • SwipeableRow: Support for preventing swipe left or swipe right (bf1b67e) - @lprhodes
  • VirtualizedList: Be able to scroll to last item in list (cad2d9b) - @maartenschumacher
  • Added chromium support for devTools on linux (3f16aa5) - @retdop
  • Move polyfills to react-native (ad0fe15) - @mjesun
  • Rename _remoteNotificationCompleteCalllbackCalled to _remoteNotificationCompleteCallbackCalled (51e258e) - @koenpunt
  • Update throat dependency to 3.2.0 (9b06a31) - @davidaurelio
  • Move inspector proxy out of the packager (c00abe5) - @Hypuk
  • Avoid creating a new Path instance for performance (6b29fe7) - @jetzhliu
  • Change polyfills to getPolyfills function for more configurability (9f87728) - @ide
  • Try to match React DevTools theme with current Nuclide theme (1d353b4) - @bvaughn
  • Wait for packager to start (c885357) - @TheSavior
  • React sync for revisions cb32253...5495e49 (221286b) - @bvaughn
  • Update Jest to 20.1.0, chi.1 (1fe8f89) - @mjesun
  • Removing @nolint from flow files (d9f9819) - @TheSavior
  • Added info CLI command (95ee3f5) - @tabrindle
  • Remove unused focusedOpacity prop and function (85247f9) - @levsero
  • Remove legacy JSC profiler (ed3c018) - @javache
  • Upgrade to Flow v0.50.0 (8e8fecd) - @nmote
  • Remove default polyfills from metro-bundler (7a4eda2) - @mjesun
  • Merge allowOffMainQueueRegistration and requiresMainQueueSetup (980d514) - @javache
  • Export stringForScriptTag symbol (436218b) - @majak
  • Stop native driver animations when value is set (b8fafb4) - @kmagiera
  • Native Animated - Override __makeNative in AnimatedInterpolation (1afee0b) - @syaau
  • Upgrade metro-bundler to v0.10.0 (70edc2f) - @fromcelticpark
  • Improve transform speed by 8.5% (4caf794) - @cpojer
  • Rename Hide / Show to Toggle Inspector (a946f86) - @sahrens
  • Make Set and Map initialization lazy (0736f5d) - @fromcelticpark
  • Make NetInfo API cross platform and expose whether connection is 2g/3g/4g (fc38fe1) - @rigdern
  • Deprecate some usage of NetInfo (bca825e) - @zjj010104
  • Remove onScrollAnimationEnd (aa9a19a) - @tomasreimers
  • Clean up property defines in InitializeCore (5da7629) - @fromcelticpark
  • Inline requires in JSTimers (9342f25) - @fromcelticpark
  • Adds hook for platform-specific View props (59105f6) - @rozele
  • Identify keyboardDismissMode platform-specific options (64899c0) - @jkdf2
  • Remove unused nativeTrace*stage methods (4d55ce3) - @javache
  • Control whether Metro tells Babel to lookup .babelrc files (113e046) - @ide
  • Increase information logged to MessageQueue.spy (cb31356) - @javache
  • Docs: Resolved the broken links for all components method in page linking (7aec6ae) - @jordanpapaleo
  • Docs: Update Navigation.md (f39f216) - @fecot
  • Docs: Improve Headless JS documentation (4de9d64) - @satya164
  • Docs: Update Performance.md to reflect existence of useNativeDriver (3fadd74) - @abi
  • Docs: Update IntegrationWithExistingApps.md (a31a012)
  • Docs: Update docs for Transforms (404d74b) - @gwmccull
  • Docs: Update Modal.js (91493f6) - @jooddang
  • Docs: Changed param of setSrc() method (e61257c) - @Niranjan-B
  • Docs: FlatList doesn't specify that it accepts ScrollView Props (c694212) - @tomasreimers
  • Docs: Adds Danger support (56d4595) - @hramos
  • Docs: Update TouchableWithoutFeedback.js (8f36405) - @tspanindra
  • Docs: Update podspec integration instructions (6e68f2d) - @javache
  • Docs: Improve the documentation for ListView and ListViewDataSource (8117fa1) - @gwmccull
  • Docs: Update Images.md with ImageBackground (8dea90b) - @Minishlink
  • Docs: Better doc for 'data:' uri scheme (dfd3b22) - @harry-g
  • Docs: Clarify JavaScript module naming edge case (dec62ff) - @lyahdav
  • Docs: Clarify pagingEnabled description for ScrollView (88fb45d) - @seanyusa
  • Docs: Better doc for 'data:' uri scheme & mandatory size (ec8118b) - @harry-g
  • Docs: Update IntegrationWithExistingApps.md (0c44b9e)
  • Docs: Updated example 'Podfile' to consistently use single quotes. (98b925c) - @brookslyrette
  • Docs: Update sectionList keyExtractor (cb9b266) - @fourestfire
  • Docs: Add Animated to list of APIs (a616a2d)
  • Docs: Add documentation for onMomentumScrollEnd (b8118d1) - @tomasreimers
  • Docs: Add docs for onMomentumScrollBegin (3eae3df) - @tomasreimers

iOS

Bugfixes

  • Fix build-break in legacy React bridge (a806e90) - @javache
  • Fix crash for unsupported device orientation events (2444c54) - @javache
  • Fix misspelling UIKit (688c746) - @ajacquelin
  • Fix RCTNetworking error message (50f200b)
  • Fix font weight resolution (cfeaefb) - @kipricker
  • Fix photo orientation from ImagePickerIOS (6555f9b) - @doochik
  • Fix typo in RCTDevSettings.mm (99414e9) - @Hypuk
  • Fix tvOS build issues with UIDeviceOrientation (6d57726) - @javache

New features and enhancements

  • Podspec: Add required "DevSupport" dependency "InspectorInterfaces.{cpp,h} (e43c061) - @HeEAaD
  • Add a delegate hook for providing a different JS implementation (05c4de0) - @mhorowitz
  • Add FORCE/SKIP_BUNDLING flags for iOS builds (0681887) - @cooperka
  • Add 'contentInsetAdjustmentBehavior' (new in iOS 11) to ScrollView (6e28b39) - @skevy
  • Remove unused RCTDebugComponentOwnership (8548ca0) - @javache
  • Remove deprecated RCTAssert aliases (20224b7) - @javache
  • Replace -[RCTConvert folly_dynamic:] with direct calls to convertIdToFollyDynamic (f1cbb11) - @javache
  • Support native ViewManager inheritance on iOS (684e035) - @cbrevik
  • Clean up -[RCTRootView cancelTouches] header docs (78e2030) - @eliperkins
  • MaskedViewIOS: A way to apply alpha masks to views on iOS (8ea6cea) - @skevy
  • Generalize/refactor -[RCTUIManager rootViewForReactTag:withCompletion:] (fac6207) - @Yu-w
  • RCTScrollEvent: get all required values injected rather than accessing the scroll view (048a9ab) - @HeEAaD
  • Introducing RCTBackedTextInputDelegate (ee9697e) - @shergin
  • ScrollView: Couple of unnecessary checks was removed from RCTCustomScrollView (f5d9b52) - @shergin
  • Unified usage of RCTAssertUIManagerQueue (8760b93) - @shergin
  • Pass actual loaded image size to load (ced1513)
  • Make the js stack bigger in RCT_DEBUG mode (2334899) - @mhorowitz
  • Simplify -[RCTModuleMethod processMethodSignature] (98258b4) - @javache
  • Removed unused ivar (_launchOptions) from RCTRootView (1b9b366) - @shergin
  • Use Apple's significant-change API (for iOS 11 UX) (f704369) - @jasongaare
  • Support namedOrientationDidChange on iOS (fbaedfd) - @javache
  • RCTCxxBridge: Use C++ atomic (7c528cd) - @Adlai-Holler
  • RCTImage: Use C atomics instead of OSAtomic (114b080) - @Adlai-Holler
  • RCTProfile: Use C atomics instead of OSAtomic (24df099) - @Adlai-Holler
  • Show bundle download progress on iOS (373f7ed)
  • Validate the content type of the bundle returned by the packager (3ce3669) - @janicduplessis
  • Adding video play duration for camera roll (636a21b)
  • TextInput setSelection method was moved to base class (da9a183) - @shergin
  • TextInput: Unified support of blurOnSubmit prop (8f93ce6) - @shergin
  • TextInput: Unified support of clearsOnBeginEditing prop (cb96f1d) - @shergin
  • TextInput: Unified support of clearTextOnFocus prop (d69e60b) - @shergin
  • TextInput: Hacks related to missed textInputDidChange were moved to adapter (4ff3e10) - @shergin
  • TextInput: Actual reactAccessibilityElement implementation (42d6323) - @shergin
  • TextInput: selection property was unified (a50c9c8) - @shergin
  • TextInput: textInputShouldEndEditing and textInputDidEndEditing were moved to base class (f89e132) - @shergin
  • ScrollView/TextInput: The amnesty of scrollRectToVisible (fa1d4e8) - @shergin
  • ScrollView: Use autoresizing masks for layouting actual UIScrollView (301830d) - @shergin
  • ScrollView: Smart contentOffset preserving (1d22f8f) - @shergin
  • TextInput: Simplified selectTextOnFocus logic (7da5ef3) - @shergin
  • TextInput: Refined contentSize calculation (603cc48) - @shergin
  • Improved window.postMessage implementation (42f7b9e) - @tqc
  • Support shadowView.rootView (5701ae2) - @Yu-w
  • Apple TV Cocoapods support (f082e6c) - @dlowder-salesforce
  • Debugger channel messages should be processed only on a background thread (d94f3e4)
  • Replace exported method registration with statically allocated struct (cb12080) - @javache
  • Mark non-extern strings static (ca9e26c) - @javache
  • CameraRoll: Use C atomic instead of OSAtomic (52d546c) - @Adlai-Holler
  • More efficient dynamic->NSString conversion. (886ef0c)
  • Reduce log level for connection errors (a6ad4a0) - @theoy
  • Apple TV: Enable long presses on TV remote; dev menu on TV device; example code (75284d3) - @dlowder-salesforce
  • Standardize project indentation settings on 2 spaces (0f44013) - @Adlai-Holler
  • Docs: Updated iOS Component Guide (94b6cda) - @teameh
  • Docs: Added documentation for iOS app extensions (bf7cf18) - @simonayzman

Android

Bugfixes

  • Fix rotation matrix decomposition (b60a8dc) - @kmagiera
  • Fix cropImage crash with float displaySize (f32627f) - @sohobloo
  • Fixed new line and prioritise blurOnSubmit in multiline text input (e694199) - @kevinluvian
  • Fix HEAD http requests in Android (bdd46aa) - @SandroMachado
  • Fix updating a view z-index on Android (28c7535)
  • Convert text to base64 instead of utf8 in WebSocket module (7e29b1f) - @sm2017

New features and enhancements

  • Add note to add the service to AndroidManifest (6db97d6) - @LironErman
  • Set WebViewManager methods/fields as protected instead of private (e2c87b5) - @cbrevik
  • Support setting background color on ARTSurfaceView (09401ed) - @rigdern
  • Added support to arrays in toBundle (bc0717c) - @Guichaguri
  • Update DrawerLayoutAndroid.android.js (3683ff8) - @sadick254
  • Rename ToastAndroid to ToastExample (f193c3f) - @chadbay
  • Simplify macro usage in MethodInvoker (a8a29a9) - @javache
  • Update Fresco dependency (999851a) - @foghina
  • Launch running setupReactContext in background (a3142f5) - @AaaChiuuu
  • Show RN Dev Menu after 2 rage shakes (794dddc) - @sumkit
  • Request toolbar layout after drawable loads (63c2ab3) - @Benjamin-Dobell
  • Make member variables private instead of protected (042f254) - @AaaChiuuu
  • Provide default implementation of getConstants (c1c791f) - @javache
  • Mark React Native annotation processors as non-ABI-affecting (278cd57) - @dreiss
  • Cleanup settings.gradle (292f801) - @janicduplessis
  • Check if fresco is initialised before clearing memory caches (7ac6fa7) - @AndrewJack
  • Simplifying conditional logic in ScrollView (88a9845) - @tomasreimers
  • Separate window dimensions change from orientation (96b32d7) - @atsjenk
react-native - August 2017

Published by grabbou about 7 years ago

Changelog coming soon.


Maintainers, urgent fixes can be nominated for cherry-picking into this release here: https://github.com/facebook/react-native/issues/15318

react-native - July 2017

Published by grabbou about 7 years ago

Breaking changes

Android

  • Remove unused createJSModules calls (ce6fb33, 53d5504) - @javache

iOS

  • Fix font weight resolution (cfeaefb4e0e5070d9f500e32de77f5f1ec23fb7c) - @kipricker

General

Bugfixes

  • VirtualizedList: Fix problems if _updateCellsToRender gets called too early (1ee602b) - @mikelambert
  • VirtualizedList: Fix deltatime calculation (5840a90) - @mikelambert
  • VirtualizedList: Fix initial-render triggering a render of all items (ebcf5fd) - @mikelambert
  • CLI: Fix broken default getProjectRoots (f847fbe) - @skevy
  • Fix license headers (2cc1195) - @passy
  • Fix deepFreezeAndThrowOnMutationInDev-test for Node v8.1.0 (82edc13) - @yungsters
  • Fix reference to invariant (3e4a892) - @javache
  • Fix configure glog script when building from xcodebuild (5c53f89) - @janicduplessis
  • Fix error caused by first argument short when calling warning function (09ba07e) - @alanwyf

New features and enhancements

  • Add Components and APIs Overview Guide (4f3da46) - @hramos
  • Add marker surrounding entire native module creation (2984628) - @bnham
  • Add documentation for supporting custom require types (94116db) - @andrewlinfoot
  • Add https options to RN CLI server (2c32acb) - @andrewimm
  • Add basic nested VirtualizedList support (63f7efc) - @sahrens
  • Add --maxWorkers flag and allow transformers to run in-band (29d9c35) - @cpojer
  • FlatList: Add dev validation of the object returned by getItemLayout (a2b0ee0) - @janicduplessis
  • FlatList: Add setNativeProps (75508c1) - @reneweb
  • Warn when setting pagingEnabled when snapToInterval at the same time (afa4792) - @sahrens
  • Add close to SwipeableRow (c28595e) - @yungsters
  • Add a new babel transformer for inlining regenerator-runtime per file (e7c1cf5) - @mjesun
  • Add Wix.com to showcase (70ca432) - @hramos
  • Remove react-native/packager folder. (236e9e4) - @cpojer
  • Docs: New Handling Touches (f42f2df) - @hramos
  • Docs: Restore proper ordering in the sidebar (71c812a) - @hramos
  • Disable auto-mock by default in as many places as possible @bypass-lint (3360999)
  • Remove worker from local-cli (cbb8d6f) - @cpojer
  • Promise support for C++ bridge (d062cc2)
  • Exposed progressViewOffset to VirtualizedList and FlatList (a0a7d97)
  • Implement Systrace integration for Fiber (32a0ee0) - @gaearon
  • Check before overriding global.performance (9d4cc7c) - @bvaughn
  • Move type definitions used for metro bundler from React Native (4990c5c) - @davidaurelio
  • Cleanup local-cli/core/__tests__ (223eab9) - @yungsters
  • Node v8 Workaround for local-cli/core/__tests__ (6407071) - @yungsters
  • Update remaining PropTypes references (50b11aa) - @andrewimm
  • Improved (7707905) - @shergin
  • Remove retainLines and sourceMaps options (5c57601) - @davidaurelio
  • Move jest to version 20 (c9a39b3) - @mjesun
  • Update guidelines (0d3b7fe) - @hramos
  • Make preset a function to account for different dev settings (bc22a4d) - @davidaurelio
  • Native Animated - Call x.__makeNative before super.__makeNative (f704441) - @janicduplessis
  • Don't require prettyFormat in every single bundle (5d51511) - @cpojer
  • Use possessive 'its' not 'it's' (fd34018) - @jkdf2
  • Yoga: The total flex factores need to be a minimum of 1 if any (3b93ba9) - @woehrl01
  • Yoga: Fixed assertion caused by invalid layout of hidden Yoga nodes (ac3f345) - @shergin
  • Yoga: Refined type for display style property (b1e64a4) - @shergin
  • ImageBackground: use cached styles (8377b30) - @doochik
  • Keyboard will show documentation (3ba8e6a) - @DukeNukem1990
  • Improve Audio for Maintaining Priority (a26d876) - @yungsters
  • Expose unstable_batchedUpdates on react-native (5550a25) - @yungsters
  • Disable subview clipping when sticky headers are enabled (407ec00) - @janicduplessis
  • Replace React.createClass with create-react-class (5f8c3e0) - @mojodna
  • Control whether Metro tells Babel to lookup .babelrc files (9194b9d) - @ide
  • Stop using Map in JSTimers (e9f657f) - @javache
  • Merge JSTimers and JSTimersExecution (0ae11f1) - @javache
  • Update native references to JSTimers (d795fa1) - @javache
  • Allow no args to be passed to rejection callback (b6cfad2) - @javache
  • Fixed an incorrect word in the blurTextInput() documentation (bc718fd) - @jstheoriginal
  • Clearer code in Button.js (7ee051d) - @dpgao
  • Setting bridge up for sharing: allowing native modules to register after init (5c54104)
  • react@16 did away with PropTypes; require prop-types instead (8e9322c) - @mojodna
  • Remove RN fiber createClass wrapper around View (1199592) - @bvaughn
  • Rename Executor to JSExecutor (e2628f9) - @javache
  • Improve choco command in docs (6aea140) - @TerribleDev
  • Fixing typo in AppContainer (937568b) - @sumkit
  • Adding an optional wrapper component to app components (162d92d) - @sumkit
  • Jest Mocks for NetInfo and Linking (0797dae) - @hnryjms
  • Overflow detection in Yoga (ecd5829)

Android

Bugfixes

  • Fixing drawing bug in ReactArt (a660796)
  • Fix dev reloading (c639a1f) - @AaaChiuuu
  • Don't crash if Window permission isn't granted for dev loading view (56969d5)
  • Fix dev loading indicator (e82ceb2)
  • Fix package order on ReactInstanceManager (4566f01)

New features and enhancements

  • Update overflow docstring to add note on Android (fa147f0) - @joerick
  • Add cmd+opt+ctrl+D to globally invoke dev menu for Android (01adc71) - @Yu-w
  • Add dev bundle download listener on Android (960e5db) - @janicduplessis
  • Add peeking feature in AndroidViewPager (c42080e)
  • Corrected spelling of the word "properties" in error message in ReactAndroid/build.gradle (e8df8d9) - @owenauch
  • Report Java stack traces in synchronous native module calls (534bbfa) - @javache
  • Document URI for Android asset folder images (a38f5b6) - @benvium
  • react-native link support for native Android modules developed in Kotlin (d666f30) - @rauliyohmc
  • Add support for multiple bridge listeners (80bc07f) - @bnham
  • Add a bunch of debug log statements (a1321ae) - @AaaChiuuu
  • Remove SetBuilder (559805d) - @javache
  • Tag INITIALIZE_MODULE marker with the non-zero instance key (e48ad96) - @AaaChiuuu
  • Only load core modules once (2b89416)
  • Separate port constant for inspector proxy server (1ae54b5) - @Hypuk
  • API check for removeOnGlobalLayoutListener in ReactRootView (ecccd06)
  • Simplify Catalyst handleMemoryPressure (83faa4b) - @javache
  • Bunch of props was unified (1081b21) - @shergin
  • Splitting packages into core bridge and core RN (e301a36)
  • Disable multipart bundle transmission for now (33057aa) - @jeanlauliac
  • Translating NativeArray into NativeMap on getConstants (25d19e3)

iOS

Bugfixes

  • Fix scalesPageToFit default property for iOS WebView. (1859486) - @peterp
  • Use #import "..." instead of #import <RCTText/...> (5470bb2) - @mhorowitz
  • Fix Apple TV compile errors (31fe832) - @dlowder-salesforce
  • Fix timers not firing when running in JS debugger (6482538) - @javache
  • Avoid crash when accessing jsContextRef without an executor (c25f356) - @javache
  • Fix crash in AccessibilityManager (112e376) - @mmmulani
  • Fix references to deprecated assets in separate bundles (12ab236) - @javache
  • Fix text node rounding with fractional dimensions matching the rounding factor (b437d61) - @woehrl01
  • Fix visibility of installGlobalFunction (e2dff82) - @alexeylang
  • blurOnSubmit should be true by default for single line (b6cf4ee) - @shergin

New features and enhancements

  • Add a section about Platform.Version on iOS (390c8cf) - @zubko
  • Add a type cast to RCT_ENUM_CONVERTER for C++ compatibility (eaac3b5) - @jballer
  • Update default blue on iOS (f7c89b4) - @xavier-villelegier
  • Correct its/it's homophone in NativeModulesIOS.md (2083516) - @elillie
  • Make RCTPackagerConnection not depend on RCTBridge (d27ff20) - @fromcelticpark
  • Make RCTSamplingProfilerPackagerMethod not depend on RCTBridge (c143313) - @fromcelticpark
  • Work around the broken way CocoaPods/Xcode deals with header maps (f3f44ee) - @mhorowitz
  • Remove unused folly/File.{h,cpp} from OSS React Xcode project (4fd427e) - @mhorowitz
  • Expose content-available APS key for iOS silent push (60783aa)
  • Removed support of mysterious "deprecated" scale in RCTImageSource (d0ad6ad) - @shergin
  • Introducing -[RCTShadowView canHaveSubviews] (abfa63c) - @shergin
  • Support display: none; style (a04322f) - @shergin
  • Implement nativeID prop to allow native code to reference react managed views (70e0455) - @Yu-w
  • Implement presentationStyle modal appearance (ec68536) - @hnryjms
  • Remove unused RCTRenderingPerf (94d9f00) - @javache
  • Implement editable property for RCTUITextField (719f000) - @shergin
  • Rename placeholderText to placeholder in RCTTextView (2bf4167) - @shergin
  • Introducing RCTBackedTextInputViewProtocol (6ba8e29) - @shergin
  • Introducing RCTTextInput, base class for both text inputs (3364488) - @shergin
  • RCTTextInput: Common layout logic was moved to base class (a8c45ac) - @shergin
  • Support <TextInput keyboardType="numeric" returnKeyType="done" /> (2b1795c) - @shergin
  • Allow RCTModuleData to explicitly opt out from performing its set up on the main queue (2f193b9) - @fromcelticpark
  • RCTAnimation & RCTLayoutAnimation were decoupled from RCTUIManager (6312d67) - @shergin
  • New (actually old) way to make RCTUITextField editable/non-editable (0fd061e) - @shergin
  • Podspec: add required "DevSupport" dependency "InspectorInterfaces.{cpp,h} (5c9cf44) - @HeEAaD
  • ScrollView: updatedChildFrames data controlled by prop (62b20ce)
  • Handle fatal errors thrown by the Chrome debugger (2e42842) - @javache
  • Allow video uploads (8dd15f2) - @fred2028
  • Make startup errors in the websocket executor invalidate the bridge (c5004d5) - @javache
  • TextInput: Fixed textWasPaste prop for single line TextInput (44310da) - @shergin
  • Make OSS CocoaPods build work with or without use_frameworks! (0877f2c) - @mhorowitz
  • Update podspec integration instructions (db9c844) - @javache
react-native - March 2017

Published by grabbou over 7 years ago

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 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 with if 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's cssNode property to yogaNode (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 of intrinsicContentSize (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 overriding align-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 include index (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
react-native - July

Published by grabbou over 7 years ago

Changelog coming. For list of changes, please compare this release with 0.46-stable branch.

react-native - June 2017

Published by grabbou over 7 years ago

General

Breaking changes

react-native-xcode.sh now lives in a different location

If you're seeing this error during iOS builds:

../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory

then you need to go into Xcode, click the root of your project, go to 'Build Phases', find the one that says 'React Native', then update the command to point to:

export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh

This change is caused by react-native-packager being extracted into a separate project (now, named metro-bundler). Further discussion happens here: https://github.com/facebook/react-native/issues/13976#issuecomment-308813094

Other

  • Better TextInput: contentSize property was removed from TextInput.onChange event (bac84ce) - @shergin
  • Using Image with nested content now causes warning (yellowbox) (279f5f1) - @shergin

Bugfixes

  • Fix code generation for indexed RAM bundles (f91e376) - @davidaurelio
  • Fix react-native link issue when using multiple manifests (1ad08aa) - @dantman
  • Fix stickySectionHeader re-render issue (872fbc2) - @nihgwu
  • Fix KeyboardAvoidingView component (a975c1e)
  • Fix Native Animated - Call x.__makeNative before super.__makeNative (08f41bc) - @janicduplessis
  • Fix TextInput's padding and border size computation and layout (44af4d1) - @shergin
  • Fixed ListViewMock unique key error when many sections (a324965) - @tszajna0
  • Replace React.PropTypes with prop-types (8e9322c6, 50b11aa0) - @mojodna,
    @andrewimm
  • Replace React.createClass with create-react-class (658c7bb9) - @mojodna
  • Fix configure glog script when building from xcodebuild (5c53f89dd86160301feee024bce4ce0c89e8c187) - @janicduplessis
  • Removing test-driver symlink in ios third party install script (713ca68396f2d8d525539ef7781748af1e0b9db8) - @ArturKlajnerok

New features and enhancements

  • Native Animated: Prevent views driven by native animated from being optimized away (c87524e) - @janicduplessis
  • Fail gracefully for node<4 in react-native-cli (const->var) (699a0be) - @rh389
  • Add more prop type for View (05ec850) - @mjmahone
  • Add flexWrap warning when used with FlatList (eac399b)
  • Add error message when calling sync methods from the Chrome debugger (7837bdb) - @javache
  • Add message to remind user to enable wifi (f1284b8) - @sebirdman
  • Introducing ImageBackground, replacement for Image which supports nesting views (9637dd4) - @shergin
  • Only call callImmediates once per batch (07ee2fb) - @javache
  • Automatically request location permission when accessing geolocation (9e026ec)
  • Exposes requestAuthorization method (3c64d95)
  • Render section footer in SectionList sections with no data (f702cbe)
  • ART: Call toString on fontWeight else throws error if passed an integer (7cddaa0) - @davidlrnt
  • XMLHttpRequest withCredentials defaults to "true" (9b4a644) - @DanielZlotin
  • CLI: Adding shebang to setup_env.sh script (f16df60) - @gabriel-laet
  • Forcing to alignSelf: stretch was removed from TextInput (4e40521) - @shergin
  • Singleline TextInput now has intrinsic size (ea9d674) - @shergin
  • Multiline TextInput was fixed to match layout logic of singlelined one (4865022) - @shergin
  • VirtualizedList: Pass data prop instead of props to _updateViewableItems in _onScroll (803a916) - @Ashoat
  • Update inquirer package to better support interactive command line prompts (bada25d) - @Yu-w
  • Allow lazy modules registration with the BatchedBridge (485bb70) - @fromcelticpark
  • Refactor of Fiber integration with React Fiber + Stack (59e41b4) - @trueadm
  • Improve View props and style stuff (1f3140c) - @sahrens
  • Cleanup PerformanceLogger (2a3de8f) - @sahrens
  • Support options param for requestIdleCallback (cf51aee) - @jhen0409
  • Adding the ability to run GC on a different thread than the one JSContext was created in (578227d)
  • Create JS executor and context on main thread w/ custom JSC (e284a9d)

Docs

  • Update Getting Started, Upgrading for CRNA (2d1c721) - @hramos
  • Additional doc improvements (9bde0fb) - @hramos
  • Expand Getting Started, Debugging, Running on Device guides. (674a642) - @hramos
  • Clarify pros/cons on different navigation libraries (84f6880) - @hramos
  • Update ListView Basics to use FlatList, SectionList. (c419ae8) - @hramos
  • Fixed grammar/sentence structure (6b6d269) - @panzer-planet

Yoga

  • Fix print edge value (cf5535b) - @yihuang
  • Fix right/bottom in absolute layout (130a821) - @yihuang
  • Fix absolute positioning in reverse wrapping container (adaa966) - @emilsjolander
  • Fix absolute position if wrap-reverse and align-items: flex-end (7c980c5) - @woehrl01
  • Parse YogaValue from string. inverse of toString() (e656adc) - @emilsjolander
  • Fixing potential measure call with negative size value (2e24197)
  • Changed pointScaleFactor usage to avoid accumulating error (6be550d)
  • Replace lineBreakMode with ellipsizeMode (e5e3591) - @koenpunt

Packager

  • Fix integration test for OSS (a33dd76) - @jeanlauliac
  • Use buildID instead of entry path for reporting (b74b2d5) - @jeanlauliac
  • ResolutionRequest: extract FileNameResolver (3aedbbb) - @jeanlauliac
  • Terminal: remove global state (365c1bf) - @jeanlauliac
  • AssetServer: remove fs timeouts (b975342) - @jeanlauliac
  • Add "node" env to packager .eslintrc (8d60605) - @davidaurelio
  • Add preprocess for buck worker (bfc0e8c) - @jeanlauliac
  • Add missing dep (d500a8a) - @jeanlauliac
  • Add basic top-level integration test (32d35c3) - @jeanlauliac
  • Add --dev flag to the packager's dependencies command (d41c9d9) - @fkgozali
  • ResolutionRequest: factor error handling in resolution (eb9e4d4) - @jeanlauliac
  • Run packager.sh using '.' instead of 'source'. (2f71270) - @sebbarg
  • ResolutionRequest: empty module is special case (9aeed39) - @jeanlauliac
  • DependencyGraph: @format (0040b02) - @jeanlauliac
  • ResolutionRequest: use _loadAsFile from _loadAsDir (306c929) - @jeanlauliac
  • ResolutionRequest: refactor _loadAsDir and dependents (a790430) - @jeanlauliac
  • Move packager launcher scripts outside of packager/ (a710f9a) - @davidaurelio
  • TransformCache: extract choice of root path outside of class (0b4e772) - @jeanlauliac
  • Move packager core logic from local-cli to packager (bea7659) - @davidaurelio
  • TransformCaching: make choice of cache explicit in the API (a4badb8) - @jeanlauliac
  • Upgrade jest-haste-map version (7c06a0d) - @jeanlauliac
  • Module: get rid of callbacks (21e3d4d) - @jeanlauliac
  • Stop requiring setupBabel from within packager/ folder. (414da08) - @cpojer
  • AsyncTaskGroup: @flow (dfb0812) - @jeanlauliac
  • Server: more consistent error handling (994d500) - @jeanlauliac
  • Separate build modules from require calls when bundling (3f17600) - @davidaurelio
  • Change sourceMappingURL to line comment (225c4c0) - @davidaurelio
  • Create an OutputFn that can build indexed RAM bundles (918bae2) - @davidaurelio
  • Simplify File type: map is nullable, but not optional (6b2122b) - @davidaurelio
  • Covariant properties for ModuleTransportLike (f9f1245) - @davidaurelio
  • Use ModuleTransportLike only with $ReadOnlyArray (9a91ea4) - @davidaurelio
  • Properly mock path in DependencyGraph-test (657ea49) - @cpojer
  • Remove setupBabel call from main entry point (17e0478) - @cpojer

iOS

Bugfixes

  • Native Animations - Fix edge case with restore default values (fc45471) - @janicduplessis
  • Fix data race on read/write _instance variable in ModuleData class (5e97be8) - @makadaw

New Features and enhancements

  • Add ART library to UIExplorer for iOS, with sample and snapshot test (9e8a39c) - @dlowder-salesforce
  • Add newly recommended method for RCTLinkingManager due to deprecation (ff78a8d) - @jasonnoahchoi
  • Add support for flashScrollIndicators on iOS (5114b61) - @jeanregisser
  • Introduce API for moving screen reader's focus (e40d1a1) - @rigdern
  • Support Animated.loop on iOS (11424a8) - @janicduplessis
  • Improve z-index implementation on iOS (1658f36) - @janicduplessis
  • Introduce API for making screen reader announcements (cfe0032) - @rigdern
  • Introducing -[RCTView reactAccessibleView] (072d270) - @shergin
  • Improve accessibility of multiline TextInputs (863f585) - @rigdern
  • Expose category property of iOS notifications (dd8ed62) - @webmariner
  • Add note for DevSupport in Podfile (152dbcb) - @sunnylqm
  • Minimize time holding lock in UIViewOperationQueue (53169b0) - @javache
  • Added Cookie Header to XML and Websocket request (047961f)
  • Using drawViewHierarchyInRect instead of renderInContext for snapshot tests (3df537a) - @shergin
  • Play sound in local notification only if soundName is specified (9fae268) - @aljs
  • Ignore "Frame load interrupted" errors in UIWebView (23a34d4) - @adamjmcgrath
  • Fixing compiler warning (407b8b4)

Android

Bugfixes

  • Fix memory leak in AccessibilityInfoModule (e9ae31d) - @rigdern
  • Fixed TextInput.onContentSizeChange on Android (3539352) - @shergin
  • Fixed ImageLoader Mock for Android (7c2ef32) - @kpink224
  • Fix memory leak (9dc0385) - @yk3372
  • Fixing a race condition that may be caused by the reloadable executor. (63ffa7c)
  • Avoid using path for normal border cases (5db2638) - @sjkirby

New Features and enhancements

  • Add viewIsDescendantOf for UIManager on Android (663df57) - @Swordsman-Inaction
  • Add missing Java files to RN fbjni sync (f0e4a6c) - @javache
  • Allow WebView to handle about:blank (26ee9b9) - @rigdern
  • Update CatalystInstanceImpl.java (c2eb9f4) - @chnfeeeeeef
  • Updating shake handling for Android in ShakeDetector and DevSupportManagerImpl (aeccbd6) - @sumkit
  • Remove DialogWhenLarge style from devsupport (37d4fd3)
  • Stop SystraceMessage markers with SystraceMessage.endSection (46b3a89) - @michalgr
  • Don't include JNI dep in OSS build (964c3a1) - @javache
  • Add prop on WebView to enable third party cookies (7807247) - @saleel
  • Handle [native code] stack frames (0ee8786) - @adamjernst
  • Don't enqueue another UI operation if we're already on the UI thread (213ea30) - @AaaChiuuu
  • Move to{HashMap,ArrayList} up to Readable{Map,Array} (fe229f8) - @dcestari
  • Remove useless code from ReactImageView.RoundedCornerPostprocessor (e0bdb7c) - @plamenko
  • Don't block attaching ReactRootView on measuring (8125ce5) - @AaaChiuuu
react-native - April 2017

Published by grabbou over 7 years ago

General

Breaking change

Remove support for @provides

6cbb57d - @jetzhliu

If you were using @provides NameOfModule, you should now switch to @providesModule

Only call batchDidComplete when there were actually native calls dispatched

c8d922b - @facebook/team-jest

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.

Navigator has been deprecated

92d985fb4982e739f66582ae0cc08c7312a6ef4a - @ericvicenti

Navigator has been deprecated in favor of React Navigation. If you wish to continue using Navigator, you can install the react-native-deprecated-custom-components package which provides the legacy Navigator component. Find out more at https://github.com/facebookarchive/react-native-custom-components

Bugfixes

  • Fix a typo in navigation doc (0d5620b) - @sunnylqm
  • Fix TextInput 'defaultValue' propTypes to 'string' (c53404a) - @feyy
  • Fix YellowBox layout to not interfere with app layout when opened. (7ff18f2) - @sahrens
  • FlatList: Fix doubled ItemSeparators (7e4c93d) - @sahrens
  • FlatList: Fix minimumViewTime (b1a63f0) - @sahrens
  • FlatList: Fix Animated.event attach/detach on component re-render (9c3e6ae) - @sahrens
  • Fix suggestion to "npm start -- --reset-cache" (06dd083) - @cooperka
  • Fixes misleading comment on getInitialURL (c41b29d) - @jeremistadler
  • FlatList: Fix nodeHandle crash (93c438d) - @sahrens
  • Fix usages of ReactComponentWithPureRenderMixin (a2cfea1) - @javache
  • Fix grammar in the "Running on a device" docs (1091868) - @hramos
  • Website: Fix broken icons in showcase on Safari (1f15c75) - @hramos
  • Website: Fix broken references, remove navigators (3b28644) - @ericvicenti
  • Fix PerformanceLogger clearing unfinished events (005fbe6) - @javache
  • Animated: Add missing super calls to fix native animated crash (c233191) - @janicduplessis
  • Fix ReactNativeEventEmitter not dispatching events when org. instance is gone (23c2a6c) - @shergin

New features and enhancements

  • Website: Clean up, add tests, remove dependency on sass (e82c2fb) - @mkonicek
  • Added deprecation warning for View.* static accessibility traits accessors (ef3db66) - @bvaughn
  • Remove Navigator recommendation (a030432) - @hramos
  • Introduce DeviceInfo as a new native module (95c1926) - @ashwinb
  • Add support for animating nested styles (9d32920) - @mlanter
  • Added ReactNative feature-flag switch between Stack and Fiber builds (6620b1f) - @bvaughn
  • Add support for custom log reporter cli option for local server (5f5da4e) - @brentvatne
  • Remove unused onNativeException delegate method (73e81b8) - @javache
  • Use verbose module name when requiring module that errored (14fee73) - @davidaurelio
  • Better instructions for displaying systrace (c451dd6) - @gaearon
  • Support string return type from RN when using Fiber (9344f3a) - @bvaughn
  • Don't swallow the error if a module require fails (d731466) - @mhorowitz
  • Don't load native module support as part of the initial CS bundle (6dc3a83) - @mhorowitz
  • Use fbjs/lib/invariant, not invariant (80e1dbf) - @davidaurelio
  • Packager: GlobalTransformCache: ignore errors related to fetching (4cbb645) - @jeanlauliac
  • Packager: GlobalTransformCache: reduce asynchronicity for non-cached bundles (439cb76) - @jeanlauliac
  • Packager: clear cache (4797701) - @jeanlauliac
  • Packager: GlobalTransformCache-test: disable non-deterministic test (d5288e7) - @jeanlauliac
  • Packager: Package.js: make read()-based API sync (ebd8b2a) - @jeanlauliac
  • Packager: Module.js: make read()-based API sync (5eb954f) - @jeanlauliac
  • Packager: Package.js: cover the error cases (909d2e5) - @jeanlauliac
  • Packager: Module.js: cover the error cases (3054842) - @jeanlauliac
  • Packager: TerminalReporter: stop reporting global cache errors (20ba987) - @jeanlauliac
  • Packager: ResolutionRequest.js: sync _resolveNodeDependency() (b96e210) - @jeanlauliac
  • Packager: ResolutionRequest.js: resolveDependency() now sync (e0ad425) - @jeanlauliac
  • Packager: TransformCache: do not rehash transformOptions every single time (4bd7dc0) - @jeanlauliac
  • Packager: TransformCache: use sha1 instead of murmurhash (cc2ec6f) - @jeanlauliac
  • Packager: GlobalTransformCache: retry keys fetches (33000c7) - @jeanlauliac
  • Packager: sync Module#read() (3ef2055) - @jeanlauliac
  • Replace copyProperties with Object.assign (a34956f) - @davidaurelio
  • Only use EventValidator in development mode (2b4762f) - @davidaurelio
  • FlatList: Invariants around scrollToIndex without getItemLayout (edd5624) - @sahrens
  • FlatList: Support sticky headers (72670bf) - @sahrens
  • FlatList: onEndReached should clear when data changes (22a4205) - @sahrens
  • FlatList: Remove shouldItemUpdate (5c85615) - @sahrens
  • FlatList: Show useful error when switching numColumns on the fly (46d6766) - @sahrens
  • Use checkPropTypes instead of directly calling PropTypes (d9910a5) - @acdlite
  • Move View.propTypes to ViewPropTypes (53905a5) - @bvaughn
  • Remove React addons from react-native-implementation (14c31d9) - @janicduplessis
  • Improve dark mode for debugger (8a8f34a) - @Kerumen
  • Fix findNodeHandle() in Fiber (333dd59) - @bvaughn
  • Remove NavigationExperimental (febf3d0) - @ericvicenti
  • Expose new ViewPropTypes object on ReactNative renderer (9a88c72) - @bvaughn
  • Allow overrides of NativeModules (ff7fb6e) - @javache
  • Move takeSnapshot method from UIManager to ReactNative (848593c) - @bvaughn
  • Remove CustomComponents folder and license (777e80a) - @ericvicenti
  • Refactor Chrome Debugger JS (696b49e) - @yungsters
  • Stop yarn error message appearing for Windows users of local-cli (7c90b06) - @dikaiosune
  • Protect against fatal YellowBox error when stack frame has no file (106ad85) - @terribleben
  • Re-added null inst check to avoid EventPropagators bug (01215c0) - @bvaughn
  • Show more meaningful error stack in red box (d4aa42a) - @bvaughn

Yoga

  • Expose UseWebDefaults to java (50a6c49) - @emilsjolander
  • Don't transfer layout outputs to java for nodes which don't have a new layout (759b8cc) - @woehrl01
  • Don't transfer layout outputs to java for unset edges (f1371ec) - @woehrl01
  • Fix align-content: center, flex-end alignment with margin (18c239e) - @woehrl01
  • Invalidate layout when node is removed from tree (e854775) - @emilsjolander
  • Set web defaults when resetting (673093e) - @emilsjolander

iOS

Breaking changes

Remove MapViewIOS

48f30eca7e3d4c239501de515a7cc35615ed6bd1 - @mkonicek

<MapView /> was deprecated for a while, in this release it is removed from react-native. As a workaround, we suggest using react-native-maps by Airbnb. If you cannot migrate to react-native-maps, you can continue using <MapView /> by importing the deprecated-react-native-ios-mapview module into your project with the caveat that the module will no longer receive any updates or bugfixes.

Bugfixes

  • Fix crashes in RCTPicker (1195a8f)
  • Fix property accessor warning in RCTDevSettings (b3be574) - @terribleben
  • Fix crash when overriding native modules on RCTJSCExecutor (3f46e59) - @javache
  • Fix timing animation delay on iOS when using native animations (fb54a1e) - @janicduplessis
  • Fix crash in RCTJSStackFrame::stackFrameWithDictionary: (9075fe0) - @terribleben
  • Fix crash in RCTRedBox::formatFrameSource: (1a23902) - @terribleben
  • Fix ReactCxx xcodeproj (22151d2) - @janicduplessis
  • Fix warnings in React.xcodeproj (9d377e9) - @javache
  • NativeAnimated: Fix missing update at the end of the batch (f46fd36) - @janicduplessis
  • Fix cxx bridge headers when archiving (ec5baf0) - @janicduplessis
  • Fixed zero scale transfrom breaking hitTest mechanism (64c327a) - @shergin

New features and enhancements

  • Better TextInput: Decouple RCTUITextView from TextInput (b53d76e) - @shergin
  • Better TextInput: Improve placeholder feature in RCTUITextView (1433185) - @shergin
  • Better TextInput: Removed redundant UIScrollView from RCTTextView (3acafd1) - @shergin
  • Better TextInput: Native auto-expandable is here (iOS only) (26e2c08) - @shergin
  • Better TextInput: Fixing multiline insets and prepare for auto-expanding feature (1b013cd) - @shergin
  • Look for assets beyond mainBundle when not found (4398892)
  • Native Animated: Add tests for on iOS (1d37dd0) - @janicduplessis
  • Native Animated: Restore default values when removing props on iOS (c9fae2f) - @janicduplessis
  • Add iOS Linking location example to docs (ec68c97) - @viktorsec
  • Move RCTLinkingManager to the main thread (55f48eb) - @mmmulani
  • Make Cxx modules lazy on iOS (ea069b6) - @javache
  • Expose RCTImageLocalAssetURL as a utility (f48b54b) - @ashwinb
  • RCTRootView is now has empty autoresizing mask by default (d272334) - @shergin
  • NavigatorIOS: Remove NavigationContext (7aa2c9a) - @ericvicenti
  • Improve feel of scroll snapping behavior on iOS (1d36700) - @spicyj
  • Make run-ios --device example copy-pastable (140c5f6) - @bhelx
  • Merge RCTPlatform.isTesting and RCTRunningInTestEnvironment (f675434) - @javache
  • Update xcode dependency from 0.8.9 -> 0.9.1 (5be8d5f) - @joonhocho
  • Match plist indentation with xcode format (8daf985) - @koenpunt
  • Move bindKeys to RCTBridge setUp (e12e57e) - @javache
  • Add missing toggleElementInspector event send when jsLoaded (f352aa1) - @jhen0409
  • Eagerly change the listeners count (08c404d) - @fourlastor
  • Make the choice of bridge based on an optional delegate method (d9ac007) - @mhorowitz
  • Ability to remove notifications from notification center (3df654e) - @gperdomor
  • Fixed previously broken support for negative scale (transform style property) (c87c4d0) - @skv-headless

Android

Bugfixes

  • Fix java.lang.RuntimeException: Tried to get non-existent cookie (d2939ea)
  • Apply numeric text event bubbling fix (17cb70e) - @sebmarkbage
  • CLI: Update run-android to work on Windows (f891985) - @jrodiger
  • Don't crash in StackTraceHelper.convertJsStackTrace (957b55c) - @petterh
  • Fix crash if native code tries to update the size of a modal view after JS has removed it (5873a22) - @astreet
  • Fix FrescoModule not initialised in Nodes (63fa621)
  • Fix NullPointerException in ReactShadowNode.toString() (242a58f) - @petterh
  • Fix ClassCastException in ReactModuleSpecProcessor (379b60d)
  • Fix order of width and height in Fresco (c311096)

New features and enhancements

  • PickerAndroid: Convert children to an array before accessing with a position (720e195) - @justim
  • Allow DeviceInfoModule to be instantiated with only an android Context (ec4b854) - @mhorowitz
  • Explain how to package app for or Nexus/Maven deployment (a0b5a6e) - @MattFoley
  • Profiler: Remove the old heap profiler visualization code (af590b0) - @cwdick
  • Profiler: Download files through RN packager connection (373eb61) - @cwdick
  • Warn when long timers are set with AlarmManager (3637bce) - @astreet
  • Extract PackagerConnectionSettings to ensure easier reusability of PackagerConnection module (60142ad)
  • Ensure ResourceDrawableIdHelper is thread-safe (11814a5) - @ashwinb
  • Don't call clearFrameCallback() if we don't have a ReactChoreographer to clear the frame callback on (ba75d99) - @AaaChiuuu
  • Update PositionError to be an object as per docs (94d93f7) - @dabit1
  • Optimize ReactShadowNode by more manually converting between string and enums (436a9a5) - @emilsjolander
  • Set hasNewLayout on children when changing their layout due to display none parent (4bf2d8c) - @emilsjolander
  • Replace string comparison with enum (63035a4) - @BruinBear
  • Make bridge load module lazy (f804af2)
  • Make SystraceRequestListener extend BaseRequestListener (01a0e10) - @kirwan
react-native - May 2017

Published by hramos over 7 years ago

General

Breaking changes

Remove React forwarding and wrong import warnings

(f3dbddc) - @janicduplessis

Importing ‘react’ modules from ‘react-native’ has been deprecated since 0.25 and is now an error.

Bugfixes

  • XMLHttpRequest withCredentials defaults to "true" (7c3918b) - @DanielZlotin
  • Return findNodeHandle to public api (7063261) - @skv-headless
  • Fix warnings in TouchableHighlight (bd00456) - @zjj010104
  • Fix broken default getProjectRoots (f847fbe0) - @skevy

New features and enhancements

  • TouchableHighlight needs to set _isMounted false when it unmounts. (d40a7ea) - @sahrens
  • Custom build options: Move transform options into own property (8533c0d) - @davidaurelio
  • Work around a false positive isMounted() warning (074c3ce) - @gaearon
  • CLI: Stronger typing for transformers (73fc439) - @davidaurelio
  • CLI: Disable no-alert eslint rule for node code (d2505e7) - @davidaurelio
  • CLI: Get rid of FBism in Config (b9fb229) - @davidaurelio
  • CLI: Resolve path at callsite rather than in Config.loadFile (edf1774) - @davidaurelio
  • CLI: Fix Promise resolve callback error (7dd2cd3) - @johnislarry
  • Fixed default placeholder text color for multiline (cf975bb) - @shergi
  • Allow calling NativeViewHierarchyManager.addRootView() off the UI thread (20c2ae8) - @AaaChiuuu
  • FlatList: use $ReadOnlyArray for section stuff (5084e1b) - @sahrens
  • FlatList: Make section key optional (8d373f3) - @sahrens
  • FlatList: Many improvements (28aaa88) - @sahrens
  • FlatList: Fix and optimize VirtualizedList update triggers (52e50af) - @sahrens
  • FlatList: Made getItem and getItemCount required props (VirtualizedList) (beeffb8) - @mariten
  • FlatList: Add ListEmptyComponent prop (264d67c) - @Minishlink
  • FlatList: flipped leading/trailing separators.updateProps (5c7c65e) - @sahrens
  • FindNodeHandle properly handles ReactCurrentOwner.current Fiber type (909fb72) - @bvaughn
  • Sync React 16 from alpha 6 to 12 (ef0bd5c) - @bvaughn
  • Open in editor fix, show tip instead of error (9934131) - @skv-headless
  • Fix parseFloat mistaken uses of "radix" (37f3ce1) - @zertosh
  • Add flow to processColor.js (c7e0f56) - @TheSavior
  • Add method on YellowBox to ignore warnings (a974c14)
  • Refactor MessageQueue (0a55e42) - @rh389
  • Order modules in bundle by path. (978592f) - @amnn

Yoga

  • Expose setPointScaleFactor (19e1ef9) - @emilsjolander
  • Expose print function (924b869) - @emilsjolander
  • Treat measured nodes size as a minimum constraint when rounding (1c0e3b8) - @emilsjolander
  • Disable yoga rounding (39f9e7a) - @emilsjolander
  • Remove rounding from experimental features (1a72d91) - @emilsjolander
  • Move reset into yoga node and don’t set overflow as it has no effect (5bb1e48) - @emilsjolander
  • Fix useLegacyStretchBehaviour flag by simplifying its usage (d199d1d) - @emilsjolander
  • Fix flex-wrap with max constraint (c660d0c) - @woehrl01
  • Fix sizing of non stretch items (992e37c) - @woehrl01
  • Let measure behave more like on the web (925ec01) - @woehrl01
  • Move YGLogger into YGConfig and associate YGNodeRef with log events (5f2edfc) - @woehrl01
  • New round-to-pixel-grid algorithm that fixes possible subpixel gaps between sibling nodes (a8fa904) - @shergin
  • Assertion on attempt to get layout metrics from dirtied Yoga node (18fd18e) - @shergin
  • Add YGConfigCopy (f71e3b8) - @zcbenz

Packager

  • Rename node-haste/index to DependencyGraph (c948ae8) - @jeanlauliac
  • Packager - Fix symbolicate on windows (074fd33) - @janicduplessis
  • Connect / disconnect with websocket not when starting / stopping (f1d5fdd) - @emilsjolander
  • Call onDisconnected() not onConnected() when closing socket (aaab0e9) - @emilsjolander
  • Remove unused hash (cb3b744) - @jeanlauliac
  • Bump packager's inspector message timeout to 30s (de4d355) - @johnislarry
  • ModuleGraph: include all possible asset types (e69b813) - @jeanlauliac
  • Buck assets: wrap in __d (2a5959a) - @jeanlauliac
  • Optimize assets' JS (7d6fec0) - @jeanlauliac
  • Worker-farm: isolate stdout/stderr (fbe6d93) - @jeanlauliac
  • Properly handle babel ignored files, returning only the contents (7932b93)
  • Force 'default' transform variant to be present (11eef69) - @davidaurelio
  • Make bundle building function async (382e633) - @davidaurelio
  • Pull reusable logic out of Bundler (66d51bb) - @davidaurelio
  • Separate node polyfills from runtime transforms (1adb318) - @davidaurelio
  • Unify source map types (58ba7fc) - @davidaurelio
  • Change postprocessing hook to work on ModuleTransport instances (414d5a3) - @davidaurelio
  • Inline plugin: type options (3afbcfc) - @davidaurelio
  • Make test independent from side effects (291a497) - @davidaurelio
  • Remove irrelevant options from cache key (3e08a28) - @davidaurelio
  • Stronger typing for transform options / remove duplication (13f89f4) - @davidaurelio
  • Fix paths of module system and polyfills (7eb005b) - @davidaurelio
  • Fix support for haste packages (a26e042) - @davidaurelio
  • Fix release / minified bundle builds (1a0e78c) - @davidaurelio
  • Faster terminal feedback (76d6f90) - @jeanlauliac
  • Fork local version of worker-farm (e5920e7) - @jeanlauliac
  • ResolutionRequest: keep option object as it is (cc5997a) - @jeanlauliac
  • Buck worker: output assets (cf4a98b) - @jeanlauliac
  • Buck worker: better types (91ff215) - @jeanlauliac
  • Worker: strenghten TransformOptions (0001d3c) - @jeanlauliac
  • AssetPathUtils: @flow (aef2867) - @jeanlauliac
  • GlobalTransformCache: throat() the file fetching function (f519f16) - @jeanlauliac
  • Remove last declareOpts usage and replace by Flow types (e135bac) - @jeanlauliac
  • TransformCache: store last cache collection time (eb72d50) - @jeanlauliac
  • TransformCache: include UID + do not use base64 (1e6bca2) - @jeanlauliac
  • Upgrade to jest-runtime 19.0.3 (ec7a817) - @jeanlauliac
  • Buck library: expose asset content (1f8d100) - @jeanlauliac
  • Buck library: aggregate assets (b6a7a71) - @jeanlauliac
  • AssetServer: @flow (9bbbfb4) - @jeanlauliac
  • getAssetDataFromName: @flow (2403b42) - @jeanlauliac
  • GlobalTransformCache: cache the transform options digest (de3478c) - @jeanlauliac
  • GlobalTransformCache: fix non-bound function (fddb3b0) - @jeanlauliac
  • Add support for relative files with custom extensions (4a86f93) - @jeanlauliac
  • Correct transform for assets to avoid string (79d9fd8) - @jeanlauliac
  • worker-farm/lib/fork.js: cleanup (2de6e54) - @jeanlauliac
  • worker-farm: pass explicit execArgv to workers (bc4de00) - @jeanlauliac

iOS

Breaking changes

Update podspecs to support and default to the C++ bridge

(5aca739) - @mhorowitz

If you are using Cocoapods, you will have to update your Podfile by adding a dependency of ‘BatchedBridge’ or ‘CxxBridge’ to the React subspec depending on your choice.

Bugfixes

  • Fix run-ios when specifying a scheme as cli arg (c58e19e) - @pesterhazy
  • Fix RCTMultipartDataTask memory leaks (47f834a) - @ywz2010
  • Fixed crash caused by NaN values in RCTTouchEvent (e7c6a4c) - @shergin
  • React.podspec fix for RCTAnimation header issue (7b7d6bb) - @vjeranc
  • Ship third-party-podspecs in the npm package (1ea4002) - @jeanregisser
  • Fixed issue where the copy item would be added to the tooltips (d5a6152) - @gabrielbull

New features and enhancements

  • Allow videos to be shown in the CameraRoll selector (a324dfb) - @fred2028
  • More verbose error messages for iOS (e443b73) - @cooperka
  • Add API to reset CxxModuleWrapper's module pointer (17020ff) - @javache
  • Remove RCTBatchedBridge rule and all uses from the tree (325228d) - @mhorowitz
  • Split off websocket related items to RCTPackagerConnection (db8efd9) - @javache
  • Immediately trigger renderApplication from RCTRootView init (59378f7) - @javach
  • Native Animated - Support decay on iOS (6c434f9) - @janicduplessis
  • Port perf metrics used in RCTBatchedBridge (1bc9d44) - @alexeylang
  • Added support for synchronous methods in native modules on iOS (db0c221) - @fromcelticpark
  • Added tests for synchronous methods in native modules on iOS (971b083) - @fromcelticpark
  • Adopting Yoga's YGConfig in RCTShadowView (ca07a5f) - @shergin
  • Cleanup Xcode project references to UIExplorer (3544b76) - @ericvicenti
  • Merge RCTPackagerClient into RCTPackagerConnection (e768013) - @javache
  • Remove RCTPackagerClientResponder references from Xcode projects (1dd7bc1) - @javache
  • Introducing RCTAssertUIManagerQueue() (2a98432) - @shergin
  • Introducing RCTUIManagerObserverCoordinator new way to subscribe for granular notifications from UIManager (712b1dd) - @shergin
  • Throw when failing to load script (f09fdcb) - @javache
  • Remove WebWorker support from NetworkingModule (ea93577) - @javache
  • Remove WebWorker support from Timers (a20882f) - @javache
  • Drop support for WebWorkers (34bc6bd) - @javache
  • Avoid presenting on view controller that's being dismissed (96d13b6) - @javache
  • List nested exception in Redbox (b493208) - @javache
  • Apple TV Support: Add tvOS build support for ART library (32eab54) - @danielfarrell
  • Expose shake-to-show dev menu setting via the bridge (39d1974) - @wschurman
  • Enable dev menu in tvOS simulator (3122328) - @cmcewen

Android

Bugfixes

  • Fix crash when tapping "Comments" at Settings (39c73a8) - @minjang
  • Fix touch target for views with z-index (6f092a4) - @janicduplessis
  • Fix NoSuchMethodError for Inspector#Page's constructor (3240180)
  • Fix Nodes not having correct view managers externally (c8bb422) - @sjkirby
  • Stop from incorrectly darkening translucent status bars (41518ca) - @dantman

New features and enhancements

  • Expose setPointScaleFactor to java (19e1ef9) - @emilsjolande
  • Expose print function to java (924b869) - @emilsjolande
  • Allow Android videos to be shown in the CameraRoll selector (a324dfb) - @fred202
  • Add symbolication support to DevServerHelper (102f990) - @devknoll
  • Add openStackFrameCall to DevServerHelper (ee91eb7) - @devknoll
  • Add appProperty to ReactRootView (57b0039) - @maicki
  • Bump up priority of RN threads during startup (82c4b9f) - @AaaChiuuu
  • Assert on UIBackground thread if UIBackground thread is available (83a58f6) - @AaaChiuuu
  • Add flag to test running BG UI operation on a separate thread from the native modules thread (3a3e5af) - @AaaChiuuu
  • Add explicit error message if e.getMessage is null (c6614f1) - @reneweb
  • Refactor interfaces (ac74d2a) - @theoy
  • Ability to create a background UI thread (6138e20) - @AaaChiuuu
  • Add more systraces (857be04) - @AaaChiuuu
  • Wrap CREATE_MODULE and INITIALIZE_MODULE markers with try/finally (8478767) - @AaaChiuuu
  • Don't run setupReactContext() on UI thread (350b6c6) - @AaaChiuuu
  • Clear DraweeControllerBuilder after usage (3fda6a9) - @AaaChiuuu
  • Launch conversion from ASyncTask to Thread (3e866e0) - @AaaChiuuu
  • Lower thread priority of native module and JS thread (97a8663) - @AaaChiuuu
react-native - July 2017

Published by grabbou over 7 years ago

Changelog coming soon.

Package Rankings
Top 0.22% on Npmjs.org
Top 0.89% on Repo1.maven.org
Top 0.1% on Cocoapods.org
Top 10.68% on Bower.io
Related Projects