|
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/reason-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 | | - |
59 | | -# v0.10.0 - 2018-09-17 |
60 | | - |
61 | | -This is the biggest release we have done in a while. It is a result of hard work |
62 | | -done by |
63 | | -[`bs-react-native`](https://github.com/reasonml-community/reason-react-native/graphs/contributors) |
64 | | -and [`rebolt`](https://github.com/callstackincubator/rebolt/graphs/contributors) |
65 | | -teams. |
66 | | - |
67 | | -We have worked really hard on bringing you lots of missing components (e.g. |
68 | | -`TouchableNativeFeedback`, `ProgressBarAndroid` and more), improving existing |
69 | | -APIs (e.g. type-safe `Animated` API) and adding documentation to make your |
70 | | -getting started experience even smoother. We hope you will like the changes and |
71 | | -the direction the project is moving! There are many companies looking into |
72 | | -adopting Reason within their existing React & React Native projects right now. |
73 | | -Our focus is to address the use cases and needs of early users to increase the |
74 | | -overall adoption across the ecosystem. |
75 | | - |
76 | | -I also would like to thank all contributors that made this project possible. Due |
77 | | -to the complicated nature of merging `rebolt` and `bs-react-native` together, |
78 | | -some of the contribution attributions were lost in the process. Make sure to |
79 | | -check the |
80 | | -[full list our contributors](https://github.com/reasonml-community/reason-react-native/blob/master/CONTRIBUTORS.md) |
81 | | -for details. |
82 | | - |
83 | | -Meanwhile, see the changelog below for a full list of new features and breaking |
84 | | -changes. |
85 | | - |
86 | | -## Changelog |
87 | | - |
88 | | -> We have highlighted most significant changes below. You can see the full list |
89 | | -> of commits |
90 | | -> [here](https://github.com/reasonml-community/reason-react-native/compare/v0.9.0...v0.10.0). |
91 | | -
|
92 | | -- Added missing bindings to the following: |
93 | | - [`ToastAndroid`](https://github.com/reasonml-community/reason-react-native/commit/c00f02fe224fffc28fa7bb722a4bfcdbc262fd5f), |
94 | | - [`TimePickerAndroid`](https://github.com/reasonml-community/reason-react-native/pull/233), |
95 | | - [`PermissionsAndroid`](https://github.com/reasonml-community/reason-react-native/pull/230), |
96 | | - [`PickerIOS`](https://github.com/reasonml-community/reason-react-native/pull/215), |
97 | | - [`ViewPagerAndroid`](https://github.com/reasonml-community/reason-react-native/pull/220), |
98 | | - [`TouchableNativeFeedback`](https://github.com/reasonml-community/reason-react-native/pull/219), |
99 | | - [`SnapshotViewIOS`](https://github.com/reasonml-community/reason-react-native/pull/218), |
100 | | - [`ProgressBarAndroid`](https://github.com/reasonml-community/reason-react-native/pull/217), |
101 | | - [`MaskedView`](https://github.com/reasonml-community/reason-react-native/pull/216), |
102 | | - [`ProgressViewIOS`](https://github.com/reasonml-community/reason-react-native/pull/221), |
103 | | -- Added a brand new documentation, available |
104 | | - [here](http://reasonml-community.github.io/bs-react-native). We are working |
105 | | - hard on adding more any more examples. So far, |
106 | | - [`Animated`](https://reasonml-community.github.io/bs-react-native/BsReactNative/AnimatedRe-BsReactNative/) |
107 | | - module is the one that is most documented, |
108 | | -- Created [Discord server](https://discord.gg/eaU3Z6Q) dedicated to |
109 | | - `bs-react-native` and using Reason for writing mobile apps in general. Feel |
110 | | - free to join if you would like to take an active part in this project's |
111 | | - development or have any questions regarding using it in production, |
112 | | -- Improved typing in many modules to be more accurate with what React Native |
113 | | - expects, including |
114 | | - [`focus` and `blur` method on `TextInput`](https://github.com/reasonml-community/reason-react-native/commit/fd0ffc78ccc4e86ce9278d7a457db32cb0856dbf), |
115 | | - [`FlatList`'s `scrollToOffset`](https://github.com/reasonml-community/reason-react-native/commit/875605480825630daaa4445171a156b5f6e9a84c), |
116 | | - [`WebView`'s `onMessage`](https://github.com/reasonml-community/reason-react-native/commit/f65edea9ac0b84e7c956caecc7148ab90f46a491) |
117 | | - and |
118 | | - [more](https://github.com/reasonml-community/reason-react-native/commit/65af108bbcd9b8a98056e3ca4245bcfbed52b5e0), |
119 | | -- Created a brand new |
120 | | - [React Native generator](https://github.com/reasonml-community/reason-react-native/commit/bac87534cd78e73ae8f452414fe5fa69b4100202) |
121 | | - for easier experience getting started, |
122 | | -- Added |
123 | | - [Code of Conduct](https://github.com/reasonml-community/reason-react-native/blob/master/CONTRIBUTORS.md) |
124 | | - |
125 | | -## Breaking changes |
126 | | - |
127 | | -> All of the breaking changes happened inside `Animated` module. If you are not |
128 | | -> using it, you can safely upgrade and expect little to no changes required. |
129 | | -
|
130 | | -- `Easing` is now exported as a top-level module, |
131 | | -- `CompositeAnimation` is now an `Animation` module, |
132 | | -- There is no `Timing`, `Spring` and `Decay` module exported at a top-level. Use |
133 | | - `Animated.timing`, `Animated.spring` and `Animated.decay` instead, |
134 | | -- You no longer need to write `Animated.CompositeAnimation.start`. All methods |
135 | | - or this module are now available under `Animated` module. For example, you can |
136 | | - start an animation by writing `Animated.start`. This change aligns the API |
137 | | - with React Native. |
138 | | - |
139 | | -See |
140 | | -[`Animated` guide](https://reasonml-community.github.io/bs-react-native/BsReactNative/AnimatedRe-BsReactNative/) |
141 | | -for details on how to use it. |
142 | | - |
143 | | -## What happens with `Rebolt`? |
144 | | - |
145 | | -Nothing. Rebolt development will continue under this project umbrella, together, |
146 | | -with the community. We are discussing the `v2` version that plans to deliver |
147 | | -first-class Reason APIs instead of bindings. There are many exciting |
148 | | -opportunities and challenges ahead. If you'd like to get involved, let us know |
149 | | -on Discord (linked above). As soon as any plans or decisions are made, we will |
150 | | -be publishing them here and on Twitter. |
151 | | - |
152 | | -# v0.10.0-rc0 - 2018-09-17 |
153 | | - |
154 | | -Preview of upcoming version with goodies from Rebolt. We are working on |
155 | | -migrating the documentation and last pieces of the information. Meanwhile, feel |
156 | | -free to give this one a go. |
157 | | - |
158 | | -Article releted: |
159 | | - |
160 | | -- [Announcing Rebolt](https://blog.callstack.io/announcing-rebolt-207a1686a242) |
161 | | - (@grabbou) |
162 | | -- [Merging Rebolt v1 back to bs-react-native](https://github.com/reasonml-community/reason-react-native/issues/204) |
163 | | - (@knowbody) |
164 | | - |
165 | | -### Fixed 🔧 |
166 | | - |
167 | | -- Fix text input callbacks (@mciparelli) |
168 | | -- Fix `whileEditing` to use kebab case (@shritesh) |
169 | | -- Update `bs-platform` and `ReasonReact` (@eldh) |
170 | | -- Fix `WebView` event types (@Rikkiabb) |
171 | | - |
172 | | -# v0.9.0 - 2018-08-21 |
173 | | - |
174 | | -### Added 🚀 |
175 | | - |
176 | | -- Friendly disclaimer about missing components (@wokalski) |
177 | | - |
178 | | -### Fixed 🔧 |
179 | | - |
180 | | -- Fix text input callbacks (@mciparelli) |
181 | | -- Fix `whileEditing` to use kebab case (@shritesh) |
182 | | -- Update `bs-platform` and `ReasonReact` (@eldh) |
183 | | -- Fix `WebView` event types (@Rikkiabb) |
184 | | - |
185 | | -# v0.8.0 - 2018-04-18 |
186 | | - |
187 | | -### Added 🚀 |
188 | | - |
189 | | -- Add more `WebView` bindings (@kristinns) |
190 | | -- Add `sourceHtml` and `sourceUri` in `WebView` (@kristinns) |
191 | | -- Fix README with new Styles API (@thavishp) |
192 | | - |
193 | | -### Fixed 🔧 |
194 | | - |
195 | | --Fix incorrect skew bindings (@medson10) -Update `bs-platform` (@Gregoirevda) |
196 | | - |
197 | | -# v0.7.0 - 2018-04-18 |
198 | | - |
199 | | -### Added 🚀 |
200 | | - |
201 | | -- Geolocation module (@mobily) |
202 | | -- Changed `marginTop` from `integer` to `float` (@arthur31416) |
203 | | -- Fix typo in CONTRIBUTING.md (@maarekj) |
204 | | -- Updated docs (@grsabreu) (@Gregoirevda) |
205 | | - |
206 | | -### Fixed 🔧 |
207 | | - |
208 | | -- Supported orientation now takes list of orientations (@leomayleomay) |
209 | | -- `Animated.Easing.in` fix (@mcanobbio) |
210 | | -- Missing props on `Flatlist` (@mcanobbio) |
211 | | -- Missing props on `TouchableOpacity` (@laynor) |
212 | | -- Missing props on `SectionList` (@bjornj12) (@johannth) |
213 | | - |
214 | | -### Breaking changes 💥 |
215 | | - |
216 | | -- Colors are now strings or interpolated which allows you to animate colors |
217 | | - (@bjornj12) |
218 | | - |
219 | | -# v0.6.0 - 2017-12-15 |
220 | | - |
221 | | -### Added 🚀 |
222 | | - |
223 | | -- Upgrade examples following to the SDK changes (@bohdan-hulha) |
224 | | -- Changed margin top from integer to float (@arthur31416) |
225 | | -- Fix typo in CONTRIBUTING.md (@maarekj) |
226 | | -- Add `DatePickerAndroid` API (@tonyhb) |
227 | | -- `ActionSheetIOS` — bindings (@mobily) |
228 | | -- `Clipboard` — bindings (@mobily) |
229 | | -- `CameraRoll` — bindings (@mobily) |
230 | | -- Add `NetInfo` bindings (@mobily) |
231 | | -- Add `Animated.Easing` bindings (@gilbert) |
232 | | -- Add CI for RNTester (@mobily) |
233 | | -- Update `bs-platform` to `2.2.0` (@flash-gordon) |
234 | | - |
235 | | -### Breaking changes 💥 |
236 | | - |
237 | | -- Fix section type within `renderSectionHeader` and `renderSectionFooter` |
238 | | - (@tonyhb) (#103) |
239 | | -- Support non-standard Platform.OS identifiers & iOS idioms (@ryanartecona) |
240 | | - (#123) |
241 | | -- creating accessory type that includes section to match react-native s… |
242 | | - (@bjornj12) (#130) |
243 | | - |
244 | | -### Fixed 🔧 |
245 | | - |
246 | | -- Fix interface to `PanResponder.t` (@johannth) |
247 | | -- TextInput (returnKeyType) (@mobily) |
248 | | -- Fix `mimimumZoomScale` typo (=> minimumZoomScale) (@MoOx) |
249 | | -- Run RNTester 🎉 (@mobily) |
250 | | -- Make private types under TypesRN and Props public (@jamieparkinson) |
251 | | -- Fix `onEndReached` props on `FlatList` and `SectionList` (@maarekj) |
252 | | -- Add analytic spring parameters to AnimatedRe's Spring (@jamieparkinson) |
253 | | - |
254 | | -# v0.5.0 - 2017-12-15 |
255 | | - |
256 | | -### Added 🚀 |
257 | | - |
258 | | -- Docs updated to Reason 3 (@Mikk36) |
259 | | -- Add `refmt: 3` to bsconfig to silent warning (@MarcelCutts) |
260 | | -- Troubleshooting section in docs (@rrdelaney) |
261 | | -- Add `onLongPress` to `touchableWithoutFeedback` (@kristinns) |
262 | | -- Make RNEvent API public (@gunnigylfa) |
263 | | -- Document gotcha for `react-native-scripts` (@RobertPaul01) |
264 | | -- Add accessibility labels to touchables (@gunnigylfa) |
265 | | -- Update guide |
266 | | - |
267 | | -### Breaking changes 💥 |
268 | | - |
269 | | -- `reason-react` is now a peerDependency (@arnarthor) |
270 | | -- Namespaces (open ReactNative becomes open BsReactNative)(@arnarthor) |
271 | | -- New styles api (@wokalski) (@MoOx) The style API has been changed from using |
272 | | - polymorphic variants so things like |
273 | | - `flexDirection(`row)`are now`flexDirection(Row)`. It also changes stringly typed values like`padding`,`margin`,`height`,`width`, etc to have typesafe definitions like`margin(Pt(10.))`or`margin(Pct(10.))`. |
274 | | -- Modify `fontSize` to be able to animate it (@gunnigylfa) This changes |
275 | | - `fontSize(14.)` to `fontSize(Float(14.))` |
276 | | - |
277 | | -# v0.3.0 - 2017-10-28 |
278 | | - |
279 | | -- Bugfixes and missing props from components |
280 | | -- Fixing types of `maximumValue` and `minimumValue` from Slider component |
281 | | - (#79) - @Denommus |
282 | | -- Makes `Animated.Scrollview.onScrollUpdate` use `NativeScrollEvent` (#78) - |
283 | | - @alliannas |
284 | | -- Tab bar item bug (#84) - @wokalski |
285 | | -- Add missing props to `FlatList` (#83) - @arnarthor |
286 | | - |
287 | | -# v0.2.1 - 2017-09-26 |
288 | | - |
289 | | -- multiple bug fixes from (@gunnigylfa), (@kristinns) , (@wokalski) |
290 | | - |
291 | | -# v0.2.0 - 2017-09-03 |
292 | | - |
293 | | -- updates all components to be compatible with Reason React 0.2.4 thanks to |
294 | | - (@ulrikstrid) |
295 | | -- several small bug fixes from @szymonzmyslony, @kristinns and (@mikkel) |
296 | | -- bumped `bs-platform` to `1.9.1` and enabled `bs-super-errors` |
297 | | - |
298 | | -# v0.1.0 - 2017-08-04 |
299 | | - |
300 | | -- Initial NPM release |
0 commit comments