Skip to content

Releases: phax/phase2

as2-lib 4.4.8

23 Oct 21:08

Choose a tag to compare

  • Allowed absolute path with Windows drives for the attributes pendingmdninfo and pendingmdn (see #97)
  • Removed intermediate class AbstractCertificateFactory
  • Made CertificateFactory thread-safe (and got rid of some synchronized)
  • Changed application name from ph-OpenAS2 to as2-lib
  • Renamed AS2ServletSession to AS2ServletXMLSession (incompatible but should not effect outside code)

Dependencies required:

as2-lib 4.4.7

22 Oct 13:58

Choose a tag to compare

  • Simplified ICertificateFactory to work on IBaseMessage
  • 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 pendingmdninfo and pendingmdn (see #97)

Dependencies required:

as2-lib 4.4.6

22 Oct 13:51

Choose a tag to compare

  • 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:

as2-lib 4.4.5

22 Oct 13:48

Choose a tag to compare

  • 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 IHTTPOutgoingDumperFactory from package ".http" to ".dump" (incompatible change)
  • Made the IHTTPIncomingDumper customizable per handler
  • Made AS2ReceiveServlet non final and moved initialization code to init()
  • The as2-server project was reintegrated into this repository for ease of maintenance
  • Added new submodule as2-demo-spring-boot for a stub how to use as2-lib with Spring Boot (see #96)
  • Fixed an issue with the Content-Transfer-Encoding and it is now more consistent

Dependencies required:

as2-lib 4.4.4

26 Sep 19:04

Choose a tag to compare

  • 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:

as2-lib 4.4.3

06 Sep 09:20

Choose a tag to compare

  • Fixed an unintended quoting of HTTP header values when reading an MDN

Dependencies required:

as2-lib 4.4.2

01 Sep 08:35

Choose a tag to compare

  • 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 OpenAS2Exception was 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:

as2-lib 4.4.1

30 Jun 12:00

Choose a tag to compare

  • Extended ICryptoHelper.verify API to have a chance to retrieve the effective certificate
  • Added a new message attribute that contains the certificate used for verification
  • AS2ClientResponse now has an accessor to retrieve the certificate used to verify the MDN

Dependencies required:

as2-lib 4.4.0

14 Jun 15:21

Choose a tag to compare

  • AS2Client correctly passes the keystore type to CertificateFactory
  • AS2Client can 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-md5 and rsa-sha1
  • Updated to new Mendelson test certificates (key3 and key4 - see http://mendelson-e-c.com/node/3211)
  • The Content-Transfer-Encoding value base64 now works correctly (see #71)
  • Added a custom IMICMatchingHandler interface to AS2SenderModule and AS2MDNReceiverHandler (see #59)
  • Removed deprecated class PKCS12CertificateFactory and 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:

as2-lib 4.2.0

21 Nov 13:29

Choose a tag to compare

  • 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-webapp to 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 of AS2ClientRequest.setData (File, Charset) (see #45)
  • Content-Type handling 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 IDynamicComponent to have attrs() and not to be a StringMap
  • 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: