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 vitest monorepo to v2 (major) #470

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitest/coverage-istanbul (source) ^1.6.0 -> ^2.0.0 age adoption passing confidence
@vitest/coverage-v8 (source) ^1.6.0 -> ^2.0.0 age adoption passing confidence
vitest (source) 1.6.0 -> 2.1.4 age adoption passing confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-istanbul)

v2.1.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v2.1.3

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v2.1.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.1.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.1.0

Compare Source

This release makes another big change to the Browser Mode by introducing locators API:

test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})

You can use either vitest-browser-vue, vitest-browser-svelte or vitest-browser-react to render components and make assertions using locators. Locators are also available on the page object from @vitest/browser/context.

Potential Breaking Change
  • workspace:
    • Correctly resolve workspace globs and file paths  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/6316 (afdcb)
    • This changes how the custom glob pattern in the workspace config is treated. Any file matching the glob is considered a Vitest config file. Any folder matching the glob pattern is treated as a workspace project and is subject to the regular config resolution (single vitest.config.ts or vite.config.ts inside the folder)
    • For example, projects/* will match anything inside the projects folder. If it's a folder, we try to find the config inside that folder (if there is none, it is still treated as a project with the default config). If it's a file, it will be treated as a Vitest config. projects/**/* previously would assume that you only wanted to have folders as projects, but now it will match every single file insideprojects.
    • This change doesn't affect non-glob usage.
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.2

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v2.0.1

Compare Source

   🐞 Bug Fixes

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

github-actions bot commented Aug 1, 2024

📦 Next.js Bundle Analysis for junat.live

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 6 times, most recently from 1b9372f to 1d8c3a6 Compare August 6, 2024 11:38
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 4 times, most recently from 39bc125 to c4a21fc Compare August 27, 2024 07:13
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from c4a21fc to 30e1879 Compare September 12, 2024 17:07
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.69%. Comparing base (b816c89) to head (940e78b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #470       +/-   ##
===========================================
- Coverage   87.96%   21.69%   -66.28%     
===========================================
  Files         126      129        +3     
  Lines        4371     4518      +147     
  Branches      501      269      -232     
===========================================
- Hits         3845      980     -2865     
- Misses        516     3534     +3018     
+ Partials       10        4        -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 30e1879 to 82ade06 Compare September 13, 2024 18:41
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 4 times, most recently from ccaaee2 to 30a7dd5 Compare September 26, 2024 18:24
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 30a7dd5 to d274369 Compare October 2, 2024 17:06
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from 897d73c to 7b276b3 Compare October 20, 2024 09:25
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 4 times, most recently from cdb6ab7 to 1a596b6 Compare November 4, 2024 12:47
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 1a596b6 to 940e78b Compare November 4, 2024 12:52
@jqpe
Copy link
Owner

jqpe commented Nov 4, 2024

@jqpe jqpe closed this Nov 4, 2024
Copy link
Contributor Author

renovate bot commented Nov 4, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

1 participant