Skip to content

Commit ae310a6

Browse files
pankhur94MichaelSwigerAtBentleyaruniverse
authored
[ node-cli | oidc-signin-tool | service ] : Drop support for core v3 and v4 (#306)
Co-authored-by: Pankhur Dhaila <pankhur94@users.noreply.github.com> Co-authored-by: Michael Swiger <108895074+MichaelSwigerAtBentley@users.noreply.github.com> Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>
1 parent e0e6ed4 commit ae310a6

16 files changed

+198
-606
lines changed

.pipelines/build-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ stages:
3333
clean: true
3434

3535
- task: NodeTool@0
36-
displayName: Use Node 18
36+
displayName: Use Node 20
3737
inputs:
38-
versionSpec: 18
38+
versionSpec: 20
3939
checkLatest: true
4040

4141
- script: npm install -g pnpm@9

.pipelines/integration-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
persistCredentials: true
3333

3434
- task: NodeTool@0
35-
displayName: Use Node 18
35+
displayName: Use Node 20
3636
inputs:
37-
versionSpec: 18.16.x
37+
versionSpec: 20.19.x
3838

3939
- script: npm install -g pnpm@9
4040
displayName: Install pnpm

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ There is also an [authorization client for command-line developer tools](./packa
2222

2323
## Prerequisites
2424

25-
- [Node](https://nodejs.org/en/): an installation of the latest security patch of Node 18. The Node installation also includes the **npm** package manager.
25+
- [Node](https://nodejs.org/en/): an installation of the latest security patch of Node 20. The Node installation also includes the **npm** package manager.
2626
- [pnpm](https://pnpm.io/): [prefer installation via npm corepack](https://pnpm.io/installation#using-corepack)
2727

2828
## Build Instructions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "",
4+
"packageName": "@itwin/browser-authorization",
5+
"email": "pankhur94@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "",
4+
"packageName": "@itwin/electron-authorization",
5+
"email": "pankhur94@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "major",
3+
"comment": "Drop support for core v3 and v4",
4+
"packageName": "@itwin/node-cli-authorization",
5+
"email": "pankhur94@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "major",
3+
"comment": "Drop support for core v3 and v4 and bump oidc-client-ts to latest major",
4+
"packageName": "@itwin/oidc-signin-tool",
5+
"email": "pankhur94@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "major",
3+
"comment": "Drop support for v3 and v4 and bump jwks-rsa to latest major",
4+
"packageName": "@itwin/service-authorization",
5+
"email": "pankhur94@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@playwright/test": "~1.48.2",
4242
"@types/chai": "^4.2.22",
4343
"@types/mocha": "^8.2.3",
44-
"@types/node": "^18.11.5",
44+
"@types/node": "^20.14.8",
4545
"@types/sinon": "^10.0.13",
4646
"chai": "^4.2.2",
4747
"dotenv": "~16.0.3",

packages/electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@types/chai": "^4.2.22",
5757
"@types/chai-as-promised": "^7.1.1",
5858
"@types/mocha": "^8.2.3",
59-
"@types/node": "~18.18.0",
59+
"@types/node": "^20.14.8",
6060
"@types/sinon": "^10.0.13",
6161
"chai": "^4.2.2",
6262
"chai-as-promised": "^7.1.1",

0 commit comments

Comments
 (0)