This file contains all the latest changes and updates to Postal.
3.3.4 (2024-06-20)
- fix
postal version
command (4fa88ac) - fix issue running message pruning task (3a33e53)
- raise NotImplementedError when no call method on a scheduled task (2b0919c)
3.3.3 (2024-04-18)
- legacy-api: allow _expansions to be provided as true to return all expansions (39f704c), closes #2932
3.3.2 (2024-03-21)
- versioning: improve how current version and branch is determined and set (07c6b31)
3.3.1 (2024-03-21)
- smtp-sender: ensure relays without a host are excluded (3a56ec8)
- smtp-sender: fixes
SMTPSender.smtp_relays
(b3264b9)
- container: add the branch name to the container (bee5098)
- github-actions: don't generate commit- tags (d65bbe0)
- github-actions: don't run for dependabot or release-please PRs and fetch whole repo (adaf2b0)
- github-actions: include a version string on branch-*/latest images (64bc7dc)
- ui: display branch in footer if present (1823617)
3.3.0 (2024-03-18)
- prometheus: add
postal_message_queue_latency
metric (ee8d829) - worker: allow number of threads to be configured (7e2accc)
- worker: scale connection pool with worker threads (ea542a0)
- message-dequeuer: ability to disable batching (4fcb9e9)
- config-docs: update docs for latest oidc defaults (364eba6)
- config-docs: update proxy protocol to mention v1 (45dd8aa)
3.2.2 (2024-03-14)
- don't use authentication on org & server deletion (be45652)
- smtp-server: fixes proxy protocol (9240612)
- allow config location message to be suppressed (f760cdb)
- hide further config messages (1c67f72)
- suppress config location on default-dkim-record (aa76aae)
- add tests for the legacy API (3d208d6)
3.2.1 (2024-03-13)
- fixes
postal default-dkim-record
(58dddeb)
3.2.0 (2024-03-13)
- add sha256 signatures to outgoing http requests (#2874) (96d7365)
- automatically remove queued messages with stale locks (#2872) (d84152e)
- openid connect support (#2873) (5ed94f6)
- smtp-server: add additional information to cram-md5 log entries (9982bb8)
- rubocop: Style/TrailingCommaInArrayLiteral (4e13577)
- regenerate config docs (5d8213a)
3.1.1 (2024-03-08)
- don't override paths in dockerfile (9399e32)
- smtp-sender: add more tests for AUTH LOGIN (22dcd49)
3.1.0 (2024-03-06)
- configurable trusted proxies for web requests (3785c99)
- message-dequeuer: ensure SMTP endpoints are sent to SMTP sender appropriately (e2d642c), closes #2853
- smtp-server: listen on all interfaces by default (d1e5b68), closes #2852
- smtp-server: remove ::ffff: from the start of ipv4 addresses (0dc7359)
- smtp-server: reset ansi sequence after logging (9bf6152)
- ui: fixes typo on queue page (33513a7)
- web-server: allow for trusted proxies not be set (4e1deb2)
- rubocop: use _ when not using a variable in helm config exporter (2c20ba6)
3.0.2 (2024-03-05)
- default to listening on all addresses when using legacy config (48f6494)
- removing arm64 support until we can get a reasonable build pipeline sorted (e8e44f5)
3.0.1 (2024-03-05)
- fix issue with sending mail when smtp relays are configured (6dd6e29)
3.0.0 (2024-03-04)
This version of Postal introduces a number of larger changes. Please be sure to follow the upgrade guide when upgrading to Postal v3. Highlights include:
- Removal of RabbitMQ dependency
- Removal of
cron
andrequeuer
processes - Improved logging
- Improved configuration
- Adds prometheus metric exporters for workers and SMTP servers
- Only accepted RFC-compliant end-of-DATA sequences (to avoid SMTP smuggling)
- add health server and prometheus metrics to worker (a2eb70e)
- add option to delay starting processes until all migrations are run (1c5ff5a)
- add prometheus metrics to smtp server (2e7b36c)
- add prometheus metrics to worker (bea7450)
- more consistent logging (044058d)
- new background work process (dc8e895)
- new configuration system (and schema) (#2819) (0163ac3)
- only accept RFC-compliant End-of-DATA sequence (0140dc4)
- add "postal:update" task (b35eea6)
- add helm env var config exporter (8938988)
- include list-unsubscribe-post header in dkim signatures (e1bae60), closes #2789 #2788
- support for additional SMTP client options (0daa667)
- fixes potential issue if machine hostname cannot be determined (0fcf778)
- raise an error if MX lookup times out during sending (fadca88), closes #2833
- set correct component in health server log lines (a7a9a18)
- translate unicode domain names to Punycode for compatibility with DNS (#2823) (be0df7b)
- remove user email verification (e05f0b3)
- unescape in URLs which are stored for tracking (1da1182), closes #2568 #907 #115
- update wording about tracking domain cnames (0d3eccb), closes #2808
- add message_db.encoding to config docs (0c1f925)
- add new repo readme welcome image (afa1726)
- add quick contributing instructions (8d21adc)
- update SECURITY policy (cfc1c9b)
- update docs for how IP address allocation works (07eb152), closes #2209
- upgrade bundler to 2.5.6 (1ae8ef6)
- upgrade rails to 7.0 and other dependencies (ecd09a2)
- upgrade ruby to 3.2.2 and nodejs to 20.x (72715fe)
2.3.2 (2024-03-01)
2.3.1 (2024-02-23)
- github-actions: add 'docs' label to exclude from staleness checks (57b72fb)
- github-actions: add action to close stale issues and PRs (d90a456)
- github-actions: allow stale action to be run on demand (559b08d)
2.3.0 (2024-02-13)
- add ruby platform to gemfile (1fceef7)
- explicitly disable TLS & starttls for unknown SSL modes (42ab5b3), closes #2564
- fix bug with received header in SMTP server (ba5bfbd)
- retry mysql connections on message DB pool (f9f7fb3)
- use correct method for disconnecting smtp connections (7c23994)
- rubocop: disable complexity cops for now (930cf39)
- rubocop: disable Style/SpecialGlobalVars (be97f43)
- rubocop: disable Style/StringConcatenation cop (d508772)
- rubocop: Layout/* (0e0aca0)
- rubocop: Layout/EmptyLineAfterMagicComment (0e4ed5c)
- rubocop: Layout/EmptyLines (0cf35a8)
- rubocop: Layout/EmptyLinesAroundBlockBody (cfd8d63)
- rubocop: Layout/LeadingCommentSpace (59f299b)
- rubocop: Layout/LineLength (e142d0d)
- rubocop: Layout/MultilineMethodCallBraceLayout (a5d5ba5)
- rubocop: Lint/DuplicateBranch (a1dc0f7)
- rubocop: Lint/DuplicateMethods (bab6346)
- rubocop: Lint/IneffectiveAccessModifier (6ad56ee)
- rubocop: Lint/MissingSuper (4674e63)
- rubocop: Lint/RedundantStringCoercion (12a5ef3)
- rubocop: Lint/ShadowedException (0966b44)
- rubocop: Lint/ShadowingOuterLocalVariable (7119e86)
- rubocop: Lint/SuppressedException (278ef08)
- rubocop: Lint/UnderscorePrefixedVariableName (ec7dcf4)
- rubocop: Lint/UnusedBlockArgument (ee94e4e)
- rubocop: Lint/UselessAssignment (7590a46)
- rubocop: Naming/FileName (919a601)
- rubocop: Naming/MemoizedInstanceVariableName (9563f30)
- rubocop: relax method length and block nexting for now (b0ac9ef)
- rubocop: remaining offences (ec63666)
- rubocop: Security/YAMLLoad (389ea77)
- rubocop: Style/AndOr (b9f3f31)
- rubocop: Style/ClassAndModuleChildren (e896f46)
- rubocop: Style/For (04a3483)
- rubocop: Style/FrozenStringLiteralComment (6ab36c0)
- rubocop: Style/GlobalStdStream (75be690)
- rubocop: Style/GlobalVars (157d114)
- rubocop: Style/HashEachMethods (c995027)
- rubocop: Style/HashExcept (83ac764)
- rubocop: Style/IdenticalConditionalBranches (6a58ecf)
- rubocop: Style/MissingRespondToMissing (ffcb707)
- rubocop: Style/MultilineBlockChain (c6326a6)
- rubocop: Style/MutableConstant (129dffa)
- rubocop: Style/NumericPredicate (c558f1c)
- rubocop: Style/PreferredHashMethods (013b3ea)
- rubocop: Style/SafeNavigation (00a02f2)
- rubocop: Style/SelectByRegexp (9ce28a4)
- rubocop: Style/StringLiterals (b4cc812)
- rubocop: Style/WordArray (bd85920)
- rubocop: update rubocop rules (6d4dea7)
- remove reloading on the smtp server (c3c304e)
- add initial tests for Postal::SMTPServer::Client (dece1d4)
- FactoryBot.lint will lint all registered factories (25d7d66)
- remove FACTORIES_EXCLUDED_FROM_LINT (1cf665a)
2.2.2 (2024-02-06)
- adds new connection pool which will discard failed clients (54306a9), closes #2780
- re-add reconnect: true to database (7bc5230)
- upgrade nokogiri (f05c2e4)
- rename database spec file (b9edcf5)
2.2.1 (2024-02-03)
- fixes issue starting application in production mode (4528a14)
- remove Postal.database_url (96ba4b8)
2.2.0 (2024-02-01)
- load signing key path from POSTAL_SIGNING_KEY_PATH (4a46f69)
- support for configuring postal with environment variables (854aa5e)
- don't use indifferent access for job params (2bad645), closes #2477 #2714 #2476 #2500
- extract x-postal-tag before holding (6b2bf90), closes #2684
- fixes error messages in web ui (71f51db)
- ignore message DB migrations in autoloader (3fb40e4)
- move tracking middleware before host authorization (49cceaa), closes #2415
- use utc timestamps when determining raw table names (ce19bf7)
- add binstubs for bundle and rspec (41f6cf4)
- add script to send html emails to a local SMTP server (8794a2f)
2.1.6 (2024-01-30)
- build: fixes docker login action credentials (8810856)
- update release please to include more categories in changelog (e156c21)
2.1.5 (2024-01-30)
- duplicate string before modifying it to prevent frozen string errors (f0a8aca)
- fixed typo (rfc number) (2f62baa)
- fixes typo in on track domains page (77bd77b)
- mail view encoding issue #2462 (#2596) (59f4478)
- match IPv4 mapped IPv6 addresses when searching for SMTP-IP credentials (8b525d0)
- Move RubyVer functionality to Utilities module (5998bf)
- Upgrade to Ruby 3.2.1 & Rails 6.1 (957b78)
- Make resent-sender header optional (c6fb8d)
- Log CRAM-MD5 authentication failures (9b1ed1)
- Always use multipart/alternative parts in generated emails (d0db13)
- Use non-blocking function to negotiate TLS connections (a7dd19)
- Fix to newline conversion process (9f4ef8)
- Remove custom scrollbars (b22f1b)
- Truncate 'output' field to avoid overflowing varchar(512) in database (a188a1)
- Fix link replacement in multipart messsages (7ea00d)
- Fix confusing error message when deleting IP pools (cefc7d)
- Connect to correct IP rather than hostname suring SMTP delivery (159509)
- Change retry timings to avoid re-sending messages too early (c8d27b)
- support for AMQPS for rabbitmq connections (9f0697)
- retry connections without SSL when SSL issue is encountered during smtp sending (0dc682)
- allow @ and % in webhook urls (c60c69)
- support for configuring the default spam threshold values for new servers (724325)
- support for using rspamd for spam filtering (a1277b)
- dkim: fixes timing race condition when signing emails (232b60)
- docker: fixes issue caused by changes to underlying ruby:2.6 image (6570ff)
- ui: add footer with links to docs and discussions (1247da)
- dkim: ensure DKIM-Signature headers are appropriately wrapped (476129)
- docs: update port numbers to specify the actual port number the SMTP server is listening on (4404b3)
- logging: fix spelling of graylog (2a11e0)
- config: support for loading a postal.local.yml config file from the config root if it exists (8e3294)
- smtp_server: allow bind address to be configured (4a410c)
- add priorities to IP address assignment (21a8d8)
- dkim: fixes bug with signing dkim bodies (189dfa)
- smtp_server: attempt to redact plain-text passwords from log output (fcb636)
- smtp_server: fixes issue with malformed rcpt to (e0ba05)
- smtp_server: refactor mx lookups to randomly order mx records with the same priority (bc2239)
- smtp_server: updated line split logic, normalize all linebreaks to \r\n (e8ba9e)
- add resolv 0.2.1 (eef1a3)
- always obey POSTAL_CONFIG_ROOT (1d22ca)
- fix issue with determining if an SMTP connection is encrypted or not (73870d)
- remove a few leftover fast server artifacts (5cd06e)
- replace Fixnum with Integer (52a23f)