Skip to content

Commit e61c5b3

Browse files
Merge branch 'main' into dependabot/github_actions/actions/checkout-5
2 parents b9138d2 + da167ce commit e61c5b3

File tree

9,958 files changed

+20189
-20141
lines changed

Some content is hidden

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

9,958 files changed

+20189
-20141
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## -----------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See LICENSE.txt in the project root for license information.
4+
## -----------------------------------------------------------------------------
5+
#
6+
# Summary:
7+
# This GitHub Actions workflow automates the release process using Release Please.
8+
# It triggers on pushes to the main branch, generates a GitHub App token using organization
9+
# variables and secrets, and then runs the release-please-action to manage versioning and changelogs.
10+
11+
name: Release Please
12+
13+
on:
14+
push:
15+
branches:
16+
- main
17+
18+
jobs:
19+
release:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Generate GitHub App token
25+
id: app-token
26+
uses: actions/create-github-app-token@v2
27+
with:
28+
app-id: ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }}
29+
private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
30+
31+
- name: Release Please
32+
uses: googleapis/release-please-action@v4
33+
with:
34+
token: ${{ steps.app-token.outputs.token }}
35+
config-file: release-please-config.json
36+
manifest-file: .release-please-manifest.json

.release-please-manifest.json

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

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ 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 does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.91.0](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/5.90.0...5.91.0) (2025-08-20)
9+
10+
11+
### Features
12+
13+
* **generation:** update request builders and models ([e7d67e4](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/e7d67e4355506a1428fb9ebbfc2a52789bb4a4e3))
14+
15+
16+
### Bug Fixes
17+
18+
* build trigger ([#2976](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2976)) ([4658040](https://github.com/microsoftgraph/msgraph-sdk-dotnet/commit/4658040e2e5cb550201bf62124f17476df1242c8))
19+
820
## [5.90.0](https://github.com/microsoftgraph/msgraph-sdk-dotnet/compare/5.89.0...5.90.0) (2025-08-12)
921

1022

src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
110110
public async Task<global::Microsoft.Graph.Models.Admin> PatchAsync(global::Microsoft.Graph.Models.Admin body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
111111
{
112112
#endif
113-
_ = body ?? throw new ArgumentNullException(nameof(body));
113+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
114114
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
115115
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
116116
{
@@ -152,7 +152,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
152152
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Admin body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
153153
{
154154
#endif
155-
_ = body ?? throw new ArgumentNullException(nameof(body));
155+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
156156
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
157157
requestInfo.Configure(requestConfiguration);
158158
requestInfo.Headers.TryAdd("Accept", "application/json");

src/Microsoft.Graph/Generated/Admin/Edge/EdgeRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
102102
public async Task<global::Microsoft.Graph.Models.Edge> PatchAsync(global::Microsoft.Graph.Models.Edge body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
103103
{
104104
#endif
105-
_ = body ?? throw new ArgumentNullException(nameof(body));
105+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
106106
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
107107
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
108108
{
@@ -163,7 +163,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
163163
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Edge body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
164164
{
165165
#endif
166-
_ = body ?? throw new ArgumentNullException(nameof(body));
166+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
167167
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
168168
requestInfo.Configure(requestConfiguration);
169169
requestInfo.Headers.TryAdd("Accept", "application/json");

src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
102102
public async Task<global::Microsoft.Graph.Models.InternetExplorerMode> PatchAsync(global::Microsoft.Graph.Models.InternetExplorerMode body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
103103
{
104104
#endif
105-
_ = body ?? throw new ArgumentNullException(nameof(body));
105+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
106106
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
107107
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
108108
{
@@ -163,7 +163,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
163163
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.InternetExplorerMode body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
164164
{
165165
#endif
166-
_ = body ?? throw new ArgumentNullException(nameof(body));
166+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
167167
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
168168
requestInfo.Configure(requestConfiguration);
169169
requestInfo.Headers.TryAdd("Accept", "application/json");

src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
117117
public async Task<global::Microsoft.Graph.Models.BrowserSiteList> PatchAsync(global::Microsoft.Graph.Models.BrowserSiteList body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
118118
{
119119
#endif
120-
_ = body ?? throw new ArgumentNullException(nameof(body));
120+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
121121
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
122122
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
123123
{
@@ -178,7 +178,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
178178
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BrowserSiteList body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
179179
{
180180
#endif
181-
_ = body ?? throw new ArgumentNullException(nameof(body));
181+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
182182
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
183183
requestInfo.Configure(requestConfiguration);
184184
requestInfo.Headers.TryAdd("Accept", "application/json");

src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishPostRequestBody.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public PublishPostRequestBody()
8585
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
8686
public static global::Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish.PublishPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
8787
{
88-
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
88+
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
8989
return new global::Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish.PublishPostRequestBody();
9090
}
9191
/// <summary>
@@ -107,7 +107,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
107107
/// <param name="writer">Serialization writer to use to serialize this model</param>
108108
public virtual void Serialize(ISerializationWriter writer)
109109
{
110-
_ = writer ?? throw new ArgumentNullException(nameof(writer));
110+
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
111111
writer.WriteStringValue("revision", Revision);
112112
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.Models.BrowserSharedCookie>("sharedCookies", SharedCookies);
113113
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.Models.BrowserSite>("sites", Sites);

src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public PublishRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
5151
public async Task<global::Microsoft.Graph.Models.BrowserSiteList> PostAsync(global::Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish.PublishPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
5252
{
5353
#endif
54-
_ = body ?? throw new ArgumentNullException(nameof(body));
54+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
5555
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
5656
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
5757
{
@@ -74,7 +74,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin
7474
public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Item.Publish.PublishPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
7575
{
7676
#endif
77-
_ = body ?? throw new ArgumentNullException(nameof(body));
77+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
7878
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
7979
requestInfo.Configure(requestConfiguration);
8080
requestInfo.Headers.TryAdd("Accept", "application/json");

src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
9999
public async Task<global::Microsoft.Graph.Models.BrowserSharedCookie> PatchAsync(global::Microsoft.Graph.Models.BrowserSharedCookie body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
100100
{
101101
#endif
102-
_ = body ?? throw new ArgumentNullException(nameof(body));
102+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
103103
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
104104
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
105105
{
@@ -160,7 +160,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
160160
public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BrowserSharedCookie body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
161161
{
162162
#endif
163-
_ = body ?? throw new ArgumentNullException(nameof(body));
163+
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
164164
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
165165
requestInfo.Configure(requestConfiguration);
166166
requestInfo.Headers.TryAdd("Accept", "application/json");

0 commit comments

Comments
 (0)