Skip to content

Releases: phax/ph-commons

ph-commons 11.2.1

11 Apr 19:37
Compare
Choose a tag to compare
  • Added method AbstractMemoryReadableResource.setPath to define a path different from the empty string
  • Added new enum ECertificateCheckResult as an enumeration contain X.509 certification validation results
  • Added new method CertificateHelper.checkCertificate to verify if an X.509 certificate is valid in several aspects
  • Added new class TrustedCAChecker to check if a certificate is based on one of certain CAs
  • Added new methods to CertificateHelper to easily access the CN and the O part of a certificate principal

Full Changelog: ph-commons-parent-pom-11.2.0...ph-commons-parent-pom-11.2.1

ph-commons 11.2.0

03 Feb 20:34
Compare
Choose a tag to compare
  • Extended ISAXReaderSettings to include the possibility to provide a custom SAXParserFactory
  • Extended the class EmailAddressHelper with a method isValidForSimplePattern to test for email addresses that eventually contain Unicode characters
  • Added HasInputStream.create overload with byte[] parameter
  • Added method IExpirable.isExpiredIn
  • Added interface IURLDownloader to ph-commons
  • Added class ExpiringObject to ph-datetime
  • Added classes TrustedCACertificates, CRLCache, CRLDownloader, CRLHelper, AbstractRevocationCheckBuilder, CertificateRevocationCheckerDefaults, ERevocationCheckMode, ERevoked, IRevokedIndicator and RevocationCheckResultCache to ph-security
  • Added method KeyStoreHelper.getAllTrustedCertificates

Full Changelog: ph-commons-parent-pom-11.1.12...ph-commons-parent-pom-11.2.0

ph-commons 11.1.12

21 Jan 16:41
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.80
  • Made sure, that the XML "Secure processing" flag is set anyway in XMLFactory.createDefaultDocumentBuilderFactory in case an external XML parser is in the classpath
  • Extracted the methods XMLFactory.defaultCustomize(DocumentBuilder|SAXParser|Transformer)Factory to allow external factories to be secured as well

Full Changelog: ph-commons-parent-pom-11.1.11...ph-commons-parent-pom-11.1.12

ph-commons 11.1.11

05 Dec 07:42
Compare
Choose a tag to compare
  • Removed bcprov-ext-jdk18on from the parent pom, as seems to be included in bcprov-jdk18on instead
  • Added support for configuration variable default values when used in the form ${property:default}
  • Added additional IMicroNode.appendText overloads for boolean, int and long
  • Deprecated EXMLSerializeIndent.INDENT_ONLY as well as .getWithIndent() and .getWithoutAlign()

Full Changelog: ph-commons-parent-pom-11.1.10...ph-commons-parent-pom-11.1.11

ph-commons 11.1.10

08 Nov 13:02
Compare
Choose a tag to compare
  • Added new method IConfigWithFallback.getAsCharArrayOrFallback
  • Added new interfaces IKeyStoreDescriptor, IKeyStoreAndKeyDescriptor and ITrustStoreDescriptor in ph-security
  • Added new classes KeyStoreDescriptor, KeyStoreAndKeyDescriptor and TrustStoreDescriptor in ph-security
  • Added new method KeyStoreHelper.iterateKeyStore

Full Changelog: ph-commons-parent-pom-11.1.9...ph-commons-parent-pom-11.1.10

ph-cmmons 11.1.9

30 Oct 18:28
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.79.0
  • Added new annotation ChangeNextMajorRelease
  • Deprecated KeyStoreHelper.loadKeyStoreDirect methods with String password in favour of versions with char[] password
  • Added KeyStoreHelper.loadKeyStore methods with char[] as password type
  • Deprecated KeyStoreHelper.loadKeyStore methods with String password in favour of versions with char[] password
  • Added support for JDK 22 and JDK 23 in EJavaVersion

Full Changelog: ph-commons-parent-pom-11.1.8...ph-commons-parent-pom-11.1.9

ph-commons 11.1.8

10 Sep 14:58
Compare
Choose a tag to compare
  • Made sure that HttpHeaderMap.getUnifiedValue unified values combine all whitespaces into a single space

Full Changelog: ph-commons-parent-pom-11.1.7...ph-commons-parent-pom-11.1.8

ph-commons 11.1.7

10 Sep 13:15
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.78.1
  • Added method CertificateHelper.isCA
  • Added additional Commons...Map constructor overloads
  • Added method EqualsHelper.identityDifferent
  • Made sure that HttpHeaderMap.getUnifiedValue unified values combine all \r, \n and \t into a single space
  • The method EnvVarHelper.getUnifiedSysEnvName can now also remove invalid characters on demand

Full Changelog: ph-commons-parent-pom-11.1.6...ph-commons-parent-pom-11.1.7

ph-commons 11.1.6

09 Apr 15:13
Compare
Choose a tag to compare

What's Changed

  • Update Bouncy Castle to 1.78 by @problemzebra2 in #43

Full Changelog: ph-commons-parent-pom-11.1.5...ph-commons-parent-pom-11.1.6

ph-commons 11.1.5

27 Mar 15:37
Compare
Choose a tag to compare
  • Added new interface IHasSizeLong
  • Added new interface methods IHasInputStream.withInputStreamDo and IHasInputStream.withBufferedInputStreamDo
  • Added new interface method IHasByteArray.isPartialArray
  • Added build compatiblity with Java 21
  • Deprecated method ICommonsList.getFirst() in favour of ICommonsList.getFirstOrNull() because of clash with JDK 21 API extension. See issue #42
  • Deprecated method ICommonsList.getLast() in favour of ICommonsList.getLastOrNull() because of clash with JDK 21 API extension. See issue #42
  • Deprecated method ICommonsList.removeFirst() in favour of ICommonsList.removeFirstOrNull() because of clash with JDK 21 API extension. See issue #42
  • Deprecated method ICommonsList.removeLast() in favour of ICommonsList.removeLastOrNull() because of clash with JDK 21 API extension. See issue #42

Full Changelog: ph-commons-parent-pom-11.1.4...ph-commons-parent-pom-11.1.5