All notable changes to this project will be documented in this file.
- Strip unneeded comments from the CHANGELOG.md (0c07a20)
All headers are prefixed with a
<!-- [number] -->
HTML comment to enforce certain ordering of change categories. But these are not needed for anything but initial sorting and can be stripped.
- Bump actions/setup-node to v4 (83fed52)
0.1.9 - 2023-10-10
- Remove non-existing extra schema fields (d9e67b7)
These extra fields that
cargo-llvm-cov
adds were originally considered but never actually made it in the schema. Thus, they cause the schema parsing to fail.
0.1.8 - 2023-10-06
- Allow to control the report's output directory (458ede9)
A new CLI flag that allows to save the report to a user-defined directory instead of the default
target/llvm-cov-pretty
location.Caution should be taken as there is no additional logic for non-empty directories. The target directory will be fully wiped in the process of generating the report, without prior confirmation.
- Enable auto-wrapping of CLI help messages (86cd5c7)
By enabling clap's
wrap_help
feature, the help output is now nicely aligned to the terminal wraps, which makes it easier to read in case of longer help messages.
- Set link for first uncovered line (481434a)
A link tag existed that should move to the first uncovered line in source view, but it never contained a proper working URL.
Also, the link won't be generated anymore if there aren't any uncovered lines in the file.
- Correct the repo URL of links in CHANGELOG.md (178b848)
In the previous improvement of the changelog format, the wrong repository URL slipped in the settings as the file was copied over from another project. This resulted in all link to point to the wrong location.
0.1.7 - 2023-09-25
- Mark partially-covered lines in yellow (e3eafbd)
So far lines that are covered but have missing function calls (instantiations) were marked with red. To better indicate that they're basically called but have a few missing instantiations a new yellow color is introduced for those.
- Sort and deduplicate annotation messages (fbcaf0e)
The opt-in annotations for missing function calls and instantiations are now sorted alphabetically and deduplicated to reduce the amount of vertical space occupied.
- Add a new flag to disable usage of function coverage (5dd1824)
A new flag that allows to opt-out of utilizing the function coverage information in the source view. That means only basic file coverage will be used if this flag is used.
Overview pages will still show the function coverage percentages accordingly, regardless of the flag.
- Improve changelog format (2662278)
Extend the changelog generator to create prettier changelogs, similar to how the changelog in the
git-cliff
tool itself looks.
0.1.6 - 2023-08-23
- Unpin serde again (2ee8806)
The issue with pre-compiled binaries in
serde
has been resolved. Therefore, the pin can be removed, but a minimum version of1.0.185
is required.
0.1.5 - 2023-08-19
- Avoid pre-compiled binaries from serde (6ea517d)
Pin
serde
to1.0.171
to avoid pre-compiled binaries that are used after for derive macros.
0.1.4 - 2023-08-10
- Report the JSON path of in case of a parsing error (b0a3497)
If deserialization of the coverage data failed, and the cause is an invalid or unexpected structure, the JSON path to the location of the error is reported.
- Use new cargo-llvm-cov context data (a03b5cf)
With a recent release of
cargo-llvm-cov
, additional data is injected into the coverage JSON report. This allows for easier version checks and location of the project's manifest file.
- Don't double-print the JSON path (9f84893)
- Add unit tests for highlighter, minifier and schema parsing (6f0d782)
0.1.3 - 2023-06-23
- Add option to automatically open the report and print the location otherwise (88fb877)
- Use the relative path in the source page to be in sync with the index (67c9816)
- Cover the full line range of instantiation data (9303b6b)
At first, it looked like the instantiation coverage always defines a single line, but as it turns out there are cases where it stretches over more than one line.
This data must be included to properly display the overrides for uncovered instantiations.
0.1.2 - 2023-06-22
- Improve error messages, especially external tool checks (3788323)
- Allow manually defining the project's manifest path (5d972b8)
- Make annotations for missing instantiations opt-in (d798f5a)
- Ensure files lists are always sorted alphabetically (2b898f8)
- Add option to only highlight the gutter for coverage info (97b359c)
- Ensure partially covered lines are always marked as uncovered (f4b3f0f)
- Note about first setup and stability (9bcc4f3)
- Show light/dark theme support in help messages (5fa713f)
- Adjust schema structure to only accept a single file name (1443ab1)
- Improve CLI argument configuration (e7ca3cb)
0.1.1 - 2023-06-22
- Process coverage data and files in parallel (d253d0f)
- Add version check for cargo-llvm-cov (624ab1c)
- Don't show a 0 count if coverage is unknown (6cd93f8)
- Reduce gaps in colored coverage areas (1094cfa)
- Handle the case where report paths are relative (94ae77a)
- Use askama's escape function during highlighting (e599493)
- Simplify function name demangling (52ff0ea)
- Improve logic to locate the project root (593d315)
- Configure GitHub issue templates (5eaa073)
- Don't render all issue template fields as Markdown (93de0d1)
0.1.0 - 2023-06-18
- Initial commit (d8b1afe)