Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/facebook/react-native.git. Pull mirroring updated .
  1. Apr 07, 2018
  2. Apr 06, 2018
  3. Apr 03, 2018
  4. Mar 29, 2018
    • Mike Grabowski's avatar
      [0.55.0-rc.2] Bump version numbers · c70578ab
      Mike Grabowski authored
      v0.55.0-rc.2
      c70578ab
    • Janic Duplessis's avatar
      Fix blob response parsing for empty body on iOS · 093a78d9
      Janic Duplessis authored
      Summary:
      We currently handle empty body poorly in the iOS blob implementation, this happens because of an early return that cause the blob response to not be processed by the blob module, resulting in an empty string as the body instead of a blob object. We also need to make sure to create an empty blob object when data is nil (empty body) as per the XMLHttpRequest spec. The Android implementation was already handling this properly.
      
      Fixes #18223
      
      Send a HEAD request
      
      ```js
      fetch('https://apipre.monkimun.com/whoami', {
        body: null,
        method: 'HEAD',
        headers: {
          Accept: 'application/json',
          'Content-Type': 'application/json',
        },
      })
      ```
      
      [IOS][BUGFIX][Blob] - Fix blob response parsing for empty body
      Closes https://github.com/facebook/react-native/pull/18547
      
      Differential Revision: D7415950
      
      Pulled By: hramos
      
      fbshipit-source-id: 56860532c6171255869f02a0960f55d155184a46
      093a78d9
    • Eric Samelson's avatar
      fix ReadableNativeMap.toHashMap() for nested maps and arrays · 8a6ab142
      Eric Samelson authored
      Summary:
      <!--
        Required: Write your motivation here.
        If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged.
      -->
      
      Commit https://github.com/facebook/react-native/commit/7891805d22e3fdc821961ff0ccc5c450c3d625c8 broke the previous behavior of `ReadableNativeMap.toHashMap()` for nested maps and arrays. Previously, all nested `ReadableNativeMap`s and `ReadableNativeArray`s were recursively converted to `HashMap`s and `ArrayList`s, but this is lost when only `getLocalMap()` is returned.
      
      <!--
        Required: Write your test plan here. If you changed any code, please provide us with
        clear instructions on how you verified your changes work. Bonus points for screenshots and videos!
      -->
      
      Call `ReadableNativeMap.toHashMap()` on a map with values of type `ReadableNativeMap` and `ReadableNativeArray`. Verify the returned hash map has these converted to `HashMap` and `ArrayList`, respectively.
      
      <!--
        Does this PR require a documentation change?
        Create a PR at https://github.com/facebook/react-native-website and add a link to it here.
      -->
      
      <!--
        Required.
        Help reviewers and the release process by writing your own release notes. See below for an example.
      -->
      
      [ANDROID] [BUGFIX] [ReadableNativeMap] - Fix toHashMap() for nested maps and arrays
      
      <!--
        **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.**
      
          CATEGORY
        [----------]      TYPE
        [ CLI      ] [-------------]    LOCATION
        [ DOCS     ] [ BREAKING    ] [-------------]
        [ GENERAL  ] [ BUGFIX      ] [ {Component} ]
        [ INTERNAL ] [ ENHANCEMENT ] [ {Filename}  ]
        [ IOS      ] [ FEATURE     ] [ {Directory} ]   |-----------|
        [ ANDROID  ] [ MINOR       ] [ {Framework} ] - | {Message} |
        [----------] [-------------] [-------------]   |-----------|
      
       EXAMPLES:
      
       [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things
       [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput
       [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with
       [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word
       [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position
       [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see
      -->
      Closes https://github.com/facebook/react-native/pull/18455
      
      Reviewed By: kathryngray
      
      Differential Revision: D7347344
      
      Pulled By: mdvacca
      
      fbshipit-source-id: af2bca9dec6c0cb8a7da099b6757434fcc3ac785
      8a6ab142
  5. Mar 21, 2018
  6. Mar 13, 2018
  7. Mar 12, 2018
    • Matt Hargett's avatar
      Loosen Platform check to allow better code sharing for out-of-tree platforms · 84affbd6
      Matt Hargett authored
      Summary:
      Don't lock out other non-iOS platforms (e.g. Windows) with an overly
      specific check. This change allows this JS file to be re-used instead of copied and modified. There was one other instance of this pattern, but I'll submit it separate for easier cherry-picking.
      
      Tested Android and iOS playground on simulators.
      
       [GENERAL] [ENHANCEMENT] - some core ReactNative JS library files will be easier to re-use across RN platforms.
      Closes https://github.com/facebook/react-native/pull/18308
      
      Differential Revision: D7230803
      
      Pulled By: hramos
      
      fbshipit-source-id: 11e03183535a7453cee00dc1e795c27f2fd2bf5d
      84affbd6
    • Amir Livneh's avatar
      Use -fdata-sections in mode/opt · 19dd9a2c
      Amir Livneh authored
      Differential Revision: D7194366
      
      fbshipit-source-id: 676f2db2e493230b8d9698941f003ec4e96f15ea
      19dd9a2c
  8. Mar 11, 2018
  9. Mar 10, 2018