Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@brianyu28 brianyu28 released this 25 Feb 17:55
· 4 commits to main since this release
ce2a80f

This is a rewrite of the dispatch command-line tool for sending parameterized emails, now written in Rust. The older Python version is still available tagged as v0.1.0. This version (v0.2.0) includes the following new features:

  • Feature: A new dispatch generate command. Similar to the old --make argument, the generate command will create a new set of configuration files. New in v0.2.0, the generate command adds prompts for common fields, the ability to specify custom filenames for each of the three configuration files, and warnings when possibly overwriting existing configuration files.
  • Feature: A --dry-run mode that allows viewing the content of all emails that will be sent without actually sending any emails.
  • Feature: A --verbose mode that prints the content of emails to stdout when sending emails.
  • Feature: Configuration files can now specify either absolute or relative paths to data and body files. For convenience, the dispatch send command now only requires the single configuration file as an argument.
  • Feature: A new content_type parameter in the configuration file that allows sending emails as either html or text content.
  • Enhancement: Ability to parameterize the from field.
  • Enhancement: Option to bypass warnings about missing parameters.
  • Enhancement: Improved error messaging.
  • Enhancement: Other performance improvements.

This is a breaking change: configuration files will need to be updated to follow the new specification in README.