react-native v0.61.0 Release Notes
Release Date: 2019-08-27 // almost 5 years ago-
๐ This is a major release that includes the new reloading experience Fast Refresh. It also removes the React
.xcodeproj
, fixesuse_frameworks!
for CocoaPods support, adds auseWindowDimensions
hook, and upgrades to React 16.9.โ Added
- โ Add Fast Refresh by default (17f8e5810f by @gaearon)
- โ Add
useWindowDimensions
hook to replace mostDimensions
usage (103ec2f770 by @sahrens)
Android specific
- โ Add exception in .gitignore for
debug.keystore
to the android template. (d55025694b by @bondehagen) - โ Add jitpack repository to template (1a92cf9b2a by @iyegoroff)
iOS specific
- โ Add RCTWeakProxy to properly deallocate RCTUIImageViewAnimated (947e71a922 by @mmmulani)
๐ Changed
- ๐ฒ Use prettyFormat for Metro logging (abd7faf354 by @cpojer)
- โ Tweak messages and fix the warning condition (2a3ac0429b by @gaearon)
- ๐คก Allow jest globals in mocks directories (e78c01375a by @artdent)
- ๐ Make Animation EndCallback type allow any return value (306c8d64d9 by @draperunner)
- create two layout pass reason flexLayout and flexMeasure instead of flex (6ce985463b by @SidharthGuglani)
- ๐ Use shorthand for Fragment in App.js (7cac6a4b6c by @ferdicus)
- ๐ Use eslint-plugin-prettier recommended config (d2b92fffb1 by @Justkant)
- ๐ Support string command arguments (0314305e12 by @TheSavior)
- chore: Link to CLA wiki and CLA form. (e2d55d5c5e by @JustinTRoss)
- CLI is now 3.0.0-alpha.1 (5edd1c674c by @thymikee)
- Flow is now v0.104.0 (59db059dbd by @mroch)
- React is now at 16.9 (40e8a5f685, 0ccedf3964 by @TheSavior)
- ๐ Use Metro for auto-collapsing internal stack frames (77125a1ac3 by @motiz88)
- ๐ Move React error message formatting into ExceptionsManager (2dadb9e2b0 by @motiz88)
- ๐ Improve VirtualizedList error message (bef87b648c by @vonovak)
Android specific
- โฌ๏ธ Bump Hermes to v0.2.1 (811401bcac by @sunnylqm)
- ๐ฆ Use centralized package for DoNotStrip annotation (35fc0add2d by @passy)
iOS specific
- Do not override ActivityIndicator color when setting its size (14b0ed4c5d by @cabelitos)
- ๐ fix display problems when image fails to load (71d7d6883c)
- ๐ Renamed yoga podspec to Yoga (82a8080f07 by @axe-fb)
- โก๏ธ Update loading pre-bundled message (eb92f8181f by @rickhanlonii)
๐ Deprecated
- ๐ Deprecate method UIManagerModule.playTouchSound() (e3ec8dbe15 by @mdvacca)
- ๐ Deprecate UIManager.measureLayoutRelativeToParent (e42009b784 by @mdvacca)
Android specific
- ๐ DrawerLayoutAndroid drawerPosition now expects a string, number is deprecated (305b0a2814 by @TheSavior)
โ Removed
Android specific
- โ Remove supportLibVersion variable in build.gradle (fee7f0617e by @ferdicus)
iOS Specific
- โ Remove 's.static_framework = true' requirement for podspec (ca9e108110 by @jtreanor)
๐ Fixed
- โ Add ErrorUtils to eslint globals (76af5f9163 by @rodineijf)
- URL: Do not prepend baseUrl if the URL is not a relative URL (e104204ae0 by @jeswinsimon)
- ๐ Memory Leak due to JSStringRelease not called (b8d6ef3726 by @sachinservicemax)
- ๐ Fixed rotateZ native animation (f4f08d3c54 by @Titozzz)
- ๐ Fix indentation in Gradle files (9b0adb5ad1 by @sonicdoe)
- ๐ Fix handling of failed image downloads (71d7d6883c by @sammy-SC)
- ๐ Fix SectionList scrollToLocation and prevent regressions (8a82503b54 by @vonovak)
- [General][internal] Fix incorrect
module.name_mapper
in template .flowconfig (e6b2cf0418 by @MoOx) - ๐ฒ Fall back to
JSON.stringify
inconsole.log
if Symbol is unavailable (179889704b by @cpojer) - Pop frames correctly in console.error handler (3eaf245540 by @motiz88)
- โ Add documentation to TextInput's Flow types (d00f0882fb by @empyrical)
Android specific
- โ Add missing Hermes include (1db96a3c46 by @janicduplessis)
- ๐ Fix UIManager.measure to consider scale and rotation transforms (28d50189f3 by @floriancargoet)
iOS specific
- ๐ Fixed iOS packager connection (4ab9da134c by @zhongwuzw)
- ๐ Fixed compatibility with CocoaPods frameworks. (8131b7bb7b by @jtreanor)
- Don't call sharedApplication in App Extension (c5ea18f738 by @zhongwuzw)