Releases: phax/phase2
Releases · phax/phase2
as2-lib 4.4.8
- Allowed absolute path with Windows drives for the attributes
pendingmdninfoandpendingmdn(see #97) - Removed intermediate class
AbstractCertificateFactory - Made
CertificateFactorythread-safe (and got rid of some synchronized) - Changed application name from
ph-OpenAS2toas2-lib - Renamed
AS2ServletSessiontoAS2ServletXMLSession(incompatible but should not effect outside code)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.7
- ph-mail/ph-http/ph-network 9.1.4
- BouncyCastle 1.63
as2-lib 4.4.7
- Simplified
ICertificateFactoryto work onIBaseMessage - Fixed a missing HTTP header unification when using the async MDN (see #97)
- The async MDN is no longer send in a separate thread but in the main thread of the processor, so that retry etc. works
- Fixed too much quoting when having path values inside of the attributes
pendingmdninfoandpendingmdn(see #97)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.7
- ph-mail/ph-http/ph-network 9.1.4
- BouncyCastle 1.63
as2-lib 4.4.6
- Added a possibility to customize the "ReceiverModule" to send back the full exception or only the class name and and the message
- The "UserAgent" HTTP header now contains the version number of the
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.7
- ph-mail/ph-http/ph-network 9.1.4
- BouncyCastle 1.63
as2-lib 4.4.5
- Updated to ph-web 9.1.4
- Added custom MIC matching handler to class
AS2ClientSettings - Added the possibility to provide a custom callback to receive the certificate used in class
AS2ClientSettings - Moved
IHTTPOutgoingDumperFactoryfrom package ".http" to ".dump" (incompatible change) - Made the
IHTTPIncomingDumpercustomizable per handler - Made
AS2ReceiveServletnon final and moved initialization code toinit() - The
as2-serverproject was reintegrated into this repository for ease of maintenance - Added new submodule
as2-demo-spring-bootfor a stub how to useas2-libwith Spring Boot (see #96) - Fixed an issue with the
Content-Transfer-Encodingand it is now more consistent
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.7
- ph-mail/ph-http/ph-network 9.1.4
- BouncyCastle 1.63
as2-lib 4.4.4
- Removed all information about the exception from the MDN (see #94)
- Updated to ph-commons 9.3.7
- Fixed another unintentional HTTP header values quoting and made it configurable for receiving modules (see #95)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.7
- ph-mail/ph-http/ph-network 9.1.3
- BouncyCastle 1.63
as2-lib 4.4.3
- Fixed an unintended quoting of HTTP header values when reading an MDN
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.6
- ph-mail/ph-http/ph-network 9.1.3
- BouncyCastle 1.62
as2-lib 4.4.2
- Updated to ph-commons 9.3.6
- Changed Automatic-Module-Name of "as2-lib" to
com.helger.as2lib - Changed Automatic-Module-Name of "as2-servlet" to
com.helger.as2servlet - The HTTP headers can now be automatically quoted correctly according to RFC 2616 chapter 2.2 (see #92) - must be explicitly enabled.
- Internal API of
OpenAS2Exceptionwas changed in an incompatible way - Trying to ensure correct line endings in MDNs (see #90)
- By default exception stack traces are not send back in the MDN anymore
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.6
- ph-mail/ph-http/ph-network 9.1.3
- BouncyCastle 1.62
as2-lib 4.4.1
- Extended
ICryptoHelper.verifyAPI to have a chance to retrieve the effective certificate - Added a new message attribute that contains the certificate used for verification
AS2ClientResponsenow has an accessor to retrieve the certificate used to verify the MDN
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.4
- ph-mail/ph-http/ph-network 9.1.2
- BouncyCastle 1.61
as2-lib 4.4.0
AS2Clientcorrectly passes the keystore type toCertificateFactoryAS2Clientcan now handle read-only keystore that is provided as byte array- Remove support for the old HttpUrlConnection, therefore making "large file support" the default (see #87)
- Removed all the "large file support" flags (incompatible)
- Improved MIC algorithm name matching (see #75)
- Added support for deprecated signing algorithms
rsa-md5andrsa-sha1 - Updated to new Mendelson test certificates (key3 and key4 - see http://mendelson-e-c.com/node/3211)
- The
Content-Transfer-Encodingvaluebase64now works correctly (see #71) - Added a custom
IMICMatchingHandlerinterface toAS2SenderModuleandAS2MDNReceiverHandler(see #59) - Removed deprecated class
PKCS12CertificateFactoryand some other deprecated methods - Updated to ph-commons 9.3.4
- Reworked the outgoing dumping API, so that it can be set per "AbstractHttpSenderModule" and must not be globally set. This is a backwards incompatible change. The existing system property is still accepted.
- The AS2 client can now dump specific outgoing requests more easily using the new API
- The outgoing HTTP dumper does now have options to configure whether the comment, header and or payload should be dumped or not
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.4
- ph-mail/ph-http/ph-network 9.1.2
- BouncyCastle 1.61
as2-lib 4.2.0
- Added support for large file transmission (using Apache HttpClient) - thanks to @zharpaz for the PRs :D
- AS2 client now has the possibility to not request an MDN at all
- It's now possible to use a different Security Provider besides BouncyCastle (see #52)
- Added workaround for bug in
HttpHeaderMap.addAllHeaders(see #48) - Using the correct signing algorithm for the MIC, according to the partnership definitions (see #50)
- Added new subproject
as2-demo-webappto provide a simple to use stub for a web application receiving AS2 messages (see #36) - Loading of keystores now also works from classpath by default. Based on phax/as2-peppol-server#2
- Deprecated
AS2ClientRequest.setData (File)in favour ofAS2ClientRequest.setData (File, Charset)(see #45) Content-Typehandling was improved all over the place to avoid exception in case of error (see #33)- Added new class
HTTPIncomingDumperStreamBased - Calculating the MIC only if an MDN is requested (see #58)
- Saved MDN uses OS specific newlines (see #61)
- Changed
IDynamicComponentto haveattrs()and not to be aStringMap - Added new encryption algorithms (AES with GCM padding)
- Requires ph-web 9.0.5 or newer
- Required ph-commons 9.1.8. to ensure case sensitive HTTP header names (see ph-commons #11)
- Storing the outgoing MIC as an attribute in the message (see #74)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.1.8
- ph-mail/ph-http/ph-network 9.0.5
- BouncyCastle 1.60