diff --git a/Cargo.toml b/Cargo.toml index b6c7432..b2c2000 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tree-sitter-openscad" description = "openscad grammar for the tree-sitter parsing library" -version = "0.4.2" +version = "0.5.0" keywords = ["incremental", "parsing", "openscad"] categories = ["parsing", "text-editors"] authors = ["Ian Boll "] diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 0000000..f998e52 --- /dev/null +++ b/NEWS.md @@ -0,0 +1,12 @@ +## Version 0.5.0 + +Features / Behavior Changes: +- different float and decimal (integer) nodes, now under supertype number +- expressions now have a public supertype node, called expression +- literals now have a public supertype node, called literal +- special variables (e.g. $preview) now use an inner identifier node to store their name +- function parameters now have their own node type to support certain syntax + highlighting patterns + +Bugfixes: +- stopped accepting backslash line continuations diff --git a/package.json b/package.json index 77b7f62..737183d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tree-sitter-openscad", - "version": "0.4.2", + "version": "0.5.0", "description": "OpenSCAD grammar for tree-sitter", "main": "bindings/node", "keywords": [