Releases: adonisjs/mail
Correct env variable access for SES in stubs
Fix mail assertion API to allow mail class constructor to accept arguments
Add support for defining multiple cc and bcc addresses
Commits:
- feat: add support for defining multiple cc and bcc addresses 148efd9
Full Changelog: v9.1.0...v9.2.0
Add mjml component
The mjml component can be used as @mjml
tag and it uses the mjml npm package to convert MJML markup to HTML.
You can use it follows inside within the Edge templates.
@mjml()
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-text>
Hello World!
</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
@end
The output will be HTML. Just make sure to install mjml
package within your application before using the component tag
Commits
- feat: add mjml component to process mjml markup 3ad4e4b
Full Changelog: v9.0.0...v9.1.0
Stable major release
Please consult the following releases to learn more about the breaking changes and new additions.
- Breaking changes - https://github.com/adonisjs/mail/releases/tag/v9.0.0-0
- New additions - https://github.com/adonisjs/mail/releases/tag/v9.0.0-1
- New additions - https://github.com/adonisjs/mail/releases/tag/v9.0.0-2
- Breaking changes - https://github.com/adonisjs/mail/releases/tag/v9.0.0-3
- Breaking changes - https://github.com/adonisjs/mail/releases/tag/v9.0.0-7
Commits
- chore: publish under latest tag a8e61b7
- Merge pull request #92 from adonisjs/next 51043be
- Merge branch 'develop' into next bf50bf6
- refactor: export stubsRoot 926ec8c
- chore: bundle types.ts file via tsup as well 282e862
- chore: update dependencies fbcb442
- chore: remove not needed ts-expect-error 68addd6
- fix: use contracts directory path when configured in adonisrc.json (#81) cad8a3e
- chore(release): bump version 8eaa20c
- chore(release): 8.2.0 0873da9
- chore: update major for luxon and ical-generator 2e108ba
- chore: update dependencies da531e8
What's Changed
- fix: edge integration by @Julien-R44 in #91
- Merge to develop for final release by @thetutlage in #92
New Contributors
- @thetutlage made their first contribution in #92
Full Changelog: v8.2.1...v9.0.0
Update dependencies and stubs system
Fix broken Edge integration
Share template engine reference with Message class
Final release with major changes
Alright, so from now on, the Mail package might not see any other big refactor. So, let's jot down the breaking changes from @adonisjs/mail@8.x
to @adonisjs/mail@9.x
.
Breaking changes
- The package is pure ESM and hence won't work with CJS projects anymore.
- The
@ioc:Adonis/Addons/Mail
import has been replace with@adonisjs/mail/services/main
. Both these imports returns an instance of theMailManager
class. - Remove
MailManager.extend
method. We have changed the process of creating mail transports completely and the new docs will reflect the same. - The drivers have been renamed to transports. Since that sounds better and not generic.
- Removed
Mail.monitorQueue
method. Instead listen for thequeued:mail:error
andmail:sent
events. - Removed
Mail.scheduleEmail
. The method was never documented - Renamed
Mailer.driver
property toMailer.transport
. The mailer instance is returned when you callMail.use
method. - The FakeMailer has been revamped completely and the new APIs are not compatible with the old one's. So yes, you will have to refactor your tests interacting with the Fake mailer.
That's pretty much all. There are many internal refactors, which should not impact the end-user applications.
Commits
- fix: broken path of file attachment test 26314a6
- ci: update TEST_EMAILS_CC env var 81c7bcb
- ci: update env variables 9ad12ce
- feat: add back brevo transport 3923657
- refactor: rename drivers to transports 6eb6ee4
- feat: add support for sending variables to mailgun API call 10be8b2
- feat: add support for list headers bb13767
- refactor: another streak of refactors ad15bad
Full Changelog: v9.0.0-6...v9.0.0-7
Fix last broken release
- fix: add list of files to publish on npm fc4d668
Full Changelog: v9.0.0-5...v9.0.0-6