trpc/trpc (@trpc/client)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
trpc/trpc (@trpc/next)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
trpc/trpc (@trpc/react-query)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
trpc/trpc (@trpc/server)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3)
### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82)
### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111)
### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640)
### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
[Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v8.12.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8122-2024-10-29)
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.1...v8.12.2)
##### 🩹 Fixes
- **eslint-plugin:** \[switch-exhaustiveness-check] invert `considerDefaultExhaustiveForUnions` ([#10223](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223))
##### ❤️ Thank You
- Kirk Waiblinger [@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
### [`v8.12.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8121-2024-10-28)
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.0...v8.12.1)
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
### [`v8.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8120-2024-10-28)
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.11.0...v8.12.0)
##### 🚀 Features
- **eslint-plugin:** \[no-base-to-string] handle String() ([#10005](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005))
- **eslint-plugin:** \[switch-exhaustiveness-check] add allowDefaultCaseMatchUnionMember option ([#9954](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954))
- **eslint-plugin:** \[consistent-indexed-object-style] report mapped types ([#10160](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160))
- **eslint-plugin:** \[prefer-nullish-coalescing] add support for assignment expressions ([#10152](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152))
##### ❤️ Thank You
- Abraham Guo
- Kim Sang Du [@developer-bandi](https://redirect.github.com/developer-bandi)
- Kirk Waiblinger [@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger)
- YeonJuan [@yeonjuan](https://redirect.github.com/yeonjuan)
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v8.12.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8122-2024-10-29)
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.1...v8.12.2)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
### [`v8.12.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8121-2024-10-28)
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.0...v8.12.1)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
### [`v8.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8120-2024-10-28)
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.11.0...v8.12.0)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
vercel/next.js (eslint-config-next)
### [`v15.0.2`](https://redirect.github.com/vercel/next.js/compare/v15.0.1...2e28c965279de90ce4bfca673196c27dd6117027)
[Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.0.1...v15.0.2)
framer/motion (framer-motion)
### [`v11.11.11`](https://redirect.github.com/framer/motion/blob/HEAD/CHANGELOG.md#111111-2024-10-31)
[Compare Source](https://redirect.github.com/framer/motion/compare/v11.11.10...v11.11.11)
##### Fixed
- Fixing double `update()` call on mount.
vercel/next.js (next)
### [`v15.0.2`](https://redirect.github.com/vercel/next.js/compare/v15.0.1...2e28c965279de90ce4bfca673196c27dd6117027)
[Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.0.1...v15.0.2)
nodejs/node (node)
### [`v22.11.0`](https://redirect.github.com/nodejs/node/releases/tag/v22.11.0): 2024-10-29, Version 22.11.0 'Jod' (LTS), @richardlau
[Compare Source](https://redirect.github.com/nodejs/node/compare/v22.10.0...v22.11.0)
##### Notable Changes
This release marks the transition of Node.js 22.x into Long Term Support (LTS)
with the codename 'Jod'. The 22.x release line now moves into "Active LTS"
and will remain so until October 2025. After that time, it will move into
"Maintenance" until end of life in April 2027.
Other than updating metadata, such as the `process.release` object, to reflect
that the release is LTS, no further changes from Node.js 22.10.0 are included.
##### OpenSSL 3.x
Official binaries for Node.js 22.x currently include OpenSSL 3.0.x (more
specifically, the [quictls OpenSSL fork](https://redirect.github.com/quictls/openssl)).
OpenSSL 3.0.x is the currently designated long term support version that is
scheduled to be supported until 7th September 2026, which is within the expected
lifetime of Node.js 22.x. We are expecting upstream OpenSSL to announce a
successor long term support version prior to that date and since OpenSSL now
follows a semantic versioning-like versioning scheme we expect to be able to
update to the next long term supported version of OpenSSL during the lifetime of
Node.js 22.x.
supertokens/supertokens-auth-react (supertokens-auth-react)
### [`v0.48.0`](https://redirect.github.com/supertokens/supertokens-auth-react/blob/HEAD/CHANGELOG.md#0480---2024-10-07)
[Compare Source](https://redirect.github.com/supertokens/supertokens-auth-react/compare/v0.47.1...v0.48.0)
##### Fixes
- Fixed an issue where the `AuthPage` was using full-page redirects to navigate to the password reset page if both emailpassword and passwordless were enabled.
##### Changes
- Added the `OAuth2Provider` recipe
- Changed the input types and default implementation of `AuthPageHeader` to show the client information in OAuth2 flows
- Expanded an error message in `AuthPage` to help with common errors
##### Breaking changes
- Now only supporting FDI 3.1 and 4.0 (Node >= 21.0.0)
- All `getRedirectionURL` functions now also get a new `tenantIdFromQueryParams` prop
- This is used in OAuth2 + Multi-tenant flows.
- This should be safe to ignore if:
- You are not using those recipes
- You have a custom `getTenantId` implementation
- You are not customizing paths of the pages handled by SuperTokens.
- This is used to keep the `tenantId` query param during internal redirections between pages handled by the SDK.
- If you have custom paths, you should set the tenantId queryparam based on this. (See migrations below for more details)
- Added a new `shouldTryLinkingToSessionUser` flag to sign in/up related function inputs:
- No action is needed if you are not using MFA/session based account linking.
- If you are implementing MFA:
- Plase set this flag to `false` (or leave as undefined) during first factor sign-ins
- Please set this flag to `true` for secondary factors.
- Please forward this flag to the original implementation in any of your overrides.
- Changed functions:
- `EmailPassword`:
- `signIn`, `signUp`: both override and callable functions
- `ThirdParty`:
- `getAuthorisationURLWithQueryParamsAndSetState`: both override and callable function
- `redirectToThirdPartyLogin`: callable function takes this flag as an optional input (it defaults to false on the backend)
- `Passwordless`:
- Functions overrides: `consumeCode`, `resendCode`, `createCode`, `setLoginAttemptInfo`, `getLoginAttemptInfo`
- Calling `createCode` and `setLoginAttemptInfo` take this flag as an optional input (it defaults to false on the backend)
- Changed the default implementation of `getTenantId` to default to the `tenantId` query parameter (if present) then falling back to the public tenant instead of always defaulting to the public tenant
- We now disable session based account linking in the magic link based flow in passwordless by default
- This is to make it function more consistently instead of only working if the link was opened on the same device
- You can override by overriding the `consumeCode` function in the Passwordless Recipe
##### Migration
##### tenantIdFromQueryParams in getRedirectionURL
Before:
```ts
EmailPassword.init({
async getRedirectionURL(context) {
if (context.action === "RESET_PASSWORD") {
return `/reset-password`;
}
return "";
},
});
```
After:
```ts
EmailPassword.init({
async getRedirectionURL(context) {
return `/reset-password?tenantId=${context.tenantIdFromQueryParams}`;
},
});
```
##### Session based account linking for magic link based flows
You can re-enable linking by overriding the `consumeCode` function in the passwordless recipe and setting `shouldTryLinkingToSessionUser` to `true`.
```ts
Passwordless.init({
override: {
functions: (original) => {
return {
...original,
consumeCode: async (input) => {
// Please note that this is means that the session is required and will cause an error if it is not present
return original.consumeCode({ ...input, shouldTryLinkingWithSessionUser: true });
},
};
},
},
});
```
supertokens/supertokens-web-js (supertokens-web-js)
### [`v0.14.0`](https://redirect.github.com/supertokens/supertokens-web-js/blob/HEAD/CHANGELOG.md#0140---2024-10-07)
[Compare Source](https://redirect.github.com/supertokens/supertokens-web-js/compare/v0.13.1...v0.14.0)
- Added the OAuth2Provider recipe
##### Breaking changes
- Now only supporting FDI 3.1 and 4.0 (Node >= 21.0.0)
- Added a new `shouldTryLinkingToSessionUser` flag to sign in/up related function inputs:
- No action is needed if you are not using MFA/session based account linking.
- If you are implementing MFA:
- Plase set this flag to `false` (or leave as undefined) during first factor sign-ins
- Please set this flag to `true` for secondary factors.
- Please forward this flag to the original implementation in any of your overrides.
- Changed functions:
- `EmailPassword.signIn`, `EmailPassword.signUp`: both override and callable functions
- `ThirdParty.getAuthorisationURLWithQueryParamsAndSetState`: both override and callable function
- `Passwordless`:
- Functions overrides: `consumeCode`, `resendCode`, `createCode`, `setLoginAttemptInfo`, `getLoginAttemptInfo`
- Calling `createCode` and `setLoginAttemptInfo` take this flag as an optional input (it defaults to false)
- Changed the default implementation of `getTenantId` to default to the `tenantId` query parameter (if present) then falling back to the public tenant instead of always defaulting to the public tenant
- We now disable session based account linking in the magic link based flow in passwordless by default
- This is to make it function more consistently instead of only working if the link was opened on the same device
- You can override by overriding the `consumeCode` function in the Passwordless Recipe (see in the Migration guide section below for more information)
##### Migration guide
##### Session based account linking for magic link based flows
You can re-enable linking by overriding the `consumeCode` function in the passwordless recipe and setting `shouldTryLinkingToSessionUser` to `true`.
```ts
Passwordless.init({
override: {
functions: (original) => {
return {
...original,
consumeCode: async (input) => {
// Please note that this is means that the session is required and will cause an error if it is not present
return original.consumeCode({ ...input, shouldTryLinkingWithSessionUser: true });
},
};
},
},
});
```
vitest-dev/vitest (vitest)
### [`v2.1.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.4)
[Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4)
##### 🚀 Features
- **browser**: Allow custom HTML path, respect plugins `transformIndexHtml` - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6725](https://redirect.github.com/vitest-dev/vitest/issues/6725) [(16902)](https://redirect.github.com/vitest-dev/vitest/commit/169028f0)
##### 🐞 Bug Fixes
- Don't normalize drive case letter in root - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6792](https://redirect.github.com/vitest-dev/vitest/issues/6792) [(b28cd)](https://redirect.github.com/vitest-dev/vitest/commit/b28cd2e3)
- **browser**:
- Fix default browser port - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6700](https://redirect.github.com/vitest-dev/vitest/issues/6700) [(9c518)](https://redirect.github.com/vitest-dev/vitest/commit/9c518c14)
- Optimize expect-type - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6713](https://redirect.github.com/vitest-dev/vitest/issues/6713) [(07918)](https://redirect.github.com/vitest-dev/vitest/commit/07918538)
- Don't polyfill process.env - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6718](https://redirect.github.com/vitest-dev/vitest/issues/6718) [(da6d2)](https://redirect.github.com/vitest-dev/vitest/commit/da6d2ea7)
- Increment browser port automatically if there are several projects with browser.enabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6717](https://redirect.github.com/vitest-dev/vitest/issues/6717) [(a9397)](https://redirect.github.com/vitest-dev/vitest/commit/a939779f)
- Cleanup keyboard state - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6731](https://redirect.github.com/vitest-dev/vitest/issues/6731) [(19278)](https://redirect.github.com/vitest-dev/vitest/commit/19278f4c)
- Don't add `v=` queries to setup files imports - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6759](https://redirect.github.com/vitest-dev/vitest/issues/6759) [(b8258)](https://redirect.github.com/vitest-dev/vitest/commit/b82584c9)
- User event cleanup on retry - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6764](https://redirect.github.com/vitest-dev/vitest/issues/6764) [(bdd15)](https://redirect.github.com/vitest-dev/vitest/commit/bdd15dd1)
- Ignore non mocked msw requests - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6770](https://redirect.github.com/vitest-dev/vitest/issues/6770) [(9d9ba)](https://redirect.github.com/vitest-dev/vitest/commit/9d9bad5b)
- Initiate MSW in the same frame as tests - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6772](https://redirect.github.com/vitest-dev/vitest/issues/6772) [(2444f)](https://redirect.github.com/vitest-dev/vitest/commit/2444ff22)
- **deps**:
- Update dependency sirv to v3 - in [https://github.com/vitest-dev/vitest/issues/6701](https://redirect.github.com/vitest-dev/vitest/issues/6701) [(fde5d)](https://redirect.github.com/vitest-dev/vitest/commit/fde5d509)
- **expect**:
- Correct behavior of `toThrowError` with empty string parameter - by [@shulaoda](https://redirect.github.com/shulaoda) in [https://github.com/vitest-dev/vitest/issues/6710](https://redirect.github.com/vitest-dev/vitest/issues/6710) [(a6129)](https://redirect.github.com/vitest-dev/vitest/commit/a61293e9)
- **mocker**:
- Remove spy from peer dependencies - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6777](https://redirect.github.com/vitest-dev/vitest/issues/6777) [(3a8b5)](https://redirect.github.com/vitest-dev/vitest/commit/3a8b56bf)
- **vitest**:
- Clarify slowTestThreshold, print slow tests in non-TTY mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6715](https://redirect.github.com/vitest-dev/vitest/issues/6715) [(2e6aa)](https://redirect.github.com/vitest-dev/vitest/commit/2e6aa647)
- Print warnings form Vite plugins - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6724](https://redirect.github.com/vitest-dev/vitest/issues/6724) [(121b1)](https://redirect.github.com/vitest-dev/vitest/commit/121b161f)
- Don't fail if the working directory starts with a lowercase drive letter - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6779](https://redirect.github.com/vitest-dev/vitest/issues/6779) [(df6d7)](https://redirect.github.com/vitest-dev/vitest/commit/df6d750b)
- Silence import analysis warning - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6785](https://redirect.github.com/vitest-dev/vitest/issues/6785) [(39041)](https://redirect.github.com/vitest-dev/vitest/commit/39041ee5)
- **vitest,runner**:
- Simplify `test.extend` type exports - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6707](https://redirect.github.com/vitest-dev/vitest/issues/6707) [(e5c38)](https://redirect.github.com/vitest-dev/vitest/commit/e5c388f0)
##### 🏎 Performance
- Use `hash` to replace `createHash` - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/6703](https://redirect.github.com/vitest-dev/vitest/issues/6703) [(5d07b)](https://redirect.github.com/vitest-dev/vitest/commit/5d07bba6)
##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4)
Configuration
📅 Schedule: Branch creation - "after 5am on Saturday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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 contains the following updates:
11.0.0-rc.593
->11.0.0-rc.608
11.0.0-rc.593
->11.0.0-rc.608
11.0.0-rc.593
->11.0.0-rc.608
11.0.0-rc.593
->11.0.0-rc.608
22.8.1
->22.8.6
8.11.0
->8.12.2
8.11.0
->8.12.2
8.0.6
->8.0.7
15.0.1
->15.0.2
11.11.10
->11.11.11
15.0.1
->15.0.2
22.10.0-slim
->22.11.0-slim
22.10.0
->22.11.0
0.47.1
->0.48.0
0.13.1
->0.14.0
2.1.3
->2.1.4
Release Notes
trpc/trpc (@trpc/client)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) [Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) ### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) [Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) ### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) [Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) ### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) [Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) ### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc) [Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)trpc/trpc (@trpc/next)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) [Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) ### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) [Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) ### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) [Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) ### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) [Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) ### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc) [Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)trpc/trpc (@trpc/react-query)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) [Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) ### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) [Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) ### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) [Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) ### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) [Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) ### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc) [Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)trpc/trpc (@trpc/server)
### [`v11.0.0-rc.608`](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) [Compare Source](https://redirect.github.com/trpc/trpc/compare/ba163f18096c6586e1bcb9fbeb14e9c3e7458f82...f75de97b331c3eb64d16ac0d4d89fb7584358bf3) ### [`v11.0.0-rc.607`](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) [Compare Source](https://redirect.github.com/trpc/trpc/compare/03cd991dba00fe219759b308897137ecca1fe111...ba163f18096c6586e1bcb9fbeb14e9c3e7458f82) ### [`v11.0.0-rc.604`](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) [Compare Source](https://redirect.github.com/trpc/trpc/compare/5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640...03cd991dba00fe219759b308897137ecca1fe111) ### [`v11.0.0-rc.601`](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) [Compare Source](https://redirect.github.com/trpc/trpc/compare/e16cd8d7cee12eaf1545273858407f0947ca97fc...5a96855d9f2f19dd2a8a9d43f82cf64ac40cb640) ### [`v11.0.0-rc.599`](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc) [Compare Source](https://redirect.github.com/trpc/trpc/compare/f73cd3fd99734e83d3a6e8ea7ec77eb853055c43...e16cd8d7cee12eaf1545273858407f0947ca97fc)typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v8.12.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8122-2024-10-29) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.1...v8.12.2) ##### 🩹 Fixes - **eslint-plugin:** \[switch-exhaustiveness-check] invert `considerDefaultExhaustiveForUnions` ([#10223](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10223)) ##### ❤️ Thank You - Kirk Waiblinger [@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v8.12.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8121-2024-10-28) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.0...v8.12.1) This was a version bump only for eslint-plugin to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v8.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8120-2024-10-28) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.11.0...v8.12.0) ##### 🚀 Features - **eslint-plugin:** \[no-base-to-string] handle String() ([#10005](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10005)) - **eslint-plugin:** \[switch-exhaustiveness-check] add allowDefaultCaseMatchUnionMember option ([#9954](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9954)) - **eslint-plugin:** \[consistent-indexed-object-style] report mapped types ([#10160](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10160)) - **eslint-plugin:** \[prefer-nullish-coalescing] add support for assignment expressions ([#10152](https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10152)) ##### ❤️ Thank You - Abraham Guo - Kim Sang Du [@developer-bandi](https://redirect.github.com/developer-bandi) - Kirk Waiblinger [@kirkwaiblinger](https://redirect.github.com/kirkwaiblinger) - YeonJuan [@yeonjuan](https://redirect.github.com/yeonjuan) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v8.12.2`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8122-2024-10-29) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.1...v8.12.2) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v8.12.1`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8121-2024-10-28) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.12.0...v8.12.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v8.12.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#8120-2024-10-28) [Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.11.0...v8.12.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.vercel/next.js (eslint-config-next)
### [`v15.0.2`](https://redirect.github.com/vercel/next.js/compare/v15.0.1...2e28c965279de90ce4bfca673196c27dd6117027) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.0.1...v15.0.2)framer/motion (framer-motion)
### [`v11.11.11`](https://redirect.github.com/framer/motion/blob/HEAD/CHANGELOG.md#111111-2024-10-31) [Compare Source](https://redirect.github.com/framer/motion/compare/v11.11.10...v11.11.11) ##### Fixed - Fixing double `update()` call on mount.vercel/next.js (next)
### [`v15.0.2`](https://redirect.github.com/vercel/next.js/compare/v15.0.1...2e28c965279de90ce4bfca673196c27dd6117027) [Compare Source](https://redirect.github.com/vercel/next.js/compare/v15.0.1...v15.0.2)nodejs/node (node)
### [`v22.11.0`](https://redirect.github.com/nodejs/node/releases/tag/v22.11.0): 2024-10-29, Version 22.11.0 'Jod' (LTS), @richardlau [Compare Source](https://redirect.github.com/nodejs/node/compare/v22.10.0...v22.11.0) ##### Notable Changes This release marks the transition of Node.js 22.x into Long Term Support (LTS) with the codename 'Jod'. The 22.x release line now moves into "Active LTS" and will remain so until October 2025. After that time, it will move into "Maintenance" until end of life in April 2027. Other than updating metadata, such as the `process.release` object, to reflect that the release is LTS, no further changes from Node.js 22.10.0 are included. ##### OpenSSL 3.x Official binaries for Node.js 22.x currently include OpenSSL 3.0.x (more specifically, the [quictls OpenSSL fork](https://redirect.github.com/quictls/openssl)). OpenSSL 3.0.x is the currently designated long term support version that is scheduled to be supported until 7th September 2026, which is within the expected lifetime of Node.js 22.x. We are expecting upstream OpenSSL to announce a successor long term support version prior to that date and since OpenSSL now follows a semantic versioning-like versioning scheme we expect to be able to update to the next long term supported version of OpenSSL during the lifetime of Node.js 22.x.supertokens/supertokens-auth-react (supertokens-auth-react)
### [`v0.48.0`](https://redirect.github.com/supertokens/supertokens-auth-react/blob/HEAD/CHANGELOG.md#0480---2024-10-07) [Compare Source](https://redirect.github.com/supertokens/supertokens-auth-react/compare/v0.47.1...v0.48.0) ##### Fixes - Fixed an issue where the `AuthPage` was using full-page redirects to navigate to the password reset page if both emailpassword and passwordless were enabled. ##### Changes - Added the `OAuth2Provider` recipe - Changed the input types and default implementation of `AuthPageHeader` to show the client information in OAuth2 flows - Expanded an error message in `AuthPage` to help with common errors ##### Breaking changes - Now only supporting FDI 3.1 and 4.0 (Node >= 21.0.0) - All `getRedirectionURL` functions now also get a new `tenantIdFromQueryParams` prop - This is used in OAuth2 + Multi-tenant flows. - This should be safe to ignore if: - You are not using those recipes - You have a custom `getTenantId` implementation - You are not customizing paths of the pages handled by SuperTokens. - This is used to keep the `tenantId` query param during internal redirections between pages handled by the SDK. - If you have custom paths, you should set the tenantId queryparam based on this. (See migrations below for more details) - Added a new `shouldTryLinkingToSessionUser` flag to sign in/up related function inputs: - No action is needed if you are not using MFA/session based account linking. - If you are implementing MFA: - Plase set this flag to `false` (or leave as undefined) during first factor sign-ins - Please set this flag to `true` for secondary factors. - Please forward this flag to the original implementation in any of your overrides. - Changed functions: - `EmailPassword`: - `signIn`, `signUp`: both override and callable functions - `ThirdParty`: - `getAuthorisationURLWithQueryParamsAndSetState`: both override and callable function - `redirectToThirdPartyLogin`: callable function takes this flag as an optional input (it defaults to false on the backend) - `Passwordless`: - Functions overrides: `consumeCode`, `resendCode`, `createCode`, `setLoginAttemptInfo`, `getLoginAttemptInfo` - Calling `createCode` and `setLoginAttemptInfo` take this flag as an optional input (it defaults to false on the backend) - Changed the default implementation of `getTenantId` to default to the `tenantId` query parameter (if present) then falling back to the public tenant instead of always defaulting to the public tenant - We now disable session based account linking in the magic link based flow in passwordless by default - This is to make it function more consistently instead of only working if the link was opened on the same device - You can override by overriding the `consumeCode` function in the Passwordless Recipe ##### Migration ##### tenantIdFromQueryParams in getRedirectionURL Before: ```ts EmailPassword.init({ async getRedirectionURL(context) { if (context.action === "RESET_PASSWORD") { return `/reset-password`; } return ""; }, }); ``` After: ```ts EmailPassword.init({ async getRedirectionURL(context) { return `/reset-password?tenantId=${context.tenantIdFromQueryParams}`; }, }); ``` ##### Session based account linking for magic link based flows You can re-enable linking by overriding the `consumeCode` function in the passwordless recipe and setting `shouldTryLinkingToSessionUser` to `true`. ```ts Passwordless.init({ override: { functions: (original) => { return { ...original, consumeCode: async (input) => { // Please note that this is means that the session is required and will cause an error if it is not present return original.consumeCode({ ...input, shouldTryLinkingWithSessionUser: true }); }, }; }, }, }); ```supertokens/supertokens-web-js (supertokens-web-js)
### [`v0.14.0`](https://redirect.github.com/supertokens/supertokens-web-js/blob/HEAD/CHANGELOG.md#0140---2024-10-07) [Compare Source](https://redirect.github.com/supertokens/supertokens-web-js/compare/v0.13.1...v0.14.0) - Added the OAuth2Provider recipe ##### Breaking changes - Now only supporting FDI 3.1 and 4.0 (Node >= 21.0.0) - Added a new `shouldTryLinkingToSessionUser` flag to sign in/up related function inputs: - No action is needed if you are not using MFA/session based account linking. - If you are implementing MFA: - Plase set this flag to `false` (or leave as undefined) during first factor sign-ins - Please set this flag to `true` for secondary factors. - Please forward this flag to the original implementation in any of your overrides. - Changed functions: - `EmailPassword.signIn`, `EmailPassword.signUp`: both override and callable functions - `ThirdParty.getAuthorisationURLWithQueryParamsAndSetState`: both override and callable function - `Passwordless`: - Functions overrides: `consumeCode`, `resendCode`, `createCode`, `setLoginAttemptInfo`, `getLoginAttemptInfo` - Calling `createCode` and `setLoginAttemptInfo` take this flag as an optional input (it defaults to false) - Changed the default implementation of `getTenantId` to default to the `tenantId` query parameter (if present) then falling back to the public tenant instead of always defaulting to the public tenant - We now disable session based account linking in the magic link based flow in passwordless by default - This is to make it function more consistently instead of only working if the link was opened on the same device - You can override by overriding the `consumeCode` function in the Passwordless Recipe (see in the Migration guide section below for more information) ##### Migration guide ##### Session based account linking for magic link based flows You can re-enable linking by overriding the `consumeCode` function in the passwordless recipe and setting `shouldTryLinkingToSessionUser` to `true`. ```ts Passwordless.init({ override: { functions: (original) => { return { ...original, consumeCode: async (input) => { // Please note that this is means that the session is required and will cause an error if it is not present return original.consumeCode({ ...input, shouldTryLinkingWithSessionUser: true }); }, }; }, }, }); ```vitest-dev/vitest (vitest)
### [`v2.1.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v2.1.4) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4) ##### 🚀 Features - **browser**: Allow custom HTML path, respect plugins `transformIndexHtml` - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6725](https://redirect.github.com/vitest-dev/vitest/issues/6725) [(16902)](https://redirect.github.com/vitest-dev/vitest/commit/169028f0) ##### 🐞 Bug Fixes - Don't normalize drive case letter in root - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6792](https://redirect.github.com/vitest-dev/vitest/issues/6792) [(b28cd)](https://redirect.github.com/vitest-dev/vitest/commit/b28cd2e3) - **browser**: - Fix default browser port - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6700](https://redirect.github.com/vitest-dev/vitest/issues/6700) [(9c518)](https://redirect.github.com/vitest-dev/vitest/commit/9c518c14) - Optimize expect-type - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6713](https://redirect.github.com/vitest-dev/vitest/issues/6713) [(07918)](https://redirect.github.com/vitest-dev/vitest/commit/07918538) - Don't polyfill process.env - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6718](https://redirect.github.com/vitest-dev/vitest/issues/6718) [(da6d2)](https://redirect.github.com/vitest-dev/vitest/commit/da6d2ea7) - Increment browser port automatically if there are several projects with browser.enabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6717](https://redirect.github.com/vitest-dev/vitest/issues/6717) [(a9397)](https://redirect.github.com/vitest-dev/vitest/commit/a939779f) - Cleanup keyboard state - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6731](https://redirect.github.com/vitest-dev/vitest/issues/6731) [(19278)](https://redirect.github.com/vitest-dev/vitest/commit/19278f4c) - Don't add `v=` queries to setup files imports - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6759](https://redirect.github.com/vitest-dev/vitest/issues/6759) [(b8258)](https://redirect.github.com/vitest-dev/vitest/commit/b82584c9) - User event cleanup on retry - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6764](https://redirect.github.com/vitest-dev/vitest/issues/6764) [(bdd15)](https://redirect.github.com/vitest-dev/vitest/commit/bdd15dd1) - Ignore non mocked msw requests - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6770](https://redirect.github.com/vitest-dev/vitest/issues/6770) [(9d9ba)](https://redirect.github.com/vitest-dev/vitest/commit/9d9bad5b) - Initiate MSW in the same frame as tests - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6772](https://redirect.github.com/vitest-dev/vitest/issues/6772) [(2444f)](https://redirect.github.com/vitest-dev/vitest/commit/2444ff22) - **deps**: - Update dependency sirv to v3 - in [https://github.com/vitest-dev/vitest/issues/6701](https://redirect.github.com/vitest-dev/vitest/issues/6701) [(fde5d)](https://redirect.github.com/vitest-dev/vitest/commit/fde5d509) - **expect**: - Correct behavior of `toThrowError` with empty string parameter - by [@shulaoda](https://redirect.github.com/shulaoda) in [https://github.com/vitest-dev/vitest/issues/6710](https://redirect.github.com/vitest-dev/vitest/issues/6710) [(a6129)](https://redirect.github.com/vitest-dev/vitest/commit/a61293e9) - **mocker**: - Remove spy from peer dependencies - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6777](https://redirect.github.com/vitest-dev/vitest/issues/6777) [(3a8b5)](https://redirect.github.com/vitest-dev/vitest/commit/3a8b56bf) - **vitest**: - Clarify slowTestThreshold, print slow tests in non-TTY mode - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6715](https://redirect.github.com/vitest-dev/vitest/issues/6715) [(2e6aa)](https://redirect.github.com/vitest-dev/vitest/commit/2e6aa647) - Print warnings form Vite plugins - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6724](https://redirect.github.com/vitest-dev/vitest/issues/6724) [(121b1)](https://redirect.github.com/vitest-dev/vitest/commit/121b161f) - Don't fail if the working directory starts with a lowercase drive letter - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6779](https://redirect.github.com/vitest-dev/vitest/issues/6779) [(df6d7)](https://redirect.github.com/vitest-dev/vitest/commit/df6d750b) - Silence import analysis warning - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6785](https://redirect.github.com/vitest-dev/vitest/issues/6785) [(39041)](https://redirect.github.com/vitest-dev/vitest/commit/39041ee5) - **vitest,runner**: - Simplify `test.extend` type exports - by [@hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/6707](https://redirect.github.com/vitest-dev/vitest/issues/6707) [(e5c38)](https://redirect.github.com/vitest-dev/vitest/commit/e5c388f0) ##### 🏎 Performance - Use `hash` to replace `createHash` - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/6703](https://redirect.github.com/vitest-dev/vitest/issues/6703) [(5d07b)](https://redirect.github.com/vitest-dev/vitest/commit/5d07bba6) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v2.1.3...v2.1.4)Configuration
📅 Schedule: Branch creation - "after 5am on Saturday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.