diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index 08ecdf63..fb1c8942 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -2697,11 +2697,14 @@ public void execute() { - a、本次升级数据模型向前兼容,v3.2.*版本可直接升级不需要进行数据库表调整; - b、本次升级针对客户端rollinglog依赖字段做规范约束,如不关注该功能 v2.4.* 及后续版本客户端不需要升级/可兼容,否则需要升级客户端版本; -### 7.42 版本 v3.3.1 Release Notes[ING] -- 1、【修复】调度组件事务代码优化,修复DB超时等小概率情况下调度终止问题; -- 2、【修复】合并PR-3869,修复底层通讯超时设置无效问题; -- 3、【新增】新增“执行器启用开关”配置项(xxl.job.executor.enabled),默认开启,关闭时不进行执行器初始化; +### 7.42 版本 v3.3.1 Release Notes[2025-12-06] +- 1、【新增】新增“执行器启用开关”配置项(xxl.job.executor.enabled),默认开启,关闭时不进行执行器初始化; +- 2、【修复】调度组件事务代码调整,修复DB超时等小概率情况下调度终止问题; +- 3、【修复】合并PR-3869,修复底层通讯超时设置无效问题; - 4、【优化】执行器删除逻辑优化,删除时一并清理注册表数据,避免小概率情况下注册数据堆积(ISSUE-3669); +- 5、【升级】调度中心升级至 SpringBoot4;升级多项maven依赖至较新版本,如 mybatis、groovy 等; + +### 7.43 版本 v3.3.2 Release Notes[ING] - 5、【TODO】任务调度触发后分批批量更新,提升调度性能; diff --git a/pom.xml b/pom.xml index cfeb4fdc..4eab301d 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ true 3.14.1 - 3.3.1 + 3.4.0 3.12.0 3.2.8 0.9.0 @@ -38,10 +38,10 @@ 3.0.0 - 3.5.8 - 6.2.14 + 4.0.0 + 7.0.1 - 3.0.5 + 4.0.0 9.5.0 @@ -49,7 +49,7 @@ 2.13.2 - 5.0.2 + 5.0.3 2.2.0 diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/web/error/WebErrorPageRegistrar.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/web/error/WebErrorPageRegistrar.java index a84cbde3..89a42dc6 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/web/error/WebErrorPageRegistrar.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/web/error/WebErrorPageRegistrar.java @@ -1,8 +1,8 @@ package com.xxl.job.admin.web.error; -import org.springframework.boot.web.server.ErrorPage; -import org.springframework.boot.web.server.ErrorPageRegistrar; -import org.springframework.boot.web.server.ErrorPageRegistry; +import org.springframework.boot.web.error.ErrorPage; +import org.springframework.boot.web.error.ErrorPageRegistrar; +import org.springframework.boot.web.error.ErrorPageRegistry; import org.springframework.stereotype.Component; /** diff --git a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile index d67f9f3a..036ad3d0 100644 --- a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile +++ b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/Dockerfile @@ -1,12 +1,21 @@ +# base image FROM openjdk:21-jdk-slim + +# maintainer MAINTAINER xuxueli -ENV LOG_HOME=/data/applogs +# set params ENV PARAMS="" +# set timezone ENV TZ=PRC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +# copy jar ADD target/xxl-job-executor-sample-springboot-ai*.jar /app.jar -ENTRYPOINT ["sh","-c","java -DLOG_HOME=$LOG_HOME -jar $JAVA_OPTS /app.jar $PARAMS"] \ No newline at end of file +# command +# log home: -e LOG_HOME=/data/applogs +# jvm options: -e JAVA_OPTS="-Xms128m -Xmx128m" +# app params: -e PARAMS="--server.port=8080" +ENTRYPOINT ["sh","-c","java ${LOG_HOME:+-DLOG_HOME=$LOG_HOME} -jar $JAVA_OPTS /app.jar $PARAMS"] \ No newline at end of file diff --git a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml index 4b83adee..dc173099 100644 --- a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml +++ b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/pom.xml @@ -16,8 +16,8 @@ https://www.xuxueli.com/ - 1.1.0 - 1.2.2 + 1.1.1 + 1.2.3 diff --git a/xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile b/xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile index 175a8cc7..fc37c354 100644 --- a/xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile +++ b/xxl-job-executor-samples/xxl-job-executor-sample-springboot/Dockerfile @@ -1,12 +1,21 @@ +# base image FROM openjdk:21-jdk-slim + +# maintainer MAINTAINER xuxueli -ENV LOG_HOME=/data/applogs +# set params ENV PARAMS="" +# set timezone ENV TZ=PRC RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +# copy jar ADD target/xxl-job-executor-sample-springboot-*.jar /app.jar -ENTRYPOINT ["sh","-c","java -DLOG_HOME=$LOG_HOME -jar $JAVA_OPTS /app.jar $PARAMS"] \ No newline at end of file +# command +# log home: -e LOG_HOME=/data/applogs +# jvm options: -e JAVA_OPTS="-Xms128m -Xmx128m" +# app params: -e PARAMS="--server.port=8080" +ENTRYPOINT ["sh","-c","java ${LOG_HOME:+-DLOG_HOME=$LOG_HOME} -jar $JAVA_OPTS /app.jar $PARAMS"] \ No newline at end of file