walkdiff 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.7.0
6
+
7
+ - **Progress while a review is analyzed:** the app shows a bar with the step under way, such as "Step 6 of 9: Scanning for security problems", instead of only "Analyzing…". The command line prints each step as it starts, so CI logs show where a slow run is.
8
+ - **Conversation threads show their code:** each thread shows the lines around the one it's on, with that line marked, and "Show line 12 in Changes" opens the file scrolled to it. Threads collapse to one line (where, who, and how it starts) so a long discussion is easy to scan; beside the code on the review path they start open.
9
+ - **Comment counts:** files with open comments on the PR show 💬 and how many in the file list, and so does each stop on the review path. The count drops as threads are resolved.
10
+ - **Comments on removed lines are placed correctly:** GitHub's left-side comments counted their line in the new version of the file, and GitLab's had no line at all. Both now keep the side they're on.
11
+
12
+ ## 0.6.1
13
+
14
+ - **Posting a review to GitLab no longer reports a false failure:** the app said "Something went wrong" after the comments were posted, and posting again duplicated them. GitLab answers with an empty reply, which Walkdiff now accepts.
15
+ - **Untested code stays on the review path:** a change where coverage shows half or more of its lines didn't run, or whose file no test loaded, is now enough on its own to be a stop. Before, a new function no test called, with no callers yet, could be left off the path. Coverage tools mark a function's first line as run whenever its file loads, so such a function shows one line run, not none.
16
+ - **Coverage from GitLab test jobs:** the app now finds coverage in any GitLab job that declares `artifacts:reports:coverage_report`, such as a job named `test`, not only in jobs with "cov" in their name.
17
+ - **New files tests never loaded:** when a coverage report covers other files in the same language but leaves out a changed file, the review path says no test may have loaded it, instead of saying nothing. Tools such as c8 and Jest only list files the tests load.
18
+ - **The finish screen's heading** no longer overlaps the line below it.
19
+ - **GitLab setup advice:** the pilot guide and template explain that gitlab.com Free has no project access tokens, that the token variable must be unprotected, and how to hand coverage to the Walkdiff job.
20
+
5
21
  ## 0.6.0
6
22
 
7
23
  - **Comment on exact lines:** click a line number in the code to comment on that line, or shift-click to pick several. It works on changed and unchanged lines, before or after the change. Comments post to those lines on GitHub, and on GitLab to the last line of a range, naming the rest. Lines outside the diff can't take a comment, as hosts don't accept them there.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  A review companion for GitHub pull requests and GitLab merge requests. `walkdiff review <url>` fetches the
6
6
  change, analyzes it, and serves a local report. (Working name; the project name is still an open decision.)
7
7
 
8
- Status: early release, [v0.6.0](CHANGELOG.md). To run it on your team's PRs, see the [pilot guide](docs/pilot.md).
8
+ Status: early release, [v0.7.0](CHANGELOG.md). To run it on your team's PRs, see the [pilot guide](docs/pilot.md).
9
9
 
10
10
  **Documentation:** [getting started](docs/getting-started.md), [configuration](docs/configuration.md), [troubleshooting](docs/troubleshooting.md), [security policy](SECURITY.md).
11
11
 
@@ -98,7 +98,7 @@ Tokens and code stay on your machine, apart from the host itself, package names
98
98
 
99
99
  ## In CI
100
100
 
101
- The GitHub Action (`navasvarela/walkdiff@v0.6.0`) and the GitLab template (`ci/gitlab-ci.yml`) generate the report for each PR, keep it as a job artifact, and post one summary comment that is updated on each push. The [pilot guide](docs/pilot.md) has the setup. Locally, `walkdiff review` also works without a URL inside a CI job, and `walkdiff comment --report <dir> --report-url <url>` posts the summary.
101
+ The GitHub Action (`navasvarela/walkdiff@v0.7.0`) and the GitLab template (`ci/gitlab-ci.yml`) generate the report for each PR, keep it as a job artifact, and post one summary comment that is updated on each push. The [pilot guide](docs/pilot.md) has the setup. Locally, `walkdiff review` also works without a URL inside a CI job, and `walkdiff comment --report <dir> --report-url <url>` posts the summary.
102
102
 
103
103
  ## AI review
104
104