v0.16.0
This version introduces an incompatible change processing UASTs. Now the format of UAST returned by the UDF uast
is semantic
. Previously the format was annotated
A new UDF uast_mode
was added to get UASTs in a specific format (semantic
, annotated
or native
). Example:
uast_mode('annotated', blob_content, language(tree_entry_name, blob_content)), '//*[@roleIdentifier]')
New Features
- Upgrade bblfsh client and add
uast_mode
function #439 - Pilosa index driver as library (pilosalib)
- sql: add support for show indexes
- vendor: upgrade bblfsh client-go
- Dockerfile: update to use --directories flag
- cmd/gitbase: load siva files and git indistinctly
- *: rename ref_commits index to history_index
- gitbase: add a more descriptive error connecting to bblfsh
- internal/rule,gitbase: use refs indexes in squash tables
- internal/rule: display indexed tables in squash
- gitbase: do not warn on not found HEAD
- Now, DESCRIBE statement return used indexed ids on queries
Performance improvements
- Optimize struct layout #437
- Add regression testing queries #431
- Do not register pilosa driver if no connection.
- *: add siva files to the repository pool with an ID
- Update to new go-git version (~ 40%-60% speed performance, 60% less memory)
- sql/plan: more efficient implementation of GroupBy
Bugfixing
- Solved a problem parsing USING in CREATE INDEX
- gitbase: do not skip repo when it has no head in squash
- internal/function: recover from panics in uast functions
- Fix "NOT expressions with non existing value"
- fix panic when bmp is nil
- Fix merging indexes when row is nil.
- Add regression queries