Skip to content

Releases: phax/as2-lib

as2-lib 4.2.0

21 Nov 13:29
Compare
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:

as2-lib 4.1.1

27 Jul 06:23
Compare
Choose a tag to compare

Use only with ph-commons 9.1.4 or newer

  • The existence of the header Disposition-Notification-Options without Disposition-Notification-To does not trigger MDN sending (see #42)
  • Fixed overwriting of existing Content-Transfer-Encoding when receiving messages.
  • Partnership attribute blockerrormdn is now only evaluated for MDNs that are created based on errors
  • MDNs now also use the partner attribute content_transfer_encoding and content_transfer_encoding_receive (see #43)

Dependencies required:

as2-lib 4.1.0

27 Jul 06:24
Compare
Choose a tag to compare
  • The random parameters class now supports creating random values that are longer than 10 characters
  • Fixed OSGI ServiceProvider configuration
  • Added support for new encryption algorithms (see #38)
  • Added new system property AS2.httpDumpDirectoryOutgoing to easily dump outgoing transmissions
  • Renamed system property for dumping incoming HTTP transmissions from AS2.httpDumpDirectory to AS2.httpDumpDirectoryIncoming to avoid confusion. The old name can still be used but emits a warning.
  • Modules MDNFileModule and MessageFileModule now got a new attribute charset to define the charset to be used to dump the information.
  • Requires ph-commons 9.1.2

as2-lib 4.0.2

09 Apr 18:00
Compare
Choose a tag to compare
  • improved client configurability and customizability
  • Switching back to preferring BC PKCS12 key store, because JDK PKCS 12 key store is partially case insensitive

Dependencies required:

as2-lib 4.0.1

27 Mar 09:37
Compare
Choose a tag to compare
  • Updated to BouncyCastle 1.59
  • When using the non-servlet version, the values for the source_ip and destination_ip fields were fixed (see phax/as2-server#20)

Dependencies required:

as2-lib 4.0.0

27 Mar 09:39
Compare
Choose a tag to compare
  • Updated to ph-commons 9.0.0
  • Updated to BouncyCastle 1.58
  • Fixed crypto algorithm case sensitivity issue on sending (issue #32)
  • Changed internally from java.util.Date to java.time.LocalDateTime - so all the Date parameters must be changed from yyyy to uuuu!!!
  • The certificate factory com.helger.as2lib.cert.PKCS12CertificateFactory was deprecated in favor of the more generic com.helger.as2lib.cert.CertificateFactory that handles arbitrary keystore types (like JKS).

Dependencies required:

as2-lib 3.1.0

15 Sep 09:34
Compare
Choose a tag to compare
  • AS2 client can now handle custom HTTP headers
  • Reworked dumping API to create new dumpers per request
  • Dumping API was moved into a separate package.

Dependencies required:

as2-lib 3.0.4

19 Jun 18:15
Compare
Choose a tag to compare
  • AS2 client allows different content type even if text source is used
  • AS2 client allows to specify Content-Transfer-Encoding
  • Updated to BouncyCastle 1.57
  • The receiving modules got a new attribute errorstorebody to indicate whether the body of a failed message should also be stored or not (default is false)
  • The receiving modules errordir directory can now handle parameters (date and msg)
  • AS2 client can now request and asynchronous MDN (issue #31)

Dependencies required:

as2-lib 3.0.3

24 Jan 16:03
Compare
Choose a tag to compare
  • Binds to ph-commons 8.6.x
  • Binds to ph-web 8.7.0
  • Updated to BouncyCastle 1.56

Dependencies required:

as2-lib 3.0.2

28 Nov 11:37
Compare
Choose a tag to compare
  • Improved signature validation certificate selection (#28) - thanks @rklyne
  • Made connect and read timeout configurable in AS2ClientSettings (#23)