Skip to content

Releases: marko-js/htmljs-parser

v3.2.2

05 Apr 04:01
a3122dd
Compare
Choose a tag to compare
v3.2.2 Pre-release
Pre-release

3.2.2 (2022-04-05)

Bug Fixes

  • positions wrong with multiple quasis in tag name (a3122dd)

v3.2.1

04 Apr 21:48
88c77cc
Compare
Choose a tag to compare
v3.2.1 Pre-release
Pre-release

3.2.1 (2022-04-04)

Bug Fixes

  • temporarily remove multi line expression handling to avoid regression (60511a7)

v3.2.0

04 Apr 20:08
01595dc
Compare
Choose a tag to compare
v3.2.0 Pre-release
Pre-release

3.2.0 (2022-04-04)

Features

  • merge body type and tag tag, allow override tag types (01595dc)

v3.1.0

28 Mar 15:57
5c286df
Compare
Choose a tag to compare
v3.1.0 Pre-release
Pre-release

3.1.0 (2022-03-28)

Bug Fixes

  • issue with continuing expressions from eol for windows (5c286df)

Features

  • support expression continuations after newlines (03e4c96)

v3.0.0

21 Mar 20:33
3e72fd4
Compare
Choose a tag to compare

3.0.0 (2022-03-21)

Bug Fixes

  • add html comment to parsed text tags (4e1a649)
  • address some todos (4f42a07)
  • clear cached lines on reset (c1b8bcf)
  • closing tag positions (11b0fa8)
  • comment value for legacy mode and multi line tag name (3728e3e)
  • expression parsing improvements (e38b29e)
  • improve tag name and tag variable terminators (5433c3a)
  • indent with tabs tracking (25c9c98)
  • issue with division expressions (16fd65a)
  • issue with not starting text after < in parsed text mode (f5ffc83)
  • issue with spreads, closing tags & default attrs (89bbe69)
  • issue with types being output in wrong dir (c934872)
  • many text related issues (d099009)
  • more expression parsing improvements (102346d)
  • parser endPos position (ace5e36)
  • tag name source positions (eae21f2)
  • tagname parts & unexpected EOF error (ec81894)
  • update public api (477e030)
  • windows newline issues (93901db)

chore

Features

  • add next as prerelease branch (6ad6bb9)
  • add read helper (d9c221a)
  • add shorthand method attributes (#86) (a5024c6)
  • add statement tags (f1e073b)
  • better expression function parsing and other improvements (188b88a)
  • bound attributes (0625668)
  • error on empty placeholders (6db2af0)
  • expose attribute name and value positions (6188917)
  • expose legacy parser API for testing with Marko 5 (879d5a8)
  • expose position for text content (6950bdc)
  • expose tagName positions (6f6e91d)
  • much refactoring and fixes (1490988)
  • reduce greediness of readable binary operators (f240b7e)
  • remove ability to override parse options (149495c)
  • remove additional chars added to output (eaf6327)
  • remove literalValue from attributes (a95b9f2)
  • remove static text parse mode (d0a5e5d)
  • remove substring helper (ed3fcd7)
  • throw errors when using statement tags if not at concise root (631da3a)
  • top level api to iterable (08e9d6a)
  • unencosed content no longer requires commas w/ multiple attrs (#87) (fd04465)
  • update notifyError to accept a pos object (43d0b24)

Performance Improvements

  • expression state micro optimizations (a4cc2db)
  • optimize expression state to use charcodes (8e7c643)
  • optimize forward code (fc1cef5)
  • optimize helper for skipping whitespace before a match (2a98010)
  • optimize lookAheadFor helper (0f1da8c)
  • optimize onlyWhyspaceRemainsOnLine helper (c74da83)

BREAKING CHANGES

  • New top level api
  • legacy apis now removed