ph-commons 10.0.0
·
844 commits
to master
since this release
- Changed Maven groupId from
com.helgertocom.helger.commons - The submodule
ph-xmlno longer depends onph-collection - Separated the JAXB adapter classes and
JAXBHelperto new submoduleph-jaxb-adapter- the goal is to have less dependencies - Removed the submodule
ph-charset- who needs UTF-7 nowadays.... - Removed deprecated methods
- Removed
Serializablefrom base interfaces - Removed the serializable functional specializations (
IFunction,ISupplier,IConsumer,IPredicate,IBiConsumer,IBiFunction,IBiPredicate,NamespaceContext) GenericJAXBMarshallernow has a chaining API- Made
MimeTypeParserExceptiona checked Exception - Added
CertificateHelper.getEncodedCertificate() - Fixed potential NPE in
GenericJAXBMarshaller.toString() - Removed
TimeValuein favour ofDuration - Added
StopWatch.getLapDuration () - Removed
ResourceStreamSourceandResourceStreamResult- see https://saxonica.plan.io/issues/4833 for the reasons - Changed
JsonReader.Buildermethod names to not useset - The calling order of "useBufferedReader" and "dontCloseSource" compared to "source" in
JsonReader.Builderis not longer of importance - Changed the
SingleError.builder()to use method names withoutset - Added more
SingleErrorbuildererrorLocationoverloads - Removed the class
ScriptHelperas Nashorn gets removed in JDK 15 (see JEP 335) - Added new interfaces
IBuilderandIResettableBuilder - Extended
HTTPHeaderMapAPI - Fixed the data type of the custom HTTP headers in
WSClientConfig - Changed the default value
DEFAULT_QUOTE_IF_NECESSARYfromtruetofalse - Deprecated all the "multi map" classes in
ph-collection. With thecomputeIfAbsentfunctions, most of the simplifications can be achieved with runtime features. They will be removed in the next major version. - Extended
ILocalDatePeriodbased on issue #23 - Added classes
ILocalDateTimePeriodandLocalDateTimePeriod - Added class
PasswordHashCreatorPBKDF2_SHA256_1000_48for better PBKDF2 usage - Deprecated class
PasswordHashCreatorPBKDF2_1000_48because it uses the PBKDF2 with the SHA1 hash - Added new class
StringHelper.ImploderBuilderthat handles all theStringHelper.getImploded*stuff internally - Added new method
ICommonsIterable.forEachThrowing - Added new class
StreamHelper.CopyByteStreamBuilder - Added new class
StreamHelper.CopyCharStreamBuilder - Added new method
URLHelper.isValidURNto check RFC 2141 compliance - Deprecated some methods in
StreamHelperthat should be replaced with calls to the new builder - Added
CommonsHashSet.createFilteredfactory methods - Added new class
AdapterOffsetTime - Added support for
OffsetTimein PDT* classes - Made the JAXB adapters for
AdapterOffsetDateTimeandAdapterZonedDateTimemore resilient to read data without time zone offsets as well - Added class
OffsetDatefrom ThreeTen-Extra project for XML parsing - Added new methods in
PDTFactorythat deal with UTC time zones