Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .azure-pipelines/ci-build-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,18 @@ stages:
vmImage: windows-latest
strategy:
matrix:
Node 14:
NODE_VERSION: '14.x'
Node 16:
NODE_VERSION: '16.x'
Node 18:
NODE_VERSION: '18.x'
Node 20:
NODE_VERSION: '20.x'
Node 22:
NODE_VERSION: '22.x'
Node 24:
NODE_VERSION: '24.x'
Node 26:
NODE_VERSION: '26.x'
maxParallel: 2
steps:
- template: ./common-templates/security-pre-checks.yml
- task: NodeTool@0
- task: UseNode@1
inputs:
versionSpec: $(NODE_VERSION)
version: $(NODE_VERSION)
displayName: 'Install Node.js'

- script: npm ci
Expand Down Expand Up @@ -61,9 +59,9 @@ stages:
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
- task: UseNode@1
inputs:
versionSpec: '16.x'
version: '22.x'
displayName: 'Install Node.js'

- script: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [22.x, 24.x, 26.x]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci

- name: Build for node 16, 18 & 20
- name: Build for Node.js ${{ matrix.node-version }}
run: npm run build

- name: Run unit tests
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
2 changes: 1 addition & 1 deletion .github/workflows/project-auto-add.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.GRAPHBOT_APP_ID }}
private-key: ${{ secrets.GRAPHBOT_APP_PEM }}
Expand Down
15 changes: 3 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
language: node_js
node_js:
- "node"
- "lts/*"
- "10.15.1"
- "10.0.0"
- "9.11.2"
- "9.0.0"
- "8.15.0"
- "8.0.0"
- "7.10.1"
- "7.0.0"
- "6.16.0"
- "6.0.0"
- "22"
- "24"
- "26"
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Bug Fixes

## 0.3.1

- Support for Node.js versions 4 and 5
- Expanded Node.js runtime support.

## 0.3.0

Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ To make the contribution process as seamless as possible, follow these steps.

You navigate to the repository on your computer by using File Explorer. The repository files are in `C:\Users\<yourusername>\<repo name>`.

Use Node.js 22 or higher for development. CI builds and tests run on Node.js 22, 24, and 26, and production release artifacts are built using Node.js 22.

To install dependencies that are necessary for development run,

```cmd
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ The Microsoft Graph JavaScript client library is a lightweight wrapper around th

## Node version requirement

Node.js 12 LTS or higher. The active Long Term Service (LTS) version of Node.js is used for on-going testing of existing and upcoming product features.

For Node.js 18 users, it is recommended to disable the experimental `fetch` feature by supplying the `--no-experimental-fetch` command-line flag while using the Microsoft Graph JavaScript client library.
Node.js 22 or higher is required. Builds and tests run on Node.js 22, 24, and 26. Production release artifacts are built using Node.js 22.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion changelogs/v3-upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

### Supported Node version and TypeScript update

- Microsoft Graph JS SDK requires Node.js 12 LTS or higher. The active Long Term Service (LTS) version of Node.js is used for on-going testing of existing and upcoming product features.
- For current runtime requirements, see [Node version requirement](../README.md#node-version-requirement).
- Updated to TypeScript 4.x.

### Removing `ImplicitMSALAuthenticationProvider` and `MSALAuthenticationProviderOptions` class.
Expand Down
2 changes: 1 addition & 1 deletion design/kiota-e2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Before we jump into the end-to-end walk-through, it's important to set some cons

| Type | Environment | Description |
| --------- | ----------- | ------------------------------------------------------------------------------------------------- |
| Platforms | Node | Current and Previous LTS (14 / 16) |
| Platforms | Node | Node.js 22 or higher; builds and tests run on 22, 24, and 26 |
| Platforms | Web | Edge, Chrome, Firefox and Safari (Latest released version + immediate previous version) |
| Modules | Node | ESM + CJS |
| Modules | Web | ESM |
Expand Down
121 changes: 40 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading