Releases: phax/as2-lib
Releases · phax/as2-lib
as2-lib 4.5.0
- Renamed
OpenAS2Exception
toAS2Exception
- Renamed
WrappedOpenAS2Exception
toWrappedAS2Exception
- Renamed
OpenAS2KeyStore
toAS2KeyStore
- Renamed
DispositionException
toAS2DispositionException
- Renamed
HttpResponseException
toAS2HttpResponseException
- 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:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.3.9
- ph-mail/ph-http/ph-network 9.1.5
- BouncyCastle 1.64
as2-lib 4.4.8
- Allowed absolute path with Windows drives for the attributes
pendingmdninfo
andpendingmdn
(see #97) - Removed intermediate class
AbstractCertificateFactory
- Made
CertificateFactory
thread-safe (and got rid of some synchronized) - Changed application name from
ph-OpenAS2
toas2-lib
- Renamed
AS2ServletSession
toAS2ServletXMLSession
(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
ICertificateFactory
to 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
pendingmdninfo
andpendingmdn
(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
IHTTPOutgoingDumperFactory
from package ".http" to ".dump" (incompatible change) - Made the
IHTTPIncomingDumper
customizable per handler - Made
AS2ReceiveServlet
non final and moved initialization code toinit()
- 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 useas2-lib
with Spring Boot (see #96) - Fixed an issue with the
Content-Transfer-Encoding
and 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
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:
- 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.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:
- 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
AS2Client
correctly passes the keystore type toCertificateFactory
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
andrsa-sha1
- Updated to new Mendelson test certificates (key3 and key4 - see http://mendelson-e-c.com/node/3211)
- The
Content-Transfer-Encoding
valuebase64
now works correctly (see #71) - Added a custom
IMICMatchingHandler
interface toAS2SenderModule
andAS2MDNReceiverHandler
(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:
- 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