v0.1.7
What's Changed
Bug Fixes
- Fix trailing newline loss in
write_description_with_link_ref— GitHub strips trailing newlines from PR descriptions, causing diff thrashing on subsequent pulls - Fix spurious
\ No newline at end of fileinrender_unified_diff— indicator now only appears when the two sides actually differ in trailing newline status
Improvements
ghpr diffandghpr push -nnow warn when showing diffs for comments authored by others (which won't be pushed without-C)ghpr pushsummary distinguishes "unchanged" comments from ownership-skipped ones, with a clear⚠hint aboutghprp -C
Testing & Docs
- Fix pytest collection (
pythonpath = ["src"]) so all test modules resolve correctly - Add tests for trailing newline handling and diff newline indicator
- Update CLAUDE.md and README.md with recent changes
Full Changelog: v0.1.6...v0.1.7