Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.13.0 #1959

Merged
merged 16 commits into from
Jun 9, 2023
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
71 changes: 71 additions & 0 deletions .github/policies/msgraph-sdk-dotnet-branch-protection.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1.

name: msgraph-sdk-dotnet-branch-protection
description: Branch protection policy for the msgraph-sdk-dotnet repository
resource: repository
configuration:
branchProtectionRules:

# The following GitHub PolicyService properties are not supported: whoCanDismissReviews and whoCanPush
- branchNamePattern: master
# Specifies whether this branch can be deleted. boolean
allowsDeletions: false
# Specifies whether forced pushes are allowed on this branch. boolean
allowsForcePushes: false
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
dismissStaleReviews: true
# Specifies whether admins can overwrite branch protection. boolean
isAdminEnforced: false
# Specifies the number of pull request reviews before merging. int (0-6)
requiredApprovingReviewsCount: 1
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
requireCodeOwnersReview: true
# Are commits required to be signed. boolean
requiresCommitSignatures: false
# Are conversations required to be resolved before merging? boolean
requiresConversationResolution: true
# Are merge commits prohibited from being pushed to this branch. boolean
requiresLinearHistory: false
# Requires requiresStrictStatusChecks. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
requiredStatusChecks:
- build
- license/cla
# The docs conflict. Are branches required to be up to date before merging. Or Require status checks to pass before merging
requiresStrictStatusChecks: true
# Restrict who can push to matching branches
restrictsPushes: false
# Restrict who can dismiss pull request reviews
restrictsReviewDismissals: false

- branchNamePattern: dev
# Specifies whether this branch can be deleted. boolean
allowsDeletions: false
# Specifies whether forced pushes are allowed on this branch. boolean
allowsForcePushes: false
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
dismissStaleReviews: true
# Specifies whether admins can overwrite branch protection. boolean
isAdminEnforced: false
# Specifies the number of pull request reviews before merging. int (0-6)
requiredApprovingReviewsCount: 1
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
requireCodeOwnersReview: true
# Are commits required to be signed. boolean
requiresCommitSignatures: false
# Are conversations required to be resolved before merging? boolean
requiresConversationResolution: true
# Are merge commits prohibited from being pushed to this branch. boolean
requiresLinearHistory: false
# Requires requiresStrictStatusChecks. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
requiredStatusChecks:
- build
- license/cla
# The docs conflict. Are branches required to be up to date before merging. Or Require status checks to pass before merging
requiresStrictStatusChecks: true
# Restrict who can push to matching branches
restrictsPushes: false
# Restrict who can dismiss pull request reviews
restrictsReviewDismissals: false
2 changes: 1 addition & 1 deletion .github/workflows/validatePullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3.5.2
- name: Setup .NET
uses: actions/setup-dotnet@v3.0.3
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 6.0.x
- name: Initialize CodeQL
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.12.0] - 2023-06-09

- Latest metadata updates from 6th June 2023

## [5.12.0] - 2023-05-24

- Latest metadata updates from 23rd May 2023
-

## [5.11.0] - 2023-05-17

- Latest metadata updates from 16th May 2023
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrade-to-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following section lists out the breaking changes requiring code changes from
The types in the sdk are now organized into namespaces reflecting their usage as compared to all types being present in the single `Microsoft.Graph` namespace and therefore makes it easier to consume multiple libraries(e.g v1.0 and beta) in the same application.

This therefore comes with the following changes,
- The beta v1.0 service library uses `Microsoft.Graph` as its root namespace.
- The v1.0 service library uses `Microsoft.Graph` as its root namespace.
- The beta service library uses `Microsoft.Graph.Beta` as its root namespace.
- Model types are now in the `Microsoft.Graph.Models`/`Microsoft.Graph.Beta.Models` namespaces.
- RequestBuilder and RequestBody types reside in namespaces relative to the path they are calling. e.g. The `SendMailPostRequestBody` type will reside in the `Microsoft.Graph.Beta.Me.SendMail/Microsoft.Graph.Me.SendMail` namespace if you are sending a mail via the `client.Me.SendMail.PostAsync(sendMailPostRequestBody)` path using the request builders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using Microsoft.Graph.Drives.Item.Items.Item.Permissions;
using Microsoft.Graph.Drives.Item.Items.Item.Subscriptions;
using Microsoft.Graph.Drives.Item.Items.Item.Thumbnails;
using Microsoft.Graph.Drives.Item.Items.Item.Workbook;
using Microsoft.Graph.Drives.Item.List.Items.Item.Versions;
using Microsoft.Kiota.Abstractions;

Expand Down Expand Up @@ -220,4 +221,9 @@ public CustomDriveItemItemRequestBuilder(Dictionary<string, object> pathParamete
{
get => new VersionsRequestBuilder(PathParameters, RequestAdapter).UpdateUrlTemplate(this.UrlTemplate);
}
/// <summary>Provides operations to manage the workbook property of the microsoft.graph.driveItem entity.</summary>
public new WorkbookRequestBuilder Workbook
{
get => new WorkbookRequestBuilder(PathParameters, RequestAdapter).UpdateUrlTemplate(this.UrlTemplate);
}
}
5 changes: 0 additions & 5 deletions src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Microsoft.Graph.AuditLogs;
using Microsoft.Graph.AuthenticationMethodConfigurations;
using Microsoft.Graph.AuthenticationMethodsPolicy;
using Microsoft.Graph.Branding;
using Microsoft.Graph.CertificateBasedAuthConfiguration;
using Microsoft.Graph.Chats;
using Microsoft.Graph.Communications;
Expand Down Expand Up @@ -120,10 +119,6 @@ public class BaseGraphServiceClient : BaseRequestBuilder {
public AuthenticationMethodsPolicyRequestBuilder AuthenticationMethodsPolicy { get =>
new AuthenticationMethodsPolicyRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the organizationalBranding singleton.</summary>
public BrandingRequestBuilder Branding { get =>
new BrandingRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the collection of certificateBasedAuthConfiguration entities.</summary>
public CertificateBasedAuthConfigurationRequestBuilder CertificateBasedAuthConfiguration { get =>
new CertificateBasedAuthConfigurationRequestBuilder(PathParameters, RequestAdapter);
Expand Down
204 changes: 0 additions & 204 deletions src/Microsoft.Graph/Generated/Branding/BrandingRequestBuilder.cs

This file was deleted.

Loading