Skip to content

Commit

Permalink
Merge pull request #1665 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 5.0.0
  • Loading branch information
andrueastman authored Feb 28, 2023
2 parents 23bfc2f + 7a2be45 commit c2f1110
Show file tree
Hide file tree
Showing 28,456 changed files with 1,981,577 additions and 1,141,086 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 4 additions & 1 deletion .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ variables:
BuildConfiguration: 'release'

steps:
- pwsh: git config --system core.longpaths true

- checkout: self

- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
displayName: 'Run CredScan'
inputs:
Expand Down Expand Up @@ -75,7 +79,6 @@ steps:
displayName: 'run tests'
inputs:
command: 'test'
projects: 'tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj'
arguments: '--configuration $(BuildConfiguration) --verbosity normal'

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @baywet @ddyett @MichaelMainer @nikithauc @zengin @andrueastman
* @baywet @ddyett @MichaelMainer @zengin @andrueastman
52 changes: 0 additions & 52 deletions .github/workflows/create-v1.0-pull-request.yml

This file was deleted.

12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ project.lock.json
Package.StoreAssociation.xml

# Build results
**/[Dd]ebug/
**/[Dd]ebugPublic/
**/[Rr]elease/
**/[Rr]eleases/
**/bin/[Dd]ebug/
**/bin/[Dd]ebugPublic/
**/bin/[Rr]elease/
**/bin/[Rr]eleases/
**/x64/
**/x86/
**/build/
Expand All @@ -33,4 +33,6 @@ Package.StoreAssociation.xml
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
UpgradeLog*.htm

.idea/
177 changes: 177 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [5.0.0] - 2023-02-28

- GA release for Kiota SDK version

## [5.0.0-rc.5] - 2023-02-09

- [Breaking] Namespace and Request Builder renaming to align to paths defined in metadata (https://github.com/microsoft/kiota/issues/2209)
- Latest metadata updates from 7th February 2023 snapshot.

## [5.0.0-rc.4] - 2023-01-25

- Adds support for nullable reference types.
- Latest metadata updates from 24th January 2023 snapshot.

## [5.0.0-rc.3] - 2023-01-16

### Changed

- Fixed a regression where passing custom base url would not be reflected in the requests.
- Latest metadata updates from 17th January 2023 snapshot.

## [5.0.0-rc.2] - 2023-01-11

### Changed

- [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.0.0-rc.1] - 2022-12-16

### Added

- Adds support for multi value headers
- Adds support for URI Form Encoded(`application/x-www-form-urlencoded`) serialization

### Changed

- Fixes Guid types represented as strings
- Latest metadata updates from 14th December 2022 snapshot

## [5.0.0-preview.14] - 2022-11-23

### Changed

- Adds baseUrl parameter to GraphServiceClient constructor to allow for easier updating of target endpoint
- Adds ItemWithPath for request builder to enable path retrieval of drive items
- Fix for default OdataType property in models causing errors from the API
- Latest metadata updates from 22nd November 2022 snapshot

## [5.0.0-preview.13] - 2022-10-18

### Changed

- Adds OdataDeltaLink property to collection responses for delta
- Changes the ResponeHandler parameter in request builders to be a RequestOption in dotnet [#1858](https://github.com/microsoft/kiota/issues/1858)
- Latest metadata updates from 18th October 2022 snapshot

## [5.0.0-preview.12] - 2022-09-29

### Added

### Changed

- Fixes incorrect types for collection types referencing enums - [Kiota #1846](https://github.com/microsoft/kiota/pull/1846)
- Fixes missing return object types for PATCH/POST/PUT calls - https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/issues/478
- Fixes missing QueryParameters for odata functions e.g delta
- Latest metadata updates from 27th September 2022 snapshot

## [5.0.0-preview.11] - 2022-07-20

### Changed

- Latest metadata updates from 13th September 2022 snapshot
- MAUI support
- Fix incorrected nested paths that would point to incorrect request builders.

## [5.0.0-preview.10] - 2022-07-20

### Added

- Latest metadata updates from 19th July 2022 snapshot
- Fix for missing @odata.type properties in models

## [5.0.0-preview.9] - 2022-07-13

### Added

- Adds support for cancellation token support on large file uploads.

### Changed

- Latest metadata updates from 12th July 2022 snapshot
- Fixed incorrect casing of some properties on serialization [#483]

## [5.0.0-preview.8] - 2022-06-21

### Added

- Latest metadata updates from 21st June 2022 snapshot

### Changed

- Fixed missing derived models not directly referenced in openApi paths

## [5.0.0-preview.7] - 2022-06-09

### Added

- Latest metadata updates from 7th June 2022 snapshot
- Adds missing odata cast paths for the places API
- Adds functionality to send the relevant accept header request execution

### Changed

- Fixed missing response error mappings for OData functions/actions
- Fixed missing actions/functions defined on collection navigation properties
- Fixed missing derived models not directly referenced in openApi paths
- Fixed paging for odata functions/actions e.g. delta requests

## [5.0.0-preview.6] - 2022-06-02

### Added

- Adds missing odata cast paths to enable requests for specific kind of objects

### Changed

- Fixes exceptions on deserialization of payload that do not have @odata.type
- Fixes instances with missing key values for path parameters

## [5.0.0-preview.5] - 2022-05-20

### Changed

- [Breaking] Adds support CAE in the authentication provider
- [Breaking] Generated request parameter objects renamed to include http method name
- Enables the backing store to enable dirty tracking of objects

## [5.0.0-preview.4] - 2022-05-06

### Changed

- [Breaking] Request configuration revamp to support [Kiota #1494](https://github.com/microsoft/kiota/issues/1494)

## [5.0.0-preview.3] - 2022-04-20

### Changed

- Rename queryOptions parameters to be more descriptive

## [5.0.0-preview.2] - 2022-04-05

### Added

- Added support for vendor specific content types
- Added support for 204 no content responses

### Changed

- Update namespaces to be more discoverable (beta lib uses Microsoft.Graph.Beta namespace)
- Rename queryOptions parameters to be more descriptive

## [5.0.0-preview.1] - 2022-03-24

### Added

- Initial Kiota generated SDK version
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ When a new package is about to be released, changes in dev will be merged into m
Some things to note about this project:

### How the library is built
The .Net client library has a handwritten set of core files and two folders of generated models and request builders. These models and request builders are generated using the [MSGraph SDK Code Generator](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator). **Changes made to the ```Models``` and ```Requests``` folders will be overwritten** the next time the generator is run.
The .Net client library has a handwritten set of core files and folders for generated models and request builders. These models and request builders are generated using [Kiota](https://github.com/microsoft/kiota). **Changes made to the ```Generated``` folder will be overwritten** the next time the generator is run.

### How the generator works
You can view the [README](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/blob/master/README.md) for a full run-through of its capabilities.
You can view the [README](https://github.com/microsoft/kiota/blob/main/README.md) for a full run-through of its capabilities.

For the purposes of the .Net client library, the generator runs through an OData-compliant metadata file published by Microsoft Graph (https://graph.microsoft.com/v1.0/$metadata) and builds up an in-memory list of models. These models are converted into C# code files using T4 templates.
For the purposes of the .Net client library, the generator runs through an openApi file generated from the CSDL document file published by Microsoft Graph (https://graph.microsoft.com/v1.0/$metadata) and builds up an in-memory list of models.

### When new features are added to the library
Generation happens as part of a manual process that occurs once a significant change or set of changes has been added to the Graph. This may include:
Expand Down
43 changes: 20 additions & 23 deletions Microsoft.Graph.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.352
# Visual Studio Version 17
VisualStudioVersion = 17.1.31903.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{5E0B65FC-67B7-41F8-87BF-96D6A342C438}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6496B661-8321-4D07-ACC2-B6602649293C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Graph", "src\Microsoft.Graph\Microsoft.Graph.csproj", "{660FA73B-987D-4085-A230-1B04F7EAEFBC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Graph.DotnetCore.Test", "tests\Microsoft.Graph.DotnetCore.Test\Microsoft.Graph.DotnetCore.Test.csproj", "{A46FC884-EDDC-4617-9B52-37017A90241D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{483C32A2-1573-4E4D-9DE9-39C4CEAAA29C}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Graph.DotnetCore.Test", "tests\Microsoft.Graph.DotnetCore.Test\Microsoft.Graph.DotnetCore.Test.csproj", "{3B845742-64E6-470A-B38C-0E84B3DB33CD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -43,29 +41,28 @@ Global
{660FA73B-987D-4085-A230-1B04F7EAEFBC}.Release|x64.Build.0 = Release|Any CPU
{660FA73B-987D-4085-A230-1B04F7EAEFBC}.Release|x86.ActiveCfg = Release|Any CPU
{660FA73B-987D-4085-A230-1B04F7EAEFBC}.Release|x86.Build.0 = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|ARM.ActiveCfg = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|ARM.Build.0 = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x64.ActiveCfg = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x64.Build.0 = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x86.ActiveCfg = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x86.Build.0 = Debug|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|Any CPU.Build.0 = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|ARM.ActiveCfg = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|ARM.Build.0 = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x64.ActiveCfg = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x64.Build.0 = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x86.ActiveCfg = Release|Any CPU
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x86.Build.0 = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|ARM.ActiveCfg = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|ARM.Build.0 = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x64.ActiveCfg = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x64.Build.0 = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x86.ActiveCfg = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x86.Build.0 = Debug|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|Any CPU.Build.0 = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|ARM.ActiveCfg = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|ARM.Build.0 = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x64.ActiveCfg = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x64.Build.0 = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x86.ActiveCfg = Release|Any CPU
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{660FA73B-987D-4085-A230-1B04F7EAEFBC} = {5E0B65FC-67B7-41F8-87BF-96D6A342C438}
{A46FC884-EDDC-4617-9B52-37017A90241D} = {6496B661-8321-4D07-ACC2-B6602649293C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0DB06E6E-58F0-497F-9ECC-00DD03BA9357}
Expand Down
5 changes: 5 additions & 0 deletions Nuget.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
</packageSources>
</configuration>
Loading

0 comments on commit c2f1110

Please sign in to comment.