Skip to content

v0.12.0-rc.5

Pre-release
Pre-release

Choose a tag to compare

@AsiaOstrich AsiaOstrich released this 18 Sep 03:56

Release candidate for 0.12.0 on npm next. latest stays 0.11.0 until the Windows verification passes.

Added in rc.5

  • C, Swift and Bash (rc.5) (XSPEC-414 R2–R4). Functions, structs/unions/enums, and #include-derived module relationships for C; functions, classes/structs/enums/protocols and extensions (attributed to the type they extend, including across files) for Swift; function definitions, calls and source/.-derived module relationships for Bash, with external commands (grep, echo, ...) never entering the graph. egr doctor now lists all three. .h routes to C++ when the same indexing run has a C++ source file alongside it, and to C otherwise (previously always C++).
  • egr index follows an extension-less shebang script (rc.5) (#!/bin/bash, #!/usr/bin/env sh, XSPEC-414 R4) and indexes it as Bash, instead of counting it as an unsupported file.
  • A new IMPORTS (Module → Module) relationship (rc.5), resolved from C's #include and Bash's source/. against the files in the same indexing run; egr index's summary and --json output report the count.

Known limitations: bin/ is in the fixed skip list, so shebang scripts placed there are not indexed; Bash calls made at a script's top level (outside any function) are not attributed; Swift initializers all share the name init. Coverage measurements: docs/CROSS-FILE-COVERAGE.md.

Everything since 0.11.0 (including rc.4's offline algorithm extension): CHANGELOG.md