Repository navigation
chore(release): version packages - #1332
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
October 4, 2026 03:31
8285aa3 to
c7dc2c4
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
October 4, 2026 03:34
c7dc2c4 to
1463e98
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@nestjs-modules/mailer@3.0.0
Major Changes
#1325
d47ee96Thanks @juandav! - Template engines are no longer installed automatically.ejs,handlebars,liquidjs,mjml,nunjucks,preview-email,pugand their@types/*packages were listed both as optionalpeerDependenciesand asoptionalDependencies. npm, pnpm and yarn installoptionalDependenciesby default, so every project got all of them (and their transitive dependencies) even when using a single engine. They are now only optional peer dependencies, as the documentation already described (#1320).Migration: install the engine used by your adapter, e.g.
pnpm add handlebarsforHandlebarsAdapter, andpreview-emailif you use thepreviewoption. Projects that already followed the installation guide need no changes.#1328
647406dThanks @juandav! - Secure defaults for 3.0.{{key}}placeholders in an inlinehtmlstring are now HTML-escaped. Use{{{key}}}to insert trusted markup. Subject and text templates are not escaped.loadRemoteStylesheetsdefaults tofalseand is kept when you pass your owninlineCssOptions; set it totrueto opt back in.template.optionsonly. Context values can no longer change compiler options such asbasedir,filenameorplugins. They are still available as template variables.MailerHealthIndicatorno longer returns the error message when transporter verification throws. The error is logged instead.constructorare never rendered.Minor Changes
6cc304fThanks @juandav! - Support NestJS 12. The module is tested against NestJS 11 and 12 in CI, and Nest types are now imported from the@nestjs/commonentrypoint instead of the internal@nestjs/common/interfacespath, so the published declarations resolve withnode16/bundlermodule resolution on NestJS 12. NestJS 12 requires Node.js >= 20.19 (or >= 22.12).Patch Changes
#1327
6c9356dThanks @juandav! - Security hardening:<link rel="stylesheet">in Handlebars/EJS templates) now only reads.cssfiles located insidetemplate.dir(orcssBaseUrl). Previously an absolute or../href — including one injected through an unescaped context value — could inline any readable file from the server into the email. The tag matcher also runs in linear time now (it was vulnerable to ReDoS on large rendered output).../../uploads) are ignored and the default locale is used, preventing path traversal through a user-providedlocale.textTemplatefiles must live insidetemplate.dir.Object.prototype.ejs >= 3.1.10andpug >= 3.0.3, which fix known template-injection CVEs.If you reference stylesheets outside the template directory, set
cssBaseUrlto a common parent directory.