Skip to content

Releases: witchcraftjs/expressit

v0.2.2

16 Dec 01:20
Compare
Choose a tag to compare

0.2.2 (2024-12-16)

v0.2.1

13 Nov 19:04
Compare
Choose a tag to compare

0.2.1 (2024-11-13)

v0.2.0

09 Jun 20:05
Compare
Choose a tag to compare

0.2.0 (2024-06-09)

⭐ New Features

  • simplified auto-quoting/escape in autocomplete (252726e)
  • Note that values that have had their quotes escaped but have no spaces are no longer quoted.

🐛 Fixes

⚠️ BREAKING CHANGES

  • converted classes to plain object (baaab41)
  • The nodes are no longer classes but simple objects. Readonly has been removed
    from all the properties of their interfaces and the parser result is not longer
    "sealed". They should still not be mutated, but if you really want to you can.

  • Nodes no longer have a parent property to avoid circular references. Instead
    you can generate a parents map from a parser result to use getParent on if needed.

  • To check a node or token is of a certain type, they now all have a type property.

  • To check if an object is a node or a token,
    you can use the new isNode and isToken utility functions.

  • The non-node normalized Condition and Expression classes
    are now the NormalizedCondition and NormalizedExpression interfaces.
    Their object will return false if passed to isNode/Token, but they
    have an AST_TYPE to be able to tell them apart.

  • All node creation functions have been moved to /ast/*, /ast/classes has been removed.

  • Several internal helpers have been moved, there is now an internals export
    (just in case), it's not really meant to be used.

v0.1.3

30 May 22:02
Compare
Choose a tag to compare

0.1.3 (2024-05-30)

🐛 Fixes

  • fixed demo dependency version (bc20a3d)

v0.1.2

30 May 00:18
Compare
Choose a tag to compare

0.1.2 (2024-05-30)

🐛 Fixes

  • added sideEffects: false (de924e7)

v0.1.1

29 May 01:03
Compare
Choose a tag to compare

0.1.1 (2024-05-29)

📖 Documentation

  • updated typedoc to latest beta version with built-in pages support (95e704d)

v0.1.0

27 May 23:18
Compare
Choose a tag to compare

0.1.0 (2024-05-27)

🐛 Fixes

  • added package.json module field (4075f01)

  • temporary workaround for eslint issue (0fbacba)

⚠️ BREAKING CHANGES

  • dropped chevrotain for custom parser (3346d73)

Rewrote parser from scratch. It has no dependencies now if you do not count my utility library.

It's also much much faster (~50x). Most queries now only take a couple of milliseconds where before they took 50+.

The majority of the external API should be the same, but some chevrotain only stuff is no longer exposed.

It also drops support for generating chevrotain's railroad diagrams.

📖 Documentation

v0.0.3

19 May 20:37
Compare
Choose a tag to compare

0.0.3 (2024-05-19)

⭐ New Features

  • added ability to replace context in the example shortcutContextParser (634de6f)

🐛 Fixes

  • fixed valueComparer option in example shortcutContextParser (bce6f09)
  • fixed a few export issues, added more import paths (77f240d)

📖 Documentation

  • switched to new badge api [skip ci] (5b698e8)

v0.0.2

17 Oct 00:42
Compare
Choose a tag to compare

0.0.2 (2023-10-17)

v0.0.1

08 Oct 23:22
Compare
Choose a tag to compare

0.0.1 (2023-10-08)

🐛 Fixes

📖 Documentation

  • fixed demo not getting copied to gh-pages (89aa6dd)
  • added release badge (d38e8af)