diff --git a/CHANGELOG.md b/CHANGELOG.md index c9184ed7..c47cdfce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,28 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [0.2.0](https://github.com/derekstride/tree-sitter-sql/compare/v0.1.1...v0.2.0) (2023-12-15) + + +### ⚠ BREAKING CHANGES + +* The `(ordered_columns)` node in the `create_index` +statement has been replaced with `(index_fields)`, with `(field)` child +nodes which can have `column: (_)`, `expression: (_)` or `function: +(_)` named child nodes. + +### Features + +* Add complex index fields to CREATE INDEX statements ([97806c5](https://github.com/derekstride/tree-sitter-sql/commit/97806c5474f330260a6ae41c7614264a56bfddd1)) +* postgresql expression subscripts ([c54eff2](https://github.com/derekstride/tree-sitter-sql/commit/c54eff259d5ec577593b46f67646188836c48d1e)) + + +### Bug Fixes + +* **ci:** pin node-gyp to v10 ([0aaf90a](https://github.com/derekstride/tree-sitter-sql/commit/0aaf90a094a8c98efab920fb170dc8300c194e39)) +* ensure scanner.c is included in npm package ([ec6bb68](https://github.com/derekstride/tree-sitter-sql/commit/ec6bb68ecb1478211bf6864e161464572c9cf59e)) +* The scannar can now scan tag name with any (expected '$') ASCII char instead of only letters. ([dbe4c04](https://github.com/derekstride/tree-sitter-sql/commit/dbe4c04cd5fd78216ffc992658663ff2bf7d2471)) + ## [0.1.1](https://github.com/derekstride/tree-sitter-sql/compare/v0.1.0...v0.1.1) (2023-11-22) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad493c74..29cf772f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,10 +63,10 @@ number and preparing for a release. Run the following to generate the release: $ npm run release ``` -Verify that all the changes are correct and push the updates to a new branch, including the git tags. +Verify that all the changes are correct and push the updates to a new branch. ``` -git push && git push --tags +git push ``` Once that PR is merged, create a new Release [on Github](https://github.com/DerekStride/tree-sitter-sql/releases). When diff --git a/package.json b/package.json index 0f04a5fc..e795b83c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@derekstride/tree-sitter-sql", - "version": "0.1.1", + "version": "0.2.0", "description": "Tree-sitter Grammar for SQL", "main": "bindings/node", "scripts": { @@ -47,5 +47,10 @@ "keywords": [ "parser", "sql" - ] + ], + "commit-and-tag-version": { + "skip": { + "tag": true + } + } }