Skip to content

Latest commit

 

History

History
301 lines (137 loc) · 12 KB

CHANGELOG.md

File metadata and controls

301 lines (137 loc) · 12 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.7.0 (2024-11-05)

Features

  • Replace lodash with es-toolkit. Also moving to new project structure and tooling, vitest, and CI (66c1b43)

5.6.3 (2024-09-25)

Bug Fixes

  • remove 'type module'. It broke the usage of this library as commonJS (94a5965)

5.6.2 (2024-09-18)

5.6.1 (2024-09-16)

5.6.0 (2023-08-30)

Features

  • added toString() and, only for node environments, also custom inspect for console.log() (d8719b3)

5.5.0 (2023-06-29)

Features

  • add better types to representsXXX() functions (6087634)

5.4.0 (2023-05-16)

Features

  • composedKeySet to avoid duplicate key set (using ks.isEqual()) (c03dd00)

5.3.0 (2023-05-16)

Features

  • composedKeySet new methods addList and withoutList (b4b2993)

5.2.0 (2023-05-16)

Features

  • adding isComposedKeySet() function. Also upgrade dependencies (b543221)

5.1.0 (2022-11-30)

Features

  • add alias to build functions someKeySet() allExceptSomeKeySet() noneKeySet() and someKeySet() (264fc34)

Bug Fixes

  • adds better types for the isKeySet isKeySetXXX functions (1903e82)
  • deps: bump ansi-regex from 3.0.0 to 3.0.1 (#437) (1dbe7b8)
  • deps: bump async from 2.6.3 to 2.6.4 (#449) (f921d47)

5.0.0 (2022-03-18)

⚠ BREAKING CHANGES

  • .keys is removed. .elements is now the frozen Set. And the old utils uniqueArray, uniqueKeyLabelArray and arraysEqual are dropped.

Features

  • elements as a public readonly frozen Set instead of internal array (c5d492b)

Bug Fixes

  • deps: bump tmpl from 1.0.4 to 1.0.5 (#315) (1210cdf)
  • deps: bump trim-off-newlines from 1.0.1 to 1.0.3 (#390) (46d00ca)

4.8.0 (2021-05-10)

Features

  • composedKeySet.map() support (4635e43)

4.7.0 (2021-04-29)

Features

  • ComposedKeySet.compactUnion and ComposedKeySet.compactIntersect (85f6c4b)

4.6.0 (2021-04-29)

Features

  • composedKeySet that encompass a list of KeySets (#220) (73de6f8)

4.5.1 (2021-04-29)

Bug Fixes

  • upgrading dependencies and fixing types for them (5ce2be0)

4.5.0 (2021-02-04)

Features

4.4.2 (2021-02-04)

4.4.1 (2021-01-26)

Bug Fixes

  • deps: [security] bump highlight.js from 10.3.1 to 10.4.1 (#176) (a889746)
  • deps: [security] bump ini from 1.3.5 to 1.3.8 (#182) (e1dabfd)

4.4.0 (2020-10-23)

Features

  • exposing KeySetTypesEnumValues + deps upgrade (4affd1d)

4.3.1 (2020-06-27)

4.3.0 (2020-06-17)

Features

  • add .includes(element) and alias .contains(element) (+ updated dependencies) (233117d)

4.2.2 (2020-05-12)

Bug Fixes

  • target ES2017 instead of esnext for module, and ES2015 for main (8660d10)

4.2.1 (2020-04-14)

Bug Fixes

  • deps: [security] bump acorn from 6.4.0 to 6.4.1 (#57) (df4f2fd)

4.2.0 (2020-03-11)

Features

  • exporting types for KeyLabelSetSerialized and all individual types (861e071)

4.1.1 (2020-02-29)

Bug Fixes

  • fixing overloads on remove() and intersect() (TypeScript) (7ea0ff1)

4.1.0 (2020-02-29)

Features

  • toJSON() to be used in JSON.stringify(), stringify using the same as serialized() (0183f4a)

4.0.0 (2020-02-29)

⚠ BREAKING CHANGES

  • While KeySetAll and KeySetNone were before non typed, now they are. Most of the time no adaptation is needed but in some cases when using TypeScript it may be needed to specify the type of the universe when creating a desired All or None key sets.

Features

  • keySetAll and KeySetNone with key type (bb5b1c9)

3.1.0 (2020-02-29)

Features

3.0.0 (2020-02-29)

⚠ BREAKING CHANGES

  • KeySetAll and KeySetNone will have now keys and elements methods (both the same) which return an EmptyArray of the type (Key by default). This is a different behaviour more than an addition, since before keyset type could be relied upon having or not those getters.

Features

  • methods keys and elements in all KeySet, typings, and allow for typed KeySetAll and KeySetNone (53265b9)

2.4.0 (2020-02-28)

Features

  • type predicates based on the element type (2f5c7e3)

2.3.0 (2020-02-28)

Features

  • complex KeyLabel allowed as elemnets + extra types, utils and tests (a3fdec3)

2.2.0 (2020-02-28)

Features

  • better types serializeKeySet (28ee65f)

2.1.0 (2020-02-27)

Features

  • type predicates + serialize and parsing functions (03f769d)

2.0.0 (2020-02-25)

⚠ BREAKING CHANGES

  • type enum values change from camelCase to SCREAMING_SNAKE_CASE (ALL, ALL_EXCEPT_SOME, NONE and SOME)

Features

  • type enum values in SCREAMING_SNAKE_CASE (2a8d7bb), closes #53

1.5.1 (2020-02-13)

Bug Fixes

  • narrower types in the intersect and remove returns to avoid typing issues in clients (d590fe2)

1.5.0 (2020-02-13)

Features

  • add someForced() and allExceptSomeForced() (f344f59)

1.4.0 (2020-02-13)

Features

  • exposing KeySetTypes enum (e1642dc)

1.3.0 (2020-02-13)

Features

1.2.0 (2019-12-03)

Features

  • supports ReadonlyArray as keys type (d878ac8)

1.1.0 (2019-09-09)

Features

  • exporting Key type, which was previously hidden (7a3c511)

1.0.0 (2019-09-07)