Skip to content

Latest commit

 

History

History
529 lines (333 loc) · 25.9 KB

RELEASE-NOTES.md

File metadata and controls

529 lines (333 loc) · 25.9 KB

3.0.4

Dependencies Upgrade

  1. Update dependencies to fix CVE

Enhancements

  1. Support for building with OpenJDK 21
  2. Accelerate the startup speed of ElasticJob
  3. Migrate from Junit Vintage to Junit Jupiter

Change Logs

  1. MILESTONE 3.0.4

3.0.3

Bug Fixes

  1. Job class conflict error caused by empty String
  2. Possible NPE in LegacyCrashedRunningItemListener
  3. Possible NPE in InstanceService.getAvailableJobInstances
  4. Job listeners configured in local configuration were used even if overwrite=false

Enhancements

  1. Add new job dump method in JobOperateAPI
  2. Avoid once listener invoke multi times

Change Logs

  1. MILESTONE 3.0.3

3.0.2

Bug Fixes

  1. Fix itemErrorMessages not cleared after job finished.
  2. Fix Curator notify thread may be blocked and avoid probably endless loop in ServerService.
  3. NPE occur when job instance could not be unmarshalled.
  4. Fix failover too sensitive.

Enhancements

  1. Script Job exception's stack was ignored.
  2. Support using different event trace data source when using Spring Boot.
  3. Supports building project by Java 19.

Change Logs

  1. MILESTONE 3.0.2

3.0.1

Enhancements

  1. Avoids creating too many threads for JobTracingEventBus
  2. Job listeners can be ordered
  3. Supports setting timezone for job
  4. Some enhancements in Spring Boot Starter
  5. Supports configuring preferred ip by regex

Bug Fixes

  1. Lifecycle module: JobOperateAPIImpl#trigger does not work
  2. Job conflict may occur when using Spring Boot Starter

Change Logs

  1. MILESTONE 3.0.1

3.0.0

Enhancements

  1. Support configuring Mail SMTP SSL trust in elasticjob-error-handler-email

Bug Fixes

  1. The failover may not work in distributed deployment
  2. ReconcileService is still running after the job shutdown

Dependencies

  1. Make the spring-boot-starter-jdbc optional in ElasticJob Spring Boot Starter

Change Logs

  1. MILESTONE 3.0.0

3.0.0-RC1

API Changes

  1. Simplify usage of injecting OneOffJob when using Spring Boot Starter
  2. Refactor job tracing configuration to support persistence

New Features

  1. Support reloading JobErrorHandler and ExecutorService when configuration changed
  2. Add authentication support in Cloud Scheduler

Bug Fixes

  1. Fix TracingConfiguration doesn't work when the property overwrite is false
  2. Fix SnapshotService may be unavailable in specific situation
  3. Fix some minor problems in Restful module

Build & Dependencies

  1. Upgrade commons-dbcp to commons-dbcp2 in Cloud Scheduler

Change Logs

  1. MILESTONE 3.0.0-RC1

3.0.0-beta

API Changes

  1. Refactor job listener configuration
  2. Refactor job error handler configuration
  3. Refactor job tracing configuration

New Features

  1. Support HTTP job
  2. Remove spring boot dependencies from job kernel module
  3. Support email notification when job execute error
  4. Support wechat notification when job execute error
  5. Support dingtalk notification when job execute error

Bug Fixes

  1. Fix bug of one-off job cannot work with sharding
  2. Fix bug of table and index name case-insensitive for event trace using database
  3. Fix bug of dead lock when resharding flag set incorrectly

Change Logs

  1. MILESTONE

3.0.0-alpha

Build & Dependencies

  1. Upgrade the minimum supported version of JDK to Java8
  2. Update Zookeeper to version 3.6.x and curator to version 5.1.0
  3. Update Google Guava to version 29.0-jre

API Changes

  1. Change maven groupId to org.apache.shardingsphere.elasticjob
  2. Change package name to org.apache.shardingsphere.elasticjob
  3. Change spring namespace name to http://shardingsphere.apache.org/schema/elasticjob
  4. New job API, use SPI to customize job type
  5. Use SPI to introduce configuration strategies
  6. Split console and UI from job core modules

New Features

  1. Add One-off job executor
  2. Add Spring Boot Starter for ElasticJob-Lite
  3. Add more databases support for event trace persist
  4. User indicate IP address via system environment supported

Bug Fixes

  1. Fix bug for executor thread ContextClassLoader is empty with ElasticJob-Cloud
  2. Fix bug for enable job from web console have no effect
  3. Shutdown job when application exit
  4. Fix NPE when failover out-of-order in Curator asynchronized persist
  5. Get correct job class name when using CGLIB proxy

Change Logs

  1. MILESTONE

2.1.5

New Features

  1. ISSUE #373 Cloud can distinguish processing TASK_UNREACHABLE,TASK_UNKNOWN,TASK_DROPPED,TASK_GONE,etc

Bug Fixes

  1. ISSUE #367 Massive stacked jobs performed after Cloud restart because disabled job does not stop Ready queue
  2. ISSUE #382 UI verification error, maximum number of shards should not be verified
  3. ISSUE #383 UI verification error, minimum number of listening port should not be verified

2.1.4

Enhancement

  1. ISSUE #29 Console support english
  2. ISSUE #352 Running elastic-job-cloud-executor locally without mesos environment

Bug Fixes

  1. ISSUE #322 Schedule tasks to evaluate resources when considering the use of resources for executor in elastic-job-cloud-scheduler module
  2. ISSUE #341 Script task configuration in elastic-job-cloud-console is missing execution script
  3. ISSUE #343 Script task execution script is incorrect in elastic-job-cloud-console module
  4. ISSUE #345 The status is not displayed correctly when the task is all disabled in elastic-job-lite-console module
  5. ISSUE #351 Manage background add registry, login credentials bar can not enter ':' in elastic-job-lite-console module

2.1.3

Enhancement

  1. ISSUE #327 spring namespace supports use xml to config beans
  2. ISSUE #336 Cloud task submission failure returns error details to framework

Bug Fixes

  1. ISSUE #321 elastic-job-lite The namespace is not support / when UI adds the registry
  2. ISSUE #333 elastic-job-lite Registration center configuration login credentials in the UI implicit display
  3. ISSUE #334 elastic-job-lite UI can't find conf\auth.properties file on windows platform
  4. ISSUE #335 elastic-job-lite UI guest account configuration does not work in conf\auth.properties file

2.1.2

New Features

  1. ISSUE #301 Console add guest permission configuration, guest only allows viewing, not allowed to change
  2. ISSUE #312 Cloud support self-healing

Enhancement

  1. ISSUE #293 Lite Console datasource configuration adds connection testing capabilities
  2. ISSUE #296 Cloud operational UI refactoring, consistent with lite style
  3. ISSUE #302 Failure transfer and task run state monitoring separation
  4. ISSUE #304 Cloud add associated features with Mesos roles
  5. ISSUE #316 Lite running task association process ID

Bug Fixes

  1. ISSUE #291 elastic-job console failure reason display is not complete
  2. ISSUE #306 Switch whether to monitor job execution status and task intervals are short may occur when the task cannot continue to run
  3. ISSUE #310 Create to many sequential nodes after configuration check time error seconds for this machine and registry

2.1.1

New Features

  1. ISSUE #242 Elastic-Job-Cloud supports delete application and task
  2. ISSUE #243 Elastic-Job-Cloud supports enable/disable application and task

Enhancement

  1. ISSUE #268 Simplify POM dependency

Bug Fixes

  1. ISSUE #266 Elastic-Job-Lite start script specifies that the port is invalid
  2. ISSUE #269 EventTrace failure record is not affected by sample rate and the time of failure is recorded
  3. ISSUE #270 Console send two requests after clicks the button
  4. ISSUE #272 Elastic-Job-Lite UI job dimensions that should appear as disabled only if all servers are disabled
  5. ISSUE #275 After stopping Zookeeper, restart Zookeeper and the task does not continue
  6. ISSUE #276 When fail transfer is turned on and the shard task is performed, the task is repeated
  7. ISSUE #279 Add event tracking data source, database connection address can not have parameters
  8. ISSUE #280 The historical status of the task history page is not displayed correctly
  9. ISSUE #283 Task is not set overwrite and local configuration is inconsistent with the registration center, the cron started by the task shall be based on the registry
  10. ISSUE #290 Elastic-Job-Cloud when deleting a disabled APP or JOB, the corresponding disabled node data cannot be deleted

2.1.0

New Features

  1. ISSUE #195 Elastic-Job-Lite self-diagnose and fix problems caused by distributed instability
  2. ISSUE #248 Elastic-Job-Lite the same job server can run multiple JVM instances with the same job name(Cloud Native)
  3. ISSUE #249 Elastic-Job-Lite Operations UI supports incident tracking queries

Enhancement

  1. ISSUE #240 Elastic-Job-Lite operational UI refactoring.
  2. ISSUE #262 Elastic-Job-Lite console delete job configuration.

Bug Fixes

  1. ISSUE #237 Add the REST API check on the total number of shards not less than 1
  2. ISSUE #238 IP regular expression error
  3. ISSUE #246 After using JobOperateAPI.remove(),JobScheduler.init() triggers execution multiple times after creating the same job
  4. ISSUE #250 Misfire task triggers more than once

Refactor

  1. ISSUE #263 Elastic-Job-Lite Job OperationAPI Re-grooming
  2. ISSUE #264 Elastic-Job-Lite Data storage restructuring, but forward compatibility

2.0.5

New Features

  1. ISSUE #191 Framework's HA feature
  2. ISSUE #217 cloud add APP dimension configuration
  3. ISSUE #223 cloud resident job event tracking sample rate

Bug Fixes

  1. ISSUE 222 elastic-job-lite-spring reg configuration parameter max-retries does not work
  2. ISSUE 231 When a cloud job is deleted in bulk, mesos synchronizes TASK_LOST message to the framework in advance, causing the job to be re-arranged in the ready queue and executed

2.0.4

New Features

  1. ISSUE #203 Cloud task add run statistics and provide REST API queries
  2. ISSUE #215 cloud operations management UI

Enhancement

  1. ISSUE #187 ShardingContext add task attribute to business side

Bug Fixes

  1. ISSUE #189 Manage background to perform a failure operation, but the task is still being executed
  2. ISSUE #204 Async execution of messages in consistency results in inaccurate database data
  3. ISSUE #209 cloud task resource allocation algorithm improvement

2.0.3

Refactor

  1. ISSUE #184 ExecutorServiceHandler interface method adjustment, add jobName used to distinguish between different job thread names
  2. ISSUE #186 Simplify SpringJobScheduler use by removing Spring Namespace DTO-related code

New Features

  1. ISSUE #178 Event-driven trigger jobs

Enhancement

  1. ISSUE #179 Transient's Script-type task optimization, no Java Executor support required
  2. ISSUE #182 add support for spring boot

Bug Fixes

  1. ISSUE #177 Spring Namespace Job: Script Null Pointer in version 2.0.2
  2. ISSUE #185 Executor over-occupancy of sharding resources leads to waste of resources

2.0.2

Refactor

  1. ISSUE #153 Centralization of event tracking configuration
  2. ISSUE #160 Adjust the maven module structure to provide elastic-job-common and its secondary modules, the original elastic-job-core module migration to elastic-job-common-core

Enhancement

  1. ISSUE #159 Available in any version from Spring 3.1.0.RELEASE to Spring 4
  2. ISSUE #164 JobBeans that have been declared in the job Spring namespace no longer need to declare @Component or define in Spring xml

Bug Fixes

  1. ISSUE #64 Spring namespace, if you register multiple job beans of the same class, will cause job beans to look up inaccurately
  2. ISSUE #115 Console add new registry, no connection success, back stage has been repeatedly connected and reported errors
  3. ISSUE #151 Lack of support for relational database-based event tracking for databases outside MySQL
  4. ISSUE #152 Job custom exception processor is invalid and is always handled by Default JobExceptionHandler
  5. ISSUE #156 Job event tracking overall call link data acquisition
  6. ISSUE #158 Job misses sharding when it is paused and will no longer shard
  7. ISSUE #161 Version of Lite deployed to some versions of Tomcat cannot be started
  8. ISSUE #163 The project is started or the task is automatically performed after the task is set to disable true
  9. ISSUE #165 Shard thread deadlock when all service nodes are disable
  10. ISSUE #167 Failover job adds task ID record

2.0.1

Bug Fixes

  1. ISSUE #141 Remove the reg module to read information from zk, making the reg namespace's placeholder fully available
  2. ISSUE #143 elastic-job-cloud-scheduler memory leak
  3. ISSUE #145 After modifying the database connection of the task log, the log is still written to the old database
  4. ISSUE #146 Thread pool reuse problem for a task
  5. ISSUE #147 console task does not load, background there is an null pointer exception
  6. ISSUE #149 Operations platform delete tasks, occasionally encounter deletion incomplete situation
  7. ISSUE #150 Cloud's misfire feature will be performed as jobs pile up

2.0.0

New Features

  1. Elastic-Job-Cloud initial version
  2. Reconstruct the original Elastic-Job to Elastic-Job-Lite

Bug Fixes

  1. ISSUE #119 Quartz does not close properly when spring container is closed
  2. ISSUE #123 Stand-alone running timing task, zk disconnect after reconnecting, did not trigger the leader election
  3. ISSUE #127 Spring configuration task id cannot use placeholders

1.1.1

Refactor

  1. ISSUE #116 HandleJobExecutionException parameter changes for job interface

Enhancement

  1. ISSUE #110 Trigger the task manually

Bug Fixes

  1. ISSUE #99 After deleting a task asynchronously caused the job to be deleted, the task that has not yet ended continues to create zk data

1.1.0

Refactor

  1. ISSUE #97 JobConfiguration Refactored to SimpleJobConfiguration,DataflowJobConfiguration,ScriptJobConfiguration
  2. ISSUE #102 Redefine Java/Spring Config API,replace Constructor+Setter with Factory+Builder model
  3. ISSUE #104 Remove @Deprecated code
  4. ISSUE #105 Reconstructing the Spring Namespace Hump Definition
  5. ISSUE #106 isStreaming Configuration
  6. ISSUE #107 reg-center renamed registry-center-ref

1.0.8

New Features

  1. ISSUE #95 Add script type job support

1.0.7

Refactor

  1. ISSUE #88 Stop task renamed pause

New Features

  1. ISSUE #91 Job Lifecycle Action API

Enhancement

  1. ISSUE #84 The console provides job enable/disable button action
  2. ISSUE #87 Adjusting the master node election process, job shutdown, disabling and pausing will trigger the master node election
  3. ISSUE #93 The registry configuration provides default values for baseSleepTimeMilliseconds, maxSleepTimeMilliseconds, and maxRetries

Bug Fixes

  1. ISSUE #92 Modifying the total shard parameter results in a listening throw timeout exception performed by only a single node

1.0.6

Enhancement

  1. ISSUE #71 Task off function(shutdown)
  2. ISSUE #72 Closed jobs can be deleted
  3. ISSUE #81 Using the last end state of a centralized cleanup job instead of the respective cleanup, each cleaning may result in an uncleaned end state due to offline

Bug Fixes

  1. ISSUE #74 When streaming and fail transfer, the failover shard item cannot be executed once and stopped
  2. ISSUE #77 Dataflow type task, fetchData if there is data, should be executed in pairs with processData
  3. ISSUE #78 Spring configuration job monitoring enable AOP causes problems that do not work properly

1.0.5

Refactor

  1. ISSUE #59 elastic-job upgrade curator from 2.8.0 to 2.10.0

Enhancement

  1. ISSUE #2 Add front and post tasks
  2. ISSUE #60 Dataflow type task customized thread pool configuration
  3. ISSUE #62 Job status cleanup speed-up
  4. ISSUE #65 Add spring namespace support for front and post tasks

Bug Fixes

  1. ISSUE #61 Deadlock problem solved when sharding and primary node elections occur at the same time
  2. ISSUE #63 You may get TreeCache for other jobs with the same prefix when you get the job TreeCache
  3. ISSUE #69 If the job server sharding node in Zk does not exist when sharding, it will not be able to reshard

1.0.4

Refactor

  1. ISSUE #57 Thin module, remove elastic-job-test module
  2. ISSUE #58 Add changes in job type interfaces due to bulk processing capabilities

Enhancement

  1. ISSUE #16 Provides embedded zookeeper to simplify the development environment
  2. ISSUE #28 Dataflow type tasks to increase processData bulk processing of data
  3. ISSUE #56 Job custom parameter settings

1.0.3

Enhancement

  1. ISSUE #39 Add job assisted listening and fetch job runtime information with dump command
  2. ISSUE #43 Add job exception handling callback interface

Bug Fixes

  1. ISSUE #30 Registry is down for a long time and resumes, and the job cannot continue
  2. ISSUE #36 Task cannot resume after console pause
  3. ISSUE #40 TreeCache uses Coarse granularity cause memory overflow

1.0.2

Refactor

  1. ISSUE #17 Task type interface changes

Enhancement

  1. ISSUE #6 Proofreading job server and registry time error
  2. ISSUE #8 Increase misfire switch, default enable missed task re-execution
  3. ISSUE #9 Sharding policy configurability
  4. ISSUE #10 Provides a sorting strategy for odd even shards based on job name hash value
  5. ISSUE #14 When the console modifies the cron expression, the task updates the cron in real time
  6. ISSUE #20 Operations UI task list shows increased cron expression
  7. ISSUE #54 Sequenceperpetual task performance improved, changing fetch data to multithreaded, previously processing data only as multithreaded
  8. ISSUE #55 offset storage capabilities

Bug Fixes

  1. ISSUE #1 Inaccurate access to IP addresses in complex network environments
  2. ISSUE #13 After a job throws a run-time exception, it does not continue to be triggered later
  3. ISSUE #53 Dataflow's Sequence type tasks use multithreaded fetch data

1.0.1

  1. Initial version