Files
rs-pop-imap-importer/CHANGELOG.md
T
herel 1faa8f1982 chore: Bump version to 0.7.0 and update changelog
Document the changes shipped since 0.2.0: the X-WS-* header
detection fix (0.5.0), the custom POP3 implementation (0.6.0) and
the dependency and toolchain upgrades (0.7.0). Retitle the 0.2.0
entry to 0.3.0 to match the version actually released in
Cargo.toml.
2026-08-28 15:23:34 +02:00

2.7 KiB

Changelog

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.7.0] - 2026-08-28

Changed

  • Upgraded dependencies: clap 4.6.6, imap 3.0.0-alpha.15, native-tls 0.2.18
  • Migrated IMAP client to the imap 3.x ClientBuilder and AppendCmd APIs
  • Docker images are now tagged with the crate version on main and the short commit SHA otherwise
  • Upgraded build toolchain to Rust 1.98 (pinned via rust-toolchain.toml)
  • Updated Docker images: builder rust:1.98-trixie, runtime Debian trixie with libssl3t64

Removed

  • Unused imap-proto dependency
  • Unsound lexical-core 0.7.6 dependency chain (RUSTSEC-2023-0086), cargo audit is now clean

[0.6.0] - 2025-12-12

Changed

  • Replaced the third-party rust-pop3-client crate with a custom POP3 implementation
  • POP3 messages are now retrieved as raw bytes over native-tls, without encoding or line ending conversions
  • Reduced dependency footprint by dropping rust-pop3-client

Fixed

  • POP3 byte-stuffing (doubled leading dots) is now handled correctly
  • Original email byte structure is preserved during retrieval

[0.5.0] - 2025-12-10

Fixed

  • X-WS-* headers (e.g. X-WS-Attachment-UUID) are now detected as MIME headers so adjacent attachment headers (Content-Type, Content-Disposition) get normalized properly

Added

  • Test case for attachment header normalization

[0.3.0] - 2025-12-04

Added

  • Email header normalization to ensure RFC 5322 compliance
  • New normalize-imap binary tool to fix existing malformed emails in IMAP inbox
  • IMAP fetch functionality to retrieve all messages from inbox
  • IMAP delete and expunge functionality for message management
  • Dry-run mode for the normalization tool (--dry-run flag)
  • Confirmation prompts with skip option (--yes flag)
  • Comprehensive email header continuation line fixing
  • Analysis and reporting of which emails need normalization

Changed

  • Refactored project structure to use library + multiple binaries
  • Main binary renamed to pop-to-imap for clarity
  • All modules made public for library usage
  • Updated README with detailed usage instructions for both tools

Fixed

  • Email headers with missing whitespace on continuation lines now properly formatted
  • RFC 5322 Section 2.2.3 compliance for header folding

[0.1.0] - 2025-12-03

Added

  • Initial release
  • POP3 to IMAP email migration
  • TLS/SSL support for secure connections
  • Environment-based configuration via .env files
  • Docker support with multi-stage builds
  • Basic error handling and logging