Skip to content

Commit

Permalink
Merge pull request #1514 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 3.1.3
  • Loading branch information
ramsessanchez authored Feb 16, 2024
2 parents a401657 + 97ecf08 commit 165c55c
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 173 deletions.
46 changes: 0 additions & 46 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,53 +18,8 @@ updates:
kiota-dependencies:
patterns:
- "*kiota*"
- package-ecosystem: gradle
directory: "/samples/deviceCodeSample"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: gradle
directory: "/samples/interactiveBrowserSample"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
kiota-dependencies:
patterns:
- "*kiota*"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: gradle
directory: "/"
target-branch: v3/longTermBranch
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
kiota-dependencies:
patterns:
- "*kiota*"
- package-ecosystem: gradle
directory: "/android"
target-branch: v3/longTermBranch
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
kiota-dependencies:
patterns:
- "*kiota*"
- package-ecosystem: maven
directory: "/"
target-branch: v3/longTermBranch
schedule:
interval: daily
open-pull-requests-limit: 10
Expand All @@ -74,7 +29,6 @@ updates:
- "*kiota*"
- package-ecosystem: github-actions
directory: "/"
target-branch: v3/longTermBranch
schedule:
interval: daily
open-pull-requests-limit: 10
13 changes: 6 additions & 7 deletions .github/policies/msgraph-sdk-java-core-branch-protection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ configuration:
# Restrict who can dismiss pull request reviews. boolean
restrictsReviewDismissals: false

- branchNamePattern: v3/longTermBranch
# This branch pattern applies to the following branches as of 06/12/2023 10:31:16:
# v3/longTermBranch
- branchNamePattern: support/2.x.x
# This branch pattern applies to the following branches as of 2/14/2024 12:24
# support/2.x.x

# Specifies whether this branch can be deleted. boolean
allowsDeletions: false
Expand All @@ -111,15 +111,14 @@ configuration:
requiresLinearHistory: false
# 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
requiredStatusChecks:
- Analyze (java)
- Build
- build
- license/cla
- Build
- lint-api-level
- Analyze (java)
- build
# Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
requiresStrictStatusChecks: true
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
restrictsPushes: false
# Restrict who can dismiss pull request reviews. boolean
restrictsReviewDismissals: false

10 changes: 2 additions & 8 deletions .github/workflows/api-level-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@ name: "Checks the SDK only using APIs from the targeted API level"
on:
workflow_dispatch:
push:
branches:
- dev
- master
- v3/longTermBranch
branches: [dev, master, support/2.x.x]
pull_request:
branches:
- dev
- master
- v3/longTermBranch
branches: [dev, master, support/2.x.x]

jobs:
lint-api-level:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Auto-merge dependabot updates

on:
pull_request:
branches: [ main ]
branches: [ dev ]

permissions:
pull-requests: write
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Publish

on:
push:
branches: [ dev , master, v3/longTermBranch ]
branches: [dev, master, support/2.x.x]
paths-ignore:
- '.gradle/wrapper'
- '.gitignore'
Expand All @@ -15,7 +15,7 @@ env:

jobs:
maven_Preview:
if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/v3/longTermBranch'}}
if: ${{ github.ref == 'refs/heads/dev' }}
environment:
name: maven_central_snapshot
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,6 +96,8 @@ jobs:
create_Tag:
needs: maven_Release
runs-on: ubuntu-latest
permissions:
contents: write
env:
RELEASE_TAG: ""
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: ["dev", "master", "v3/longTermBranch"]
branches: [dev, master, support/2.x.x]
pull_request:
# The branches below must be a subset of the branches above
branches: ["dev", "v3/longTermBranch"]
branches: [dev, support/2.x.x]
schedule:
- cron: '0 1 * * 4'
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conflicting-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ name: PullRequestConflicting
on:
workflow_dispatch:
push:
branches: [ master, dev ]
branches: [master, dev, support/2.x.x]
pull_request:
types: [synchronize]
branches: [ master, dev ]
branches: [master, dev, support/2.x.x]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/git-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
jobs:
Git_Release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download Build Artifact
uses: dawidd6/action-download-artifact@v3.0.0
uses: dawidd6/action-download-artifact@v3.1.0
with:
workflow: build-and-publish.yml
workflow_conclusion: success
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Java CI with Gradle

on:
pull_request:
branches: [ dev, master, v3/longTermBranch ]
branches: [dev, master, support/2.x.x]
paths-ignore:
- '.gradle/wrapper'
- '.gitignore'
Expand Down
87 changes: 0 additions & 87 deletions .github/workflows/projectsbot.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: Static analysis with SonarCloud
on:
workflow_dispatch:
push:
branches:
- master
- dev
- feature/v2
branches: [master, dev, support/2.x.x]
pull_request:
types: [opened, synchronize, reopened]

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [3.1.3] - 2024-02-14

### Changed

- Bumps Kiota-Java abstractions, authentication, http, and serialization components

## [3.1.2] - 2024-02-12

### Changed
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph-core
mavenMajorVersion = 3
mavenMinorVersion = 1
mavenPatchVersion = 2
mavenPatchVersion = 3
mavenArtifactSuffix =

#These values are used to run functional tests
Expand Down
16 changes: 8 additions & 8 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
testImplementation 'io.opentelemetry:opentelemetry-api:1.35.0'
testImplementation 'io.opentelemetry:opentelemetry-context:1.35.0'
testImplementation 'io.opentelemetry.semconv:opentelemetry-semconv:1.23.1-alpha'
testImplementation 'io.github.std-uritemplate:std-uritemplate:0.0.52'
testImplementation 'io.github.std-uritemplate:std-uritemplate:0.0.53'

implementation 'com.google.code.gson:gson:2.10.1'

Expand All @@ -16,11 +16,11 @@ dependencies {
api 'com.squareup.okhttp3:okhttp:4.12.0'
api 'com.azure:azure-core:1.46.0'

api 'com.microsoft.kiota:microsoft-kiota-abstractions:1.0.1'
implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.0.1'
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.0.1'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.0.1'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-text:1.0.1'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-form:1.0.1'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-multipart:1.0.1'
api 'com.microsoft.kiota:microsoft-kiota-abstractions:1.0.2'
implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.0.2'
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.0.2'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.0.2'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-text:1.0.2'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-form:1.0.2'
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-multipart:1.0.2'
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph-core:3.1.0'
implementation 'com.microsoft.graph:microsoft-graph-core:3.1.3'
// This dependency is only needed if you are using the TokenCredentialAuthProvider
implementation 'com.azure:azure-identity:1.11.0'
}
Expand All @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-core</artifactId>
<version>3.1.0</version>
<version>3.1.3</version>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/core/CoreConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private CoreConstants() {}
private static class VersionValues {
private static final int MAJOR = 3;
private static final int MINOR = 1;
private static final int PATCH = 2;
private static final int PATCH = 3;
}

/**
Expand Down

0 comments on commit 165c55c

Please sign in to comment.