Apache Commons Text 1.14.0 Release Notes
The Apache Commons Text team is pleased to announce the release of Apache Commons Text 1.14.0.
Apache Commons Text is a set of utility functions and reusable components for processing and manipulating text in a Java environment.
Release 1.14.0. Requires Java 8 or above.
New features
-
Interface StringLookup now extends UnaryOperator<String>. Thanks to Gary Gregory. -
Interface TextRandomProvider extends IntUnaryOperator. Thanks to Gary Gregory. -
Add RandomStringGenerator.Builder.usingRandom(IntUnaryOperator). Thanks to Gary Gregory. -
Add PMD check to default Maven goal. Thanks to Gary Gregory. -
Add org.apache.commons.text.RandomStringGenerator.Builder.setAccumulate(boolean). Thanks to Gary Gregory.
Fixed Bugs
-
Fix PMD UnnecessaryFullyQualifiedName in StringLookupFactory. Thanks to Gary Gregory. -
Fix PMD UnnecessaryFullyQualifiedName in DefaultStringLookupsHolder. Thanks to Gary Gregory. -
Fix PMD UnnecessaryFullyQualifiedName in PropertiesStringLookup. Thanks to Gary Gregory. -
Fix PMD UnnecessaryFullyQualifiedName in JavaPlatformStringLookup. Thanks to Gary Gregory. -
Fix PMD UnnecessaryFullyQualifiedName in StringSubstitutor. Thanks to Gary Gregory. -
Fix PMD UnnecessaryFullyQualifiedName in StrSubstitutor. Thanks to Gary Gregory. -
Fix PMD UnnecessaryFullyQualifiedName in AlphabetConverter. Thanks to Gary Gregory. -
Fix PMD AvoidBranchingStatementAsLastInLoop in TextStringBuilder. Thanks to Gary Gregory. -
Fix PMD AvoidBranchingStatementAsLastInLoop in StrBuilder. Thanks to Gary Gregory. -
org.apache.commons.text.translate.LookupTranslator.LookupTranslator(Map CharSequence>) now throws NullPointerException instead of java.security.InvalidParameterException. Thanks to Gary Gregory.
Changes
-
Bump org.apache.commons:commons-parent from 81 to 85 [#668](https://github.com/apache/commons-text/issues/668). Thanks to Dependabot, Gary Gregory. -
Bump commons-io:commons-io from 2.18.0 to 2.20.0. Thanks to Gary Gregory. -
Bump graalvm.version from 24.2.0 to 24.2.2 [#665](https://github.com/apache/commons-text/issues/665), [#681](https://github.com/apache/commons-text/issues/681). Thanks to Dependabot, Gary Gregory. -
Bump commons.bytebuddy.version from 1.17.5 to 1.17.6 ([#677](https://github.com/apache/commons-text/issues/677)). Thanks to Dependabot. -
Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 [#680](https://github.com/apache/commons-text/issues/680). Thanks to Dependabot.
Historical list of changes: https://commons.apache.org/proper/commons-text/changes.html
For complete information on Apache Commons Text, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Commons Text website:
... (truncated)