Skip to content

Releases: phax/as2-lib

as2-lib 4.5.0

20 Dec 03:51
Compare
Choose a tag to compare
  • Renamed OpenAS2Exception to AS2Exception
  • Renamed WrappedOpenAS2Exception to WrappedAS2Exception
  • Renamed OpenAS2KeyStore to AS2KeyStore
  • Renamed DispositionException to AS2DispositionException
  • Renamed HttpResponseException to AS2HttpResponseException
  • Got rid of the name OpenAS2 internally
  • Renamed other exception to start with AS2
  • Moved package com.helger.as2lib.util.cert to test-only
  • The MDN payload parsing now honors the Content-Transfer-Encoding (see #100)

Dependencies required:

as2-lib 4.4.8

23 Oct 21:08
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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: