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

chore(deps): ⬆️ update dev dependencies (major) (major) #334

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 29, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react 12.1.5 -> 13.0.1 age adoption passing confidence
@testing-library/react-hooks 7.0.2 -> 8.0.0 age adoption passing confidence
@testing-library/user-event 13.5.0 -> 14.1.0 age adoption passing confidence
@types/react 17.0.44 -> 18.0.2 age adoption passing confidence
@types/react-dom 17.0.15 -> 18.0.0 age adoption passing confidence
glob 7.2.0 -> 8.0.1 age adoption passing confidence
react (source) 17.0.2 -> 18.0.0 age adoption passing confidence
react-dom (source) 17.0.2 -> 18.0.0 age adoption passing confidence
react-test-renderer (source) 17.0.2 -> 18.0.0 age adoption passing confidence
yaml (source) 1.10.2 -> 2.0.0 age adoption passing confidence

Release Notes

testing-library/react-testing-library

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Features
BREAKING CHANGES
testing-library/react-hooks-testing-library

v8.0.0

Compare Source

Bug Fixes
  • types: move types to optional peer dependencies (19ac8dd)
BREAKING CHANGES
  • types: type dependencies will not longer be automatically installed. If @types/react is not already listed in your package.json, please install it with npm install --save-dev @​types/react@^17.
testing-library/user-event

v14.1.0

Compare Source

Features
Bug Fixes

v14.0.4

Compare Source

14.0.4 (2022-04-01)
Bug Fixes

v14.0.3

Compare Source

14.0.3 (2022-03-31)
Bug Fixes
  • pointer: change selection before dispatching focus (#​895) (06f12a6)

v14.0.2

Compare Source

14.0.2 (2022-03-31)
Bug Fixes

v14.0.1

Compare Source

14.0.1 (2022-03-31)
Bug Fixes

v14.0.0

Compare Source

⚠ BREAKING CHANGES
  • APIs always return a Promise.
  • pointer: skipPointerEvents has been removed.
    Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.
  • upload: init parameter has been removed from userEvent.upload.
  • upload: applyAccept defaults to true.
  • The userEvent.paste API has new parameters.
  • {ctrl}, {del}, {esc} no longer describe a key. Use {Control}, {Delete}, {Escape} instead.
  • {alt}, {ctrl}, {meta}, {shift} no longer imply not releasing the key. Use {Alt>}, {Control>}, {Meta>}, {Shift>} instead.
  • init parameter has been removed from these APIs:
    • userEvent.click
    • userEvent.dblClick
    • userEvent.tripleClick
    • userEvent.hover
    • userEvent.unhover
    • userEvent.selectOptions
    • userEvent.deselectOptions
  • userEvent.upload no longer supports clickInit
    as part of its init parameter.
  • Behavior for special key descriptor {selectall} has been removed.
  • Support for keyCode property on keyboard events has been removed.
  • An error is thrown when calling userEvent.clear on an element which is not editable.
  • An error is thrown when event handlers prevent userEvent.clear from focussing/selecting content.
  • tab: The focusTrap option has been removed from userEvent.tab().
  • type: userEvent.type does no longer move the cursor
    if used with skipClick=false and without initialSelectionStart.
  • The implementation of pointer related APIs was replaced.
    This might break tests relying on unintended side-effects of the previous implementation.
  • Support for node 10 was removed as it reached its end-of-life.
Features
Bug Fixes
Miscellaneous Chores
isaacs/node-glob

v8.0.1

Compare Source

facebook/react

v18.0.0

Compare Source

Below is a list of all new features, APIs, deprecations, and breaking changes.
Read React 18 release post and React 18 upgrade guide for more information.

New Features
React
  • useId is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order.
  • startTransition and useTransition let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results).
  • useDeferredValue lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input.
  • useSyncExternalStore is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need for useEffect when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React.
  • useInsertionEffect is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client

These new APIs are now exported from react-dom/client:

  • createRoot: New method to create a root to render or unmount. Use it instead of ReactDOM.render. New features in React 18 don't work without it.
  • hydrateRoot: New method to hydrate a server rendered application. Use it instead of ReactDOM.hydrate in conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.

Both createRoot and hydrateRoot accept a new option called onRecoverableError in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will use reportError, or console.error in the older browsers.

React DOM Server

These new APIs are now exported from react-dom/server and have full support for streaming Suspense on the server:

  • renderToPipeableStream: for streaming in Node environments.
  • renderToReadableStream: for modern edge runtime environments, such as Deno and Cloudflare workers.

The existing renderToString method keeps working but is discouraged.

eemeli/yaml

v2.0.0

Compare Source

This update has been in the works for the last year and a half. Its prerelease versions have been thoroughly tested by a wide number of users, and I think it's finally ready for "actual" release, for use in the mythical "production".

The breaking changes introduced here are mostly originating from the v1 CST parser having become a rather difficult beast to work with. So it's here rewritten pretty much completely, now with a lexer as a first stage. Along the way, the whole project was rewritten in TypeScript and the export paths and options refactored pretty deeply.

If you've been using the library just via its parse(), parseDocument() and stringify() functions, then it's quite likely that none of the changes affect your experience in any way. However, if you've been doing something more involved, then I would strongly recommend that you review the library's documentation site for the v2 docs.

Going forward, it's finally time to start experimenting with new YAML spec features that may eventually be included in YAML 1.3 and later. Those will be made available by specifying the version: 'next' option. However, beware! Any features available this way may be removed or have their API broken by any minor release of this library, and no compatibility guarantees with other libraries are given. In general, semver compatibility is guaranteed for features that are explicitly included in the documentation; everything else should be considered as internal implementation details.

The following is an overview of the breaking changes and new features introduced in each of the prerelease steps leading up to this release; the individual releases' notes and the PRs will contain more detail, along with specific migration guides.

BREAKING CHANGES
v2.0.0-0
  • Drop deprecated end points, members, options & defaults (#​171)
  • Breaking changes to Document & createNode APIs (#​186)
  • When creating a mapping from a JS Object, drop undefined values (#​173)
  • Retain existing nodes when using set() in mappings & sequences (#​185)
v2.0.0-1
  • Improve JSON compatibility (#​189)
  • Refactor tag resolve() API (#​201)
v2.0.0-3
  • Drop 'yaml/parse-cst' endpoint (#​223)
  • Update build configs & minimum supported versions (#​224)
v2.0.0-4
  • Refactor options (#​235)
  • Refactor parsing completely (#​203)
  • Merge all of 'yaml/types' and some of 'yaml/util' into 'yaml' (#​234)
  • Refactor node identification (#​233)
  • Drop type property from all but Scalar nodes (#​240)
  • Refactor as TypeScript (#​233)
v2.0.0-5
  • Make anchor & alias resolution lazier (#​248)
  • Split flow collections into items in Parser (#​249)
  • Make Pair not extend NodeBase; drop its prop forwarding (#​245, #​250)
  • Rename the tokens namespace as CST (#​252)
  • Turn the Lexer, Parser & Composer into generators (#​253)
  • Refactor Node range as [start, value-end, node-end] (#​259)
  • Replace error.offset with error.pos: [number, number] (#​260)
v2.0.0-6
  • Fix empty lines & trailing comments (#​278)
  • Drop Node.js 10 support
v2.0.0-9
  • Allow disabling single & block quotes completely (#​326)
v2.0.0-10
  • The TS type of doc.directives now indicates it as optional (#​344)
v2.0.0-11
  • YAML.defaultOptions is removed (#​346)
  • directives.marker is renamed as directives.docStart (#​371)
v2.0.0
  • Drop Node.js 12 support (end-of-life 2022-04-30)
New Features
v2.0.0-0
  • Resolve known tags in core schema (#​172)
  • Create intermediates for set() & setIn() on doc with empty contents (#​174)
  • Fix intermediate collection creation for parsed documents (#​174)
  • Improve quoted string flexibility (#​177)
  • Add defaultKeyType option for finer control of scalar output (#​179)
v2.0.0-1
  • Remember source string for null scalars (#​193)
  • Support asBigInt option for sexagesimal integer values
v2.0.0-3
  • Refactor logging control, adding logLevel option (#​215)
  • Add visit(node, visitor) to 'yaml' (#​225)
v2.0.0-4
  • Stringify top-level block scalars with header on marker line
  • Add a couple of things to 'yaml/util' that weren't exposed before
v2.0.0-5
  • Add Collection, Value & Node visitor aliases
  • Add error codes
  • Always include offset in CST tokens
  • Add CST tools (#​252)
v2.0.0-6
  • Check key uniqueness; add uniqueKeys option (#​271)
  • Drop special-casing COMMENT_SPACE error; use MISSING_CHAR for it instead
v2.0.0-7
  • Support immediate map values for << merge keys, in addition to alias values
v2.0.0-8
  • Add a new createNode option aliasDuplicateObjects (#​299)
  • Add clone() methods to Document, Directives, Schema and all Nodes (#​304)
v2.0.0-9
  • Add keepSoureToken parse option, adding srcToken values to Nodes (#​309)
  • Allow for custom schema id, provided that customTags is defined (#​325)
  • Expose tags & types required by custom composers (#​325)
v2.0.0-10
v2.0.0-11
  • Add warning for aliases & anchors ending with a colon (#​370)
  • Add directives.docEnd, for ... marker (#​371)
  • Add YAML.visitAsync() (#​372)
v2.0.0
  • Allow for a 'next' YAML version

Configuration

📅 Schedule: 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Mar 29, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/timelessco/renderlesskit-react/7tfe9rpwnHnmrLRJjBnrJchDR57g
✅ Preview: https://renderlesskit-react-git-renovate-major-dev-de-a06a98-timelessco.vercel.app

@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 30d2c53 to 83ce88b Compare March 29, 2022 18:53
@renovate renovate bot changed the title chore(deps): ⬆️ update dependency @testing-library/user-event to v14 chore(deps): ⬆️ update dev dependencies (major) (major) Mar 29, 2022
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 83ce88b to 5feb3fc Compare March 31, 2022 09:56
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 5feb3fc to efdcd30 Compare March 31, 2022 17:09
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from efdcd30 to 6f11071 Compare March 31, 2022 19:49
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 6f11071 to d228f30 Compare April 1, 2022 12:03
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from d228f30 to dbadf32 Compare April 6, 2022 11:55
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from dbadf32 to ef7f71a Compare April 7, 2022 20:56
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from ef7f71a to 8a597a7 Compare April 9, 2022 20:23
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 8a597a7 to 7682db0 Compare April 10, 2022 13:40
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 7682db0 to 716a5d3 Compare April 11, 2022 13:30
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from 716a5d3 to a732ccb Compare April 11, 2022 19:56
@renovate renovate bot force-pushed the renovate/major-dev-dependencies-(major) branch from a732ccb to 00606cd Compare April 12, 2022 07:06
@navin-moorthy navin-moorthy merged commit ce3dcc9 into main Apr 12, 2022
@navin-moorthy navin-moorthy deleted the renovate/major-dev-dependencies-(major) branch April 12, 2022 07:09
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.

None yet

2 participants