Java: Version bumps (#4968)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
This commit is contained in:
John Oliver
2024-02-12 12:04:34 -05:00
committed by GitHub
parent 99115ab81b
commit 83988b9374
4 changed files with 30 additions and 27 deletions
+21 -21
View File
@@ -15,47 +15,47 @@
<properties>
<azure-ai-openai.version>1.0.0-beta.6</azure-ai-openai.version>
<checkstyle.version>10.12.2</checkstyle.version>
<checkstyle.version>10.13.0</checkstyle.version>
<com.uber.nullaway.version>0.10.21</com.uber.nullaway.version>
<google.errorprone.core.version>2.19.1</google.errorprone.core.version>
<google.java.format.version>1.17.0</google.java.format.version>
<jreleaser.plugin.version>1.6.0</jreleaser.plugin.version>
<junit5.version>5.10.0</junit5.version>
<log4j2.version>2.20.0</log4j2.version>
<junit5.version>5.10.2</junit5.version>
<log4j2.version>2.22.1</log4j2.version>
<maven.antrun-plugin.version>3.1.0</maven.antrun-plugin.version>
<maven.changes-plugin.version>2.12.1</maven.changes-plugin.version>
<maven.checkstyle-plugin.version>3.3.0</maven.checkstyle-plugin.version>
<maven.clean-plugin.version>3.3.1</maven.clean-plugin.version>
<maven.compiler-plugin.version>3.11.0</maven.compiler-plugin.version>
<maven.checkstyle-plugin.version>3.3.1</maven.checkstyle-plugin.version>
<maven.clean-plugin.version>3.3.2</maven.clean-plugin.version>
<maven.compiler-plugin.version>3.12.1</maven.compiler-plugin.version>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.dependency-plugin.version>3.6.0</maven.dependency-plugin.version>
<maven.dependency-plugin.version>3.6.1</maven.dependency-plugin.version>
<maven.deploy-plugin.version>3.1.1</maven.deploy-plugin.version>
<maven.directory-maven-plugin.version>1.0</maven.directory-maven-plugin.version>
<maven.enforcer-plugin.version>3.3.0</maven.enforcer-plugin.version>
<maven.exec-plugin.version>3.1.0</maven.exec-plugin.version>
<maven.enforcer-plugin.version>3.4.1</maven.enforcer-plugin.version>
<maven.exec-plugin.version>3.1.1</maven.exec-plugin.version>
<maven.install-plugin.version>3.1.1</maven.install-plugin.version>
<maven.jacoco-plugin.version>0.8.11</maven.jacoco-plugin.version>
<maven.jar-plugin.version>3.3.0</maven.jar-plugin.version>
<maven.javadoc-plugin.version>3.5.0</maven.javadoc-plugin.version>
<maven.jxr-plugin.version>3.3.0</maven.jxr-plugin.version>
<maven.license-plugin.version>2.2.0</maven.license-plugin.version>
<maven.pmd-plugin.version>3.21.0</maven.pmd-plugin.version>
<maven.project-info-reports-plugin.version>3.4.5</maven.project-info-reports-plugin.version>
<maven.rat-plugin.version>0.15</maven.rat-plugin.version>
<maven.javadoc-plugin.version>3.6.3</maven.javadoc-plugin.version>
<maven.jxr-plugin.version>3.3.2</maven.jxr-plugin.version>
<maven.license-plugin.version>2.4.0</maven.license-plugin.version>
<maven.pmd-plugin.version>3.21.2</maven.pmd-plugin.version>
<maven.project-info-reports-plugin.version>3.5.0</maven.project-info-reports-plugin.version>
<maven.rat-plugin.version>0.16.1</maven.rat-plugin.version>
<maven.release-plugin.version>3.0.1</maven.release-plugin.version>
<maven.resources-plugin.version>3.3.1</maven.resources-plugin.version>
<maven.site-plugin.version>4.0.0-M9</maven.site-plugin.version>
<maven.shade-plugin.version>3.5.0</maven.shade-plugin.version>
<maven.site-plugin.version>4.0.0-M13</maven.site-plugin.version>
<maven.shade-plugin.version>3.5.1</maven.shade-plugin.version>
<maven.source-plugin.version>3.3.0</maven.source-plugin.version>
<maven.spotbugs-plugin.version>4.7.3.5</maven.spotbugs-plugin.version>
<maven.spotbugs-plugin.version>4.8.3.1</maven.spotbugs-plugin.version>
<!-- TODO 2.30.0 is the last supported version for Java 8 Not sure how 2.38.0 is working... -->
<maven.spotless-plugin.version>2.38.0</maven.spotless-plugin.version>
<maven.surefire-plugin.version>3.1.2</maven.surefire-plugin.version>
<maven.surefire-plugin.version>3.2.5</maven.surefire-plugin.version>
<maven.version>3.9.3</maven.version>
<maven.versions-plugin.version>2.16.0</maven.versions-plugin.version>
<mockito.version>5.4.0</mockito.version>
<maven.versions-plugin.version>2.16.2</maven.versions-plugin.version>
<mockito.version>5.10.0</mockito.version>
<mutability.detector.version>0.9.1</mutability.detector.version>
<pmd.version>6.55.0</pmd.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -84,6 +84,9 @@ public class FunctionInvocation<T> extends Mono<FunctionResult<T>> {
}
public FunctionInvocation<T> addKernelHook(@Nullable KernelHook hook) {
if (hook == null) {
return this;
}
KernelHooks clone = new KernelHooks(this.hooks);
clone.addHook(hook);
this.hooks = unmodifiableClone(clone);
@@ -227,7 +227,7 @@ public class KernelFunctionFromMethod<T> extends KernelFunction<T> {
// If the function has a return type that has a ContextVariableType<T>, use it.
ContextVariableType<T> contextVariableType = getContextVariableType(
invocationContext,
context,
returnParameterType);
if (contextVariableType == null) {
// If getting the context variable type from the function fails, default to
+5 -5
View File
@@ -13,7 +13,7 @@
<url>https://www.github.com/microsoft/semantic-kernel</url>
<properties>
<com.fasterxml.jackson.core.version>2.16.0</com.fasterxml.jackson.core.version>
<com.fasterxml.jackson.core.version>2.16.1</com.fasterxml.jackson.core.version>
</properties>
<build>
@@ -126,13 +126,13 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.13.10</version>
<version>1.13.11</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.10.4</version>
<version>1.11.2</version>
</dependency>
<!-- dependency for semantickernel-connectors-memory-azurecognitivesearch
<dependency>
@@ -172,7 +172,7 @@
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>3.5.8</version>
<version>3.6.2</version>
</dependency>
<dependency>
<groupId>jakarta.inject</groupId>
@@ -182,7 +182,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.7</version>
<version>2.0.12</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>