Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Releases: bblfsh/sdk

v3.0.0

15 Apr 10:47
Compare
Choose a tag to compare

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

08 Apr 17:21
Compare
Choose a tag to compare
  • Support UTF-16 code unit offsets in the native AST.

v2.16.3

29 Mar 21:55
Compare
Choose a tag to compare
  • Set a correct default max message size for all gRPC clients and servers.

v2.16.2

28 Mar 13:15
Compare
Choose a tag to compare
  • Fix native driver restart issue related to the driver breaking the wire protocol.

v2.16.1

26 Mar 15:56
Compare
Choose a tag to compare
  • Added uast.ContentOf helper.

v2.16.0

22 Mar 16:42
Compare
Choose a tag to compare
  • Properly restart native driver in case it crashes.
  • Use Go scripts instead of bblfsh-sdk to test the driver.
  • Allow running UAST transformation tests on the host.

v2.15.0

15 Mar 21:02
Compare
Choose a tag to compare

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

13 Mar 14:23
@bzz bzz
96b20b2
Compare
Choose a tag to compare

Fix driver version number from Tag propagation for golang binaries build inside Docker #374

v2.14.2

21 Feb 18:57
5a1a268
Compare
Choose a tag to compare
  • 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.

v2.14.1

14 Feb 15:24
Compare
Choose a tag to compare
  • Update versions of SDK and bblfshd in the driver skeleton