Skip to content

Releases: phax/ph-commons

ph-commons 11.0.1

08 Jan 16:47
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.72
  • Improved the Java Version number parser to not throw exceptions on unsupported versions
  • Added support to detect JDK 18 and 19
  • Added new class PathToNodeBuilder to be used to customize the building of a path from a DOM node - see issue #31
  • Catching Throwable in classes ConcurrentCollectorSingle and ConcurrentCollectorMultiple to avoid unnoticed errors

Full Changelog: ph-commons-parent-pom-11.0.0...ph-commons-parent-pom-11.0.1

ph-commons 10.2.2 [backport]

17 Nov 08:59
Compare
Choose a tag to compare
  • Added new class PathToNodeBuilder to be used to customize the building of a path from a DOM node - see issue #31

Full Changelog: ph-commons-parent-pom-10.2.1...ph-commons-parent-pom-10.2.2

ph-commons 10.2.1 [backport]

18 Oct 21:26
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.72
  • Improved the Java Version number parser to not throw exceptions on unsupported versions

Full Changelog: ph-commons-parent-pom-10.2.0...ph-commons-parent-pom-10.2.1

ph-commons 11.0.0

12 Sep 08:13
Compare
Choose a tag to compare
  • Requires Java 11 as the baseline
  • Updated to BouncyCastle 1.71.1
  • Updated to JAXB 4.0.0
  • Updated to JAX-WS 4.0.0
  • Updated to SLF4J 2.0.0
  • Removed all classes and methods marked as deprecated
  • By default all XML processing disables DTD processing and disallows all external entities
  • Renamed IConfigurationValueProviderWithPriorityCallback method onConfigurationSource to onConfigurationValueProvider
  • Added additional overloads of XMLOffset(Date|Time|DateTime).of without ZoneOffset
  • Renamed JAXBMarshallerHelper.(is|get|set)Sun to (is|get|set)Jakarta - this is an backwards incompatible change, even though that part should not be used externally anyway
  • Added new interface IIterableConfigurationSource to enumerate all available configuration items
  • The default TransformerFactory created in XMLTransformerFactory uses now the secure reading
  • Made silent mode in class SystemProperties customizable
  • Class GenericJAXBMarshaller now works on ValidationEventHandler directly instead of the factory
  • Class GenericJAXBMarhsaller now also implements IJAXBValidator

What's Changed

Full Changelog: ph-commons-parent-pom-10.2.0...ph-commons-parent-pom-11.0.0

ph-commons 10.2.0

24 Aug 09:57
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.71
  • Added StringHelper.getNot(Null|Empty) overloads using a Supplier
  • Added new class TextVariableHelper that can be used to replace ${bla} like variables
  • Added new class ConfigWithFallback that can deal with resolving configuration items with different keys
  • Added support for variable resolution in class Config. Use setReplaceVariables(true) to enable this functionality

Full Changelog: ph-commons-parent-pom-10.1.8...ph-commons-parent-pom-10.2.0

ph-commons 10.1.8

13 Jul 21:44
Compare
Choose a tag to compare
  • Added StringHelper.isEmpty and StringHelper.isNotEmpty for more consistent naming
  • Fixed JAXB formatting which partially indented wrong

Full Changelog: ph-commons-parent-pom-10.1.7...ph-commons-parent-pom-10.1.8

ph-commons 10.1.7

25 Jun 05:23
Compare
Choose a tag to compare
  • Extended IError with an optional error date time
  • The algorithm name in PasswordHash may not exceed 100 characters
  • Added CMimeType.APPLICATION_X509_USER_CERT
  • Extended IJsonObject API slightly
  • Added new methods XMLHelper.iterateChildren and XMLHelper.recursiveIterateChildren
  • Added new enum entries EXMLParserFeature.ACCESS_EXTERNAL_*
  • Added new class NaturalNumericOrderComparator
  • Added new class RecursiveNodeIterator and deprecated class RecursiveChildNodeIterator
  • Added a factory method to class MicroRecursiveIterator

ph-commons 10.1.6

28 Jan 17:39
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.70
  • Changed CommonsAssert.FLOAT_ALLOWED_ROUNDING_DIFFERENCE from 1e-5 to 1e-4
  • Fixed a potential ConcurrentModificationException in AnnotationUsageCache in Java 11+ - see issue #27
  • Allowed country codes to follow the scheme [0-9A-Z] to support the country code for Kosovo used by the EC Publication Office (1A)

ph-commons 10.1.5

22 Nov 19:57
Compare
Choose a tag to compare
  • Updated to JAXB 2.3.5
  • Updated to JAXWS 2.3.5
  • Added factory method StringInputStream.utf8
  • Added new method WatchDir.runAsyncAndReturn
  • Ensuring unique resource ID in ReadableResourceByteArray (see phax/ph-schematron#118)
  • Added new methods getAndInc and incAndGet to the Mutable* classes
  • IConfig.forEachConfigurationValueProvider now iterates the priorities correctly when a MultiConfigurationValueProvider is used.
  • Added support for JDK 15, 16 and 17 in class EJavaVersion

ph-commons 10.1.4

22 Nov 19:56
Compare
Choose a tag to compare
  • Made AbstractReadOnlyMapBasedMultilingualText implement Serializable
  • Added special ReadableResourceString factory methods for UTF-8
  • Class PasswordSalt now preferring factory methods over the constructors
  • The default password salt length was reduced from 512 to 32
  • GlobalIDFactory now limits String based IDs to a maximum length of 20 for easy DB usage
  • Fixed an issue, that XMLOffset(Date|Time|DateTime).parse did not work without the timezone