Skip to content

Commit 0b7a5e7

Browse files
Merge branch 'main' into drop-node-18-from-ci
2 parents 7349446 + 97a4d5c commit 0b7a5e7

1,511 files changed

Lines changed: 137246 additions & 2563 deletions

File tree

Some content is hidden

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

.azure-pipelines/release.yml

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool.
2+
# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected.
3+
# This pipeline will be extended to the OneESPT template
4+
# The pool section has been filled with placeholder values, replace the pool section with your hosted pool, os, and image name. If you are using a Linux image, you must specify an additional windows image for SDL: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/overview#how-to-specify-a-windows-pool-for-the-sdl-source-analysis-stage
5+
# This publishes to https://www.npmjs.com/package/@microsoft/microsoft-graph-types
6+
7+
name: $(BuildDefinitionName)_$(SourceBranchName)_$(Date:yyyyMMdd)$(Rev:.r)
8+
trigger:
9+
tags:
10+
include:
11+
- '*'
12+
13+
pr: none
14+
15+
variables:
16+
package_name: 'typescript-msgraph-sdk-beta'
17+
18+
resources:
19+
repositories:
20+
- repository: 1ESPipelineTemplates
21+
type: git
22+
name: 1ESPipelineTemplates/1ESPipelineTemplates
23+
ref: refs/tags/release
24+
25+
extends:
26+
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
27+
parameters:
28+
pool:
29+
name: Azure-Pipelines-1ESPT-ExDShared
30+
vmImage: windows-latest
31+
stages:
32+
- stage: build
33+
jobs:
34+
- job: build_sdk
35+
pool:
36+
name: Azure-Pipelines-1ESPT-ExDShared
37+
image: ubuntu-latest
38+
os: linux
39+
displayName: Build, Test, and Package beta SDK
40+
templateContext:
41+
outputs:
42+
- output: pipelineArtifact
43+
displayName: 'Publish Artifact drop'
44+
targetPath: '$(Build.ArtifactStagingDirectory)'
45+
artifactName: npm_$(package_name)
46+
steps:
47+
- task: UseNode@1
48+
displayName: 'Install Node.js'
49+
inputs:
50+
version: '22.x'
51+
52+
- task: Npm@1
53+
inputs:
54+
command: 'ci'
55+
verbose: true
56+
displayName: 'Install npm dependencies with retry'
57+
58+
- script: npm run build
59+
displayName: 'Build project'
60+
workingDirectory: '$(Build.SourcesDirectory)'
61+
62+
- task: PowerShell@2
63+
displayName: 'Copy README.md to packages'
64+
inputs:
65+
filePath: './scripts/copy-readme.ps1'
66+
67+
68+
# Pack Typescript sdk packages (exclude tests package)
69+
- script: |
70+
for dir in packages/*/; do
71+
pkg_name=$(basename "$dir")
72+
if [ "$pkg_name" != "msgraph-beta-sdk-tests" ]; then
73+
npm pack --pack-destination=$(Build.ArtifactStagingDirectory) -w "$dir"
74+
fi
75+
done
76+
displayName: 'Generate npm packages of the Typescript msgraph sdk'
77+
workingDirectory: '$(Build.SourcesDirectory)'
78+
79+
80+
- stage: deploy
81+
displayName: 'Deploy beta Typescript SDK packages'
82+
# This condition deploys on successful CI runs for success builds and also allows for manual deployments from an arbitrary branch
83+
condition: or(and(contains(variables['Build.SourceBranch'], 'refs/tags/'), succeeded()), eq(variables['Build.Reason'], 'Manual'))
84+
dependsOn:
85+
- build
86+
jobs:
87+
- deployment: deploy_npm
88+
pool:
89+
name: Azure-Pipelines-1ESPT-ExDShared
90+
image: ubuntu-latest
91+
os: linux
92+
dependsOn: []
93+
environment: msgraph-npm-org
94+
95+
templateContext:
96+
type: releaseJob
97+
isProduction: true
98+
inputs:
99+
- input: pipelineArtifact
100+
artifactName: npm_$(package_name)
101+
targetPath: '$(Build.ArtifactStagingDirectory)/npm'
102+
103+
strategy:
104+
runOnce:
105+
deploy:
106+
steps:
107+
- task: EsrpRelease@9
108+
displayName: 'Publish beta NPM package via ESRP Release'
109+
inputs:
110+
connectedservicename: "Federated DevX ESRP Managed Identity Connection"
111+
usemanagedidentity: false
112+
keyvaultname: 'akv-prod-eastus'
113+
authcertname: 'ReferenceLibraryPrivateCert'
114+
signcertname: 'ReferencePackagePublisherCertificate'
115+
clientid: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
116+
intent: 'PackageDistribution'
117+
contenttype: 'npm'
118+
contentsource: 'Folder'
119+
folderlocation: '$(Build.ArtifactStagingDirectory)/npm'
120+
owners: 'mmainer@microsoft.com,gavinbarron@microsoft.com'
121+
approvers: 'mmainer@microsoft.com,christiano@microsoft.com,lramosvea@microsoft.com,gavinbarron@microsoft.com'
122+
serviceendpointurl: 'https://api.esrp.microsoft.com'
123+
mainpublisher: 'ESRPRELPACMAN'
124+
domaintenantid: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'

.github/workflows/auto-merge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v2.4.0
22+
uses: dependabot/fetch-metadata@v2.5.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

.github/workflows/build.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
# Single version should work for compilation testing
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v6
2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
- run: npm ci
@@ -63,24 +63,3 @@ jobs:
6363
- name: One or more build matrix options failed
6464
if: ${{ contains(needs.*.result, 'failure') }}
6565
run: exit 1
66-
67-
publish-npm:
68-
if: startsWith(github.ref, 'refs/tags/')
69-
needs: build
70-
environment:
71-
name: production_feed
72-
runs-on: ubuntu-latest
73-
steps:
74-
- uses: actions/checkout@v4
75-
- uses: actions/setup-node@v4
76-
with:
77-
node-version: 22
78-
registry-url: https://registry.npmjs.org/
79-
- name: Copy README.md to packages
80-
shell: pwsh
81-
run: ./scripts/copy-readme.ps1
82-
- run: npm ci
83-
- run: npm run build
84-
- run: npx lerna publish from-package --no-push --yes
85-
env:
86-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v6
5050

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

6969
# ℹ️ Command-line programs to run using the OS shell.
7070
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -77,6 +77,6 @@ jobs:
7777
# ./location_of_script_within_repo/buildscript.sh
7878

7979
- name: Perform CodeQL Analysis
80-
uses: github/codeql-action/analyze@v3
80+
uses: github/codeql-action/analyze@v4
8181
with:
8282
category: "/language:${{matrix.language}}"

.github/workflows/release-please-gha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
release:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323

2424
- name: Generate GitHub App token
2525
id: app-token

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.0.0-preview.64"
2+
".": "1.0.0-preview.73"
33
}

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,73 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.0-preview.73](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.72...v1.0.0-preview.73) (2026-01-22)
9+
10+
11+
### Features
12+
13+
* **generation:** update request builders and models ([#444](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/issues/444)) ([b247ed6](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/b247ed68f87cd027d444699c31e61d2f1132dee7))
14+
15+
## [1.0.0-preview.72](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.71...v1.0.0-preview.72) (2026-01-07)
16+
17+
18+
### Features
19+
20+
* **generation:** update request builders and models ([59ff9a1](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/59ff9a1e3cf5c77c791a3e4f7ddc0f6df917aecf))
21+
22+
## [1.0.0-preview.71](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.70...v1.0.0-preview.71) (2025-12-17)
23+
24+
25+
### Features
26+
27+
* **generation:** update request builders and models ([a95c5a2](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/a95c5a2f1f2d2b137ad4b6136c43275c9c4cf4a0))
28+
29+
## [1.0.0-preview.70](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.69...v1.0.0-preview.70) (2025-12-03)
30+
31+
32+
### Features
33+
34+
* **generation:** update request builders and models ([#425](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/issues/425)) ([007db47](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/007db47ca44552880496dfd9dc0d1a058a0b8338))
35+
36+
## [1.0.0-preview.69](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.68...v1.0.0-preview.69) (2025-11-19)
37+
38+
39+
### Features
40+
41+
* **generation:** update request builders and models ([8feb5c4](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/8feb5c403523382d6f34db82ea07f22106b6b6eb))
42+
43+
## [1.0.0-preview.68](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.67...v1.0.0-preview.68) (2025-11-06)
44+
45+
46+
### Features
47+
48+
* **generation:** update request builders and models ([#414](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/issues/414)) ([e9f471e](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/e9f471e0eec7315a8fbfdbe5f5f1b339d4e9d769))
49+
50+
## [1.0.0-preview.67](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.66...v1.0.0-preview.67) (2025-10-21)
51+
52+
53+
### Features
54+
55+
* **generation:** update request builders and models ([9eec7e4](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/9eec7e4873a705800c24a552047dccf9ce5a8482))
56+
* **generation:** update request builders and models ([19b6936](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/19b69369567fd7ababc3236ce245190c9fe04cdc))
57+
* **generation:** update request builders and models ([3126292](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/31262929f25184cc1b4929afb63bbc7e434b21b2))
58+
* **generation:** update request builders and models ([32564b4](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/32564b4ba890d4eb9be48271152099b7db2cbe0c))
59+
60+
## [1.0.0-preview.66](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.65...v1.0.0-preview.66) (2025-09-16)
61+
62+
63+
### Features
64+
65+
* **generation:** update request builders and models ([8836e8f](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/8836e8f353b6201813ef5c11495cc0f4349d5247))
66+
* **generation:** update request builders and models ([9fefdae](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/9fefdae9e21c87dc8e1055163ae3944ee7bd55f8))
67+
68+
## [1.0.0-preview.65](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.64...v1.0.0-preview.65) (2025-08-20)
69+
70+
71+
### Features
72+
73+
* **generation:** update request builders and models ([e418134](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/commit/e4181344383e8bb07cd99bb4fb0548260565e5a1))
74+
875
## [1.0.0-preview.64](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/compare/v1.0.0-preview.63...v1.0.0-preview.64) (2025-08-12)
976

1077

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "1.0.0-preview.64"
3+
"version": "1.0.0-preview.73"
44
}

0 commit comments

Comments
 (0)