Skip to content

Commit 9903e0c

Browse files
authored
Merge pull request #850 from microsoftgraph/dev
Release 3.1.13
2 parents c57062d + 031df3b commit 9903e0c

10 files changed

+199
-65
lines changed

.github/ISSUE_TEMPLATE.md

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

.github/ISSUE_TEMPLATE/01-sdk-bug.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: SDK Bug Report
2+
description: File SDK bug report
3+
labels: ["type:bug", "status:waiting-for-triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
**Thank you for taking the time to fill out this bug report!**
9+
💥Before submitting a new request, please search existing issues to see if an issue already exists.
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: Describe the bug
14+
description: |
15+
Provide a description of the actual behavior observed. If applicable please include any error messages, exception stacktraces or a screenshot.
16+
placeholder: I am trying to do [...] but [...]
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: expected-behavior
21+
attributes:
22+
label: Expected behavior
23+
description: |
24+
A clear and concise description of what you expected to happen.
25+
placeholder: Expected behavior
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: repro-steps
30+
attributes:
31+
label: How to reproduce
32+
description: |
33+
Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or steps to run project in link above. If possible include text as text rather than screenshots (so it shows up in searches).
34+
If there's a link to a public repo where the sample code exists, include it too.
35+
placeholder: Minimal Reproduction steps
36+
validations:
37+
required: true
38+
- type: input
39+
attributes:
40+
label: SDK Version
41+
placeholder: e.g. 5.32.1
42+
description: Version of the SDK with the bug described above.
43+
validations:
44+
required: false
45+
- type: input
46+
id: regression
47+
attributes:
48+
label: Latest version known to work for scenario above?
49+
description: |
50+
Did this work in a previous build or release of the SDK or API client? If you can try a previous release or build to find out, that can help us narrow down the problem. If you don't know, that's OK.
51+
placeholder: version-number
52+
validations:
53+
required: false
54+
- type: textarea
55+
id: known-workarounds
56+
attributes:
57+
label: Known Workarounds
58+
description: |
59+
Please provide a description of any known workarounds.
60+
placeholder: Known Workarounds
61+
validations:
62+
required: false
63+
- type: textarea
64+
id: logs
65+
attributes:
66+
label: Debug output
67+
description: Please copy and paste the debug output below.
68+
value: |
69+
<details><summary>Click to expand log</summary>
70+
```
71+
72+
<Log output here>
73+
74+
```
75+
</details>
76+
validations:
77+
required: false
78+
- type: textarea
79+
id: configuration
80+
attributes:
81+
label: Configuration
82+
description: |
83+
Please provide more information on your SDK configuration:
84+
* What OS and version, and what distro if applicable (Windows 10, Windows 11, MacOS Catalina, Ubuntu 22.04)?
85+
* What is the architecture (x64, x86, ARM, ARM64)?
86+
* Do you know whether it is specific to that configuration?
87+
placeholder: |
88+
- OS:
89+
- architecture:
90+
validations:
91+
required: false
92+
- type: textarea
93+
id: other-info
94+
attributes:
95+
label: Other information
96+
description: |
97+
If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of.
98+
placeholder: Other information
99+
validations:
100+
required: false
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: SDK Feature request
2+
description: Request a new feature on the SDK
3+
labels: ["type:feature", "status:waiting-for-triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
**Thank you for taking the time to fill out this feature request form!**
9+
💥Please search to see if an issue already exists for the feature you are requesting.
10+
- type: textarea
11+
attributes:
12+
label: Is your feature request related to a problem? Please describe the problem.
13+
description: A clear and concise description of what the problem is.
14+
placeholder: I am trying to do [...] but [...]
15+
validations:
16+
required: false
17+
- type: textarea
18+
attributes:
19+
label: Describe the solution you'd like.
20+
description: |
21+
A clear and concise description of what you want to happen. Include any alternative solutions you've considered.
22+
validations:
23+
required: true
24+
- type: textarea
25+
attributes:
26+
label: Additional context?
27+
description: |
28+
Add any other context or screenshots about the feature request here.
29+
validations:
30+
required: false
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Blank issue
3+
about: Something that doesn't fit the other categories
4+
title: ''
5+
labels: ["status:waiting-for-triage"]
6+
assignees: ''
7+
8+
---

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Question on use of graph sdk
4+
url: https://github.com/microsoftgraph/msgraph-sdk-dotnet/discussions
5+
about: Please add your question in the discussions section of the repo
6+
- name: Question on use of kiota
7+
url: https://github.com/microsoft/kiota/discussions
8+
about: Please add your question in the discussions section of the repo
9+
- name: Question or Feature Request for the MS Graph API?
10+
url: https://aka.ms/msgraphsupport
11+
about: Report an issue or limitation with the MS Graph service APIs

.github/policies/resourceManagement.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ configuration:
1616
- isIssue
1717
- isOpen
1818
- hasLabel:
19-
label: 'Needs: Author Feedback'
19+
label: 'status:waiting-for-author-feedback'
2020
- hasLabel:
2121
label: no-recent-activity
2222
- noActivitySince:
@@ -33,7 +33,7 @@ configuration:
3333
- isIssue
3434
- isOpen
3535
- hasLabel:
36-
label: 'Needs: Author Feedback'
36+
label: 'status:waiting-for-author-feedback'
3737
- noActivitySince:
3838
days: 4
3939
- isNotLabeledWith:
@@ -59,19 +59,29 @@ configuration:
5959
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
6060
- closeIssue
6161
eventResponderTasks:
62+
- if:
63+
- payloadType: Issues
64+
- isAction:
65+
action: Closed
66+
- hasLabel:
67+
label: 'status:waiting-for-author-feedback'
68+
then:
69+
- removeLabel:
70+
label: 'status:waiting-for-author-feedback'
71+
description:
6272
- if:
6373
- payloadType: Issue_Comment
6474
- isAction:
6575
action: Created
6676
- isActivitySender:
6777
issueAuthor: True
6878
- hasLabel:
69-
label: 'Needs: Author Feedback'
79+
label: 'status:waiting-for-author-feedback'
7080
then:
7181
- addLabel:
7282
label: 'Needs: Attention :wave:'
7383
- removeLabel:
74-
label: 'Needs: Author Feedback'
84+
label: 'status:waiting-for-author-feedback'
7585
description:
7686
- if:
7787
- payloadType: Issues
@@ -102,7 +112,7 @@ configuration:
102112
isRegex: False
103113
then:
104114
- addLabel:
105-
label: 'Needs: Author Feedback'
115+
label: 'status:waiting-for-author-feedback'
106116
description:
107117
- if:
108118
- payloadType: Pull_Request

.github/workflows/projectbot.yml renamed to .github/workflows/project-auto-add.yml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
1-
# This workflow is used to add new issues to GitHub Projects (Beta)
1+
# This workflow is used to add new issues to GitHub GraphSDKs Project
22

3-
name: Add PR to project
3+
name: Add Issue or PR to project
44
on:
55
issues:
66
types:
77
- opened
8+
pull_request:
9+
types:
10+
- opened
11+
branches:
12+
- "dev"
13+
814
jobs:
915
track_issue:
16+
if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false
1017
runs-on: ubuntu-latest
1118
steps:
1219
- name: Generate token
1320
id: generate_token
14-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
21+
uses: actions/create-github-app-token@v1
1522
with:
16-
app_id: ${{ secrets.GRAPHBOT_APP_ID }}
17-
private_key: ${{ secrets.GRAPHBOT_APP_PEM }}
23+
app-id: ${{ secrets.GRAPHBOT_APP_ID }}
24+
private-key: ${{ secrets.GRAPHBOT_APP_PEM }}
1825

1926
- name: Get project data
2027
env:
2128
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
2229
ORGANIZATION: microsoftgraph
23-
PROJECT_NUMBER: 28
30+
PROJECT_NUMBER: 55
2431
run: |
2532
gh api graphql -f query='
2633
query($org: String!, $number: Int!) {
@@ -44,13 +51,13 @@ jobs:
4451
}' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json
4552
4653
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
47-
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
48-
echo 'TRIAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name=="Needs Triage 🔍") |.id' project_data.json) >> $GITHUB_ENV
54+
echo 'LANGUAGE_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Language") | .id' project_data.json) >> $GITHUB_ENV
55+
echo 'LANGUAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Language") | .options[] | select(.name=="CSharp") |.id' project_data.json) >> $GITHUB_ENV
4956
50-
- name: Add Issue to project
57+
- name: Add Issue or PR to project
5158
env:
5259
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
53-
ISSUE_ID: ${{ github.event.issue.node_id }}
60+
ISSUE_ID: ${{ github.event_name == 'issues' && github.event.issue.node_id || github.event.pull_request.node_id }}
5461
run: |
5562
item_id="$( gh api graphql -f query='
5663
mutation($project:ID!, $issue:ID!) {
@@ -60,28 +67,28 @@ jobs:
6067
}
6168
}
6269
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.item.id')"
63-
70+
6471
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
6572
66-
- name: Set Triage
73+
- name: Set Language
6774
env:
6875
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
6976
run: |
7077
gh api graphql -f query='
7178
mutation (
7279
$project: ID!
7380
$item: ID!
74-
$status_field: ID!
75-
$status_value: String!
81+
$language_field: ID!
82+
$language_value: String!
7683
) {
7784
set_status: updateProjectV2ItemFieldValue(input: {
7885
projectId: $project
7986
itemId: $item
80-
fieldId: $status_field
81-
value: {singleSelectOptionId: $status_value}
87+
fieldId: $language_field
88+
value: {singleSelectOptionId: $language_value}
8289
}) {
8390
projectV2Item {
8491
id
8592
}
8693
}
87-
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f status_field=$STATUS_FIELD_ID -f status_value=${{ env.TRIAGE_OPTION_ID }} --silent
94+
}' -f project=$PROJECT_ID -f item=$ITEM_ID -f language_field=$LANGUAGE_FIELD_ID -f language_value=${{ env.LANGUAGE_OPTION_ID }} --silent

.github/workflows/validatePullRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
solutionName: Microsoft.Graph.Core.sln
2121
relativePath: ./src/Microsoft.Graph.Core
2222
steps:
23-
- uses: actions/checkout@v4.1.6
23+
- uses: actions/checkout@v4.1.7
2424

2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v4

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
77

88
## [Unreleased]
99

10+
## [3.1.12] - 2024-07-03
11+
12+
### Changed
13+
14+
- Updates the Kiota dependencies to the latest version for generation updates removing Linq usage.
15+
1016
## [3.1.12] - 2024-05-28
1117

1218
### Changed

src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<DelaySign>false</DelaySign>
2121
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
2222
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
23-
<VersionPrefix>3.1.12</VersionPrefix>
23+
<VersionPrefix>3.1.13</VersionPrefix>
2424
<VersionSuffix></VersionSuffix>
2525
<PackageReleaseNotes>
2626
- https://github.com/microsoftgraph/msgraph-sdk-dotnet-core/blob/dev/CHANGELOG.md
@@ -57,13 +57,13 @@
5757
</None>
5858
</ItemGroup>
5959
<ItemGroup>
60-
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.6.0" />
60+
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.6.2" />
6161
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
62-
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="[1.9.1, 2.0.0)" />
62+
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="[1.9.6, 2.0.0)" />
6363
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="[1.1.7, 2.0.0)" />
6464
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="[1.3.3, 2.0.0)" />
6565
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="[1.2.2, 2.0.0)" />
66-
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="[1.2.4, 2.0.0)" />
66+
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="[1.2.5, 2.0.0)" />
6767
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="[1.4.3, 2.0.0)" />
6868
<PackageReference Include="Microsoft.Kiota.Serialization.Multipart" Version="[1.1.5, 2.0.0)" />
6969
</ItemGroup>

0 commit comments

Comments
 (0)