Skip to content

Commit d221023

Browse files
authored
Merge pull request #323 from kinde-oss/release/2.5
Release/2.6
2 parents 4a1bb93 + d0315a6 commit d221023

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1454
-3076
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/build-test-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [20.x]
15+
node-version: [22.x]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: pnpm/action-setup@v3
@@ -26,7 +26,7 @@ jobs:
2626
- name: Enabling pre-post scripts
2727
run: pnpm config set enable-pre-post-scripts true
2828
- run: pnpm install
29-
# - run: pnpm lint
29+
- run: pnpm lint
3030
- name: Cache pnpm modules
3131
uses: actions/cache@v4
3232
with:

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pnpm-lock.yaml
22
package-lock.json
33
package.json
4-
CHANGELOG.md
4+
CHANGELOG.md
5+
src/utils/version.js

.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"commitMessage": "chore: release v${version}"
55
},
66
"hooks": {
7-
"before:init": ["git pull", "npm run lint"],
7+
"before:init": ["git pull"],
88
"after:bump": "npx auto-changelog -p && npm run build"
99
},
1010
"github": {

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,73 @@ 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+
#### [v2.6.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.6...v2.6.0)
8+
9+
- feat: Add orgCode middleware option [`#326`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/326)
10+
- fix: Fix TS Types and organisation fixes [`#318`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/318)
11+
- fix: change tsconfig for consistency [`#325`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/325)
12+
- feat: On demand refreshing (and a passive refreshing enhancement) [`#322`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/322)
13+
- chore: replace rollup+tsc with vite [`#320`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/320)
14+
- chore: lockfile maintainace [`b3b46df`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b3b46df5558506c9ad37a8ad9a332ed78897672e)
15+
- chore: prettier [`262fa49`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/262fa492a82e294aa93265bca0e0f445d5f8612c)
16+
- chore: nuke rollup configs [`26efb0c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/26efb0cbab9cbb9605fbdb472adcfc90ade19f0f)
17+
18+
#### [v2.5.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.5...v2.5.6)
19+
20+
> 24 March 2025
21+
22+
- fix: update peerdeps for CVE-2025-29927 [`#316`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/316)
23+
- chore: release version 2.5.5 [`e3e6c92`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e3e6c929396f4e285b69f754b5d87faa774cce87)
24+
25+
#### [v2.5.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.4...v2.5.5)
26+
27+
> 24 March 2025
28+
29+
- fix: getFlag result [`#306`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/306)
30+
- fix: next upstream issues [`#314`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/314)
31+
- fix: workaround for upstream Next.js issue [`#312`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/312)
32+
- fix: un-js all next core imports [`85d3fee`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/85d3feef24526e1a10373d6e601da71d44bdb26d)
33+
- chore: migrate to eslint9 [`13697b1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/13697b1d9e981f3a0215dd842a51b7f5f84cec69)
34+
- fix: append .js to all `next/` imports [`99bbafc`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/99bbafc775a24d818f84934ea17a33e5b99064de)
35+
36+
#### [v2.5.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.3...v2.5.4)
37+
38+
> 12 March 2025
39+
40+
- fix: postLoginRedirectURL within callback [`#308`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/308)
41+
- chore(deps): update dependency changelogen to v0.6.1 [`#302`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/302)
42+
- fix: postLoginRedirectURL logic [`2c4a7fb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2c4a7fb46c2d6afb3158519e8a1b86ecead366dc)
43+
- Merge pull request #298 from Yoshify/fix/type-export [`7a71f07`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7a71f070d60c1725e3df0e7cf307df765347028d)
44+
- fix: export the correct type declaration [`406d90f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/406d90fc8234e60407a09e4b505794e211917052)
45+
46+
#### [v2.5.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.2...v2.5.3)
47+
48+
> 27 February 2025
49+
50+
- chore: release 2.5.3 [`b635ad7`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b635ad7f6ff7845a7c4e3a4d2e55ae4746c28802)
51+
- fix: export the correct type declaration [`0066f44`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/0066f4413f0be6c41a53aa2204bce802d9aa7f7a)
52+
53+
#### [v2.5.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.1...v2.5.2)
54+
55+
> 25 February 2025
56+
57+
- chore(deps): update dependency @vitest/coverage-v8 to v3.0.6 [`#282`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/282)
58+
- chore(deps): update actions/checkout action to v4 [`#289`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/289)
59+
- chore(deps): update dependency eslint to v9.20.1 [`#284`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/284)
60+
- chore(deps): bump next from 15.0.3 to 15.1.7 [`#275`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/275)
61+
- fix missed rollup errors [`#280`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/280)
62+
- chore: Configure Renovate [`#276`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/276)
63+
- deps: update dependancies [`#272`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/272)
64+
- Merge pull request #292 from kinde-oss/fix/hasuramapping [`5aee414`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5aee414f0b32cc1dab2ae9a965708d8ec99c1f4f)
65+
- Merge pull request #295 from kinde-oss/renovate/vitest-monorepo [`19239d5`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/19239d53675dffb2a938260f3453e9294d93ecc2)
66+
- chore(deps): update vitest monorepo to v3.0.7 [`1e25d1d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1e25d1d7650150ff979a4e8d3e82058a7413e1c9)
67+
768
#### [v2.5.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.5.0...v2.5.1)
869

70+
> 13 February 2025
71+
972
- fix: don't require org name to return org object [`#274`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/274)
73+
- chore: release v2.5.1 [`7f99619`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7f99619afcc7ae5ef32579b3f9c08f32cc0c8d26)
1074
- chore: lint [`088da86`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/088da865ed87b4139c62dd3d4381076d8f9f63e7)
1175

1276
#### [v2.5.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.4.6...v2.5.0)

components/package.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import globals from "globals";
3+
import path from "node:path";
4+
import { fileURLToPath } from "node:url";
5+
import js from "@eslint/js";
6+
import { FlatCompat } from "@eslint/eslintrc";
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
const compat = new FlatCompat({
11+
baseDirectory: __dirname,
12+
recommendedConfig: js.configs.recommended,
13+
allConfig: js.configs.all,
14+
});
15+
16+
export default defineConfig([
17+
globalIgnores([
18+
"**/node_modules",
19+
"**/dist",
20+
"**/.DS_Store",
21+
"**/coverage",
22+
"**/.next",
23+
]),
24+
{
25+
extends: compat.extends("eslint:recommended", "prettier"),
26+
27+
languageOptions: {
28+
globals: {
29+
...globals.browser,
30+
},
31+
32+
ecmaVersion: 13,
33+
sourceType: "module",
34+
},
35+
36+
rules: {},
37+
38+
ignores: [],
39+
},
40+
]);

eslint.config.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ import { FlatCompat } from "@eslint/eslintrc";
88
const __filename = fileURLToPath(import.meta.url);
99
const __dirname = path.dirname(__filename);
1010
const compat = new FlatCompat({
11-
baseDirectory: __dirname,
12-
recommendedConfig: js.configs.recommended,
13-
allConfig: js.configs.all
11+
baseDirectory: __dirname,
12+
recommendedConfig: js.configs.recommended,
13+
allConfig: js.configs.all,
1414
});
1515

1616
export default defineConfig([
17-
globalIgnores(["**/node_modules", "**/dist", "**/.DS_Store", "**/coverage"]),
18-
{
19-
extends: compat.extends("eslint:recommended", "prettier"),
20-
21-
languageOptions: {
22-
globals: {
23-
...globals.browser,
24-
},
17+
globalIgnores(["**/node_modules", "**/dist", "**/.DS_Store", "**/coverage"]),
18+
{
19+
extends: compat.extends("eslint:recommended", "prettier"),
2520

26-
ecmaVersion: 13,
27-
sourceType: "module",
28-
},
29-
rules: {},
21+
languageOptions: {
22+
globals: {
23+
...globals.browser,
24+
},
25+
26+
ecmaVersion: 13,
27+
sourceType: "module",
3028
},
29+
rules: {},
30+
},
3131
]);

jest.config.js renamed to jest.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** @type {import('ts-jest').JestConfigWithTsJest} */
2-
module.exports = {
2+
export default {
33
preset: "ts-jest",
44
testEnvironment: "jsdom",
55
transform: {

0 commit comments

Comments
 (0)