Releases: phax/ph-commons
Releases · phax/ph-commons
ph-commons 9.1.6
* 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
- Extended
WSClientConfig
API - Extended
GenericJAXBMarshaller
API - Class
IJAXBReader
now tries to set systemID forIReadableResource
,File
andPath
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
- 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
- Updated to BouncyCastle 1.60
- Extended
LogHelper
to have overloads withSupplier<String>
- Added new
Commons...Map
constructors with parametersMap, 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
inReadableResourceByteArray
,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
toLOGGER
- 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
- Made setters of
WSClientConfig
final - Changed method name in
CharsetHelper
fromgetCharsetFromNameOrNull
togetCharsetFromNameOrDefault
- 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
- Really fixed OSGI ServiceProvider configuration
ph-commons 9.1.0
- 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
- 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
- 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 ofcreateNewXPathExpresion
- Updated to parent POM 1.10.0
ph-commons 9.0.0
- Changed
com.helger.commons.function
package tocom.helger.commons.functional
- Replaced
IFilter
withIPredicate
- Replaced
IFilterWithParameter
withIBiPredicate
- Changed
ManagedExecutorService
toExecutorServiceHelper
- Removed class
CCharset
- useStandardCharsets
instead - Added classes
PathHelper
andPathOperations
- 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 packagecom.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 ofph-commons
slightly - Extracted
ph-collection
project to lower size ofph-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
withStringMap
- An
Automatic-Module-Name
was added after beta 1 - Removed support for the application and session application scopes
- And much more...