v1.8.0
Minor Changes
- #35
72a4d3bThanks @pedrobpereira! - Newpull-requests(prs) command: lists pull requests for a repository, with the same analysis-gated columns asrepository's "Open Pull Requests" table.-q, --searchand-B, --basefilter by free text (title/author handle) and target branch, mapping to the API'stextQuery/targetBranchparams;-S, --statefilters by open (default) or closed.
Patch Changes
-
#35
72a4d3bThanks @pedrobpereira! - Fixfindings's pagination warning silently not firing when the API response omitspagination.total: the guard now also checks for a remainingcursor, so a trailing page of results is no longer hidden from the--limithint. -
#35
72a4d3bThanks @pedrobpereira! -formatStandards()(used byrepository's Open Pull Requests table,pull-request's Up to Standards row, andpull-requests' ✓ column) now shows a dim⋯while a pull request is still being analysed, instead of falling through to a hard ✗ on gate data that isn't final yet. -
#35
72a4d3bThanks @pedrobpereira! - Fix PR complexity showing as no data, and polish thepull-requeststable. Complexity is now read from the API's nestedqualityobject, which is where the pull-request endpoints actually return it —pull-requests,pull-requestandrepositoryall previously rendered it as empty. Thepull-requeststable now leads with the up-to-standards column, orders metrics the same wayrepositoriesdoes (issues, complexity, duplication, coverage), hides the Coverage column when no listed PR has coverage data, shows-instead ofN/Afor metrics with no value, and no longer signs a zero issue count (0instead of-0).--output jsonnow includes the quality and coverageresultReasons, so consumers can see which gates passed or failed.