All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.10.3 - 2023-06-16
- Use Python 3.11.4
- Update dependencies
0.10.2 - 2022-08-28
- Use Python 3.10.6
- Update dependencies
0.10.1 - 2022-02-18
- Use Python 3.9.10
- Fix form link in homepage template
- Remove duplicate honeypot validation
- Move documentation to https://rclement.github.io/mailer/
- Disable Renovate dependency dashboard
- Update dependencies
0.10.0 - 2021-09-18
- New API endpoint for URL-encoded form requests
- Type hints for tests
- Use Python 3.9.7
- Update dependencies
0.9.1 - 2021-06-17
- 1-click deployment buttons to README and documentation (Vercel and Heroku)
- Use Python 3.8.10
- Update dependencies
0.9.0 - 2021-05-01
- Allow to force HTTPS redirect using
FORCE_HTTPS
(enabled by default)
- Use Python 3.8.9
- Use
python-slim
instead ofpython-alpine
base for Docker image - Use
mkdocs
for documentation - Rename all Zeit Now references to Vercel
- Update dependencies
0.8.1 - 2020-05-21
- OpenAPI documentation for return model in
/api/
route
- Use Python 3.8.3
- Update dependencies
- More robust CORS origins testing
- Stricter
mypy
rules
- Better handling of
.env
file loading for development and testing
0.8.0 - 2020-04-11
- Use Python 3.8.2
- Use FastAPI instead of Flask
- Renamed API parameter
recaptcha
tog-recaptcha-response
(default name from Google ReCaptcha) - Set maximum message length to 1000 characters
- Disable Swagger UI in production
- Licensed under AGPLv3
- Docsify documentation
- Simple homepage with API documentation link
- SMTP mailing backend support (all
SMTP_*
configurations) - PGP encryption support using PGP/MIME (with optional contact PGP public key attachment)
- Static typing analysis using mypy
- Security checks using bandit
- Exhaustive testing
- Simple examples (ajax, ajax with recaptcha, ajax with pgp)
- GitHub Action workflows support
- Security notice in
SECURITY.md
- BREAKING: removed rate-limiting feature (all
RATELIMIT_*
configurations) - BREAKING: removed mailer provider feature (
MAILER_PROVIDER
configuration) - BREAKING: removed sendgrid provider feature (all
SENDGRID_*
configurations) - Removed
RECAPTCHA_SITE_KEY
from configuration - Removed
RECAPTCHA_ENABLED
from configuration (automatically enabled whenRECAPTCHA_SECRET_KEY
is set) - Removed
SENTRY_ENABLED
from configuration (automatically enabled whenSENTRY_DSN
is set) - Travis-CI support
- Use non-root user in
Dockerfile
- Use allowlist mode for
.nowignore
0.7.1 - 2019-07-22
- Update Python dependencies
- Use
flake8
as linter,black
as code formatter - Use
pre-commit
for git hooks support
0.7.0 - 2019-06-23
- Force HTTPS protocol even behind reverse-proxies
- Update Python dependencies
- Rename
mailer.services
package tomailer.providers
- BREAKING: rename
MAILER_SERVICE
config toMAILER_PROVIDER
- BREAKING: add
SENDER_EMAIL
config to specify the e-mail to send from (e.g.[email protected]
)
0.6.2 - 2019-05-30
- Update Python dependencies
- Migrate to Zeit Now official Python WSGI builder
0.6.1 - 2019-04-29
- Update Python dependencies
- Fix
jinja2
vulnerability (CVE-2019-10906) - Fix
urllib3
vulnerability (CVE-2019-11324)
- Fix
sendgrid
>=6.0.0
breaking changes
- Travis-CI deployment to Zeit Now serverless platform
0.6.0 - 2019-03-28
- Fix
webargs
vulnerability (CVE-2019-9710)
- Werkzeug deprecation warning for
ProxyFix
- Swagger OpenAPI documentation
- Sentry crash reporting support
SECRET_KEY
secret config (unused)SERVER_NAME
config (unused)
0.5.0 - 2019-01-20
- Google ReCaptcha v2 validation
- Disabling rate-limiting
- README.md with complete list of environment variables for configuration
0.4.0 - 2019-01-10
- Zeit Now 2.0 serverless/lambda deployment compatibility!
- Update Python dependencies
- API info endpoint (
/api
) exempted from rate-limiting and returns some more information
0.3.0 - 2019-01-10
- Add optional
honeypot
param for spam-bot protection
0.2.0 - 2019-01-09
- Add CHANGELOG.md
- Update Python dependencies
- Update .example.env
- Update default route rate-limiting rule to 10 per hour
0.1.0 - 2018-12-21
- Initial release of
mailer
- Sendgrid mailing provider support