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.
- Store unparseable lines in
unparseable[]
. - Tighter type checks
- ESM includes need full file names
- Suport RFC8605 property
CONTACT-URI
and parameterCC
- Support RFC6715 properties
EXPERTISE
,INTEREST
,HOBBY
,ORG-DIRECTORY
and parametersLEVEL
,INDEX
- Support RFC6474 properties
BIRTHPLACE
,DEATHPLACE
,DEATHDATE
- Support RFC6868 double-quoted parameter value escaping using
^
(no more support for\n
for these, see changes below). - Support RFC6350 parameter
LABEL
, which does not have its own section, but is only mentioned (essentially "in passing") in theADR
description.
- Did not nag at all about escaping warnings in double-quoted parameter values
- Backslash sequences in double-quoted parameter values (e.g.,
\n
) are passed along transparently, in accordance with RFC6868.\n
in parameter values not enclosed in double quotes will still be processed, as mandated for theLABEL
parameter in RFC6350,ADR
section. - As of RFC6868 support, single-valued property values no longer use the same unescaping code as double-quoted parameter values.
- Ignore "should not happen" code from coverage
- Grouping multiple X-properties of the same type into one group resulted in lost properties. Found while tuning code coverage.
- Grouping grouped properties (such as
1.ADR
and1.TEL
into group1
and2.ADR
and2.TEL
into2
, and everything ungrouped intotop
) usinggroupVCard()
- Undefined
PREF
is sorted behindPREF=100
(RFC6350)
- Narrowed the
Uppercase<string>
types - Requires TypeScript 4.1 (released November 2020)
- Documentation: Coverage badge
- Sorting by preference
- Documentation still contained a now outdated draft text block
- Breaking change: Non-RFC6350 properties and parameters moved from
unrecognized
tox
, as those should mostly haveX-
names - Updated documentation to reflect
vcard4
module updates - Fixed ìsKnownProperty()` spelling
- Documentation: Example code, design, and reference
- License file
- Ensure compatibility
- Updated
vcard4
explanation
- Missing files added to NPM module
- First public release