Skip to content

Commit

Permalink
[CAUTH-837] add verify_email_by_code email template (#309)
Browse files Browse the repository at this point in the history
* add `verify_email_by_code` email template

* update test/context/yaml/context.test.js

* bump auth0-source-control-extension-tools to 4.3.0

* update CHANGELOG

* bump to v5.4.0
  • Loading branch information
pmalouin committed Jan 28, 2021
1 parent b7ce378 commit aec8471
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 10 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.4.0] - 2021-01-28
### Added
- Add support for `verify_email_by_code` email template [#309]

## [5.3.2] - 2020-12-17
### Fixed
- Fix keyword mapping in client page templates [ESD-10528] [#291]
Expand Down Expand Up @@ -282,8 +286,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#287]: https://github.com/auth0/auth0-deploy-cli/issues/287
[#289]: https://github.com/auth0/auth0-deploy-cli/issues/289
[#291]: https://github.com/auth0/auth0-deploy-cli/issues/291
[#309]: https://github.com/auth0/auth0-deploy-cli/issues/309

[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v5.3.2...HEAD
[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v5.4.0...HEAD
[5.4.0]: https://github.com/auth0/auth0-deploy-cli/compare/v5.3.2...v5.4.0
[5.3.2]: https://github.com/auth0/auth0-deploy-cli/compare/v5.3.1...v5.3.2
[5.3.1]: https://github.com/auth0/auth0-deploy-cli/compare/v5.3.0...v5.3.1
[5.3.0]: https://github.com/auth0/auth0-deploy-cli/compare/v5.2.1...v5.3.0
Expand Down
5 changes: 5 additions & 0 deletions examples/directory/emails/verify_email_by_code.html
@@ -0,0 +1,5 @@
<html>
<body>
Example Email
</body>
</html>
8 changes: 8 additions & 0 deletions examples/directory/emails/verify_email_by_code.json
@@ -0,0 +1,8 @@
{
"template": "verify_email_by_code",
"from": "",
"subject": "",
"syntax": "liquid",
"body": "./verify_email_by_code.html",
"enabled": true
}
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "auth0-deploy-cli",
"version": "5.3.2",
"version": "5.4.0",
"description": "A command line tool for deploying updates to your Auth0 tenant",
"main": "lib/index.js",
"bin": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"auth0": "^2.27.0",
"auth0-extension-tools": "^1.4.4",
"auth0-source-control-extension-tools": "^4.1.12",
"auth0-source-control-extension-tools": "~4.3.0",
"dot-prop": "^5.2.0",
"fs-extra": "^7.0.0",
"global-agent": "^2.1.12",
Expand Down
3 changes: 3 additions & 0 deletions test/context/yaml/context.test.js
Expand Up @@ -135,6 +135,7 @@ describe('#YAML context validation', () => {
{ body: './emailTemplates/reset_email.html', enabled: true, template: 'reset_email' },
{ body: './emailTemplates/stolen_credentials.html', enabled: true, template: 'stolen_credentials' },
{ body: './emailTemplates/verify_email.html', enabled: true, template: 'verify_email' },
{ body: './emailTemplates/verify_email_by_code.html', enabled: true, template: 'verify_email_by_code' },
{ body: './emailTemplates/welcome_email.html', enabled: true, template: 'welcome_email' }
],
pages: [
Expand Down Expand Up @@ -203,6 +204,7 @@ describe('#YAML context validation', () => {
{ body: './emailTemplates/reset_email.html', enabled: true, template: 'reset_email' },
{ body: './emailTemplates/stolen_credentials.html', enabled: true, template: 'stolen_credentials' },
{ body: './emailTemplates/verify_email.html', enabled: true, template: 'verify_email' },
{ body: './emailTemplates/verify_email_by_code.html', enabled: true, template: 'verify_email_by_code' },
{ body: './emailTemplates/welcome_email.html', enabled: true, template: 'welcome_email' }
],
pages: [
Expand Down Expand Up @@ -275,6 +277,7 @@ describe('#YAML context validation', () => {
{ body: './emailTemplates/reset_email.html', enabled: true, template: 'reset_email' },
{ body: './emailTemplates/stolen_credentials.html', enabled: true, template: 'stolen_credentials' },
{ body: './emailTemplates/verify_email.html', enabled: true, template: 'verify_email' },
{ body: './emailTemplates/verify_email_by_code.html', enabled: true, template: 'verify_email_by_code' },
{ body: './emailTemplates/welcome_email.html', enabled: true, template: 'welcome_email' }
],
pages: [
Expand Down

0 comments on commit aec8471

Please sign in to comment.