Skip to content

Commit 8d76c6c

Browse files
authored
update libraries version - include spi (#95)
* update libraries version - include spi * update CHANGELOG.md
1 parent 29ad93a commit 8d76c6c

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.github/workflows/build-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
continue-on-error: true
8484
- name: Download azure functions java library # TODO: Remove this step once gradle plugin is updated
8585
run: |
86-
wget -P samples-azure-functions/build/azure-functions/azure-functions-sample/lib/ "https://repo.maven.apache.org/maven2/com/microsoft/azure/functions/azure-functions-java-library/2.1.0/azure-functions-java-library-2.1.0.jar" --show-progress
86+
wget -P samples-azure-functions/build/azure-functions/azure-functions-sample/lib/ "https://repo.maven.apache.org/maven2/com/microsoft/azure/functions/azure-functions-java-library/2.2.0/azure-functions-java-library-2.2.0.jar" --show-progress
8787
- name: Run azure functions test
8888
run: samples-azure-functions/e2e-test.ps1 -DockerfilePath samples-azure-functions/Dockerfile -HttpStartPath api/StartOrchestration
8989
shell: pwsh

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* update DataConverterException with detail error message ([#78](https://github.com/microsoft/durabletask-java/issues/78))
1313
* update OrchestratorBlockedEvent and TaskFailedException to be unchecked exceptions ([#88](https://github.com/microsoft/durabletask-java/issues/88))
1414
* updated PurgeInstances to take a timeout parameter and throw TimeoutException ([#37](https://github.com/microsoft/durabletask-java/issues/37))
15+
* update dependency azure-functions-java-library to 2.2.0 - include azure-functions-java-spi as `compileOnly` dependency ([#95](https://github.com/microsoft/durabletask-java/pull/95))
1516

1617
### Breaking changes
1718

azurefunctions/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ repositories {
1717

1818
dependencies {
1919
api project(':client')
20-
implementation group: 'com.microsoft.azure.functions', name: 'azure-functions-java-library', version: '2.1.0'
20+
implementation group: 'com.microsoft.azure.functions', name: 'azure-functions-java-library', version: '2.2.0'
2121
implementation "com.google.protobuf:protobuf-java:${protocVersion}"
22+
compileOnly "com.microsoft.azure.functions:azure-functions-java-spi:1.0.0"
2223
}
2324

2425
sourceCompatibility = JavaVersion.VERSION_1_8

client/src/main/java/com/microsoft/durabletask/TaskOrchestrationExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public <V> Task<V> callSubOrchestrator(
332332
}
333333

334334
// TODO:replace this with a deterministic GUID generation so that it's safe for replay,
335-
// please find potentail bug here https://github.com/microsoft/durabletask-dotnet/issues/9
335+
// please find potential bug here https://github.com/microsoft/durabletask-dotnet/issues/9
336336

337337
if (instanceId == null) {
338338
instanceId = UUID.randomUUID().toString();

samples-azure-functions/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
implementation project(':client')
2020
implementation project(':azurefunctions')
2121

22-
implementation 'com.microsoft.azure.functions:azure-functions-java-library:2.1.0'
22+
implementation 'com.microsoft.azure.functions:azure-functions-java-library:2.2.0'
2323
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
2424
testImplementation 'org.mockito:mockito-core:3.3.3'
2525
runtimeOnly "io.grpc:grpc-netty-shaded:1.38.0"

0 commit comments

Comments
 (0)