Skip to content

Releases: phax/ph-commons

ph-commons 9.1.6

02 Oct 06:53
Compare
Choose a tag to compare
* Added `CHttpHeader.X_CONTENT_SECURITY_POLICY_REPORT_ONLY`
* Added `ValueEnforcer.isNE0` methods
* Deprecated `ValueEnforcer` methods for `short` and `float`
* Reworked the `VerySecureRandom` initialization to use a native PRNG for initial seeding
* Improved customizability of `AbstractWALDAO` in case WAL recovery failed
* Extended `IHas...DateTime` APIs
* Fixed OSGI SPI configuration for ph-bc

ph-commons 9.1.5

09 Sep 19:08
Compare
Choose a tag to compare
  • Extended WSClientConfig API
  • Extended GenericJAXBMarshaller API
  • Class IJAXBReader now tries to set systemID for IReadableResource, File and Path parameters.
  • Extended PDTFactory slightly
  • Fixed potential NPE when an AbstractWALDAO is used without a backing file
  • DefaultTransformURIResolver got the possibility to provide a default base URI if none is present in the call
  • Improved internal API of AbstractMapBasedWALDAO
  • Updated stax-ex to 1.8

ph-commons 9.1.4

07 Aug 04:57
Compare
Choose a tag to compare
  • Added class XMLBracketModeDeterminatorXMLC14
  • Added XML write setting write CDATA as Text
  • Added XML write setting order attributes and namespaces lexicographically
  • XML entities are now emitted as Hexadecimal values instead of numeric (&#D; instead of 
)
  • Fixed error in HttpHeaderMap.addAllHeaders (was not doing what was expected)

ph-commons 9.1.3

19 Jul 16:54
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.60
  • Extended LogHelper to have overloads with Supplier<String>
  • Added new Commons...Map constructors with parameters Map, Function, Function
  • Added new class LanguageCache
  • Added new CommonsArrayList static factory methods
  • Deprecated all the ChangeLog classes - they will be moved to ph-less-commons in v9.2
  • Added new interface IHasByteArray
  • Implementing IHasByteArray in ReadableResourceByteArray, ByteArrayInputStreamProvider, MessageDigestValue
  • Added new class ByteArrayWrapper
  • Added new method NonBlockingByteArrayOutputStream.getBufferOrCopy() that copies only on demand
  • Added new ArrayHelper.startsWith overloads
  • Added static factory methods in CommonsCopyOnWriteArrayList
  • The internal logger name was changed from s_aLogger to LOGGER
  • Extended IPrivilegedAction with new static methods
  • Added new class Predicates with basic typed predicates for primitive types
  • Added some static IBooleanPredicate factory methods
  • Added ToStringGenerator.appendPasswordIf method
  • Added equals implementation to PasswordAuthentication

ph-commons 9.1.2

19 Jun 19:38
Compare
Choose a tag to compare
  • Made setters of WSClientConfig final
  • Changed method name in CharsetHelper from getCharsetFromNameOrNull to getCharsetFromNameOrDefault
  • Added new sub-project ph-bc with some common BouncyCastle helper methods
  • Added OCSP MIME type constants
  • Extended XMLTransformerFactory API to support creating secure instances
  • Improved code quality based on SonarQube analysis
  • Removed the Generic type from IConcurrentCollector
  • Added PropertiesHelper.expandProperties
  • Removed empty class AbstractTreeItemFactory

ph-commons 9.1.1

15 May 14:54
Compare
Choose a tag to compare
  • Really fixed OSGI ServiceProvider configuration

ph-commons 9.1.0

09 May 09:06
Compare
Choose a tag to compare
  • Fixed invalid call in ValueEnforcer.isEqual
  • AbstractJAXBBuilder got an explicit possibility to disable XML schema usage
  • Improved Java version identification by adding support for JEP 223 identifiers
  • Kicked Travis Java 9 integration - was unable to find a Maven configuration working locally, in Eclipse and in Travis :(
  • Added IMicroNode.appendChildren default methods
  • Extracted ph-wsclient project for later use with Java 9
  • Added ICommonsCollection.setAllMapped
  • Added class CommonsMock - a very simple mocking engine
  • Added EMimeContentType.FONT
  • Extended TreeXMLConverter API to be able to reuse existing trees for filling
  • Fixed OSGI ServiceProvider configuration

ph-commons 9.0.2

22 Mar 21:32
Compare
Choose a tag to compare
  • Made setter methods of JAXB*Builder final so that they can be called from derived constructors
  • Improved Java 9 compliance
  • EJavaVersion was changed incompatible to allow support for Java 10 and 11
  • Added ELockType.DEPENDS enum constant
  • Added some more MathHelper.toBig(Decimal|Integer) overloads so that it can be used without thinking
  • Different forbidden characters in filenames depending on OS - phax/as2-server#20
  • Updated to parent POM 1.10.2

ph-commons 9.0.1

22 Mar 21:37
Compare
Choose a tag to compare
  • Minor API adoptions
  • Updated to BouncyCastle 1.59
  • XML validation now works with custom locales as well
  • Added XPathHelper.createXPathFactorySaxonFirst
  • Fixed typo in XPathHelper - createNewXPathExpression instead of createNewXPathExpresion
  • Updated to parent POM 1.10.0

ph-commons 9.0.0

05 Nov 21:15
Compare
Choose a tag to compare
  • Changed com.helger.commons.function package to com.helger.commons.functional
  • Replaced IFilter with IPredicate
  • Replaced IFilterWithParameter with IBiPredicate
  • Changed ManagedExecutorService to ExecutorServiceHelper
  • Removed class CCharset - use StandardCharsets instead
  • Added classes PathHelper and PathOperations
  • Moved class XMLResourceBundle to ph-xml
  • Removed some deprecated CharsetManager methods
  • Reworked format package
  • Removed deprecated 'Mutable*' constructors because of weird defaults
  • Removed deprecated methods that handle: greater than, greater or equals, lower than and lower or equals
  • Made MicroTypeConverter type-safe
  • Ensure all Predicate usages use ? super
  • Ensure all Consumer usages use ? super
  • Ensure all Function usages use ? super/? extends where applicable
  • Ensure all Supplier usages use ? extends
  • Moved ThreadHelper to package com.helger.commons.concurrent
  • Removed deprecated methods in SimpleLSResourceResolver
  • Removed package com.helger.commons.io.monitor
  • Removed package com.helger.commons.scope.singletons
  • @ReturnsMutableObject does not require a value anymore (but you can still pass one of course)
  • Extracted ph-scopes project to lower size of ph-commons slightly
  • Extracted ph-collection project to lower size of ph-commons slightly
  • Removed default methods from IAggregator
  • Added reverse interface ISplitter
  • Changed caching API to use a function instead of a protected methods
  • Integrated ph-cli here
  • Improved and extended traits API
  • JAXB components can now use a safe way to write XML with special chars
  • JAXB components can now read XML documents with a BOM
  • Extracted ph-oton DAO handling into new subproject ph-dao
  • Replaced SMap with StringMap
  • An Automatic-Module-Name was added after beta 1
  • Removed support for the application and session application scopes
  • And much more...