All notable changes to mail-intercept
will be documented in this file
- Bumped minimum requirement to Laravel 10 and PHP 8.1.
- New attachment and embedded image assertions.
- Pest architecture tests.
- Replace PHP CS Fixer with Laravel Pint.
- Added Laravel 11 support.
- Added Laravel 10 support. Thank you @cstriuli.
- Added PHP 8.2 test runners.
- Fixed bug allowing email body to be asserted properly whether it is HTML or text. Thanks @therobfonz.
- Better type-hinting for
AssertableMessage
class in assertions. Thank you @amsoel.
- Upgraded for Laravel 9
- New fluent syntax for making assertions directly on each message.
- Added new assertions methods:
assertMailHasPlainContent
assertMailDoesNotHavePlainContent
assertMailHasHtmlContent
assertMailDoesNotHaveHtmlContent
assertMailIsAlternative
assertMailIsNotAlternative
assertMailIsMixed
assertMailIsNotMixed
assertMailPriority
assertMailNotPriority
assertMailPriorityIsHighest
assertMailPriorityNotHighest
assertMailPriorityIsHigh
assertMailPriorityNotHigh
assertMailPriorityIsNormal
assertMailPriorityNotNormal
assertMailPriorityIsLow
assertMailPriorityNotLow
assertMailPriorityIsLowest
assertMailPriorityNotLowest
assertMailReturnPath
assertMailNotReturnPath
- Added coverage for string assertion deprecations if using PHPUnit < 8.0
- Fixed composer install command
- Added new assertions for sender, cc, bcc, content type, and reply to
- Refactored to, from, and subject to use different getters
- Update readme to include new assertions
- Initial release