Releases: jhermsmeier/node-dkim-signature
Releases · jhermsmeier/node-dkim-signature
v3.0.1
- doc: Add "Related Modules" section
- lib: Simplify version tag presence check
- lib: Fix incorrect base64 test pattern
- test: Add test for tag name case-sensitivity
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Major Changes
Behavior
- Fixed encoding and decoding of DKIM quoted-printable tags
- Fixed handling of internationalized domain names
- Fixed unfolding of folding whitespace (standalone LF is no longer unfolded)
- Unknown / unsupported tags are now exposed as a
Map
undersignature.unknownTags
- No longer throws errors when encountering unknown, or previously
unspecified tags (such as "dara" and "darn", added by the Replay Resistant Authenticated Receiver Chain draft spec) - Added validation of tag values when parsing signatures:
- Now throws errors on missing or otherwise invalid signature versions
- Now throws errors on missing tags that are required
- Now throws errors on invalid timestamps
- Now throws errors on invalid body length
API
- Added
signature.toJSON()
- Removed static method
Signature.create()
- Removed TypeScript type definitions
- Renamed signature properties to better match the specification,
and avoid some confusion:signature.signature
tosignature.data
signature.hash
tosignature.bodyHash
signature.length
tosignature.bodyLength
signature.query
tosignature.queryMethods
signature.canonical
tosignature.canonicalization
signature.identity
tosignature.identifier
signature.timestamp
tosignature.createdAt
signature.expires
tosignature.expiresAt
Full Changelog: v2.0.0...v3.0.0
v2.0.0
Major Changes
- Ignore unknown values on signature string by @vespasianvs in #3
This will now ignore unknown fields (as per specification) instead of throwing an Error,
and may break applications that expect this behavior.
Full Changelog: v1.3.0...v2.0.0