Releases: phax/ph-commons
Releases · phax/ph-commons
ph-commons 10.1.0
- Started the explicit Wiki
- Added
CHttpHeader.HOST
- Extended
Copy*StreamBuilder
withlimit (Long)
- Added
Predicates.and
andPredicates.or
- Create new classes
XMLOffsetDate
andAdapterXMLOffsetDate
similar toOffsetDate
but with an optional zone offset - Create new classes
XMLOffsetTime
andAdapterXMLOffsetTime
similar toOffsetTime
but with an optional zone offset - Create new classes
XMLOffsetDateTime
andAdapterXMLOffsetDateTime
similar toOffsetDateTime
but with an optional zone offset - Added method
Version.hasQualifier
- Changed
Version.parse
to use the new format by default. AddedVersion.parseDotOnly
for the old version. - Added missing
PDTToString.getAsString
overloads - Avoid the inclusion of JAXB and JAX-WS implementation artefacts. The JAXB implementation must now explicitly be added to an application pom.xml e.g. like this:
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
ph-commons 10.0.0
- Changed Maven groupId from
com.helger
tocom.helger.commons
- The submodule
ph-xml
no longer depends onph-collection
- Separated the JAXB adapter classes and
JAXBHelper
to new submoduleph-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 ofDuration
- Added
StopWatch.getLapDuration ()
- Removed
ResourceStreamSource
andResourceStreamResult
- see https://saxonica.plan.io/issues/4833 for the reasons - Changed
JsonReader.Builder
method names to not useset
- 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 withoutset
- Added more
SingleError
buildererrorLocation
overloads - Removed the class
ScriptHelper
as Nashorn gets removed in JDK 15 (see JEP 335) - Added new interfaces
IBuilder
andIResettableBuilder
- Extended
HTTPHeaderMap
API - Fixed the data type of the custom HTTP headers in
WSClientConfig
- Changed the default value
DEFAULT_QUOTE_IF_NECESSARY
fromtrue
tofalse
- Deprecated all the "multi map" classes in
ph-collection
. With thecomputeIfAbsent
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
andLocalDateTimePeriod
- 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 theStringHelper.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
andAdapterZonedDateTime
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
ph-commons 9.5.5
- Updated to BouncyCastle 1.68 (again with bcprov-ext-jdk15on)
- Added new class
AdapterOffsetDateTime
ph-commons 9.5.4
- Updated to BouncyCastle 1.67 (no more bcprov-ext-jdk15on)
- Removed "double locking" in
AbstractCollector
ph-commons 9.5.3
- Reverting the changes from 9.5.2
- Made the JAXB DateTime adapter classes more resilient by trimming the input string
ph-commons 9.5.2
- Experimental release that uses
CommonsHashMap
instead ofCommonsWeakHashMap
for all registries havingClass<?>
as the key
ph-commons 9.5.1
- Build with Java 1.8 instead of Java 11 because of binary incompatibility with
ByteBuffer.flip()
signature - Updated to JAXB 2.3.3 - https://eclipse-ee4j.github.io/jaxb-ri/
- Updated to JAXWS 2.3.3 - https://eclipse-ee4j.github.io/metro-jax-ws/
ph-commons 9.4.8
- Added new JAXB Adapter class
AdapterZonedDateTime
- Added a new factory method in
ConfigFactory
. - Default configuration source loading is now more consistent and behaves identical for all predefined filenames.
- Extended
IConfig
API to easily reload all resource based configuration files - New interface
IAddableByTrait
to be used as the constraint for the element type ofIGenericAdderTrait
ph-commons 9.4.7
- Extended
IPrivilegedAction
API forSecurity
provider APIs - Extended
IJsonArray
API to iterate only child arrays, objects or values - Scope debugging no longer activates itself if the log level is set to debug
- Extended
PDTWebDateHelper
to handleLocalTime
values as well - Added predefined JAXB adapters in package
com.helger.jaxb.adapter
ph-commons 9.4.6
- Allow empty MIME type parameter values
MimeTypeParser.safeParseMimeType
does an RFC 2616 decoding if necessary- Updated to BouncyCastle 1.66