Skip to content

Commit 9776c95

Browse files
authored
Merge pull request #307 from kinde-oss/release/v5.12.0
chore: releaseV5.12.0
2 parents 46e923c + 241624b commit 9776c95

4 files changed

Lines changed: 41 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,34 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [5.12.0](https://github.com/kinde-oss/kinde-auth-react/compare/5.11.2...5.12.0)
8+
9+
- chore(deps): update dependency @types/react to v19.2.15 [`#302`](https://github.com/kinde-oss/kinde-auth-react/pull/302)
10+
- chore(deps): update typescript-eslint monorepo to v8.59.4 [`#301`](https://github.com/kinde-oss/kinde-auth-react/pull/301)
11+
- chore(deps): bump basic-ftp from 5.2.0 to 5.3.1 [`#300`](https://github.com/kinde-oss/kinde-auth-react/pull/300)
12+
- chore(deps): update dependency vite to v8.0.13 [`#298`](https://github.com/kinde-oss/kinde-auth-react/pull/298)
13+
- chore(deps): update dependency eslint to v10.4.0 [`#299`](https://github.com/kinde-oss/kinde-auth-react/pull/299)
14+
- Release/v5.11.2 [`#278`](https://github.com/kinde-oss/kinde-auth-react/pull/278)
15+
- chore(deps): update dependency @types/node to v24.12.4 [`#297`](https://github.com/kinde-oss/kinde-auth-react/pull/297)
16+
- chore(deps): update typescript-eslint monorepo to v8.59.3 [`#295`](https://github.com/kinde-oss/kinde-auth-react/pull/295)
17+
- chore(deps): update vitest monorepo to v4.1.6 [`#296`](https://github.com/kinde-oss/kinde-auth-react/pull/296)
18+
- chore(deps): update pnpm to v10.33.3 [`#287`](https://github.com/kinde-oss/kinde-auth-react/pull/287)
19+
- chore(deps): update typescript-eslint monorepo to v8.59.2 [`#288`](https://github.com/kinde-oss/kinde-auth-react/pull/288)
20+
- feat: add support for `invitationCode` [`#213`](https://github.com/kinde-oss/kinde-auth-react/pull/213)
21+
- chore(deps): update typescript-eslint monorepo to v8.59.1 [`#284`](https://github.com/kinde-oss/kinde-auth-react/pull/284)
22+
- chore(deps): update pnpm to v10.33.2 [`#283`](https://github.com/kinde-oss/kinde-auth-react/pull/283)
23+
- chore(deps): update dependency vite to v8.0.10 [`#282`](https://github.com/kinde-oss/kinde-auth-react/pull/282)
24+
- chore(deps): update pnpm to v10.33.1 [`#281`](https://github.com/kinde-oss/kinde-auth-react/pull/281)
25+
- chore(deps): update vitest monorepo to v4.1.5 [`#280`](https://github.com/kinde-oss/kinde-auth-react/pull/280)
26+
- chore(deps): update typescript-eslint monorepo to v8.59.0 [`#279`](https://github.com/kinde-oss/kinde-auth-react/pull/279)
27+
- Merge pull request #294 from kinde-oss/renovate/vite-8.x-lockfile [`96f194c`](https://github.com/kinde-oss/kinde-auth-react/commit/96f194cd29d364d3bbcc6cd3998caa20cf2228d4)
28+
- chore(deps): update dependency vite to v8.0.12 [`72203aa`](https://github.com/kinde-oss/kinde-auth-react/commit/72203aa94b1e29d70aa05ab09982a3d106d8a25e)
29+
- Merge pull request #293 from kinde-oss/renovate/node-24.x-lockfile [`e654972`](https://github.com/kinde-oss/kinde-auth-react/commit/e6549723966fe11792c5f228074c23320bd683df)
30+
731
#### [5.11.2](https://github.com/kinde-oss/kinde-auth-react/compare/5.11.1...5.11.2)
832

33+
> 20 April 2026
34+
935
- chore(deps): update dependency vite to v8.0.9 [`#276`](https://github.com/kinde-oss/kinde-auth-react/pull/276)
1036
- fix: guard init against empty domain/clientId/redirectUri [`#277`](https://github.com/kinde-oss/kinde-auth-react/pull/277)
1137
- chore(deps): upgrade vite to v8 with required migration [`#275`](https://github.com/kinde-oss/kinde-auth-react/pull/275)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kinde-oss/kinde-auth-react",
3-
"version": "5.11.2",
3+
"version": "5.12.0",
44
"description": "Kinde React SDK for authentication",
55
"module": "./dist/index.mjs",
66
"main": "./dist/index.cjs",

src/state/KindeProvider.test.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import "@testing-library/jest-dom/vitest";
22
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
3-
import { render, act, fireEvent, screen, waitFor } from "@testing-library/react";
3+
import {
4+
render,
5+
act,
6+
fireEvent,
7+
screen,
8+
waitFor,
9+
} from "@testing-library/react";
410
import { renderToString } from "react-dom/server";
511
import { KindeProvider } from "./KindeProvider";
612
import React, { useContext } from "react";
@@ -392,7 +398,9 @@ describe("KindeProvider", () => {
392398
| undefined;
393399

394400
navigateToKindeMock.mockImplementation(
395-
(opts: { handleResult?: (p: URLSearchParams) => void | Promise<void> }) => {
401+
(opts: {
402+
handleResult?: (p: URLSearchParams) => void | Promise<void>;
403+
}) => {
396404
handleResult = opts.handleResult;
397405
},
398406
);

src/state/KindeProvider.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,10 @@ export const KindeProvider = ({
489489
}).catch((error) => {
490490
console.error("Error processing invitation code:", error);
491491
if (!contextRef.current) {
492-
console.error("Invitation redirect error (context unavailable):", error);
492+
console.error(
493+
"Invitation redirect error (context unavailable):",
494+
error,
495+
);
493496
} else {
494497
mergedCallbacks.onError?.(
495498
{

0 commit comments

Comments
 (0)