Skip to content

Releases: adonisjs/mail

Correct env variable access for SES in stubs

21 Jun 08:55
7935feb
Compare
Choose a tag to compare

Commits

  • chore: migrate to release-it (4f15d37)
  • fix(stubs): correct env variable access for SES (e203074)
  • Fix env variables (#97) (2455620)

What's Changed

New Contributors

Full Changelog: v9.2.1...v9.2.2

Fix mail assertion API to allow mail class constructor to accept arguments

27 Mar 07:05
Compare
Choose a tag to compare
  • refactor: fix linting issues e52cd4e
  • fix: mail.assert to allow mail classes that accepts constructor arguments 7f142f7
  • chore: update dependencies 667c796
  • chore(package): update dependencies dd24c7c
  • chore: fix broken link 05132eb

Full Changelog: v9.2.0...v9.2.1

Add support for defining multiple cc and bcc addresses

10 Feb 02:59
Compare
Choose a tag to compare

Commits:

  • feat: add support for defining multiple cc and bcc addresses 148efd9

Full Changelog: v9.1.0...v9.2.0

Add mjml component

09 Jan 07:18
Compare
Choose a tag to compare

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

09 Jan 06:41
Compare
Choose a tag to compare

Please consult the following releases to learn more about the breaking changes and new additions.

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

New Contributors

Full Changelog: v8.2.1...v9.0.0

Update dependencies and stubs system

25 Dec 06:07
Compare
Choose a tag to compare
Pre-release
  • docs: update README file 400d642
  • test: fix failing tests e0da873
  • refactor: stubs to be consitent with other packages 8c07f1b
  • refactor: update emitter parameter type to be EmitterLike c7bcb24
  • chore(package): update dependencies fa0eff4

Full Changelog: v9.0.0-9...v9.0.0-10

Fix broken Edge integration

18 Dec 01:37
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: v9.0.0-8...v9.0.0-9

Share template engine reference with Message class

27 Nov 10:39
Compare
Choose a tag to compare
  • refactor: add support for --intent flag when create mail classes 565cbcf
  • ci: rename test.yml to checks.yml 0a5f017
  • ci: update node versions e2337b8
  • fix: share template engine with the message class 35fc135
  • chore: update dependencies 029aa98

Full Changelog: v9.0.0-7...v9.0.0-8

Final release with major changes

18 Nov 05:57
Compare
Choose a tag to compare
Pre-release

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 the MailManager 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 the queued:mail:error and mail:sent events.
  • Removed Mail.scheduleEmail. The method was never documented
  • Renamed Mailer.driver property to Mailer.transport. The mailer instance is returned when you call Mail.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

15 Nov 05:56
Compare
Choose a tag to compare
Pre-release
  • fix: add list of files to publish on npm fc4d668

Full Changelog: v9.0.0-5...v9.0.0-6