Releases: adonisjs/mail
Releases Β· adonisjs/mail
Preparing for next major release targeting v6
Commits
- chore: update peer dependencies aa54847
- chore: build commands 5e8a482
- feat: add make_mail command f903627
- test: write tests for the configure command aad2abb
- refactor: add resend driver and temporarily remove brevo driver 69a06e6
- refactor: cleanup for v6 and better assertions API 4a9d326
- feat: finish implementation of in-memory queue dd5a0c0
- refactor: cleanup of drivers and mailer API 9da5f16
- feat: add env variables validation c30a05d
- chore: remove useless test 2ca21f7
- fix(types): correct InferMailers type 869fd1d
Full Changelog: v9.0.0-4...v9.0.0-5
Migrate to new stubs, config and view system
- style(tests): add explicit return type 119524b
- style(tests): remove not used config key 469b3c6
- fix(tests): add timeout for codemods 9c8579e
- refactor: migrate to new config system d736313
- style(tests): remove not used variable 1647bbb
- refactor: remove get-stream c8df8d7
- refactor: migrate to new codemods, new stubs and new view system (wip) 3ce139c
- chore: add missing @types/luxon dev dep 4b81dfc
- ci: update node tested versions 2f2ba64
- chore: fix wrong typing 51180c0
v8.2.1
What's Changed
- fix: Respect contracts directory defined in adonisjrc.json by @TiBianMod in #81
Full Changelog: v8.2.0...v8.2.1
Lazy imports drivers
Breaking changes
- Provider is now exported from
@adonisjs/mail/mail_provider
Changes
- Drivers transports are now lazily imported
Commits
Resend + REPL + `mail:sending`
Changes
- Added a driver for Resend
- Added a
mail:sending
event just before the mail is sent - Added REPL bindings
And mostly internal refactoring.
Commits
- chore: add aws-sdk/client-ses as dev dep 5d37b94
- feat: add
mail:sending
event 5955bd7 - refactor: use makeUsingStub for make:mailer b8a69f1
- chore: enable source maps on tests fd06f1a
- refactor: some cleanup a9d7629
- chore: add client-ses as optional peer dependency ffa0697
- refactor: remove Macroable on Message class 049453b
- refactor: directories structure 3948371
- refactor: remove afterCompile hook e295b64
- refactor: drivers folder/files structure 27d2ab8
- chore: remove unused imports 09bcb18
- feat: register repl bindings 0f9bfbf
- refactor: update macroable 066c41f
- chore: add engines.node bbd0861
- chore: update published files 1be17aa
- chore: update dependencies bef3eaf
- style: update tooling config + lint files 6321f4b
- ci: include lint and typecheck jobs e1688dc
- refactor: move to japa 3 0865d0b
- ci: add missing env var 57b1527
- feat: add resend driver + transport 65f4dd5
Brevo + rename service
Main changes
- Mailer service can now be imported from
@adonisjs/mail/services/main
to keep consistency with @adonisjs/view - Add Brevo ( ex sendinblue ) driver
- Added an
afterCompile
hook + make Message class macroable, that will allow us to have a cleaner mjml integration
- ci: add new env var for brevo 75532b1
- feat: add brevo driver f56ba85
- feat: add an
afterCompile
hook 2175389 - feat: make message class macroable fcb6fc7
- fix: wrong filename for service file de82173
- style: lint files 26307a5
- chore: use @adonisjs/tooling-config 0e7bcbb
- refactor:
mailer
service tomain
320ac59 - feat: re-export driversList from root b9aeaf6
- feat: add commands to rcfile in configure 5ad411b
Pre-release for v6
- Rewrited package for AdonisJS 6 and ESM ready. No breaking changes for the API except for ioc and esm stuff. Will be summarized in the documentation.
- Added global mailer settings, to make local dev/testing easier, or to avoid having to set a "from" on allmails:
const mail = await this.app.container.make("mail")
// All mails will be sent to this email. Useful for debugging
mail.alwaysTo("mymail@mail.com");
// All mails will be from this mail
mail.alwaysFrom("mycompany@mail.com");
Can also be specified in the defineConfig
- added 3 methods to simplify tests on Mail.fake()
const fake = mailer.fake()
fake.assertSent(messageOrCallback)
fake.assertNotSent(messageOrCallback)
fake.assertNoneSent()
- Migrate to aws-sdk v3 for SES driver. This doesn't create any breaking changes
Allow multiple addresses in `replyTo`
Update instructions markdown file
- docs(README): update instructions.md file 7e1d484
Use build path inside imports
Because TypeScript 4.6 does not work properly with export maps
- fix: use build path inside imports d005326