Skip to content

Latest commit

 

History

History
300 lines (235 loc) · 12.5 KB

CHANGELOG.md

File metadata and controls

300 lines (235 loc) · 12.5 KB

v0.11.0 - 2019-04-15

Good news, maintenance of this bindings have been taken by a new crew. While we are working hard on new, zero-cost & more straight forward bindings that will works nicely with reason-react 0.7.0 (stay tuned for more soon), we are publishing is a new release that will brings you some latest things before we start to breaks things a little bit (but don’t worry we have a migration plan, just because, like everybody, we have to migrate various codebases).

This release mostly add some missing stuffs, and fixes some.

Changelog

We have highlighted most significant changes below. You can see the full list of commits here.

Notable changes

  • Fully compatible with bs-platform 4.0.18 & reason-react 0.6.0
  • A lots of things has been documented
  • Deprecate & replace Style.(flatten|concat) with (array|arrayOption|list|listOption)
  • Deprecate Style.combine as it's unsafe
  • New Style.transform function so you can choose transform order & deprecate Style.Transform methods
  • View props: support accessibilityRole, accessibilityStates, accessibilityHint, accessibilityIgnoresInvertColors on lots of components

More in details

  • ActionSheetIOS: fix options conversion
  • Animated: fix annotations
  • FlatList: add listEmptyComponent, refreshControl, stickyHeaderIndices, contentInsetAdjustmentBehavior, scrollEventThrottle, listFooterComponentStyle & listHeaderComponentStyle
  • Image: resolveAssetSource
  • InteractionManager
  • Platform: add select
  • ScrollView: remove onScrollAnimationEnd, add snapToInterval, onScrollBeginDrag, onScrollEndDrag, onMomentumScrollBegin, onMomentumScrollEnd, contentInsetAdjustmentBehavior
  • Style: remove justifyContent(Stretch) (unsupported by Yoga), add justifyContent(SpaceEvenly), flexBasis(Auto), new transform function
  • Switch: remove onTintColor, thumbTintColor & tintColor, add trackColor (via trackColorTrue & trackColorFalse props), thumbColor and iosBackgroundColor
  • Text: add accessibilityHint, accessibilityLabel
  • TextInput: fixes onChange, onEndEditing, autoComplete
  • Touchables: add testID, fix on(Long)Press(In|Out) events
  • TabBarIOS: fix systemIcon bookmarks
  • View: accessibilityRole, accessibilityStates, accessibilityHint, accessibilityIgnoresInvertColors
  • react-native-template-reason: Enhance the react native template so you don't have a weird black screen. Looks more like standard RN hello world

v0.10.0 - 2018-09-17

This is the biggest release we have done in a while. It is a result of hard work done by bs-react-native and rebolt teams.

We have worked really hard on bringing you lots of missing components (e.g. TouchableNativeFeedback, ProgressBarAndroid and more), improving existing APIs (e.g. type-safe Animated API) and adding documentation to make your getting started experience even smoother. We hope you will like the changes and the direction the project is moving! There are many companies looking into adopting Reason within their existing React & React Native projects right now. Our focus is to address the use cases and needs of early users to increase the overall adoption across the ecosystem.

I also would like to thank all contributors that made this project possible. Due to the complicated nature of merging rebolt and bs-react-native together, some of the contribution attributions were lost in the process. Make sure to check the full list our contributors for details.

Meanwhile, see the changelog below for a full list of new features and breaking changes.

Changelog

We have highlighted most significant changes below. You can see the full list of commits here.

Breaking changes

All of the breaking changes happened inside Animated module. If you are not using it, you can safely upgrade and expect little to no changes required.

  • Easing is now exported as a top-level module,
  • CompositeAnimation is now an Animation module,
  • There is no Timing, Spring and Decay module exported at a top-level. Use Animated.timing, Animated.spring and Animated.decay instead,
  • You no longer need to write Animated.CompositeAnimation.start. All methods or this module are now available under Animated module. For example, you can start an animation by writing Animated.start. This change aligns the API with React Native.

See Animated guide for details on how to use it.

What happens with Rebolt?

Nothing. Rebolt development will continue under this project umbrella, together, with the community. We are discussing the v2 version that plans to deliver first-class Reason APIs instead of bindings. There are many exciting opportunities and challenges ahead. If you'd like to get involved, let us know on Discord (linked above). As soon as any plans or decisions are made, we will be publishing them here and on Twitter.

v0.10.0-rc0 - 2018-09-17

Preview of upcoming version with goodies from Rebolt. We are working on migrating the documentation and last pieces of the information. Meanwhile, feel free to give this one a go.

Article releted:

Fixed 🔧

  • Fix text input callbacks (@mciparelli)
  • Fix whileEditing to use kebab case (@shritesh)
  • Update bs-platform and ReasonReact (@eldh)
  • Fix WebView event types (@Rikkiabb)

v0.9.0 - 2018-08-21

Added 🚀

  • Friendly disclaimer about missing components (@wokalski)

Fixed 🔧

  • Fix text input callbacks (@mciparelli)
  • Fix whileEditing to use kebab case (@shritesh)
  • Update bs-platform and ReasonReact (@eldh)
  • Fix WebView event types (@Rikkiabb)

v0.8.0 - 2018-04-18

Added 🚀

  • Add more WebView bindings (@kristinns)
  • Add sourceHtml and sourceUri in WebView (@kristinns)
  • Fix README with new Styles API (@thavishp)

Fixed 🔧

-Fix incorrect skew bindings (@medson10) -Update bs-platform (@Gregoirevda)

v0.7.0 - 2018-04-18

Added 🚀

  • Geolocation module (@mobily)
  • Changed marginTop from integer to float (@arthur31416)
  • Fix typo in CONTRIBUTING.md (@maarekj)
  • Updated docs (@grsabreu) (@Gregoirevda)

Fixed 🔧

  • Supported orientation now takes list of orientations (@leomayleomay)
  • Animated.Easing.in fix (@mcanobbio)
  • Missing props on Flatlist (@mcanobbio)
  • Missing props on TouchableOpacity (@laynor)
  • Missing props on SectionList (@bjornj12) (@johannth)

Breaking changes 💥

  • Colors are now strings or interpolated which allows you to animate colors (@bjornj12)

v0.6.0 - 2017-12-15

Added 🚀

  • Upgrade examples following to the SDK changes (@bohdan-hulha)
  • Changed margin top from integer to float (@arthur31416)
  • Fix typo in CONTRIBUTING.md (@maarekj)
  • Add DatePickerAndroid API (@tonyhb)
  • ActionSheetIOS — bindings (@mobily)
  • Clipboard — bindings (@mobily)
  • CameraRoll — bindings (@mobily)
  • Add NetInfo bindings (@mobily)
  • Add Animated.Easing bindings (@gilbert)
  • Add CI for RNTester (@mobily)
  • Update bs-platform to 2.2.0 (@flash-gordon)

Breaking changes 💥

  • Fix section type within renderSectionHeader and renderSectionFooter (@tonyhb) (#103)
  • Support non-standard Platform.OS identifiers & iOS idioms (@ryanartecona) (#123)
  • creating accessory type that includes section to match react-native s… (@bjornj12) (#130)

Fixed 🔧

  • Fix interface to PanResponder.t (@johannth)
  • TextInput (returnKeyType) (@mobily)
  • Fix mimimumZoomScale typo (=> minimumZoomScale) (@MoOx)
  • Run RNTester 🎉 (@mobily)
  • Make private types under TypesRN and Props public (@jamieparkinson)
  • Fix onEndReached props on FlatList and SectionList (@maarekj)
  • Add analytic spring parameters to AnimatedRe's Spring (@jamieparkinson)

v0.5.0 - 2017-12-15

Added 🚀

  • Docs updated to Reason 3 (@Mikk36)
  • Add refmt: 3 to bsconfig to silent warning (@MarcelCutts)
  • Troubleshooting section in docs (@rrdelaney)
  • Add onLongPress to touchableWithoutFeedback (@kristinns)
  • Make RNEvent API public (@gunnigylfa)
  • Document gotcha for react-native-scripts (@RobertPaul01)
  • Add accessibility labels to touchables (@gunnigylfa)
  • Update guide

Breaking changes 💥

  • reason-react is now a peerDependency (@arnarthor)
  • Namespaces (open ReactNative becomes open BsReactNative)(@arnarthor)
  • New styles api (@wokalski) (@MoOx) The style API has been changed from using polymorphic variants so things like flexDirection(row)are nowflexDirection(Row). It also changes stringly typed values likepadding,margin,height,width, etc to have typesafe definitions likemargin(Pt(10.))ormargin(Pct(10.))`.
  • Modify fontSize to be able to animate it (@gunnigylfa) This changes fontSize(14.) to fontSize(Float(14.))

v0.3.0 - 2017-10-28

  • Bugfixes and missing props from components
  • Fixing types of maximumValue and minimumValue from Slider component (#79) - @Denommus
  • Makes Animated.Scrollview.onScrollUpdate use NativeScrollEvent (#78) - @alliannas
  • Tab bar item bug (#84) - @wokalski
  • Add missing props to FlatList (#83) - @arnarthor

v0.2.1 - 2017-09-26

  • multiple bug fixes from (@gunnigylfa), (@kristinns) , (@wokalski)

v0.2.0 - 2017-09-03

  • updates all components to be compatible with Reason React 0.2.4 thanks to (@ulrikstrid)
  • several small bug fixes from @szymonzmyslony, @kristinns and (@mikkel)
  • bumped bs-platform to 1.9.1 and enabled bs-super-errors

v0.1.0 - 2017-08-04

  • Initial NPM release