React-Native v0.31.0 和 v0.32.0-rc.0发布

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/dccc9890e84dd9577c35752a1d6967ac.png" /></p>    <p>React Native 使你能够使用基于 JavaScript 和 React 一致的开发体验在本地平台上构建世界一流的应用程序体验。React Native 把重点放在所有开发人员关心的平台的开发效率上——开发者只需学习一种语言就能轻易为任何平台高效地编写代码。非死book 在多个应用程序产品中使用了 React Native,并将继续为 React Native 投资。</p>    <p>React-Native 做了什么:</p>    <ul>     <li>React-Native 丢弃了 Webview。</li>     <li>复用React,将 Dom 结构de改变通过 diff 算法处理后,由 js 传递给 native 进行底层视图布局。</li>     <li>css-layout引擎,前端可以继续写熟悉的 css 语法,由引擎转化成 oc 底层的布局。</li>     <li>对 js 暴露底层常用的 UI 组建。js 层可以直接对这些组件进行布局</li>    </ul>    <h2>更新日志 </h2>    <h3>v0.31.0日志</h3>    <h3>Bug修复</h3>    <ul>     <li>Fix the getRowData method of SwipeableListViewDataSource in SwipeableListView (<a href="/misc/goto?guid=4958992782346708206">ba3c7ef</a>) -<a href="/misc/goto?guid=4958992782450071271">@sscaff1</a></li>     <li>Fix bug in cancelling last task in TaskQueue (<a href="/misc/goto?guid=4958992782546257980">9b184cc</a>) - <a href="/misc/goto?guid=4958990514121734188">@sahrens</a></li>     <li>Fix Navigator transition (<a href="/misc/goto?guid=4958992782668056317">5189c94</a>) - <a href="/misc/goto?guid=4958990511313125485">@hedgerwang</a></li>     <li>Use active scene passed in <code>props</code> by <code>NavigationTransitioner</code> (<a href="/misc/goto?guid=4958992782799072797">46a6851</a>) - <a href="/misc/goto?guid=4958992365723315680">@jmurzy</a></li>     <li>Change NavigatorSceneConfig for RTL (<a href="/misc/goto?guid=4958992782921851622">cadc753</a>) - <a href="/misc/goto?guid=4958992783013904353">@MengjueW</a></li>     <li>Don't block scroll when using non-touchable visible row for SwipeableRow (<a href="/misc/goto?guid=4958992783104247368">13a19a8</a>) - <a href="/misc/goto?guid=4958992783193937977">@chirag04</a></li>     <li>RN: Change Time Drift Error into Warning (<a href="/misc/goto?guid=4958992783290154699">ed4db63</a>) - <a href="/misc/goto?guid=4958991717076942010">@yungsters</a></li>    </ul>    <h3>新功能和增强功能</h3>    <ul>     <li>Merge <code>rnpm</code> (<a href="/misc/goto?guid=4958992783414293878">e8b5081</a>) - <a href="/misc/goto?guid=4958990513068710557">@grabbou</a> <a href="/misc/goto?guid=4958992783538289686">@Kureev</a></li>     <li>Add JSCHelper function to easily install native hooks outside of JSCExecutor (<a href="/misc/goto?guid=4958992783638028859">f534560</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>     <li>Add MessageQueue method for executing function and returning its result (<a href="/misc/goto?guid=4958992783762271808">7fa677f</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Add completion callback to enqueueJSCall (<a href="/misc/goto?guid=4958992783888380483">23e28ec</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Add RTL support for SwipeableRow (<a href="/misc/goto?guid=4958992783987293254">7e5fc17</a>) - <a href="/misc/goto?guid=4958992783013904353">@MengjueW</a></li>     <li>Export SwipeableListView component. (<a href="/misc/goto?guid=4958992784084570077">a2c6a7b</a>) - <a href="/misc/goto?guid=4958992784178012325">@chenxsan</a></li>     <li>Implement TextInput onContentSizeChange (<a href="/misc/goto?guid=4958992784260161932">2537157</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>Better error message when trying to parse a empty body in fetch (<a href="/misc/goto?guid=4958992784388887322">eeb9cd8</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>     <li>Provide RTL support for new Navigator -- Make RTL works in NUX (<a href="/misc/goto?guid=4958992784488678386">38a6eec</a>) - <a href="/misc/goto?guid=4958992783013904353">@MengjueW</a></li>     <li>Open in editor button for yellow box (<a href="/misc/goto?guid=4958992784588752910">c65eb4e</a>) - <a href="/misc/goto?guid=4958991716138311727">@skv-headless</a></li>     <li>Initial implementation of requestIdleCallback (<a href="/misc/goto?guid=4958992784708710094">18394fb</a>, <a href="/misc/goto?guid=4958992784800490100">5618c3f</a>) - <a href="/misc/goto?guid=4958990511927130042">@janicduplessis</a></li>     <li>Throw flow error when trying to access a style that is not defined on a stylesheet to catch typos and unused styles (<a href="/misc/goto?guid=4958992784897649845">a564af8</a>) - <a href="/misc/goto?guid=4958992784995006782">@brentvatne</a></li>    </ul>    <h3>Android</h3>    <p><strong>Bug修复</strong></p>    <ul>     <li>Fix padding with Text on Android (<a href="/misc/goto?guid=4958992785084999314">c3f2bba</a>) - <a href="/misc/goto?guid=4958990514563014587">@dmmiller</a></li>     <li>Fix timestamps on android touch events to use milliseconds, to be consistent with iOS (<a href="/misc/goto?guid=4958992785198996904">4f5c2b4</a>) -<a href="/misc/goto?guid=4958992371914346262">@mikelambert</a></li>     <li>Don't hard crash if you get a null stack trace in Android (<a href="/misc/goto?guid=4958992785332357075">b5c3550</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>     <li>Fix removing views from ViewPagerAndroid (<a href="/misc/goto?guid=4958992785428719466">b0c023c</a>) - <a href="/misc/goto?guid=4958991713873044574">@foghina</a></li>     <li>Fix handling of line height with inline images (<a href="/misc/goto?guid=4958992785560731635">c4ffc7d</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Fix Spacing lifecycle issue introduced by D3516692 (<a href="/misc/goto?guid=4958992785677899997">8c9f190</a>) - <a href="/misc/goto?guid=4958990514563014587">@dmmiller</a></li>     <li>Fix 'Unexpected EOF' in old bridge (<a href="/misc/goto?guid=4958992785786487632">6d3c7b8</a>) - <a href="/misc/goto?guid=4958990513239771728">@astreet</a></li>     <li>Fixed position of ripple-effect (<a href="/misc/goto?guid=4958992785884134799">d73446c</a>) - <a href="/misc/goto?guid=4958992785976489770">@noerK</a></li>     <li>Fixed the issue due to which js assets are not bundled in the apk when separate build for different CPU architectures is enabled (<a href="/misc/goto?guid=4958992786070249884">c0316c6</a>) - <a href="/misc/goto?guid=4958992786165175577">@kgritesh</a></li>     <li>Fix Android WebView additional schemes, e.g.- “tel:” (<a href="/misc/goto?guid=4958992786260754272">33a1f28</a>) - <a href="/misc/goto?guid=4958992786344554909">@sathyapriya-31</a></li>    </ul>    <p><strong>新功能和增强功能</strong></p>    <ul>     <li>Make getCurrentActivity public on ReactContext (<a href="/misc/goto?guid=4958992786432193019">7606564</a>) - <a href="/misc/goto?guid=4958992786527304739">@marcshilling</a></li>     <li>Add support for layout gravity to ToastAndroid (<a href="/misc/goto?guid=4958992786621519493">12ec213</a>) - <a href="/misc/goto?guid=4958992786714157468">@donyu</a></li>     <li>Support RefreshControl in RecyclerViewBackedScrollView in Android (<a href="/misc/goto?guid=4958992786808990407">0c0ac6e</a>) - <a href="/misc/goto?guid=4958992786925613701">@tegon</a></li>     <li>Support geolocation in android webview (<a href="/misc/goto?guid=4958992787048965603">b7bf24b</a>) - <a href="/misc/goto?guid=4958992787163878812">@jvassbo</a></li>     <li>Add new FileSourceProvider (<a href="/misc/goto?guid=4958992787275953434">5d06918</a>) - <a href="/misc/goto?guid=4958973479535982734">@tadeuzagallo</a></li>     <li>Add API to CatalystInstanceImpl for executing optimized bundle (<a href="/misc/goto?guid=4958992787403504207">1331e20</a>) - <a href="/misc/goto?guid=4958992787500902073">@michalgr</a></li>     <li>Allow apps to provide JSBundleLoader of their choice (<a href="/misc/goto?guid=4958992787603448315">e632025</a>) - <a href="/misc/goto?guid=4958992787500902073">@michalgr</a></li>    </ul>    <h3>iOS</h3>    <p><strong>Bug修复</strong></p>    <ul>     <li>Fix double completion callback in RCTJavascriptLoader (<a href="/misc/goto?guid=4958992787705681748">4aedcc7</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Wrap native module I18nManager with a new RCTI18nManager.js and fix current use of native module I18nManager (<a href="/misc/goto?guid=4958992787808004684">471ee87</a>) - <a href="/misc/goto?guid=4958992783013904353">@MengjueW</a></li>     <li>Fix misusage of NSUInteger * in RCTImageStoreManager (<a href="/misc/goto?guid=4958992787916141388">f317b9f</a>) - <a href="/misc/goto?guid=4958992788005011806">@jesseluo</a></li>     <li>Fix description of AlertIOS.prompt()'s parameter defaultValue. (<a href="/misc/goto?guid=4958992788101438471">f38d9a1</a>)</li>     <li>Provide correct initial value for AppState.currentState (<a href="/misc/goto?guid=4958992788208007472">68b0ce6</a>) - <a href="/misc/goto?guid=4958990516612778219">@rigdern</a></li>     <li>Fix TextInput stack overflow when pasting text in multiline input with maxlength (<a href="/misc/goto?guid=4958992788312703279">23e087f</a>) -<a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Create a CSSLayout CocoaPods subspec that preserves the header directories (<a href="/misc/goto?guid=4958992788425705243">ee89ffc</a>) - <a href="/misc/goto?guid=4958992370350327451">@ide</a></li>     <li>Fix RCTImageLoader's priority (<a href="/misc/goto?guid=4958992788563333959">ffb690f</a>) - <a href="/misc/goto?guid=4958991720306903797">@nathanajah</a></li>    </ul>    <p><strong>新功能和增强功能</strong></p>    <ul>     <li>Add the ability to pre-create the JavaScript thread with RCTJSCExecutor (<a href="/misc/goto?guid=4958992788731113126">39cb110</a>) - <a href="/misc/goto?guid=4958992788838427342">@adamjernst</a></li>     <li>Add responseType as a concept to RCTNetworking, send binary data as base64 (<a href="/misc/goto?guid=4958992788934656574">08c375f</a>) -<a href="/misc/goto?guid=4958992789035541443">@philikon</a></li>     <li>Add ability to customize error messages and stacks within the iOS redbox (<a href="/misc/goto?guid=4958992789128140434">9d2e6a2</a>) -<a href="/misc/goto?guid=4958992789216179150">@DavidGoldman</a></li>     <li>Add Image resizeMode center to iOS (<a href="/misc/goto?guid=4958992789302486093">bee1180</a>) - <a href="/misc/goto?guid=4958992789396978817">@aleclarson</a></li>     <li>Add more profiling markers to RCTJSCExecutor (<a href="/misc/goto?guid=4958992789475536596">63e0e6c</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>     <li>Add [RCTShadowView isCSSLeaf] for skipping css tree of children (<a href="/misc/goto?guid=4958992789570609458">0587c85</a>) - <a href="/misc/goto?guid=4958992789649772397">@emilsjolander</a></li>     <li>Expose a way to get the JSContext from a RCTJSCExecutor (<a href="/misc/goto?guid=4958992789759035237">5323b77</a>) - <a href="/misc/goto?guid=4958992788838427342">@adamjernst</a></li>     <li>Make bridge initialization configurable (<a href="/misc/goto?guid=4958992789883712000">4269003</a>) - <a href="/misc/goto?guid=4958991714926654571">@javache</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958992936980526771" rel="nofollow"><strong>v0.31.0 Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958992937074547561" rel="nofollow"><strong>v0.31.0 Source code</strong> (tar.gz)</a></li>     <li><a href="/misc/goto?guid=4958992937169160398" rel="nofollow"><strong>v0.32.0-rc.0 Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958992937271402790" rel="nofollow"><strong>v0.32.0-rc.0 Source code</strong> (tar.gz)</a></li>    </ul>    <p> </p>    <p> </p>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/4ce27bac">http://www.open-open.com/news/view/4ce27bac</a><br />  </p>