UNPKG

@ant-design/react-native

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

185 lines (115 loc) 7.48 kB
--- order: 2 title: 更新日志 toc: false --- `@ant-design/react-native` 严格遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。 #### 发布周期 - 修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布) - 次版本号:每月发布一个带有新特性的向下兼容的版本。 - 主版本号:含有破坏性更新和新特性,不在发布周期内。 --- ### 4.0.0 `2020-06-14` - Toast 重构,现在支持配置 [pull/911](https://github.com/ant-design/ant-design-mobile-rn/pull/911) 感谢 [@helsonxiao](https://github.com/helsonxiao) - 添加`es_ES` 本地化支持 [pull/916](https://github.com/ant-design/ant-design-mobile-rn/pull/916) - 添加`pt_BR` 本地化支持 [pull/802](https://github.com/ant-design/ant-design-mobile-rn/pull/802) - 修复`UNSAFE_` 警告 [commit](https://github.com/ant-design/ant-design-mobile-rn/commit/8fe842d57609cfc9de55453d15f26b907d0814f7) - 使用`@react-native-community/*`替换`React-Native` 内置组件 [pull/828](https://github.com/ant-design/ant-design-mobile-rn/pull/828) (**不兼容改动**,需要 linking 或者 auto linking) - 重构`Carousel` [pull/841](https://github.com/ant-design/ant-design-mobile-rn/pull/841) - 更新`react-native``0.62.0` - 完善`TypeScript` 类型定义 - 其他`bug`修复 ### 3.3.0 `2020-03-08` - `Icons` 升级到最新版 `2.0.0` ### 3.2.2 `2019-12-31` - `Modal.alert` `Modal.prompt` `Modal.operation` 现在返回一个`key`,可以通过`Portal.remove(key)` 手动关闭 ### 3.2.0 `2019-09-29` - 使用 `@react-native-community/viewpager` [#615](https://github.com/ant-design/ant-design-mobile-rn/pull/615) by [xinbowang](https://github.com/xinbowang) ### 3.1.15 `2019-08-27` - `ListItem` 组件增加一个`onLongPress`属性 [#619](https://github.com/ant-design/ant-design-mobile-rn/pull/619) by [Zixuan](https://github.com/nodece) ### 3.1.14 `2019-08-21` - `modal` 相关的组件增加一个`onBackHandler`属性 [#611](https://github.com/ant-design/ant-design-mobile-rn/pull/611) by [Tzng](https://github.com/Tzng) - 完善 `search-bar` 类型定义 ### 3.1.12 `2019-08-02` - `datepicker`组件增加一个`defaultDate`属性 [#593](https://github.com/ant-design/ant-design-mobile-rn/pull/593) ### 3.1.7 `2019-04-30` - 修复 `checkbox` 没有从主题里面读取变量 [#416](https://github.com/ant-design/ant-design-mobile-rn/issues/416) ### 3.1.5 `2019-03-20` - 修复 `tabs` 在 react-native@0.59.1 下报错 [#403](https://github.com/ant-design/ant-design-mobile-rn/issues/403) by [bestv2](https://github.com/bestv2) ### 3.1.4 `2019-03-15` - 修复 `tabs` swipeable 在 Android 下面不起作用 [#380](https://github.com/ant-design/ant-design-mobile-rn/issues/380) -`card` 组件的 `HeaderContent``HeaderExtra` 添加 Wrap style,便于定制 [#395](https://github.com/ant-design/ant-design-mobile-rn/issues/395) By [christtrc](https://github.com/ant-design/ant-design-mobile-rn/commits?author=christtrc) ### 3.1.3 `2019-02-19` - 修复使用 `babel-plugin-import`后找不到`babel-runtime/helpers/extends` [#346](https://github.com/ant-design/ant-design-mobile-rn/issues/346) - 修复`ios` 端的 `drawer` 组件,当返回的时候,会有短暂的停留在页面上 [#344](https://github.com/ant-design/ant-design-mobile-rn/issues/344) ### 3.1.1 `2019-01-30` 新春快乐 🐷 年吉祥 - `popover` 新增 `placement` 属性,支持配置不同位置 'top | right | bottom | left | auto' [#308](https://github.com/ant-design/ant-design-mobile-rn/issues/308) ### 3.1.0 `2019-01-27` - 重构`popover` [#298](https://github.com/ant-design/ant-design-mobile-rn/pull/298) - 删除了(`overlayStyle` `contextStyle` `name` `openMenu / closeMenu / toggleMenu` `style` )属性,重构后的版本支持多个 Popover 同时使用 - 使用方式请查看 popover 示例 - 修复`input-item` style 不应该应用于外层 container [#279](https://github.com/ant-design/ant-design-mobile-rn/issues/279) ### 3.0.6 `2019-01-15` - 修复`image-picker` 报错 `groupTypes` is not supported on Android [#264](https://github.com/ant-design/ant-design-mobile-rn/issues/264) - 修复`tab-bar` 不会更新 tab 内容 [#201](https://github.com/ant-design/ant-design-mobile-rn/issues/201) ### 3.0.5 `2019-01-03` - 修改`search-bar` icon size [#250](https://github.com/ant-design/ant-design-mobile-rn/pull/250) - 修复`input-item``iOS`下换行显示 [#249](https://github.com/ant-design/ant-design-mobile-rn/issues/249) - 修复`input-item` clear icon 在`android`下显示不正确 [#248](https://github.com/ant-design/ant-design-mobile-rn/issues/248) ### 3.0.4 `2018-12-28` - 修改`SegmentedControl`默认颜色为主题颜色 [#211](https://github.com/ant-design/ant-design-mobile-rn/pull/211) - 允许覆盖`Tabs` `tabBarUnderlineStyle` - 完善`SwipeAction` TypeScript 类型定义 [#230](https://github.com/ant-design/ant-design-mobile-rn/pull/230) - 完善 `Grid` 文档,修改`onClick`属性为`onPress` [#234](https://github.com/ant-design/ant-design-mobile-rn/pull/234) - 修复`Modal`循环引用警告 [#242](https://github.com/ant-design/ant-design-mobile-rn/pull/242) ### 3.0.0 `2018-12-15` **不兼容更新** 更多信息请查看 [#119](https://github.com/ant-design/ant-design-mobile-rn/issues/119) - 全新的包名 `@ant-design/react-native` 谢谢 [afc163](https://github.com/afc163) 提供 - 组件文件重命名,去掉了之前的`.native`后缀 - 更友好的主题支持,方便用户自定义,全新的 `Provider` - 重构了所有组件支持自定义局部样式 - 完善 TypeScript 类型定义 - Toast 现在支持在 Modal 之上显示 - bug 修复 - 完善文档,使用 codesandbox 以及 react-native-web 提供部分组件在线预览 - 重构 Icon 组件,现在使用 [ant-design-icons](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons-react-native) - Toast 移除了 `hide` 方法 - 修改`Grid``onClick`属性为`onPress` - 更多组件优化以及使用方式请查看文档 - 从 2.x 升级到 3.0.0 请查看[upgrade notes](https://rn.mobile.ant.design/docs/react/upgrade-notes-cn) ### 2.3.0 `2018-10-20` - `Input`添加`editable`. ([#78](https://github.com/ant-design/ant-design-mobile-rn/pull/78)) - 修复`Button`组件`activeStyle`属性为对象时不起作用的问题. ([#105](https://github.com/ant-design/ant-design-mobile-rn/pull/105)) - `Modal`支持多语言. ([#115](https://github.com/ant-design/ant-design-mobile-rn/pull/115)) - 西班牙语. ([#75](https://github.com/ant-design/ant-design-mobile-rn/pull/75)) - TypeScript 类型定义完善. ([#83](https://github.com/ant-design/ant-design-mobile-rn/pull/83)) ### 2.2.1 `2018-07-17` - Grid 组件单个项高度通过 column 来做计算. ([#61](https://github.com/ant-design/ant-design-mobile-rn/pull/61)) - 利用 normalize-css-color 替换 react-native 自带模块,修复 >= 0.56 下的报错. ([#57](https://github.com/ant-design/ant-design-mobile-rn/pull/57)) ### 2.2.0 `2018-06-15` - 拆分 antd-mobile react native 代码到 `antd-mobile-rn` 包。 - 特性: 使 `Tag` 组件支持长按。([#20](https://github.com/ant-design/ant-design-mobile-rn/issues/20)) ### 2.1.11 `2018-05-31` - [antd-mobile@2.1.11 及以前更新日志](https://github.com/ant-design/ant-design-mobile/blob/master/CHANGELOG.en-US.md#2111)