Releases: marko-js/htmljs-parser
Releases · marko-js/htmljs-parser
v3.2.3
v3.2.2
v3.2.1
v3.2.0
v3.1.0
v3.0.0
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
- remove deprecated apis (1861991)
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