Skip to content

v0.4.1

Choose a tag to compare

@mr-karan mr-karan released this 25 Mar 08:49
· 71 commits to main since this release

Bug Fixes

  • Fix glab --paginate JSON parsing: Replaced naive regex (][,) with a JSON-aware parser that tracks bracket depth and string state. The regex could corrupt note bodies containing ][ and broke on empty pages.

Tests

  • 17 new tests for parseGlabPaginatedJson (single/multi page, empty pages, string values containing ][, escaped quotes, nested arrays)
  • Tests for summarizeGitlabNotes (system note filtering, trivial comments, maxEntries)
  • Fixed pre-existing metrics test assertion for corrected totalInput = fresh + cached display