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

Upgade guide update and release (beta) #600

Merged
merged 1 commit into from
Jan 11, 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
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ and this project does NOT adhere to [Semantic Versioning](https://semver.org/spe

## [Unreleased]

## [5.16.0-preview] - 2023-01-11

### Changed

- [Breaking] Renames `CreateXXXRequestInformation` methods to `ToXXXRequestInformation`
- [Breaking] Renames `CreateXXXRequestInformation` methods to `ToXXXRequestInformation
- Adds `IAuthenticationProvider` parameter to GraphServiceClient constructor taking a httpClient instance.
- Latest metadata updates from 12th January 2023 snapshot

## [5.15.0-preview] - 2022-12-16
Expand Down
5 changes: 4 additions & 1 deletion src/Microsoft.Graph/GraphServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,13 @@ public GraphServiceClient(
/// Constructs a new <see cref="GraphServiceClient"/>.
/// </summary>
/// <param name="httpClient">The customized <see cref="HttpClient"/> to be used for making requests</param>
/// <param name="authenticationProvider">The <see cref="IAuthenticationProvider"/> for authenticating request messages.
/// Defaults to <see cref="AnonymousAuthenticationProvider"/> so that authentication is handled by custom middleware in the httpClient</param>
/// <param name="baseUrl">The base service URL. For example, "https://graph.microsoft.com/beta"</param>
public GraphServiceClient(
HttpClient httpClient,
string baseUrl = null):this(new BaseGraphRequestAdapter(new AnonymousAuthenticationProvider(), graphClientOptions, httpClient: httpClient),baseUrl)
IAuthenticationProvider authenticationProvider = null,
string baseUrl = null):this(new BaseGraphRequestAdapter(authenticationProvider ?? new AnonymousAuthenticationProvider(), graphClientOptions, httpClient: httpClient),baseUrl)
{
}

Expand Down
8 changes: 4 additions & 4 deletions src/Microsoft.Graph/Microsoft.Graph.Beta.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<PackageReleaseNotes>
- Adds support for multi-value headers
- Fixes Guid types represented as strings
- Latest metadata updates from 14th December 2022 snapshot
- [Breaking] Renames `CreateXXXRequestInformation` methods to `ToXXXRequestInformation
- Adds `IAuthenticationProvider` parameter to GraphServiceClient constructor taking a httpClient instance.
- Latest metadata updates from 12th January 2023 snapshot
</PackageReleaseNotes>
<!-- edit this value to change the current major.minor.patch version -->
<VersionPrefix>5.15.0</VersionPrefix>
<VersionPrefix>5.16.0</VersionPrefix>
<!-- adds a version suffix if the Prerelease environment variable is set. BUILD_BUILDID is an
environment variable set by Azure pipelines from the build. We can use the buildid to correlate
which commit was used to generate the preview build. -->
Expand Down