v0.6.0
Not recommended
This release brings new functionality that breaks compatibility with v0.5.0
. Please use the v0.6.1 release instead, that includes the same new features but in a backwards-compatible way.
Breaking Changes
#71: The SDK library now applies gRPC interceptors to the gRPC client and server. These connectors allow to keep log fields during the message exchange between lookoutd
and your analyzer.
An example of the logs fields that are kept in the message exchange would be
{
"repository": "github.com/src-d/lookout-sdk",
"github.pr": 17
}
In practice this means that your analyzer will be able to add relevant information to its logs; and lookoutd
will have a context for each call you make. A sort of audit trail for each GetChanges
or GetFiles
call.
You might want to check out the changes made to examples/language-analyzer.go
and examples/language-analyzer.py
in the comparison view.