Skip to content

Commit ded3371

Browse files
authored
Update dependencies and prepare Azure Core release for Oct 2023 (#1446)
* Updated versions for testng and okio packages. * Prepared Azure Core releases.
1 parent 49a85de commit ded3371

File tree

20 files changed

+63
-83
lines changed

20 files changed

+63
-83
lines changed

build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ buildscript {
3838

3939
apply plugin: "com.vanniktech.android.junit.jacoco"
4040

41-
// Configure all client library projects with the standard Android build / publish template
41+
// Configure all client library projects with the standard Android build / publish template.
4242
configure(subprojects.findAll { it.path.startsWith(':sdk:') && it.path.count(':') == 3 }) {
4343
apply plugin: "com.android.library"
4444
apply plugin: "de.mannodermaus.android-junit5"
4545
// https://github.com/KeepSafe/dexcount-gradle-plugin/issues/222#issuecomment-604247658
46-
// apply plugin: 'com.getkeepsafe.dexcount'
46+
// apply plugin: 'com.getkeepsafe.dexcount'.
4747
apply plugin: 'checkstyle'
4848
apply plugin: 'com.github.spotbugs'
4949
apply plugin: "maven-publish"
@@ -144,7 +144,7 @@ configure(subprojects.findAll { it.path.startsWith(':sdk:') && it.path.count(':'
144144
source 'src/main/java'
145145
}
146146

147-
// Check code style after project evaluation
147+
// Check code style after project evaluation.
148148
afterEvaluate {
149149
check.dependsOn('checkstyle')
150150
}
@@ -264,16 +264,17 @@ allprojects {
264264
appCompatVersion = "1.2.0"
265265
azureCommunicationCommonVersion = "2.0.0-beta.2"
266266
azureCoreVersion = "1.0.0-beta.12"
267-
jacksonVersion = "2.12.7" // Do not upgrade to 2.13.0 and above, as it introduced using an API not available in javax.xml.stream:stax-api:1.0-2. See: https://github.com/Azure/azure-sdk-for-android/issues/1017
267+
jacksonVersion = "2.12.7" // Do not upgrade to 2.13.0 and above, as it introduced using an API not available in javax.xml.stream:stax-api:1.0-2. See: https://github.com/Azure/azure-sdk-for-android/issues/1017.
268268
jacksonDatabindVersion = "2.12.7.1" // Need this to be a separate version to include a security fix.
269269
junitJupiterVersion = "5.7.2"
270270
mockitoVersion = "4.0.0"
271271
nimbusJoseJwtTestVersion = "9.15.2"
272-
okHttpVersion = "3.14.9" // Do not upgrade, newer versions require a higher Android minSdkLevel
273-
orgtestngVersion = "7.4.0"
272+
okHttpVersion = "3.14.9" // Do not upgrade, newer versions require a higher Android minSdkLevel.
273+
okioVersion = "1.17.6" // Directly setting this OkHttp dependency as it has a fix for CVE-2023-3635 and we cannot update to a newer version of OkHttp yet. See: https://github.com/square/okio/issues/1323#issuecomment-1742354403
274+
orgtestngVersion = "7.5.1"
274275
powerMockVersion = "2.0.9"
275276
retroFutureVersion = "1.7.4"
276-
staxApiVersion = "1.0-2" // Need this instead of using the JDK due to: https://stackoverflow.com/a/47371517/1473510
277+
staxApiVersion = "1.0-2" // Need this instead of using the JDK due to: https://stackoverflow.com/a/47371517/1473510.
277278
slf4jApiVersion = "1.7.32"
278279
threeTenAbpVersion = "1.3.1"
279280
threeTenBpVersion = "1.5.1"
@@ -284,7 +285,7 @@ allprojects {
284285
}
285286

286287
// Synthesize dependencies for service-level projects so that running a task on a service-level project automatically
287-
// runs it on all sub-projects of that project
288+
// runs it on all sub-projects of that project.
288289
configure(subprojects.findAll { it.path.startsWith(':sdk:') && it.path.count(':') == 2 }) {
289290
apply plugin: "org.gradle.help-tasks"
290291
def setupTasks = ["init", "wrapper"]

sdk/core/azure-core-credential/CHANGELOG.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# Release History
22

3-
## 1.0.0-beta.13 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
3+
## 1.0.0-beta.13 (2023-10-12)
104

115
### Other Changes
126

7+
#### Dependency updates
8+
- Updated `azure-core-logging` dependency version to `1.0.0-beta.13`.
9+
1310
## 1.0.0-beta.12 (2022-11-08)
1411

1512
### Other Changes

sdk/core/azure-core-credential/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure Core Credentials provides shared primitives, abstractions, and helpers aut
1717
<dependency>
1818
<groupId>com.azure</groupId>
1919
<artifactId>azure-core-credential</artifactId>
20-
<version>1.0.0-beta.12</version>
20+
<version>1.0.0-beta.13</version>
2121
</dependency>
2222
```
2323
[//]: # ({x-version-update-end})

sdk/core/azure-core-http-httpurlconnection/CHANGELOG.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 1.0.0-beta.13 (Unreleased)
3+
## 1.0.0-beta.13 (2023-10-12)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
5+
#### Dependency updates
6+
- Updated `azure-core-http` dependency version to `1.0.0-beta.13`.
7+
- Updated `azure-core-logging` dependency version to `1.0.0-beta.13`.
128

139
## 1.0.0-beta.12 (2022-11-08)
1410

sdk/core/azure-core-http-httpurlconnection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure Core HttpUrlConnection HTTP client is a plugin for the `azure-core` HTTP c
1717
<dependency>
1818
<groupId>com.azure</groupId>
1919
<artifactId>azure-core-http-httpurlconnection</artifactId>
20-
<version>1.0.0-beta.12</version>
20+
<version>1.0.0-beta.13</version>
2121
</dependency>
2222
```
2323
[//]: # ({x-version-update-end})

sdk/core/azure-core-http-okhttp/CHANGELOG.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Release History
22

3-
## 1.0.0-beta.13 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
3+
## 1.0.0-beta.13 (2023-10-12)
104

115
### Other Changes
126

7+
#### Dependency updates
8+
- Updated `azure-core-http` dependency version to `1.0.0-beta.13`.
9+
- Updated `azure-core-logging` dependency version to `1.0.0-beta.13`.
10+
- Updated `okio` dependency version to `1.17.6`.
11+
1312
## 1.0.0-beta.12 (2022-11-08)
1413

1514
### Other Changes

sdk/core/azure-core-http-okhttp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure Core OkHttp HTTP client is a plugin for the `azure-core` HTTP client API.
1717
<dependency>
1818
<groupId>com.azure</groupId>
1919
<artifactId>azure-core-http-okhttp</artifactId>
20-
<version>1.0.0-beta.12</version>
20+
<version>1.0.0-beta.13</version>
2121
</dependency>
2222
```
2323
[//]: # ({x-version-update-end})

sdk/core/azure-core-http-okhttp/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies {
1919
implementation project (":sdk:core:azure-core-logging")
2020

2121
implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
22+
implementation "com.squareup.okio:okio:$okioVersion"
2223
// <!-- end: implementation Dependencies -->
2324

2425
// <!-- begin: test Dependencies -->

sdk/core/azure-core-http/CHANGELOG.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Release History
22

3-
## 1.0.0-beta.13 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
3+
## 1.0.0-beta.13 (2023-10-12)
104

115
### Other Changes
126

7+
#### Dependency updates
8+
- Updated `azure-core` dependency version to `1.0.0-beta.13`.
9+
- Updated `azure-core-credential` dependency version to `1.0.0-beta.13`.
10+
- Updated `azure-core-logging` dependency version to `1.0.0-beta.13`.
11+
1312
## 1.0.0-beta.12 (2022-11-08)
1413

1514
### Other Changes

sdk/core/azure-core-http/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure Core HTTP provides shared primitives, abstractions, and helpers for concre
1717
<dependency>
1818
<groupId>com.azure</groupId>
1919
<artifactId>azure-core-http</artifactId>
20-
<version>1.0.0-beta.12</version>
20+
<version>1.0.0-beta.13</version>
2121
</dependency>
2222
```
2323
[//]: # ({x-version-update-end})

0 commit comments

Comments
 (0)