Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

chore(deps): update dependency vitest to v0.31.0 #204

Merged
merged 1 commit into from May 4, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 20, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest 0.26.0 -> 0.31.0 age adoption passing confidence

Release Notes

vitest-dev/vitest

v0.31.0

Compare Source

   🚨 Breaking Changes
  • Update mock implementation to support ESM runtime, introduce "vi.hoisted"  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3258 (0c09a)

    • Bypass ESM import order restriction with vi.hoisted to run code before imports are executed:
    vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1)))

    You can also use it to pass variables to vi.mock:

    const { mockedMethod } = vi.hoisted(() => {
      return { mockedMethod: vi.fn() }
    })   
    vi.mocked('./path/to/module.js', () => {
      return { originalMethod: mockedMethod }
    })
  • Move assertion declarations to expect package  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3294 (cf3af)

    • The change should be minor:
    - declare namespace Vi {
    + declare module 'vitest' {
       interface Assertion<T = any> extends CustomMatchers<T> {}
       interface AsymmetricMatchersContaining extends CustomMatchers {}
    }
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.30.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.30.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.7

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.6

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.5

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.29.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.0

Compare Source

This release makes some significant changes to how tests are running. If you were using --no-threads before, you might consider enabling --single-thread instead (because your tests are now running in child_process instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like process.chdir(), you can now use this option.

One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with --no-isolate, --no-threads or --single-thread - you might need to update your setup files if you were relying on a global variable before.

If you had performance issues on large code bases before, try the new deps.experimentalOptimizer option instead of disabling threads. Feedback is welcome!

One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots.

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.28.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.28.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.28.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.28.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.28.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.28.0

Compare Source

   🚨 Breaking Changes
   🐞 Bug Fixes
    View changes on GitHub

v0.27.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.27.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.27.1

Compare Source

   🚀 Features
   🐞 Bug Fixes

Configuration

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

🚦 Automerge: Enabled.

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.

@codesandbox
Copy link

codesandbox bot commented Dec 20, 2022

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.26.1 chore(deps): update dependency vitest to v0.26.2 Dec 21, 2022
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from f9b8063 to f7b30fe Compare January 1, 2023 15:21
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.26.2 chore(deps): update dependency vitest to v0.26.3 Jan 1, 2023
@what-the-diff
Copy link

what-the-diff bot commented Jan 1, 2023

PR Summary

  • Vitest version update The Vitest package has been updated from version 0.26.0 to 0.29.7, which ensures the project uses the latest features and improvements.

@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from f7b30fe to 0001367 Compare January 9, 2023 15:24
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.26.3 chore(deps): update dependency vitest to v0.27.0 Jan 9, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.27.0 chore(deps): update dependency vitest to v0.27.1 Jan 11, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.27.1 chore(deps): update dependency vitest to v0.27.2 Jan 17, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from a177830 to be42aa6 Compare January 21, 2023 18:21
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.27.2 chore(deps): update dependency vitest to v0.27.3 Jan 21, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.27.3 chore(deps): update dependency vitest to v0.28.0 Jan 23, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.0 chore(deps): update dependency vitest to v0.28.1 Jan 23, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.1 chore(deps): update dependency vitest to v0.28.2 Jan 25, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.2 chore(deps): update dependency vitest to v0.28.3 Jan 27, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.3 chore(deps): update dependency vitest to v0.28.4 Feb 3, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.4 chore(deps): update dependency vitest to v0.28.5 Feb 13, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.5 chore(deps): update dependency vitest to v0.29.1 Feb 25, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.1 chore(deps): update dependency vitest to v0.29.2 Feb 28, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 3817203 to c6f3877 Compare March 15, 2023 20:34
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.2 chore(deps): update dependency vitest to v0.29.3 Mar 15, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.3 chore(deps): update dependency vitest to v0.29.5 Mar 20, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from c6f3877 to 60c01dc Compare March 20, 2023 17:27
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.5 chore(deps): update dependency vitest to v0.29.7 Mar 20, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 60c01dc to 74711f3 Compare March 20, 2023 20:57
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 74711f3 to b84f1d8 Compare March 28, 2023 18:49
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.7 chore(deps): update dependency vitest to v0.29.8 Mar 29, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.8 chore(deps): update dependency vitest to v0.30.1 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from b84f1d8 to cc5cf52 Compare April 17, 2023 12:08
@what-the-diff
Copy link

what-the-diff bot commented Apr 17, 2023

PR Summary

  • Vitest version update
    The version of Vitest has been updated from 0.26.0 to 0.31.0, providing the latest features and improvements from the library.

@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from cc5cf52 to 03d4ac2 Compare May 4, 2023 05:55
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.30.1 chore(deps): update dependency vitest to v0.31.0 May 4, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 9 times, most recently from 4d7f8f3 to c533104 Compare May 4, 2023 06:52
@renovate
Copy link
Contributor Author

renovate bot commented May 4, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
undefined

@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from c533104 to ed16336 Compare May 4, 2023 06:53
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from ed16336 to 7fcf234 Compare May 4, 2023 06:54
@limichange limichange merged commit 9b9cf80 into main May 4, 2023
1 of 2 checks passed
@limichange limichange deleted the renovate/vitest-monorepo branch May 4, 2023 06:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant