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(ui): update non-major dependencies #137

Merged
merged 1 commit into from
May 13, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@playwright/test (source) 1.43.1 -> 1.44.0 age adoption passing confidence
@tanstack/react-query (source) 5.32.0 -> 5.35.5 age adoption passing confidence
@tanstack/react-query-devtools (source) 5.32.0 -> 5.35.5 age adoption passing confidence
@tanstack/react-router (source) 1.31.3 -> 1.31.27 age adoption passing confidence
@tanstack/router-devtools (source) 1.31.3 -> 1.31.27 age adoption passing confidence
@tanstack/router-vite-plugin (source) 1.30.0 -> 1.31.18 age adoption passing confidence
@testing-library/jest-dom 6.4.2 -> 6.4.5 age adoption passing confidence
@testing-library/react 15.0.5 -> 15.0.7 age adoption passing confidence
@types/node (source) 20.12.7 -> 20.12.11 age adoption passing confidence
@vitest/coverage-v8 (source) 1.5.2 -> 1.6.0 age adoption passing confidence
lucide-react (source) 0.376.0 -> 0.378.0 age adoption passing confidence
msw (source) 2.2.14 -> 2.3.0 age adoption passing confidence
playwright (source) 1.43.1 -> 1.44.0 age adoption passing confidence
react-helmet-async 2.0.4 -> 2.0.5 age adoption passing confidence
react-hook-form (source) 7.51.3 -> 7.51.4 age adoption passing confidence
vite (source) 5.2.10 -> 5.2.11 age adoption passing confidence
vitest (source) 1.5.2 -> 1.6.0 age adoption passing confidence
zod (source) 3.23.5 -> 3.23.8 age adoption passing confidence

Release Notes

microsoft/playwright (@​playwright/test)

v1.44.0

Compare Source

New APIs

Accessibility assertions

  • expect(locator).toHaveAccessibleName() checks if the element has the specified accessible name:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleName('Submit');
  • expect(locator).toHaveAccessibleDescription() checks if the element has the specified accessible description:

    const locator = page.getByRole('button');
    await expect(locator).toHaveAccessibleDescription('Upload a photo');
  • expect(locator).toHaveRole() checks if the element has the specified ARIA role:

    const locator = page.getByTestId('save-button');
    await expect(locator).toHaveRole('button');

Locator handler

  • After executing the handler added with page.addLocatorHandler(), Playwright will now wait until the overlay that triggered the handler is not visible anymore. You can opt-out of this behavior with the new noWaitAfter option.
  • You can use new times option in page.addLocatorHandler() to specify maximum number of times the handler should be run.
  • The handler in page.addLocatorHandler() now accepts the locator as argument.
  • New page.removeLocatorHandler() method for removing previously added locator handlers.
const locator = page.getByText('This interstitial covers the button');
await page.addLocatorHandler(locator, async overlay => {
  await overlay.locator('#close').click();
}, { times: 3, noWaitAfter: true });
// Run your tests that can be interrupted by the overlay.
// ...
await page.removeLocatorHandler(locator);

Miscellaneous options

  • multipart option in apiRequestContext.fetch() now accepts FormData and supports repeating fields with the same name.

    const formData = new FormData();
    formData.append('file', new File(['let x = 2024;'], 'f1.js', { type: 'text/javascript' }));
    formData.append('file', new File(['hello'], 'f2.txt', { type: 'text/plain' }));
    context.request.post('https://example.com/uploadFiles', {
      multipart: formData
    });
  • expect(callback).toPass({ intervals }) can now be configured by expect.toPass.inervals option globally in testConfig.expect or per project in testProject.expect.

  • expect(page).toHaveURL(url) now supports ignoreCase option.

  • testProject.ignoreSnapshots allows to configure per project whether to skip screenshot expectations.

Reporter API

  • New method suite.entries() returns child test suites and test cases in their declaration order. suite.type and testCase.type can be used to tell apart test cases and suites in the list.
  • Blob reporter now allows overriding report file path with a single option outputFile. The same option can also be specified as PLAYWRIGHT_BLOB_OUTPUT_FILE environment variable that might be more convenient on CI/CD.
  • JUnit reporter now supports includeProjectInTestName option.

Command line

  • --last-failed CLI option for running only tests that failed in the previous run.

    First run all tests:

    $ npx playwright test
    
    Running 103 tests using 5 workers
    ...
    2 failed
      [chromium] › my-test.spec.ts:8:5 › two ─────────────────────────────────────────────────────────
      [chromium] › my-test.spec.ts:13:5 › three ──────────────────────────────────────────────────────
    101 passed (30.0s)

    Now fix the failing tests and run Playwright again with --last-failed option:

    $ npx playwright test --last-failed
    
    Running 2 tests using 2 workers
      2 passed (1.2s)

Browser Versions

  • Chromium 125.0.6422.14
  • Mozilla Firefox 125.0.1
  • WebKit 17.4

This version was also tested against the following stable channels:

  • Google Chrome 124
  • Microsoft Edge 124
TanStack/query (@​tanstack/react-query)

v5.35.5

Compare Source

v5.35.4

Compare Source

Version 5.35.4 - 5/10/2024, 2:10 PM

Changes

Fix
  • deprecate direction passed to QueryFunctionContext (#​7410) (fbe3b44) by Dominik Dorfmeister
Docs

Packages

v5.35.1

Compare Source

Version 5.35.1 - 5/6/2024, 6:38 AM

Changes

Fix
Docs

Packages

v5.34.2

Compare Source

v5.34.1

Compare Source

Version 5.34.1 - 5/4/2024, 8:30 AM

Changes

Fix
Docs

Packages

v5.32.1

Compare Source

Version 5.32.1 - 4/30/2024, 1:38 PM

Changes
Fix
  • trigger release (684ffbf) by Dominik Dorfmeister
  • codemods: Use .cjs extension for CommonJS files (#​7333) (2aca521) by Anton Jeppsson
Docs
  • createSyncStoragePersister: fix typo (#​7348) (6768a9c) by Mackie Underdown
Packages
TanStack/query (@​tanstack/react-query-devtools)

v5.35.5

Compare Source

Version 5.35.5 - 5/10/2024, 2:24 PM

Changes

Refactor
  • query-core: update tsdocs for mutation and query observer result (#​7399) (bf4cf00) by Bryan Lumbantobing

Packages

v5.35.4

Compare Source

Version 5.35.4 - 5/10/2024, 2:10 PM

Changes

Fix
  • deprecate direction passed to QueryFunctionContext (#​7410) (fbe3b44) by Dominik Dorfmeister
Docs

Packages

v5.35.1

Compare Source

Version 5.35.1 - 5/6/2024, 6:38 AM

Changes

Fix
Docs

Packages

v5.34.2

Compare Source

v5.34.1

Compare Source

Version 5.34.1 - 5/4/2024, 8:30 AM

Changes

Fix
Docs

Packages

v5.32.1

Compare Source

Version 5.32.1 - 4/30/2024, 1:38 PM

Changes

Fix
  • trigger release (684ffbf) by Dominik Dorfmeister
  • codemods: Use .cjs extension for CommonJS files (#​7333) (2aca521) by Anton Jeppsson
Docs
  • createSyncStoragePersister: fix typo (#​7348) (6768a9c) by Mackie Underdown

Packages

TanStack/router (@​tanstack/react-router)

v1.31.27

Compare Source

Version 1.31.27 - 5/10/2024, 7:12 PM

Changes
Fix
  • custom React.lazy (ec3a964) by Tanner Linsley
Docs
Test
  • react-router: resolving an incorrect configuration checking the route-bound hooks on createFileRoute (#​1581) (fd77985) by Sean Cassiere
Packages

v1.31.26

Compare Source

Version 1.31.26 - 5/9/2024, 12:29 PM

Changes
Fix
  • react-router: "onResolved" event not being emitted when React.StrictMode is enabled (#​1574) (0c01426) by Sean Cassiere
Packages

v1.31.25

Compare Source

Version 1.31.25 - 5/9/2024, 6:52 AM

Changes
Fix
  • eslint (bce8e71) by Tanner Linsley
  • properly abort out-of-date loadMatches invocations (2fb2596) by Tanner Linsley
  • lock file (e6d820f) by Tanner Linsley
  • rename react-router-server to start 😜 (e1f38f9) by Tanner Linsley
Packages

v1.31.24

Compare Source

Version 1.31.24 - 5/8/2024, 8:10 PM

Changes
Fix
  • no double Transitioner, bring back root suspense (387d855) by Tanner Linsley
Docs
  • examples: set correct correct server entry-point for production for "basic-ssr" (#​1562) (b352827) by Lorenz Nimmervoll
Packages

v1.31.23

Compare Source

Version 1.31.23 - 5/8/2024, 5:33 AM

Changes
Fix
  • SSR composition fixes (8091135) by Tanner Linsley
Packages

v1.31.22

Compare Source

Version 1.31.22 - 5/7/2024, 10:22 PM

Changes
Fix
  • remove superfluous newline and script tag in deferred promise streaming (7e6d2b7) by Tanner Linsley
Packages

v1.31.21

Compare Source

Version 1.31.21 - 5/7/2024, 4:51 PM

Changes
Fix
  • experimental backport to get React 19 rendering anywhere in the document (c4d1ba6) by Tanner Linsley
Docs
  • improve routeFileIgnorePattern description (64ae7c3) by Manuel Schiller
Packages

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" in timezone America/New_York, 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.

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


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

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

Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reti ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 7:33pm

@renovate renovate bot force-pushed the renovate/ui-non-major-dependencies branch from e288fe3 to 6893ab5 Compare May 13, 2024 19:31
@drichar drichar merged commit cae5872 into dev May 13, 2024
3 of 4 checks passed
@drichar drichar deleted the renovate/ui-non-major-dependencies branch May 13, 2024 21:50
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