GeezerVison is showing github.com — Releases · apache/maven-shared-utils
Releases · apache/maven-shared-utils
3.5.0
Maven Shared Utils 3.5.0 is the first release since 3.4.2 (May 2023). The baseline is unchanged: Java 8 and Maven 3.
Most of the work deprecates utilities that now have JDK or Apache Commons equivalents, and fixes bugs in process handling, StringUtils, PathTool and Xpp3Dom.
Runtime dependency changes:
- commons-io 2.11.0 → 2.22.0
- jansi (optional) 2.4.0 → 2.4.3
- The provided-scope
jsr305 dependency is gone. slf4j-api stays at 1.7.36.
🚨 Removed
Commandline and Shell no longer implement Cloneable. Their clone() methods always threw, so only code that references them is affected (#365) @elharo
⚠️ Deprecated
StringUtils.replace and StringUtils.contains (#427) @slachiewicz
- The
logging package, in favour of MessageBuilderFactory (#423) @slachiewicz
StringUtils.concatenate, in favour of String.join (#361) @elharo
StringUtils.clean(), in favour of StringUtils.trim() (#356) @HarshMehta112
PathTool (#355) @elharo
StringUtils.split (#350) @elharo
- The remaining shared XML classes, including
Xpp3Dom (MSHARED-1274, #162, #171) @elharo
- Add missing
@Deprecated annotations (#163) @elharo
FileUtils.forceMkdir and contentEquals, which Commons IO provides (MSHARED-1271, #155, #156) @elharo
Os, unmaintained for over a decade (MSHARED-1215, #157) @elharo
FileUtils.copyFile and FilterWrapper, in favour of org.apache.maven.shared.filtering (MSHARED-1260, #147) @elharo
WriterFactory (MSHARED-1254, #146) and ReaderFactory (MSHARED-1253, #145) @elharo
🐛 Bug fixes
Process handling:
- Close process streams after exit, to work around the JDK-4311711 hang (#412) @elharo
CommandLineUtils: wait on every pumper in a try/finally (#399) @elharo
AbstractStreamHandler.setDone: call notifyAll to wake waiting threads (#405) @elharo
StreamPollFeeder: declare done and exception as volatile (#387) @elharo
- Pass
streamCharset to the stdout and stderr pumpers (#432) @slachiewicz
CmdShell: quote items that cmd.exe would otherwise interpret (#434) @slachiewicz
XML:
Xpp3DomBuilder.createXmlReader: stop changing system properties, which was not thread-safe (#393) @elharo
Xpp3Dom.removeChild(int): fix childMap corruption with duplicate names (#395) @elharo
Xpp3Dom.getValue(): honour the @NonNull contract (#389) @elharo
Xpp3DomWriter: reject a null DOM with a named NullPointerException (#426) @slachiewicz
PrettyPrintXMLWriter: handle a null lineIndent in the constructors (#382) @elharo
Strings, paths and files:
StringUtils.chompLast: fix StringIndexOutOfBoundsException when the separator is longer than the string (#401) @elharo
StringUtils.chopNewline(""): fix StringIndexOutOfBoundsException (#380) @elharo
StringUtils.leftPad and rightPad: handle an empty delimiter without ArithmeticException (#409) @elharo
PathTool.getRelativeFilePath: fix the Windows drive-letter regex (#384) and return an empty string instead of null for cross-drive paths (#403) @elharo
Os.getOsFamily: return an empty string instead of null (#425) @slachiewicz
- Copy a symbolic link even when its target does not exist (#433) @slachiewicz
📝 Documentation
- Port the site from APT to Markdown (#420) and migrate the site descriptor to the v2 model (#430) @slachiewicz
- Rewrite the documentation in ASD-STE100 Simplified Technical English (#418) @elharo
- Correct the class names that deprecation notes point at (#428) @slachiewicz
- Stop naming individual Windows versions in the
CmdShell docs (#435) @elharo
- Fix site page issues (#417), follow Oracle Javadoc conventions (#360), and clean up Javadoc (#150, #353) @elharo
- Correct the
StringUtils.abbreviate() Javadoc (#343) @phymod0
👻 Maintenance
- Drop the nullness annotations:
jsr305 was replaced by JSpecify (#364), which was then removed (#429) @slachiewicz
- Remove the last dependency on Plexus, which was test-scoped (#151) @elharo
- Remove unreachable escaping logic (#369) and unused code (#159, #161) @elharo
- Clean up API docs and exceptions (MSHARED-1273, #158, #160) @elharo
- Code modernisation:
StringBuilder for locals (#368), empty arrays in toArray (#188), cached system properties (#187), diamond operator (MNG-6847, #166 @timtebeek), stale warning suppressions (#152) @elharo
✅ Tests
🔧 Build and infrastructure
📦 Dependency updates
Runtime:
Build and test:
- Parent
maven-shared-components 39 → 49 (#168, #178, #189, #196, #357, #358, #376, #378) @dependabot
- maven-assembly-plugin 3.6.0 → 3.8.0 (#174, #351) and maven-resources-plugin 3.3.1 → 3.5.0 (#352, #370) @dependabot
apache/maven-gh-actions-shared workflows v3 → v5 (#172, #413, #414, #415, #416) @dependabot
- hamcrest 2.2 → 3.0 (#180, #181), commons-text 1.10.0 → 1.11.0 (#169), jspecify 1.0.0 → 1.0.1 (#419) @dependabot
- Fix the hamcrest dependencies (MSHARED-1255, #142, #143) @elharo
Full changelog: maven-shared-utils-3.4.2...maven-shared-utils-3.5.0
Contributors
sparsick, elharo, and 9 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
3.4.2
2dc9eb5
This commit was signed with the committer’s verified signature.
🐛 Bug Fixes
👻 Maintenance
Contributors
slawekjaranowski
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
3.4.1
3896942
This commit was signed with the committer’s verified signature.
🚀 New features and improvements
🐛 Bug Fixes
📦 Dependency updates
👻 Maintenance
Contributors
cstamas, kwin, and 6 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
3.3.4
olamy
released this
21 Jul 10:59
Contributors
gnodet, mthmulders, and 4 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
|