.. currentmodule:: outgoing
- Support platformdirs v4.0
- Migrated from setuptools to hatch
- Drop support for Python 3.7
- Support python-dotenv v1.0
- Always read JSON configuration files using UTF-8 encoding
- Always read files for the "file" password method using UTF-8 encoding
- Support Python 3.12
- Correct the default Linux config file location listed in the README
- Update pydantic to v2.0
- Update
platformdirs
dependency to v3. This is a breaking change on macOS, where the default configuration path changes from :file:`~/Library/Preferences/outgoing/outgoing.toml` back to :file:`~/Library/Application Support/outgoing/outgoing.toml`.
- Drop support for Python 3.6
- Support Python 3.11
- Use tomllib on Python 3.11
- Overload
Password.__eq__
so that instances continue to compare equal topydantic.SecretStr
instances even under pydantic 1.10
- Support tomli 2.0
- Support Python 3.10
- Replaced
entrypoints
dependency withimportlib-metadata
- Replaced
appdirs
dependency withplatformdirs
. This is a breaking change on macOS, where the default configuration path changes from :file:`~/Library/Application Support/outgoing/outgoing.toml` to :file:`~/Library/Preferences/outgoing/outgoing.toml`.
- outgoing.errors.UnsupportedEmailError is now re-exported as outgoing.UnsupportedEmailError like all the other exception classes
- Update for tomli 1.2.0
- Read TOML files in UTF-8
- Switch from toml to tomli
- Support Click 8
- Require the
port
field ofSMTPSender
to be non-negative - Mark Sender as
runtime_checkable
and export it - Gave the :command:`outgoing` command
--section
,--no-section
, and--log-level
options - Added logging to built-in sender classes
- The :command:`outgoing` command now loads settings from :file:`.env` files
and has an
--env
option
Initial release