Releases: kelseykm/vcard4
Releases · kelseykm/vcard4
v4.0.0
Breaking Changes
- Reordered arguments to a more intuitive order in several classes:
LevelParameter
TypeParameter
SpecialValueType
DateTimeType
- Updated value types for parameters previously using
TextType
toParameterValueType
to enforce value specifications better. - Dropped support for IANA tokens due to their large number. Use an x-name format for token names.
- No longer accepting empty strings as
TextType
values.
New Features
- Introduced a new value type:
ParameterValueType
, along with corresponding tests and type definitions. - Added additional unit tests for
Tokenizer
andParser
. - Included ts-doc comments in type definitions for improved documentation.
- Enabled case-insensitive string matching for arguments in
getProperty
andgetGroup
methods on the parse return object. - Implemented unquoting of quoted values in
Tokenizer
. - Added validation for
LanguageTagType
values and added tests for it.
Bug Fixes
- Allowed properties with the same
ALTID
parameter to count as 1 for cardinality inParser
,Group
, andVCARD
. - Permitted hyphens in x-names.
- Improved validation for
Group
names. - Corrected the algorithm for finding the first colon index in
Tokenizer
. - Fixed spelling and case issues in property identifier names in
VCARD
andGroup
.
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.1
v3.0.0
Breaking changes
-
All parts of the api provided as named exports of the main module
-
Changes in input and output of several classes
-
Change in output of parse function
New features
-
New bundling system -> output ESM and UMD bundles + minified ESM & UMD bundles
-
Fully tree shakeable
-
Much better parser
-
Added capacity for creating XML vCards
-
Added capacity for creating jCards
-
Added support for grouped properties in both generation and parsing
-
New documentation website (removed docs from README)
Bug fixes
-
No repeating of parameters in same property
-
Only properties (and grouped properties) can be passed to VCARD