Skip to content

Latest commit

 

History

History
175 lines (121 loc) · 5.56 KB

CHANGELOG.md

File metadata and controls

175 lines (121 loc) · 5.56 KB

ChangeLog

Unreleased

v0.5.1

CLI:

  • Cleaned up the formatting for the test command. (#281)

Rust SCIP bindings:

  • Bumped the pinned version of the protobuf crate to the latest release v3.7.1. (#287)

v0.5.0

CLI:

  • Added a test command for targeted testing of specific occurrences. See the CLI and test file syntax reference for details. (#236)
  • Breaking changes:
    • Removed the convert subcommand for SCIP to LSIF conversion. (#275)

Schema:

  • Added two new SymbolKind variants: Extension and Mixin. (#277)

Go SCIP bindings:

  • Added clearer documentation around document canonicalization. (#273)
  • Breaking changes:
    • Removed SCIP to LSIF conversion functionality. (#275)

v0.4.0

SCIP schema:

  • Added documentation that ranges must be half-open intervals.

Go SCIP bindings:

  • Breaking changes:
    • The NewRange function does well-formedness checks and returns (Range, error) instead of *Range. When skipping checks, NewRangeUnchecked can be used instead.
    • The SortRanges function takes a []Range instead of a []*Range to avoid extra heap allocations.
  • Features:
    • Added new methods for Range and Position types.

v0.3.3

SCIP schema:

  • Added new PositionEncoding field to specify how consumers should interpret the character offsets. (#224, #225)

scip CLI:

  • scip snapshot output includes the diagnostics field.

v0.3.2

SCIP schema:

  • Added new SymbolRole: ForwardDefinition (#217)

scip CLI:

  • scip print supports turning off colorful output using --color=false or by setting the environment variable NO_COLOR=1. (#214)

v0.3.1

SCIP schema:

  • Added new Kind enum constants to represent more detailed information about different pieces of syntax in different languages. (#195, #208, #209)
  • Added new Language enum constants. (#195, #207)
  • Minor documentation improvements. (#194, #206)

scip CLI:

  • Added a new --project-root flag to scip stats. (#187)

Go bindings:

  • Added missing validation for local symbols when parsing a symbol string. (#206)
  • Fixed a bug related to escaping in symbol formatting. (#186) (#206)
  • Fixed a bug in occurrence canonicalization. (#180)
  • Fixed some bugs in the new streaming parsing APIs. (#176, #177)

Rust bindings:

  • Added missing validation for local symbols when parsing a symbol string. (#206)

v0.3.0

SCIP schema:

scip CLI:

  • The print subcommand supports a new --json flag to emit JSON output instead of colored textual output. (#147)
  • The snapshot subcommand supports a new --comment-syntax flag to customize the prefix used for inline comments in snapshot output. (#139)
  • snapshot output now include override_documentation for occurrences. (#116)

Go bindings:

  • Added new APIs to parse SCIP indexes in a streaming fashion at Document granularity. This allows consumers to process SCIP indexes with better control over memory usage. (#172)
  • Fixed a panic when descriptors are incomplete (#171)

Rust bindings:

  • Fixes a bug when emitting symbols which require escaping (#169)
  • Fixes a bug in handling for macro symbols (#145)

v0.2.3

Fixes

  • Fixed a bug in SCIP to LSIF conversion of indexes using the new Relationship.is_definition field. Without this fix, the generated LSIF index would fail to process in Sourcegraph with a "unknown reference to $ID (expected a range)" error. (#108)

v0.2.2

Additions

  • The new scip print subcommand can be used to view a SCIP index without access to protoc. (#91)
  • The new scip lint subcommand can be used to identify correctness and redundancy issues with a SCIP index. (#92)

Fixes

  • scip --version now works as expected instead of reporting 0.1.0. (#97)