Skip to content

Releases: kelseykm/vcard4

v4.0.0

06 Nov 15:56
Compare
Choose a tag to compare

Breaking Changes

  • Reordered arguments to a more intuitive order in several classes:
    1. LevelParameter
    2. TypeParameter
    3. SpecialValueType
    4. DateTimeType
  • Updated value types for parameters previously using TextType to ParameterValueType 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 and Parser.
  • Included ts-doc comments in type definitions for improved documentation.
  • Enabled case-insensitive string matching for arguments in getProperty and getGroup 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 in Parser, Group, and VCARD.
  • 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 and Group.

v3.1.5

31 Oct 22:52
Compare
Choose a tag to compare

Return development files to production package to increase npm ranking

v3.1.4

31 Oct 21:44
Compare
Choose a tag to compare

Fixes

  • Emit properly named declaration files when bundling
  • Ensure value is string before using replaceAll when unescaping parameter values

Other patch level changes

  • Remove development files from production package
  • Change changelog release notes style

v3.1.3

19 Oct 13:59
Compare
Choose a tag to compare

Fixes

  • Unescape parameter values completely when parsing

v3.1.2

17 Aug 20:12
Compare
Choose a tag to compare

Patch level changes

  • Change repository description and homepage

v3.1.1

17 Aug 19:47
Compare
Choose a tag to compare

Fixes

  • Add Group as accepted type for props argument for VCARD type definition

Other patch level changes

  • Run prettier on all source code

  • Update browserslist database

  • Update dev dependencies

v3.1.0

23 Feb 23:31
Compare
Choose a tag to compare

New feature

  • getProperty method on parse return object

Fixes

  • Bug fix on types for constructor parameters of ExtendedProperty

  • Bug fix on types for getGroup method of parse return object

v3.0.1

11 Feb 13:05
Compare
Choose a tag to compare

Fixes

  • Bug fix in parsing tokenizer

  • Typo fix in v3.0.0 CHANGELOG

v3.0.0

28 Jan 22:47
Compare
Choose a tag to compare

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

v2.4.1

09 Dec 18:44
Compare
Choose a tag to compare
2.4.1