Skip to content

Releases: ravsii/tree-sitter-d2

v0.5.1

16 Feb 14:05
v0.5.1
d164955
Compare
Choose a tag to compare

NOTE: Download tree-sitter-d2.tar.gz for the complete source code.

v0.5.0

16 Feb 13:56
934d943
Compare
Choose a tag to compare

0.5.0 (2025-02-16)

Features

  • hl: highlights for custom null & position labels (bb47154)
  • improve parsing import statement in string (7722157)
  • parsing: custom start & end tokes (d98f70f)

Bug Fixes

  • imports: simplify logic, add extra tests (df4877e)

v0.4.1

02 Feb 10:09
v0.4.1
e259762
Compare
Choose a tag to compare

NOTE: Download tree-sitter-d2.tar.gz for the complete source code.

v0.4.0

27 Jan 20:34
ef7f96a
Compare
Choose a tag to compare

0.4.0 (2025-01-27)

Features

  • add folds (3f9bb70)
  • add visibility marks (630069f)
  • add visibility marks (#72) (5442481)
  • better eol (106897a)
  • better spaced_str rule (368f43c)
  • empty codeblock as markdown, underscore fixes (772b81d)
  • hl: underscore and filters (db11ec6)
  • label: better label parsing & emoji support (fc64574)
  • unified escape, better connection references (74f34fe)

Bug Fixes

  • reduce amounts of PRECs (6d483a6)
  • strings: escape token duplicate (7fb6870)

v0.3.0

20 Jan 17:32
fc4b5a9
Compare
Choose a tag to compare

0.3.0 (2025-01-20)

Features

  • comments: add @spell (71f799b)
  • globs: initial support for base cases (ea4cbfe)
  • grammar: add block comments (fb0be61)
  • hightlight: add delimiters (0c6ff41)
  • hl: add "()" brackets to punctuation, add connection reference hl (baf9b5e)
  • hl: add glob support (234fd09)
  • hl: add more brackets (78c07e1)
  • hl: more keywords (af39dbe)
  • hl: move identifiers to functions, make test file compact (fd3ef46)
  • hl: variable highlighting (668c3c8)
  • quoted strings (3bc0775)
  • split identifier into single and chained (8967ee1)
  • split int/float, proper boolean hl (9fced8d)
  • variables: add variable parsing (bea6440)

Bug Fixes

  • globs: add glob escape (bc9dfc6)
  • identifiers: dot escape (f120a7f)
  • quoted strings and block comment (796f01a)
  • remove unused rules & testing identifier (4873a54)
  • split declarations (23d6494), closes #28
  • tests for new grammar (7cf678e)

v0.2.0

10 Jan 05:18
Compare
Choose a tag to compare

0.2.0 (2025-01-09)

Features

  • highlight: add injections (4c0e80e)
  • hightlight: add support for special md injections and some keywords (82fb5c1)
  • imports: add imports parsing (14b85d2)
  • labels: better predefined value parsing (ints, bools) (a67c6c8)
  • uml classes (a7e3c3b)

Bug Fixes

  • field: remove duplicative field labels (dd1771a)
  • no args / no returns bugs (75e330a)
  • parsing: remove unused fields (892fa7f)
  • typo: refference -> reference (373530d)

v0.1.0

01 Jan 18:26
Compare
Choose a tag to compare

0.1.0 (2025-01-01)

Features

Bug Fixes

Miscellaneous Chores