From aa87a9708de544df63cd38bdd51830264d203608 Mon Sep 17 00:00:00 2001 From: trisberg Date: Wed, 8 Oct 2008 03:19:18 +0000 Subject: [PATCH] BATCH-862: created change logs for M1 and M2 --- src/site/apt/migration/1.1-2.0-m1.apt | 16 ++++++++++++++++ src/site/apt/migration/2.0-m1-m2.apt | 13 +++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/site/apt/migration/1.1-2.0-m1.apt create mode 100644 src/site/apt/migration/2.0-m1-m2.apt diff --git a/src/site/apt/migration/1.1-2.0-m1.apt b/src/site/apt/migration/1.1-2.0-m1.apt new file mode 100644 index 000000000..d8238e578 --- /dev/null +++ b/src/site/apt/migration/1.1-2.0-m1.apt @@ -0,0 +1,16 @@ +Spring Batch 2.0-m1 Release Notes + +* Bugfixes: + + * [BATCH-737] - JdbcCursorItemReader will spin through entire resultset if numberOfProcessRows=0 + * [BATCH-732] - FlatFileItemReader doesn't take "firstLineIsHeader" flag into account when restarting * [BATCH-735] - Getting Started page should be updated * [BATCH-734] - ItemReaders and ItemWriters using Resource(s) should check for file during ItemStream#open * [BATCH-778] - MapJobRepositoryFactoryBean shouldn't require transactionManager * [BATCH-693] - Refactor samples along domain contours * [BATCH-761] - StaxEventItemWriter writes extra end document tag with Woodstox 3.2.6 * [BATCH-765] - StepExecution should be saved on every commit + * [BATCH-757] - remove DelegatingItemWriter * [BATCH-766] - Insufficient error handling in case of a missing resource for a org.springframework.batch.item.xml.StaxEventItemWriter + * [BATCH-727] - Move all POMs in trunk to 2.0.0.CI-SNAPSHOT * [BATCH-744] - restart.count is always 0 in FlatFileItemWriter * [BATCH-741] - DefaultFieldSet should clone the tokens before exposing them in getValues() + +* Improvements + + * [BATCH-671] - Upgrade JobParameters and ExecutionContext for Java 5 * [BATCH-770] - Make ItemTransformer a first class citizen and rename as ItemProcessor * [BATCH-278] - Allow FixedLengthLineAggregator to be configured with different padding/alignment for specific columns * [BATCH-709] - Change all collections to use generics * [BATCH-581] - Add filter capability to item oriented paradigm * [BATCH-743] - ExportedJobLauncher should be able to stop running batches on an individual basis * [BATCH-230] - Recoverable and ItemProvider.recover() abstractions refactored into correct place in chunk-oriented framework * [BATCH-745] - strong typing in AggregateItemReader * [BATCH-544] - Configurable RetryPolicy in SkipLimitStepFactoryBean * [BATCH-354] - Create JPA ItemReader/Writer * [BATCH-758] - Generify ExceptionClassifier and ExceptionClassifierSupport * [BATCH-300] - Improve typesafety of ItemProvider/Processor paradigm * [BATCH-753] - Listener exception handling * [BATCH-274] - Support Callable * [BATCH-712] - Upgrade ItemReaders to use Parameterized types * [BATCH-711] - Upgrade ItemWriter and implementations to use parameterized types * [BATCH-756] - Upgrade JdbcExecutionContextDao to use enums * [BATCH-672] - Upgrade samples to Java 5.0 * [BATCH-710] - Upgrade unit tests to use Spring Test Java 5 features * [BATCH-518] - clean up the *Or* repository methods * [BATCH-662] - simplify FlatFileItemReader * [BATCH-728] - Add remove(key) method to ExecutionContext class * [BATCH-570] - Job.getSteps() does not need to be exposed in the interface * [BATCH-668] - JobRepository needs to distinguish between save and update of execution context + +* Documentation updates + + * [BATCH-768] - Update documentation for M1 * [BATCH-586] - Documentation for the walkthrough of samples * [BATCH-769] - Create documentation for JPA Reader * [BATCH-689] - Document how to access StepExecution and JobExecution in Tasklet \ No newline at end of file diff --git a/src/site/apt/migration/2.0-m1-m2.apt b/src/site/apt/migration/2.0-m1-m2.apt new file mode 100644 index 000000000..6f1bfb59d --- /dev/null +++ b/src/site/apt/migration/2.0-m1-m2.apt @@ -0,0 +1,13 @@ +Spring Batch 2.0-m2 Release Notes + +* Bugfixes: + + * [BATCH-682] - Use SoftReference and/or expiry to store entries in RetryContextCache implementation(s) * [BATCH-764] - Truncate flatfile in restart scenarios. * [BATCH-776] - StaxEventItemWriter headers should not have to be the same type as the T that the writer is parameterised with * [BATCH-782] - Synchronization issue in ItemOrientedStep if exception is throw in chunk processing * [BATCH-790] - SQL error caused by changes to JdbcExecutionContextDao * [BATCH-795] - JdbcJobExecutionDao output sorting * [BATCH-807] - Serialization bug in JobExecution * [BATCH-812] - StepExecutionResourceProxy should use a different JobParametersConverter * [BATCH-813] - SingleColumnJdbcKeyGeneratorIntegrationTests fails in Eclipse * [BATCH-814] - JobRepository should not require Step or Job (only their names) * [BATCH-822] - New WRITE_COUNT should count items instead of chunks * [BATCH-830] - DelegatingItemReader should be removed * [BATCH-831] - id counter in MapJobInstanceDao should be declared static * [BATCH-832] - DefaultTransactionAttribute is inappropriate for TaskletStep * [BATCH-833] - TransactionAttributes swallows Exceptions * [BATCH-835] - sql error "column ambiguously defined" in JdbcJobInstanceDao * [BATCH-838] - TimeoutTerminationPolicy does not terminate when eof is encountered * [BATCH-839] - Reference doc reference deprecated code: 'StatefulRetryStepFactoryBean' * [BATCH-843] - FlatFileItemWriter handling of failure in LineAggregator * [BATCH-847] - FaultTolerantChunkOrientedTasklet loses chunks when non-skippable exceptions thrown in read phase * [BATCH-856] - JobExecution status isn't being updated when Step fails. * [BATCH-865] - CompositeItemProcessor should handle null properly + +* Improvements + + * [BATCH-401] - aspect-oriented handling of job interruption logic * [BATCH-453] - Killed batches cannot be restarted * [BATCH-592] - RFC: buffer read items in ItemHandler instead of ItemReader * [BATCH-640] - FieldSetMapper.mapLine() should contain the line number * [BATCH-719] - API should provide access to original input line in flat file outside of error scenario * [BATCH-755] - Include Javadocs in distribution * [BATCH-762] - Change ExecutionContext storage strategy * [BATCH-763] - Create callback for header and footer writing in xml and flat files * [BATCH-772] - Upgrade CommandLineJobRunner to use args4j * [BATCH-775] - Throw exception if ExecutionContext is modified during processing. * [BATCH-779] - RFC: make FieldSetMapper and LineAggregator extend ItemProcessor * [BATCH-785] - Fix Parallel Sample to use a batch update for process indicator * [BATCH-792] - Automatically detect database type in JobRepositoryFactoryBean * [BATCH-796] - typos in javadoc @links and comments * [BATCH-802] - Incorrect metadata in fixed-length file example * [BATCH-825] - Modify JobLauncher contract to not throw exception on job failure. * [BATCH-826] - Create callback for header and footer reading in xml and flat files * [BATCH-828] - org.springframework.batch.item.file.MultiResourceItemReader should allow for no resources * [BATCH-841] - insufficient logging in AbstractStep * [BATCH-844] - Lacking of DAO's property setting in JobRepositoryFactoryBean * [BATCH-863] - introduce LineMapper interface to encapsulate string-to-item mapping * [BATCH-864] - rename SkipLimitStepFactoryBean * [BATCH-774] - Split item count into read/write/filter * [BATCH-829] - add persistent processSkipCount to StepExecution * [BATCH-810] - Need to add DB2MainframeSequenceMaxValueIncrementer to DefaultDataFieldMaxValueIncrementerFactory * [BATCH-8] - Determine approach for handling file creation/update in restart scenarios * [BATCH-220] - Chunk-oriented approach to processing * [BATCH-575] - FlatFileItemReader default charset should mimic java's default charset behavior * [BATCH-675] - API Analysis * [BATCH-759] - ItemReader refactoring * [BATCH-773] - Refactor and extend ExportedJobLauncher to JobOperator * [BATCH-806] - Resurrect ResourceLineReader * [BATCH-821] - remove EventSerializer/Deserializer abstractions and use Marshaller/Unmarshaller directly * [BATCH-827] - Create Sample job for reading and writing headers and footers * [BATCH-845] - integration tests for database autodetection + +* Documentation updates + + * [BATCH-767] - Update documentation for M2 * [BATCH-823] - Confusing explanation * [BATCH-718] - Add section on FlatFileItemReader error handling * [BATCH-784] - Refactor testing chapter to reflect Spring Testing framework changes. * [BATCH-850] - Create documentation for JdbcPagingItemReader and related classes \ No newline at end of file