File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
33## [ Unreleased]
4- ### Changed
5- - ` CopyBuilder ` now supports copying primitive arrays.
64
7- ### Fixed
8- - ` CopyBuilder ` now considers sorted maps and sets.
5+ ### Added
6+ - Added a dependency on the new standalone [ object-copier] ( https://github.com/xmlobjects/object-copier ) library
7+ (` org.xmlobjects:object-copier:1.0.0 ` ), which supersedes the built-in copy infrastructure that was previously
8+ part of xml-objects.
9+
10+ ### Changed
11+ - ** Breaking:** The ` CopyBuilder ` class and the entire ` util.copy ` package have been removed. The
12+ [ object-copier] ( https://github.com/xmlobjects/object-copier ) library is the designated replacement, providing a
13+ significantly more powerful and flexible copy framework.
14+ - The central entry point is now the ` Copier ` class (package ` org.xmlobjects.copy ` ), which is created via
15+ ` CopierBuilder ` using ` CopierBuilder.newCopier() ` for a default instance or ` CopierBuilder.newInstance() `
16+ for a customized one.
17+ - ` Copyable ` , ` CopyContext ` , and ` TypeCloner ` have been moved to the ` org.xmlobjects.copy ` package of the
18+ object-copier library. The semantics of ` Copyable ` have changed: ` shallowCopy ` /` deepCopy ` are replaced by
19+ ` shallowCopyTo ` /` deepCopyTo ` (accepting a ` CopyContext ` ) and ` newInstance ` .
20+ - ` failOnError ` has been removed. Errors are always propagated as ` CopyException ` (unchecked).
21+ - See the object-copier [ documentation] ( https://github.com/xmlobjects/object-copier ) for details on the new
22+ capabilities. In particular, the ` CopierSession ` feature now enables maintaining object identity across multiple
23+ copy operations.
924
1025## [ 1.3.0] - 2025-12-29
1126### Changed
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ repositories {
3333}
3434
3535dependencies {
36- api ' org.xmlobjects:object-copier:1.0.0-SNAPSHOT '
36+ api ' org.xmlobjects:object-copier:1.0.0'
3737 api ' org.glassfish.jaxb:xsom:4.0.7'
3838 api ' org.xmlobjects:classindex:3.13.1'
3939 annotationProcessor ' org.xmlobjects:classindex:3.13.1'
You can’t perform that action at this time.
0 commit comments