Skip to content

Commit 3dd51ae

Browse files
Merge pull request #927 from microsoftgraph/dev
Release 2.0.19
2 parents 32c7826 + 7f386cc commit 3dd51ae

File tree

16 files changed

+158
-28
lines changed

16 files changed

+158
-28
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @baywet @ddyett @MichaelMainer @zengin @ramsessanchez @andrueastman
1+
* @microsoftgraph/msgraph-devx-java-write
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Copyright (c) Microsoft Corporation.
2+
# Licensed under the MIT License.
3+
4+
# File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1.
5+
6+
name: msgraph-sdk-java-core-branch-protection
7+
description: Branch protection policy for the msgraph-sdk-java-core repository
8+
resource: repository
9+
configuration:
10+
branchProtectionRules:
11+
12+
- branchNamePattern: dev
13+
# This branch pattern applies to the following branches as of 06/12/2023 10:31:16:
14+
# dev
15+
16+
# Specifies whether this branch can be deleted. boolean
17+
allowsDeletions: false
18+
# Specifies whether forced pushes are allowed on this branch. boolean
19+
allowsForcePushes: false
20+
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
21+
dismissStaleReviews: true
22+
# Specifies whether admins can overwrite branch protection. boolean
23+
isAdminEnforced: false
24+
# Indicates whether "Require a pull request before merging" is enabled. boolean
25+
requiresPullRequestBeforeMerging: true
26+
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
27+
requiredApprovingReviewsCount: 1
28+
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
29+
requireCodeOwnersReview: false
30+
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
31+
requiresCommitSignatures: false
32+
# Are conversations required to be resolved before merging? boolean
33+
requiresConversationResolution: true
34+
# Are merge commits prohibited from being pushed to this branch. boolean
35+
requiresLinearHistory: false
36+
# Required status checks to pass before merging. 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
37+
requiredStatusChecks:
38+
- license/cla
39+
- Build
40+
- lint-api-level
41+
- Analyze
42+
- build
43+
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
44+
requiresStrictStatusChecks: false
45+
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
46+
restrictsPushes: false
47+
# Restrict who can dismiss pull request reviews. boolean
48+
restrictsReviewDismissals: false
49+
50+
- branchNamePattern: master
51+
# This branch pattern applies to the following branches as of 06/12/2023 10:31:16:
52+
# master
53+
54+
# Specifies whether this branch can be deleted. boolean
55+
allowsDeletions: false
56+
# Specifies whether forced pushes are allowed on this branch. boolean
57+
allowsForcePushes: false
58+
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
59+
dismissStaleReviews: true
60+
# Specifies whether admins can overwrite branch protection. boolean
61+
isAdminEnforced: false
62+
# Indicates whether "Require a pull request before merging" is enabled. boolean
63+
requiresPullRequestBeforeMerging: true
64+
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
65+
requiredApprovingReviewsCount: 1
66+
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
67+
requireCodeOwnersReview: false
68+
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
69+
requiresCommitSignatures: false
70+
# Are conversations required to be resolved before merging? boolean
71+
requiresConversationResolution: true
72+
# Are merge commits prohibited from being pushed to this branch. boolean
73+
requiresLinearHistory: false
74+
# Required status checks to pass before merging. 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
75+
requiredStatusChecks:
76+
- license/cla
77+
- Build
78+
- lint-api-level
79+
- Analyze
80+
- build
81+
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
82+
requiresStrictStatusChecks: false
83+
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
84+
restrictsPushes: false
85+
# Restrict who can dismiss pull request reviews. boolean
86+
restrictsReviewDismissals: false
87+
88+
- branchNamePattern: v3/longTermBranch
89+
# This branch pattern applies to the following branches as of 06/12/2023 10:31:16:
90+
# v3/longTermBranch
91+
92+
# Specifies whether this branch can be deleted. boolean
93+
allowsDeletions: false
94+
# Specifies whether forced pushes are allowed on this branch. boolean
95+
allowsForcePushes: false
96+
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
97+
dismissStaleReviews: true
98+
# Specifies whether admins can overwrite branch protection. boolean
99+
isAdminEnforced: false
100+
# Indicates whether "Require a pull request before merging" is enabled. boolean
101+
requiresPullRequestBeforeMerging: true
102+
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
103+
requiredApprovingReviewsCount: 1
104+
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
105+
requireCodeOwnersReview: true
106+
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
107+
requiresCommitSignatures: false
108+
# Are conversations required to be resolved before merging? boolean
109+
requiresConversationResolution: false
110+
# Are merge commits prohibited from being pushed to this branch. boolean
111+
requiresLinearHistory: false
112+
# Required status checks to pass before merging. 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
113+
requiredStatusChecks:
114+
- Analyze
115+
- Build
116+
- build
117+
- license/cla
118+
- lint-api-level
119+
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
120+
requiresStrictStatusChecks: false
121+
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
122+
restrictsPushes: false
123+
# Restrict who can dismiss pull request reviews. boolean
124+
restrictsReviewDismissals: false
125+

.github/workflows/auto-merge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v1.3.6
22+
uses: dependabot/fetch-metadata@v1.5.1
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: .\scripts\getLatestVersion.ps1
106106
shell: pwsh
107107
- name: Create tag
108-
uses: rickstaa/[email protected].1
108+
uses: rickstaa/[email protected].2
109109
with:
110110
tag: ${{ steps.GetVersion.outputs.tag }}
111111
- name: Queue Git Release

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
## [2.0.19] - 2023-06-20
13+
14+
### Changed
15+
16+
- Remove explicit logging of GraphServiceException in the CoreHttpProvider class. [#885](https://github.com/microsoftgraph/msgraph-sdk-java-core/issues/885)
17+
- Thank you to @MaHa6543 for the contribution.
18+
1219
## [2.0.18] - 2023-04-06
1320

1421
### Changed

android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.13"
12-
classpath "com.android.tools.build:gradle:8.0.0"
13-
classpath "com.github.ben-manes:gradle-versions-plugin:0.46.0"
11+
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.13.4"
12+
classpath "com.android.tools.build:gradle:8.0.2"
13+
classpath "com.github.ben-manes:gradle-versions-plugin:0.47.0"
1414
}
1515
}
1616

@@ -25,13 +25,13 @@ apply plugin: "com.github.ben-manes.versions"
2525
android {
2626
namespace "com.microsoft.graph"
2727

28-
compileSdkVersion 33
28+
compileSdkVersion 34
2929

3030
defaultConfig {
3131
versionCode 1
3232
versionName "1.0"
3333
minSdkVersion 26
34-
targetSdkVersion 33
34+
targetSdkVersion 34
3535
}
3636

3737
buildTypes {

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph-core
2828
mavenMajorVersion = 2
2929
mavenMinorVersion = 3
30-
mavenPatchVersion = 1
30+
mavenPatchVersion = 2
3131
mavenArtifactSuffix =
3232

3333
#These values are used to run functional tests

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins {
1515
id 'signing'
1616
id 'jacoco'
1717
id 'com.github.spotbugs' version '5.0.14'
18-
id "org.sonarqube" version "4.0.0.2929"
18+
id "org.sonarqube" version "4.2.1.3168"
1919
}
2020

2121
java {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph
2525
mavenArtifactId = microsoft-graph-core
2626
mavenMajorVersion = 2
2727
mavenMinorVersion = 0
28-
mavenPatchVersion = 18
28+
mavenPatchVersion = 19
2929
mavenArtifactSuffix =
3030

3131
#These values are used to run functional tests

gradle/dependencies.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
dependencies {
22
// Use JUnit test framework
3-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
4-
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.2'
5-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
3+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
4+
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.3'
5+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
66
testImplementation 'org.mockito:mockito-inline:5.2.0'
77

8-
api 'com.squareup.okhttp3:okhttp:4.10.0'
8+
api 'com.squareup.okhttp3:okhttp:4.11.0'
99

10-
implementation 'com.google.guava:guava:31.1-jre'
10+
implementation 'com.google.guava:guava:32.0.1-jre'
1111

1212
implementation 'com.google.code.gson:gson:2.10.1'
13-
api 'com.azure:azure-core:1.38.0'
13+
api 'com.azure:azure-core:1.40.0'
1414

1515
api 'com.github.spotbugs:spotbugs-annotations:4.7.3'
1616
}

0 commit comments

Comments
 (0)