mailauth 4.13.3 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.ncurc.js CHANGED
@@ -2,7 +2,6 @@ module.exports = {
2
2
  upgrade: true,
3
3
  reject: [
4
4
  // only works as ESM
5
- 'chai',
6
- 'yargs'
5
+ 'chai'
7
6
  ]
8
7
  };
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "4.13.3"
2
+ ".": "5.0.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.0.1](https://github.com/postalsys/mailauth/compare/v5.0.0...v5.0.1) (2026-08-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **cli:** replace yargs with commander ([#120](https://github.com/postalsys/mailauth/issues/120)) ([7a8a527](https://github.com/postalsys/mailauth/commit/7a8a5273413137482890519b0185cb9ef14ebea3))
9
+
10
+ ## [5.0.0](https://github.com/postalsys/mailauth/compare/v4.13.3...v5.0.0) (2026-08-06)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * Node.js 20 is no longer supported, the minimum is now 22.19.0 (the engine floor of undici 8).
16
+ * **dmarc:** adkim=s and aspf=s now actually fail when only the organizational domains match. Previously strict alignment fell through to the relaxed comparison, so these records behaved as adkim=r/aspf=r and such messages passed. Senders that publish strict alignment but sign or send from a different host under the same organizational domain will flip from pass to fail. dmarc.status.header.from now reports the From domain rather than the organizational domain, dmarc.status.header.d reports the domain the record was found at, and dkim.results[].status.aligned is false for org-level-only matches when the domain publishes adkim=s.
17
+
18
+ ### Features
19
+
20
+ * add seal-only mode to the seal CLI command ([#119](https://github.com/postalsys/mailauth/issues/119)) ([afdfc3d](https://github.com/postalsys/mailauth/commit/afdfc3d1cb7b61aecbf60eda96f2c0be87b0c9cf))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **arc:** report public key failures instead of a bare arc=fail ([3464be7](https://github.com/postalsys/mailauth/commit/3464be70dd2449038e3c0381acbe4565d28370ba))
26
+ * **cli:** validate seal-only options and dedupe the seal command paths ([17dd59c](https://github.com/postalsys/mailauth/commit/17dd59ca472efc477fe041de48d2c2d8a730f3e7))
27
+ * close residual parser and DMARC discovery edge cases ([f1c28e1](https://github.com/postalsys/mailauth/commit/f1c28e10f331bea1f23ff2d861e00c7700f3b97f))
28
+ * **dmarc:** normalize tag values and report the correct identifiers ([e5dc758](https://github.com/postalsys/mailauth/commit/e5dc75827ff190912515572546bea0745c3629ff))
29
+ * enforce DMARC strict identifier alignment (adkim=s/aspf=s) ([0c4bab7](https://github.com/postalsys/mailauth/commit/0c4bab7f747c70121f72b76b53ad704712f3a56d))
30
+ * harden tag and header parsers against crafted property keys ([7eb9ea2](https://github.com/postalsys/mailauth/commit/7eb9ea24ed19032b63e9f9993971b77b8d77109e))
31
+ * require Node.js >= 22.19.0 ([1c689c5](https://github.com/postalsys/mailauth/commit/1c689c5444821e5e188cef35c5aa3de3b2d8cfbe))
32
+ * **tools:** do not treat a legacy getAlignment options object as strict ([2007ab4](https://github.com/postalsys/mailauth/commit/2007ab41cccc41b531f3e5ec65899264b6e3441d))
33
+
3
34
  ## [4.13.3](https://github.com/postalsys/mailauth/compare/v4.13.2...v4.13.3) (2026-05-14)
4
35
 
5
36
 
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  - **BIMI** resolving and **VMC** validation
16
16
  - **MTA-STS** helper functions
17
17
 
18
- mailauth is a pure JavaScript implementation, requiring no external applications or compilation. It runs on any server or device with Node.js version 20.18.1 or later.
18
+ mailauth is a pure JavaScript implementation, requiring no external applications or compilation. It runs on any server or device with Node.js version 22.19.0 or later.
19
19
 
20
20
  > [!NOTE]
21
21
  > mailauth is used by [EmailEngine](https://emailengine.app/) for validating email authentication settings. See the [Email Authentication Testing documentation](https://learn.emailengine.app/docs/advanced/email-authentication-testing) for details.