Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react-native-web to v0.19.12 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 10, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-native-web 0.14.8 -> 0.19.12 age adoption passing confidence

Release Notes

necolas/react-native-web (react-native-web)

v0.19.12

Compare Source

v0.19.11

Compare Source

v0.19.10

Compare Source

v0.19.9

Compare Source

v0.19.8

Compare Source

v0.19.7

Compare Source

v0.19.6

Compare Source

v0.19.5

Compare Source

v0.19.4

Compare Source

v0.19.3

Compare Source

v0.19.2

Compare Source

v0.19.1

Compare Source

v0.19.0: 0.19

Compare Source

Best compatibility: react-native@>=0.71

React 18 support

  • [change] React 18 createRoot support.
  • [change] Update Animated to support React 18, including new AnimatedColor node.
  • [change] Update ScrollView to Class component for React 18 support.

New features

  • [add] Map 'button' and 'paragraph' role to equivalent semantic HTML elements.
  • [add] Add support for aria-* props.
  • [add] Add support for role prop.
  • [add] Add support for id prop.
  • [add] Add support for tabIndex prop (only values 0 and -1).
  • [add] Support for PointerEvent props.
  • [add] Add support for pointerEvents style.
  • [add] Add support for userSelect style.
  • [add] Add polyfilled support for W3C logical styles (e.g., insetInline.)
  • [add] Add <Image> support for tintColor prop.
  • [add] Add <TextInput> support for enterKeyHint prop.
  • [add] Add <TextInput> support for inputMode prop.
  • [add] Add <TextInput> support for readOnly prop.
  • [add] Add <TextInput> support for rows prop.

Deprecations

  • [change] Deprecate Touchable* components. Use Pressable.
  • [change] Deprecate Button component. Use Pressable.
  • [change] Deprecate StyleSheet.compose(). Use style array syntax.
  • [change] Deprecate accessibility* props. Use aria-* and role props.
  • [change] Deprecate nativeId prop. Use id prop.
  • [change] Deprecate focusable props. Use tabIndex prop.
  • [change] Deprecate pointerEvents prop. Use pointerEvents style.
  • [change] Deprecate selectable prop. Use userSelect style.
  • [change] Deprecate fontVariant style array values. Use space-separated string values.
  • [change] Deprecate textAlignVertical style. Use verticalAlign style.
  • [change] Deprecate transform style array values. Use space-separated string functions.
  • [change] Deprecate non-standard logical styles, e.g., 'marginStart'.
  • [change] Deprecate <Image> style resizeMode. Use resizeMode prop.
  • [change] Deprecate <Image> style tintColor. Use tintColor prop.
  • [change] Deprecate <TextInput> prop keyboardType. Use inputMode prop.
  • [change] Deprecate <TextInput> prop returnKeyType. Use enterKeyHint prop.
  • [change] Deprecate <TextInput> prop editable. Use readOnly prop.
  • [change] Deprecate <TextInput> prop numberOfLines. Use rows prop.
  • [change] Deprecate BackHandler API.

Breaking changes

  • [change] Remove previously deprecated Android/iOS platform-specific exports.
  • [change] Remove previously deprecated setNativeProps API.
  • [change] Remove previously deprecated AppState.removeListener API.
  • [change] <Text> is position:relative by default.
  • [change] Add task queue for InteractionManager.

Fixes

  • [fix] Animated now works with compiled styles.
  • [fix] Text inheritance of textAlign.

v0.18.12

Compare Source

v0.18.11

Compare Source

v0.18.10

Compare Source

v0.18.9

Compare Source

v0.18.8

Compare Source

v0.18.7

Compare Source

v0.18.6

Compare Source

v0.18.5

Compare Source

v0.18.4

Compare Source

v0.18.3

Compare Source

v0.18.2

Compare Source

v0.18.1

Compare Source

v0.18.0: 0.18

Compare Source

Breaking changes

  • Browser support has been reduced. Changes as follows: Safari 10.1+, Edge (Chromium), no IE, no legacy Android browser.
  • Styles are inserted on module eval, not component render. This is needed to account for changes to rendering in React 18.
  • Style sheets rendered on the server will now include styles from all the eval-ed modules, rather than only the styles produced by the initial render.
  • StyleSheet.create() is now the identify function, returning the input style objects. Previously, it replaced styles with numeric ids. This improves compatibility with React Native, but accessing the returned style objects at runtime is still not recommended as it can prevent static extraction to CSS. (#​2068)
  • StyleSheet.getSheet() can be used on the server to retrieve the current style sheet as a CSS string. (#​2196)
  • I18nManager is now a mock API included only for compatibility with React Native. The ability to flip left/right properties or values has now been removed entirely (use start/end instead). See below for new localization APIs.
  • Inline styles are no longer automatically vendor-prefixed. This improves inline style performance and discourages use of inline styles. This should have little effect in practice if your app is predominantly using StyleSheet.create().
  • The deprecated accessible, accessibilityState, and accessibilityValue props have been removed.
  • The :focus-visible polyfill has been removed, as by default modern browsers no longer show focus rings for pointer interactions.
  • VirtualizedList, FlatList, and SectionList vendor components have been updated to match latest React Native. (#​2241) Thanks to @​DavidRieman.
  • The legacy jest preset and snapshot serializer has been removed from the npm package.
  • The unstable_createElement API has changed. Children are no longer accepted as the 3rd argument, they must be included in the props as the 2nd argument. The 3rd argument is now an options object with a field to set the expected writing direction ({ writingDirection }).

New features

  • Localized LTR/RTL layouts can now be nesting to arbitrary depths simply by setting the dir or lang prop on a component. By default, layouts are rendering RTL. To render RTL you must set dir="rtl" on an outer element rendered by React.
  • Localized LTR/RTL layouts can be switched dynamically at runtime.
  • useLocaleContext is a new export API. Use it to query a component's locale and writing direction context for fine-grained control over localized layout.
  • Rendering into multiple windows and shadow roots in now supported. (#​1517, #​2138)
  • Extraction to static CSS and consumption of external CSS is now possible but not yet recommended. The StyleSheet runtime can consume any styles that match an expected format, but StyleSheet.flatten cannot work with extracted styles. (See below for more details.)

Fixes

  • Fixes static and dynamic shortform / longform deduplication. (#​2007)
  • Display the focus ring on CheckBox and Switch elements. (#​2242)
  • Prevent href navigation for disabled Pressables and Touchables. (#​2299)
  • Linking.openURL supports target value. (#​2277)

Notes

StyleSheet runtime

StyleSheet has been rewritten to better separate the runtime from the compiler. The performance of the new merging runtime is on par with using css-modules. The core runtime is a standalone package called styleQ; refer to the styleQ documentation for more details.

image

The performance of inline styles has also been significantly improved, although StyleSheet still has to perform extra work to transform non-standard React Native styles and polyfill logical styles.

image

The StyleSheet import is now a standalone module. StyleSheet itself is a function that can be called to resolve styles to DOM className and style values, e.g.,

const [ className, inlineStyle ] = StyleSheet([ styles.root, prop.styles ])
StyleSheet extraction

One of the benefits behind the new architecture is that StyleSheet can resolve compiled styles that conform to the expected format, whether they are produced by the built-in compiler or an external source. However, this is not yet recommended, as explained below.

Style compilers must produce annotated objects that are treated as class name maps, and classes are de-duplicated based on whether they share the same key, e.g.,

{
  $$css: true,
  display: 'display-class',
  opacity: 'opacity-class'
}

This is the first step towards allowing 3rd party tools to extract styles to static CSS files, and optionally dropping the client-side compiler, without needing to integrate deeply with the StyleSheet runtime or having to modify props/prop values in the source code, i.e., only the StyleSheet.create() call needs transforming by the compiler.

The existence of the StyleSheet.flatten() API is a problem for build-time compiling of some styles. Components that flatten styles (e.g., Animated, Image) expect to be able to work with the source styles, and use the source values at runtime. A compiler that aims to extract all styles and have no runtime transform would also need to disallow the use of StyleSheet.flatten() entirely. A future release of React Native for Web may remove use of StyleSheet.flatten from internal implementations, but cannot prevent this API from being used in product code or 3rd party packages.

v0.17.7

Compare Source

v0.17.6

Compare Source

v0.17.5

Compare Source

v0.17.4

Compare Source

v0.17.3

Compare Source

v0.17.2

Compare Source

v0.17.1

Compare Source

v0.17.0

Compare Source

Accessibility improvements and breaking changes to unstable APIs.

Breaking changes

  • Remove special treatment of elements with accessibilityRole="menuitem". It no longer adds elements to the tab flow.
  • Remove anchor element inference from View and Text with accessibilityRole="link". Only requires addition of href prop.
  • Remove unstable_createElement element-type inference using href. Fixes use with svg elements.
  • Remove unstable_createElement keyboard shim for onClick. It no longer invokes onClick during onKeyDown for keyboard interactions on elements that are not natively interactive.

Fixes

  • Fix Pressable support for keyboard interactions if element is unmounted during interaction.
  • Remove unnecessary CSS reset for input number spin buttons.
  • Fix ProgressBar & Switch rendering in Windows High Contrast mode
  • Text preserves white-space if numberOfLines={1}.

v0.16.5

Compare Source

v0.16.4

Compare Source

v0.16.3

Compare Source

v0.16.2

Compare Source

v0.16.1

Compare Source

v0.16.0: 0.16

Compare Source

This release includes Flow type exports, updates vendored modules, and miscellaneous bug fixes.

Breaking changes

  • Animated & VirtualizedList have been updated from React Native.
  • Dimensions has changed the source of window dimensions and works more reliably in Safari.
  • NativeEventEmitter no longer inherits from EventEmitter and does not include the removeSubscription method.

New features

v0.15.7

Compare Source

v0.15.6

Compare Source

v0.15.5

Compare Source

v0.15.4

Compare Source

v0.15.3

Compare Source

v0.15.2

Compare Source

v0.15.1

Compare Source

v0.15.0

Compare Source

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.
  • The undocumented disabled prop has been removed from View and Text; use accessibilityDisabled instead.

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.

https://necolas.github.io/react-native-web/

image

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.

v0.14.13

Compare Source

v0.14.12

Compare Source

v0.14.11

Compare Source

v0.14.10

Compare Source

v0.14.9

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency react-native-web to v0.14.9 Update dependency react-native-web to v0.14.10 Jan 7, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 2994afc to d64d1da Compare January 7, 2021 16:51
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from d64d1da to cb9ae60 Compare January 31, 2021 11:52
@renovate renovate bot changed the title Update dependency react-native-web to v0.14.10 Update dependency react-native-web to v0.14.11 Jan 31, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from cb9ae60 to f9eee79 Compare February 9, 2021 15:58
@renovate renovate bot changed the title Update dependency react-native-web to v0.14.11 Update dependency react-native-web to v0.14.13 Feb 9, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from f9eee79 to 6772913 Compare April 26, 2021 16:18
@renovate renovate bot changed the title Update dependency react-native-web to v0.14.13 Update dependency react-native-web to v0.16.1 Apr 26, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 6772913 to e4445d9 Compare May 9, 2021 23:15
@renovate renovate bot changed the title Update dependency react-native-web to v0.16.1 Update dependency react-native-web to v0.16.2 May 9, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from e4445d9 to 344695a Compare May 15, 2021 19:29
@renovate renovate bot changed the title Update dependency react-native-web to v0.16.2 Update dependency react-native-web to v0.16.3 May 15, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 344695a to 5767e29 Compare June 15, 2021 07:09
@renovate renovate bot changed the title Update dependency react-native-web to v0.16.3 Update dependency react-native-web to v0.16.5 Jun 15, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 5767e29 to c612268 Compare October 20, 2021 06:41
@renovate renovate bot changed the title Update dependency react-native-web to v0.16.5 Update dependency react-native-web to v0.17.5 Oct 20, 2021
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from c612268 to f0c4fac Compare March 7, 2022 08:30
@renovate renovate bot changed the title Update dependency react-native-web to v0.17.5 Update dependency react-native-web to v0.17.7 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from f0c4fac to f1ea5d1 Compare June 18, 2022 12:56
@renovate renovate bot changed the title Update dependency react-native-web to v0.17.7 Update dependency react-native-web to v0.18.1 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from f1ea5d1 to 0477b3c Compare September 25, 2022 14:59
@renovate renovate bot changed the title Update dependency react-native-web to v0.18.1 Update dependency react-native-web to v0.18.9 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 0477b3c to 0af319b Compare November 20, 2022 18:29
@renovate renovate bot changed the title Update dependency react-native-web to v0.18.9 Update dependency react-native-web to v0.18.10 Nov 20, 2022
@renovate renovate bot changed the title Update dependency react-native-web to v0.18.10 Update dependency react-native-web to v0.18.12 Mar 18, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 0af319b to 3118905 Compare March 18, 2023 08:07
@renovate renovate bot changed the title Update dependency react-native-web to v0.18.12 Update dependency react-native-web to v0.19.0 Mar 27, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 3118905 to e169241 Compare March 27, 2023 18:52
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.0 Update dependency react-native-web to v0.19.1 Mar 27, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from e169241 to e8c8e03 Compare March 27, 2023 22:58
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.1 Update dependency react-native-web to v0.19.4 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from e8c8e03 to a5aa0ef Compare April 17, 2023 09:55
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.4 Update dependency react-native-web to v0.19.5 Jun 16, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from a5aa0ef to 2cd1571 Compare June 16, 2023 04:16
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.5 Update dependency react-native-web to v0.19.6 Jun 28, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 2cd1571 to aa66c60 Compare June 28, 2023 21:34
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from aa66c60 to f2480c0 Compare July 20, 2023 23:21
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.6 Update dependency react-native-web to v0.19.7 Jul 20, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from f2480c0 to a0fec04 Compare August 24, 2023 19:27
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.7 Update dependency react-native-web to v0.19.8 Aug 24, 2023
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.8 Update dependency react-native-web to v0.19.9 Sep 20, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from a0fec04 to 8ef4eae Compare September 20, 2023 01:08
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from 8ef4eae to c7b8d30 Compare December 24, 2023 21:51
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.9 Update dependency react-native-web to v0.19.10 Dec 24, 2023
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from c7b8d30 to fffcf45 Compare April 22, 2024 18:40
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.10 Update dependency react-native-web to v0.19.11 Apr 22, 2024
@renovate renovate bot changed the title Update dependency react-native-web to v0.19.11 Update dependency react-native-web to v0.19.12 May 22, 2024
@renovate renovate bot force-pushed the renovate/react-native-web-0.x branch from fffcf45 to 326269a Compare May 22, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants