walkdiff 0.5.0 → 0.6.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 +6 -0
- package/README.md +2 -2
- package/app-ui/assets/{index-C67lFF6-.js → index-C9vapwd-.js} +2 -2
- package/app-ui/index.html +1 -1
- package/package.json +1 -1
- package/report-ui/assets/{index-Dz8FNp8V.css → index-BjF-nSXK.css} +1 -1
- package/report-ui/assets/index-D1vvUwVU.js +81 -0
- package/report-ui/index.html +2 -2
- package/walkdiff.mjs +230 -48
- package/report-ui/assets/index-GjC9TYrP.js +0 -81
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.6.0
|
|
6
|
+
|
|
7
|
+
- **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.
|
|
8
|
+
- **Moved and edited code is recognised:** a function moved to another file or class and edited on the way now shows as "Moved from … and edited", with its old and new code side by side, instead of as removed in one place and added in another. Its callers are traced, and it counts as a change to review.
|
|
9
|
+
|
|
5
10
|
## 0.5.0
|
|
6
11
|
|
|
7
12
|
- **Install from npm:** `npx walkdiff app`, or `npm install --global walkdiff`, instead of cloning the repository. Releases are published from GitHub Actions with provenance.
|
|
8
13
|
- **The Action and GitLab template use the npm package,** pinned to their release, so they no longer clone and build Walkdiff on every run. The Action takes a `package` input to choose another version.
|
|
9
14
|
- **`walkdiff setup`,** and scanners install on first use: they now live in your cache folder, `~/.cache/walkdiff/scanners`, rather than inside the code, and don't depend on npm install scripts. `--offline` skips installing them.
|
|
15
|
+
|
|
10
16
|
## 0.4.0
|
|
11
17
|
|
|
12
18
|
- **Fairer "Large change":** requirements files locked with hashes now count as lockfiles, so generated lines no longer inflate the size.
|
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.
|
|
8
|
+
Status: early release, [v0.6.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.
|
|
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.
|
|
102
102
|
|
|
103
103
|
## AI review
|
|
104
104
|
|