GreenMail v1.6.0 Release Notes

Release Date: 2020-08-16 // over 3 years ago
  • Major changes for GreenMail 1.6 include switch from JavaMail 1.5.x to Jakarta Mail 1.6.x and support for Junit 5.

    ✨ Enhancements

    • [#219] Support for JUnit 5 / [#241] Add junit5 extension module
    • [#332] JUnit 5 : Add the ability to instantiate GreenMail per-class in addition to per-method
    • [#334] Deprecated greenmail-core JUnit4 GreenMailRule / add new greenmail-junit4 module
    • [#320] Support mail.mime.allowutf8
    • [#216] Upgrade to Jakarta Mail 1.6

    - [#222] Migrate from hamcrest to assertj test (GreenMail internally)

    ⚡️ Dependency updates

    • [#340] Update docker base image for GreenMail standalone to 8u265

    - [#339] Update jetty 9.4.30.v20200611 to 9.4.31.v20200723

    💥 Breaking changes

    • [#281] Require minimum JDK 8 (now officially, before GreenMail 1.5.x versions had a mix)
    • [#115] Remove deprecations due for 1.6 release :
      • GreenMail#util()
      • GreenMailOperations#getReceviedMessagesForDomain(domain)
      • GreenMailProxy#getReceviedMessagesForDomain(domain)
      • GreenMail#getReceviedMessagesForDomain(domain)
      • EncodingUtil#readTillNullChar
      • GreenMailUtil#instance()
      • Retriever#logout()
    • [#83] Retire greenmail-jboss-service module

    Note: GreenMail 1.6 requires JDK 8+ now, and used Jakarta Mail 1.6.x

    ✅ For further details, check the issues fixed.

    Download also available in Maven Central with GAV coordinates com.icegreen:greenmail:1.6.0 .