Releases: danvk/webdiff
v1.3.0
What's Changed
This one includes two features I've wanted for years: a webdiff
command that detaches (to give you back your terminal) and JSON normalization. The webdiff process should reliably terminate when you close the diff browser window. If you run into problems with this, please file an issue.
- Use websockets to detect tab close by @danvk in #223
- Normalize JSON for diffs by @danvk in #237
- Detach process by @danvk in #243
Bug fixes and updates:
- Bump certifi from 2024.6.2 to 2024.7.4 by @dependabot in #218
- Bump ws from 8.17.0 to 8.17.1 in /ts by @dependabot in #213
- Bump urllib3 from 2.2.1 to 2.2.2 by @dependabot in #212
- Update TS and fix knip configuration issue by @danvk in #219
- Remove stray $ from diff headers by @danvk in #220
- Remove jQuery dependency by @danvk in #222
- Persist diff options across reload by @danvk in #224
- JSON normalization followup by @danvk in #241
- Bump elliptic from 6.5.5 to 6.6.1 in /ts by @dependabot in #242
- Fix empty file error by @danvk in #248
- Update highlight.js by @danvk in #247
- Version bump by @danvk in #249
New Contributors
- @dependabot made their first contribution in #218
Full Changelog: v1.2.0...v1.3.0
1.2.0
What's Changed
This is a big one! Highlights include more keyboard shortcuts (hit ?
to bring up a panel showing them all), diffhunk selection (hit n
/ p
to step through diffs within a file), a git webshow
command to view a single commit, diffstats, and a UI for setting the max diff width.
New features:
- Add git webshow; fix spacing bug for mixed binary/text diffs by @danvk in #207
- Diffhunk selection and keyboard shortcuts for next/prev by @danvk in #200
- Keyboard shortcuts UI by @danvk in #201
- Show diffstats by @danvk in #204
- Add UI option for max diff width by @danvk in #206
Bug fixes:
- fix: use null-delimited git diff --raw output to avoid Windows escaping issues by @danvk in #189
- clean up resolved directory by @danvk in #202
- fix wide banner bug by @danvk in #205
Internal refactors:
- Inline codediff by @danvk in #185
- Run prettier + enforce on CI by @danvk in #186
- Set up Knip by @danvk in #187
- Migrate codediff to React by @danvk in #190
- Finish modernization megaticket by @danvk in #195
- Set up eslint by @danvk in #197
- Set up typescript-eslint by @danvk in #198
Full Changelog: v1.1.0...v1.2.0
v1.1.1
1.1.0
What's Changed
User-visible changes:
- Show diffhunk headers and fine-grained "show more" buttons by @danvk in #180
- Persist options between files by @danvk in #177
- Move gear control to top right and stick by @danvk in #178
Lots of internal migrations / modernizations:
- chore: drop flask dependency by @danvk in #166
- Ruff-en by @danvk in #167
- Migrate to poetry by @danvk in #168
- Simplify kill logic by @danvk in #169
- PyGithub update by @danvk in #171
- fix spelling on pdiffbbox handler by @danvk in #172
- examples of diffs that look different with different algorithms by @danvk in #174
- add shutdown logging, publish checklist by @danvk in #184
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Highlights
- Use git diff for diffs by @danvk in #150
webdiff no longer generates its own diffs. Rather, it relies ongit diff
to generate them. It is, in effect, just a frontend forgit diff --no-index
. This provides support for detecting rename+change, and all of the othergit diff
options, e.g.-w
for ignoring whitespace and--algorithm
. - Use
git config
for configuration. See #150. - Add host option by @danvk in #160 — serve webdiff under any host name you like, e.g.
0.0.0.0
. - Updates to dependencies
Other changes
- Format code with prettier and black by @danvk in #136
- Update PyGithub and other dependencies by @danvk in #147
- Setup CircleCI by @danvk in #149
- Run yarn upgrade by @danvk in #157
- Add and update Badges by @danvk in #159
- Update screenshots by @danvk in #161
- fix bugs with fetching GitHub PRs by @danvk in #162
- Use absolute image URLs by @danvk in #163
Full Changelog: v0.15.0...v1.0.1