|
| 1 | +# v0.11.0 - 2019-04-15 |
| 2 | + |
| 3 | +Good news, maintenance of this bindings have been taken by a new crew. While we |
| 4 | +are working hard on new, zero-cost & more straight forward bindings that will |
| 5 | +works nicely with |
| 6 | +[reason-react 0.7.0](https://reasonml.github.io/reason-react/blog/2019/04/10/react-hooks) |
| 7 | +(stay tuned for more soon), we are publishing is a new release that will brings |
| 8 | +you some latest things before we start to breaks things a little bit (but don’t |
| 9 | +worry we have a migration plan, just because, like everybody, we have to migrate |
| 10 | +various codebases). |
| 11 | + |
| 12 | +This release mostly add some missing stuffs, and fixes some. |
| 13 | + |
| 14 | +## Changelog |
| 15 | + |
| 16 | +> We have highlighted most significant changes below. You can see the full list |
| 17 | +> of commits |
| 18 | +> [here](https://github.com/reasonml-community/bs-react-native/compare/v0.10.0...v0.11.0). |
| 19 | +
|
| 20 | +### Notable changes |
| 21 | + |
| 22 | +- Fully compatible with bs-platform 4.0.18 & reason-react 0.6.0 |
| 23 | +- A lots of things has been documented |
| 24 | +- Deprecate & replace Style.(flatten|concat) with |
| 25 | + (array|arrayOption|list|listOption) |
| 26 | +- Deprecate Style.combine as it's unsafe |
| 27 | +- New `Style.transform` function so you can choose transform order & deprecate |
| 28 | + `Style.Transform` methods |
| 29 | +- View props: support `accessibilityRole`, `accessibilityStates`, |
| 30 | + `accessibilityHint`, `accessibilityIgnoresInvertColors` on lots of components |
| 31 | + |
| 32 | +### More in details |
| 33 | + |
| 34 | +- ActionSheetIOS: fix options conversion |
| 35 | +- Animated: fix annotations |
| 36 | +- FlatList: add `listEmptyComponent`, `refreshControl`, `stickyHeaderIndices`, |
| 37 | + `contentInsetAdjustmentBehavior`, `scrollEventThrottle`, |
| 38 | + `listFooterComponentStyle` & `listHeaderComponentStyle` |
| 39 | +- Image: `resolveAssetSource` |
| 40 | +- InteractionManager |
| 41 | +- Platform: add `select` |
| 42 | +- ScrollView: remove `onScrollAnimationEnd`, add `snapToInterval`, |
| 43 | + `onScrollBeginDrag`, `onScrollEndDrag`, `onMomentumScrollBegin`, |
| 44 | + `onMomentumScrollEnd`, `contentInsetAdjustmentBehavior` |
| 45 | +- Style: remove `justifyContent(Stretch)` (unsupported by Yoga), add |
| 46 | + `justifyContent(SpaceEvenly)`, `flexBasis(Auto)`, new `transform` function |
| 47 | +- Switch: remove `onTintColor`, `thumbTintColor` & `tintColor`, add `trackColor` |
| 48 | + (via `trackColorTrue` & `trackColorFalse` props), `thumbColor` and |
| 49 | + `iosBackgroundColor` |
| 50 | +- Text: add `accessibilityHint`, `accessibilityLabel` |
| 51 | +- TextInput: fixes `onChange`, `onEndEditing`, `autoComplete` |
| 52 | +- Touchables: add `testID`, fix `on(Long)Press(In|Out)` events |
| 53 | +- TabBarIOS: fix systemIcon `bookmarks` |
| 54 | +- View: `accessibilityRole`, `accessibilityStates`, `accessibilityHint`, |
| 55 | + `accessibilityIgnoresInvertColors` |
| 56 | +- react-native-template-reason: Enhance the react native template so you don't |
| 57 | + have a weird black screen. Looks more like standard RN hello world |
| 58 | + |
1 | 59 | # v0.10.0 - 2018-09-17 |
2 | 60 |
|
3 | 61 | This is the biggest release we have done in a while. It is a result of hard work |
|
0 commit comments