Releases: bblfsh/sdk
v3.0.0
Go modules
This is the first release that uses Go modules for both SDK and the driver.
Imports for SDK were also changed from gopkg.in
to the Github.
Breaking changes
Apart from import path changes, this release also deprecates some old symbols.
Most notably, the Code
transformation stage is now removed. Drivers should switch to PreprocessCode
stage if they haven't done it already.
Other changes
Also, the uast/yaml
package was renamed to uastyaml
and the import now matches the package name. The old package will still work but will be deprecated in future releases.
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.16.0
v2.15.0
Highlights
- Multiple optimizations, bringing a 50-60% increase in UAST transformation performance.
- Allow running driver UAST transform benchmarks on the host by using fixtures instead of starting the driver.
- Do not force
Unannotated
role on Native fixtures. - Fix edge case when parsing comment text for Semantic mode.
Running UAST transform benchmarks
UAST transform benchmarks can now be run without compiling the driver:
go test -run=NONE -bench=. ./driver/...
Changes to fixtures
Note that this release requires driver fixtures to be updated.
First, the test command will drop all the @role: [Unannotated]
fields from Native fixtures, which were generated previously. The output will now exactly match the output from the native driver.
Second, whitespace-only comment text is now considered a comment prefix, instead of a comment text to make it in-line with other similar cases. This may require an update to Semantic fixtures for files containing such comments.
v1.17.0
v2.14.2
- Make
bblfsh-sdk
to run on non-Linux OS. - Set driver test timeout to 5 min.
- Relax type restriction for helpers:
uast.PositionsOf
,uast.RolesOf
,uast.TokenOf
. - Add helper to count immediate node children.
- Add a new
Drop
operation to object fields in DSL. - Improve documentation.