Skip to content

ph-commons 10.0.0

Choose a tag to compare

@phax phax released this 23 Mar 09:19
· 844 commits to master since this release
  • Changed Maven groupId from com.helger to com.helger.commons
  • The submodule ph-xml no longer depends on ph-collection
  • Separated the JAXB adapter classes and JAXBHelper to new submodule ph-jaxb-adapter - the goal is to have less dependencies
  • Removed the submodule ph-charset - who needs UTF-7 nowadays....
  • Removed deprecated methods
  • Removed Serializable from base interfaces
  • Removed the serializable functional specializations (IFunction, ISupplier, IConsumer, IPredicate, IBiConsumer, IBiFunction, IBiPredicate, NamespaceContext)
  • GenericJAXBMarshaller now has a chaining API
  • Made MimeTypeParserException a checked Exception
  • Added CertificateHelper.getEncodedCertificate()
  • Fixed potential NPE in GenericJAXBMarshaller.toString()
  • Removed TimeValue in favour of Duration
  • Added StopWatch.getLapDuration ()
  • Removed ResourceStreamSource and ResourceStreamResult - see https://saxonica.plan.io/issues/4833 for the reasons
  • Changed JsonReader.Builder method names to not use set
  • The calling order of "useBufferedReader" and "dontCloseSource" compared to "source" in JsonReader.Builder is not longer of importance
  • Changed the SingleError.builder() to use method names without set
  • Added more SingleError builder errorLocation overloads
  • Removed the class ScriptHelper as Nashorn gets removed in JDK 15 (see JEP 335)
  • Added new interfaces IBuilder and IResettableBuilder
  • Extended HTTPHeaderMap API
  • Fixed the data type of the custom HTTP headers in WSClientConfig
  • Changed the default value DEFAULT_QUOTE_IF_NECESSARY from true to false
  • Deprecated all the "multi map" classes in ph-collection. With the computeIfAbsent functions, most of the simplifications can be achieved with runtime features. They will be removed in the next major version.
  • Extended ILocalDatePeriod based on issue #23
  • Added classes ILocalDateTimePeriod and LocalDateTimePeriod
  • Added class PasswordHashCreatorPBKDF2_SHA256_1000_48 for better PBKDF2 usage
  • Deprecated class PasswordHashCreatorPBKDF2_1000_48 because it uses the PBKDF2 with the SHA1 hash
  • Added new class StringHelper.ImploderBuilder that handles all the StringHelper.getImploded* stuff internally
  • Added new method ICommonsIterable.forEachThrowing
  • Added new class StreamHelper.CopyByteStreamBuilder
  • Added new class StreamHelper.CopyCharStreamBuilder
  • Added new method URLHelper.isValidURN to check RFC 2141 compliance
  • Deprecated some methods in StreamHelper that should be replaced with calls to the new builder
  • Added CommonsHashSet.createFiltered factory methods
  • Added new class AdapterOffsetTime
  • Added support for OffsetTime in PDT* classes
  • Made the JAXB adapters for AdapterOffsetDateTime and AdapterZonedDateTime more resilient to read data without time zone offsets as well
  • Added class OffsetDate from ThreeTen-Extra project for XML parsing
  • Added new methods in PDTFactory that deal with UTC time zones