Skip to content

Commit c2f1110

Browse files
authored
Merge pull request #1665 from microsoftgraph/dev
Release 5.0.0
2 parents 23bfc2f + 7a2be45 commit c2f1110

28,456 files changed

Lines changed: 1981577 additions & 1141086 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/ci-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ variables:
1515
BuildConfiguration: 'release'
1616

1717
steps:
18+
- pwsh: git config --system core.longpaths true
19+
20+
- checkout: self
21+
1822
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
1923
displayName: 'Run CredScan'
2024
inputs:
@@ -75,7 +79,6 @@ steps:
7579
displayName: 'run tests'
7680
inputs:
7781
command: 'test'
78-
projects: 'tests/Microsoft.Graph.DotnetCore.Test/Microsoft.Graph.DotnetCore.Test.csproj'
7982
arguments: '--configuration $(BuildConfiguration) --verbosity normal'
8083

8184
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @baywet @ddyett @MichaelMainer @nikithauc @zengin @andrueastman
1+
* @baywet @ddyett @MichaelMainer @zengin @andrueastman

.github/workflows/create-v1.0-pull-request.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ project.lock.json
1313
Package.StoreAssociation.xml
1414

1515
# Build results
16-
**/[Dd]ebug/
17-
**/[Dd]ebugPublic/
18-
**/[Rr]elease/
19-
**/[Rr]eleases/
16+
**/bin/[Dd]ebug/
17+
**/bin/[Dd]ebugPublic/
18+
**/bin/[Rr]elease/
19+
**/bin/[Rr]eleases/
2020
**/x64/
2121
**/x86/
2222
**/build/
@@ -33,4 +33,6 @@ Package.StoreAssociation.xml
3333
_UpgradeReport_Files/
3434
Backup*/
3535
UpgradeLog*.XML
36-
UpgradeLog*.htm
36+
UpgradeLog*.htm
37+
38+
.idea/

CHANGELOG.md

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project does adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [5.0.0] - 2023-02-28
11+
12+
- GA release for Kiota SDK version
13+
14+
## [5.0.0-rc.5] - 2023-02-09
15+
16+
- [Breaking] Namespace and Request Builder renaming to align to paths defined in metadata (https://github.com/microsoft/kiota/issues/2209)
17+
- Latest metadata updates from 7th February 2023 snapshot.
18+
19+
## [5.0.0-rc.4] - 2023-01-25
20+
21+
- Adds support for nullable reference types.
22+
- Latest metadata updates from 24th January 2023 snapshot.
23+
24+
## [5.0.0-rc.3] - 2023-01-16
25+
26+
### Changed
27+
28+
- Fixed a regression where passing custom base url would not be reflected in the requests.
29+
- Latest metadata updates from 17th January 2023 snapshot.
30+
31+
## [5.0.0-rc.2] - 2023-01-11
32+
33+
### Changed
34+
35+
- [Breaking] Renames `CreateXXXRequestInformation` methods to `ToXXXRequestInformation
36+
- Adds `IAuthenticationProvider` parameter to GraphServiceClient constructor taking a httpClient instance.
37+
- Latest metadata updates from 12th January 2023 snapshot
38+
39+
## [5.0.0-rc.1] - 2022-12-16
40+
41+
### Added
42+
43+
- Adds support for multi value headers
44+
- Adds support for URI Form Encoded(`application/x-www-form-urlencoded`) serialization
45+
46+
### Changed
47+
48+
- Fixes Guid types represented as strings
49+
- Latest metadata updates from 14th December 2022 snapshot
50+
51+
## [5.0.0-preview.14] - 2022-11-23
52+
53+
### Changed
54+
55+
- Adds baseUrl parameter to GraphServiceClient constructor to allow for easier updating of target endpoint
56+
- Adds ItemWithPath for request builder to enable path retrieval of drive items
57+
- Fix for default OdataType property in models causing errors from the API
58+
- Latest metadata updates from 22nd November 2022 snapshot
59+
60+
## [5.0.0-preview.13] - 2022-10-18
61+
62+
### Changed
63+
64+
- Adds OdataDeltaLink property to collection responses for delta
65+
- Changes the ResponeHandler parameter in request builders to be a RequestOption in dotnet [#1858](https://github.com/microsoft/kiota/issues/1858)
66+
- Latest metadata updates from 18th October 2022 snapshot
67+
68+
## [5.0.0-preview.12] - 2022-09-29
69+
70+
### Added
71+
72+
### Changed
73+
74+
- Fixes incorrect types for collection types referencing enums - [Kiota #1846](https://github.com/microsoft/kiota/pull/1846)
75+
- Fixes missing return object types for PATCH/POST/PUT calls - https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/issues/478
76+
- Fixes missing QueryParameters for odata functions e.g delta
77+
- Latest metadata updates from 27th September 2022 snapshot
78+
79+
## [5.0.0-preview.11] - 2022-07-20
80+
81+
### Changed
82+
83+
- Latest metadata updates from 13th September 2022 snapshot
84+
- MAUI support
85+
- Fix incorrected nested paths that would point to incorrect request builders.
86+
87+
## [5.0.0-preview.10] - 2022-07-20
88+
89+
### Added
90+
91+
- Latest metadata updates from 19th July 2022 snapshot
92+
- Fix for missing @odata.type properties in models
93+
94+
## [5.0.0-preview.9] - 2022-07-13
95+
96+
### Added
97+
98+
- Adds support for cancellation token support on large file uploads.
99+
100+
### Changed
101+
102+
- Latest metadata updates from 12th July 2022 snapshot
103+
- Fixed incorrect casing of some properties on serialization [#483]
104+
105+
## [5.0.0-preview.8] - 2022-06-21
106+
107+
### Added
108+
109+
- Latest metadata updates from 21st June 2022 snapshot
110+
111+
### Changed
112+
113+
- Fixed missing derived models not directly referenced in openApi paths
114+
115+
## [5.0.0-preview.7] - 2022-06-09
116+
117+
### Added
118+
119+
- Latest metadata updates from 7th June 2022 snapshot
120+
- Adds missing odata cast paths for the places API
121+
- Adds functionality to send the relevant accept header request execution
122+
123+
### Changed
124+
125+
- Fixed missing response error mappings for OData functions/actions
126+
- Fixed missing actions/functions defined on collection navigation properties
127+
- Fixed missing derived models not directly referenced in openApi paths
128+
- Fixed paging for odata functions/actions e.g. delta requests
129+
130+
## [5.0.0-preview.6] - 2022-06-02
131+
132+
### Added
133+
134+
- Adds missing odata cast paths to enable requests for specific kind of objects
135+
136+
### Changed
137+
138+
- Fixes exceptions on deserialization of payload that do not have @odata.type
139+
- Fixes instances with missing key values for path parameters
140+
141+
## [5.0.0-preview.5] - 2022-05-20
142+
143+
### Changed
144+
145+
- [Breaking] Adds support CAE in the authentication provider
146+
- [Breaking] Generated request parameter objects renamed to include http method name
147+
- Enables the backing store to enable dirty tracking of objects
148+
149+
## [5.0.0-preview.4] - 2022-05-06
150+
151+
### Changed
152+
153+
- [Breaking] Request configuration revamp to support [Kiota #1494](https://github.com/microsoft/kiota/issues/1494)
154+
155+
## [5.0.0-preview.3] - 2022-04-20
156+
157+
### Changed
158+
159+
- Rename queryOptions parameters to be more descriptive
160+
161+
## [5.0.0-preview.2] - 2022-04-05
162+
163+
### Added
164+
165+
- Added support for vendor specific content types
166+
- Added support for 204 no content responses
167+
168+
### Changed
169+
170+
- Update namespaces to be more discoverable (beta lib uses Microsoft.Graph.Beta namespace)
171+
- Rename queryOptions parameters to be more descriptive
172+
173+
## [5.0.0-preview.1] - 2022-03-24
174+
175+
### Added
176+
177+
- Initial Kiota generated SDK version

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ When a new package is about to be released, changes in dev will be merged into m
1616
Some things to note about this project:
1717

1818
### How the library is built
19-
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.
19+
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.
2020

2121
### How the generator works
22-
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.
22+
You can view the [README](https://github.com/microsoft/kiota/blob/main/README.md) for a full run-through of its capabilities.
2323

24-
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.
24+
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.
2525

2626
### When new features are added to the library
2727
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:

Microsoft.Graph.sln

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio Version 16
3-
VisualStudioVersion = 16.0.28803.352
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.1.31903.286
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{5E0B65FC-67B7-41F8-87BF-96D6A342C438}"
66
EndProject
7-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6496B661-8321-4D07-ACC2-B6602649293C}"
8-
EndProject
97
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Graph", "src\Microsoft.Graph\Microsoft.Graph.csproj", "{660FA73B-987D-4085-A230-1B04F7EAEFBC}"
108
EndProject
11-
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}"
12-
EndProject
139
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{483C32A2-1573-4E4D-9DE9-39C4CEAAA29C}"
1410
ProjectSection(SolutionItems) = preProject
1511
.editorconfig = .editorconfig
1612
EndProjectSection
1713
EndProject
14+
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}"
15+
EndProject
1816
Global
1917
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2018
Debug|Any CPU = Debug|Any CPU
@@ -43,29 +41,28 @@ Global
4341
{660FA73B-987D-4085-A230-1B04F7EAEFBC}.Release|x64.Build.0 = Release|Any CPU
4442
{660FA73B-987D-4085-A230-1B04F7EAEFBC}.Release|x86.ActiveCfg = Release|Any CPU
4543
{660FA73B-987D-4085-A230-1B04F7EAEFBC}.Release|x86.Build.0 = Release|Any CPU
46-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
47-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|Any CPU.Build.0 = Debug|Any CPU
48-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|ARM.ActiveCfg = Debug|Any CPU
49-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|ARM.Build.0 = Debug|Any CPU
50-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x64.ActiveCfg = Debug|Any CPU
51-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x64.Build.0 = Debug|Any CPU
52-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x86.ActiveCfg = Debug|Any CPU
53-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Debug|x86.Build.0 = Debug|Any CPU
54-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|Any CPU.ActiveCfg = Release|Any CPU
55-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|Any CPU.Build.0 = Release|Any CPU
56-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|ARM.ActiveCfg = Release|Any CPU
57-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|ARM.Build.0 = Release|Any CPU
58-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x64.ActiveCfg = Release|Any CPU
59-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x64.Build.0 = Release|Any CPU
60-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x86.ActiveCfg = Release|Any CPU
61-
{A46FC884-EDDC-4617-9B52-37017A90241D}.Release|x86.Build.0 = Release|Any CPU
44+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|ARM.ActiveCfg = Debug|Any CPU
47+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|ARM.Build.0 = Debug|Any CPU
48+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x64.ActiveCfg = Debug|Any CPU
49+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x64.Build.0 = Debug|Any CPU
50+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x86.ActiveCfg = Debug|Any CPU
51+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Debug|x86.Build.0 = Debug|Any CPU
52+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
53+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|Any CPU.Build.0 = Release|Any CPU
54+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|ARM.ActiveCfg = Release|Any CPU
55+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|ARM.Build.0 = Release|Any CPU
56+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x64.ActiveCfg = Release|Any CPU
57+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x64.Build.0 = Release|Any CPU
58+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x86.ActiveCfg = Release|Any CPU
59+
{3B845742-64E6-470A-B38C-0E84B3DB33CD}.Release|x86.Build.0 = Release|Any CPU
6260
EndGlobalSection
6361
GlobalSection(SolutionProperties) = preSolution
6462
HideSolutionNode = FALSE
6563
EndGlobalSection
6664
GlobalSection(NestedProjects) = preSolution
6765
{660FA73B-987D-4085-A230-1B04F7EAEFBC} = {5E0B65FC-67B7-41F8-87BF-96D6A342C438}
68-
{A46FC884-EDDC-4617-9B52-37017A90241D} = {6496B661-8321-4D07-ACC2-B6602649293C}
6966
EndGlobalSection
7067
GlobalSection(ExtensibilityGlobals) = postSolution
7168
SolutionGuid = {0DB06E6E-58F0-497F-9ECC-00DD03BA9357}

Nuget.Config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
</packageSources>
5+
</configuration>

0 commit comments

Comments
 (0)