Skip to content

Releases: Technical-1/email-archive-parser

v3.0.0

Choose a tag to compare

@Technical-1 Technical-1 released this 02 Jun 13:34
446efc3

Breaking, locale/null-correctness release. Fixes Project Hub bugs #1014–#1020.

Breaking

  • Email.date (+ Contact.lastEmailDate, Account.signupDate, Subscription.lastRenewalDate, Newsletter.lastEmailDate) are now Date | null; parsers emit null for a missing/unparseable Date: header instead of now(). (#1016)
  • Subscription.monthlyAmount and Subscription.frequency are optional — set only when a billing cadence is detected. (#1017)
  • Email.size is now an uncapped UTF-8 byte count, not a capped character count. (#1019)

Fixed

  • #1014 Non-US money formats (€1.234,56) parse correctly instead of collapsing ~1000x.
  • #1015 Contacts extracted on large MBOX paths (File >20MB, Buffer >500MB).
  • #1016 Time-based detection ignores unknown dates instead of skewing on now().
  • #1020 Newsletter detection no longer flags transactional mail.*/news.* subdomains as promotional without corroborating signals.

Internal

  • Shared parseMoney/byteLength helpers; PurchaseDetector reuses matchKnownDomain. (#1018)

See CHANGELOG.md for details.

v2.1.0

Choose a tag to compare

@Technical-1 Technical-1 released this 02 Jun 00:35

Backward-compatible feature release.

Added

  • Charset-aware MIME decoding for quoted-printable and RFC 2047 encoded-words, with surrogate-pair handling so emoji/astral code points survive.
  • Locale-aware money parsing that reads 1.234,56, 1,234.56, and 1'234.56 correctly.
  • Four additional currencies in purchase detection: CAD, AUD, INR, CHF.
  • Expanded catalogs: +40 known merchants, +16 subscription services.
  • Subscription amount extraction now only trusts values within a billing context.
  • mboxrd >From body-line unescaping; news/newsletter treated as skip-words in domain-derived names.

Fixed

  • Newsletter detection no longer misflags gmail.com/hotmail.com as promotional senders.
  • stripHtml no longer double-decodes &amp;lt; into <.

v2.0.5

Choose a tag to compare

@Technical-1 Technical-1 released this 06 Jan 22:34
2.0.5

v2.0.3

Choose a tag to compare

@Technical-1 Technical-1 released this 06 Jan 22:32
2.0.3

v2.0.2

Choose a tag to compare

@Technical-1 Technical-1 released this 06 Jan 22:27
2.0.2