necolas/react-native-web
### [`v0.15.0`](https://togithub.com/necolas/react-native-web/releases/0.15.0)
[Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.13...0.15.0)
This release introduces improved accessibility features and new documentation. It includes relatively minor breaking changes.
#### Breaking changes
- React 17 is a peer dependency.
- The `I18nManager` API has removed the `isRTL` and `doLeftAndRightSwapInRTL` properties. They must now be accessed using the `getConstants()` method, which returns an object with the same properties. This was an undocumented breaking change in a previous version of React Native.
- The `focusable` prop now determines whether an element appears in the keyboard tab flow.
- The `hrefAttrs` prop has been added to `Text` and `View`. The value is an object with `rel`, `target`, and `download` properties. This replaces the undocumented `rel` and `target` props.
- The automatic addition of `rel="noopener"` to anchors has been removed.
- The `Linking.openURL(url)` API now opens the url in new tab.
- The `Linking` API now includes the `addEventListener` methods.
- The deprecated `importantForAccessibility` prop has been removed. Use `accessibilityHidden` instead.
- The undocumented `data-focusable` attribute has also been removed from rendered DOM nodes.
#### New features
- Pressable has added `onHoverIn` and `onHoverOut` props.
- All ARIA properties are now supported via equivalent `accessibility*` props. The undocumented support for `aria-*` prop forwarding remains and will be removed in a future version.
- Additional `accessibilityRole` values are mapped to HTML element equivalents.
- CSS `aspectRatio` property is now available in browsers with support.
#### Deprecations
- The `accessible` prop is deprecated and will be removed in the next minor release. React Native for Web will follow React Native for Windows/macOS in removing this prop. Use `focusable` instead.
### Documentation
This release will include a rewrite of the documentation site and interactive examples. A preview of the documentation can be found below:
#####
![image](https://user-images.githubusercontent.com/239676/107107413-9af74480-67e5-11eb-8fcd-49cffced46fe.png)
The examples will be embedded in relevant pages via a Next.js-powered codesandbox, making it easy for people to fork the example app from their browsers. At the moment the examples are copy-paste from the previous docs but will get a bit of a visual makeover later.
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
~0.14.0
->~0.15.0
Release Notes
necolas/react-native-web
### [`v0.15.0`](https://togithub.com/necolas/react-native-web/releases/0.15.0) [Compare Source](https://togithub.com/necolas/react-native-web/compare/0.14.13...0.15.0) This release introduces improved accessibility features and new documentation. It includes relatively minor breaking changes. #### Breaking changes - React 17 is a peer dependency. - The `I18nManager` API has removed the `isRTL` and `doLeftAndRightSwapInRTL` properties. They must now be accessed using the `getConstants()` method, which returns an object with the same properties. This was an undocumented breaking change in a previous version of React Native. - The `focusable` prop now determines whether an element appears in the keyboard tab flow. - The `hrefAttrs` prop has been added to `Text` and `View`. The value is an object with `rel`, `target`, and `download` properties. This replaces the undocumented `rel` and `target` props. - The automatic addition of `rel="noopener"` to anchors has been removed. - The `Linking.openURL(url)` API now opens the url in new tab. - The `Linking` API now includes the `addEventListener` methods. - The deprecated `importantForAccessibility` prop has been removed. Use `accessibilityHidden` instead. - The undocumented `data-focusable` attribute has also been removed from rendered DOM nodes. #### New features - Pressable has added `onHoverIn` and `onHoverOut` props. - All ARIA properties are now supported via equivalent `accessibility*` props. The undocumented support for `aria-*` prop forwarding remains and will be removed in a future version. - Additional `accessibilityRole` values are mapped to HTML element equivalents. - CSS `aspectRatio` property is now available in browsers with support. #### Deprecations - The `accessible` prop is deprecated and will be removed in the next minor release. React Native for Web will follow React Native for Windows/macOS in removing this prop. Use `focusable` instead. ### Documentation This release will include a rewrite of the documentation site and interactive examples. A preview of the documentation can be found below: #####Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.