Skip to content

Releases: fprochazka/glab-discussion

v0.3.0

28 May 12:43
0e57609

Choose a tag to compare

What's changed

  • Multi-line diff note ranges: read now renders the full line range for diff notes that span multiple lines (Lines: <start> to <end>) instead of collapsing to a single end-line. Parses position.line_range from the GitLab API.
  • Comment anchor URLs in write output: creating a discussion or reply now prints the anchor URL to the new note.

Full changelog: v0.2.1...v0.3.0

v0.2.1

21 Apr 09:15
57eb629

Choose a tag to compare

Highlights

  • Extend the PreToolUse hook to also block glab mr note (creates a top-level MR comment via glab), redirecting agents to glab-discussion write so the comment becomes a tracked discussion thread with an ID.

Plugin upgrade

claude plugin marketplace update fprochazka-glab-discussion
claude plugin update glab-discussion@fprochazka-glab-discussion

v0.2.0

21 Apr 09:00
c75998c

Choose a tag to compare

Highlights

  • New PreToolUse hook in the Claude Code plugin that blocks direct GitLab API access to MR discussions and notes, redirecting agents to the glab-discussion CLI. Matches both glab api .../merge_requests/*/discussions|notes (read and write) and glab mr view --comments, so thread IDs, resolve state, and inline diff positions stay in scope rather than getting lost in raw API JSON.

Plugin upgrade

claude plugin marketplace update fprochazka-glab-discussion
claude plugin update glab-discussion@fprochazka-glab-discussion

v0.1.6

31 Mar 20:57
e6d6543

Choose a tag to compare

Fix JSON parsing for paginated glab API responses.

glab api --paginate concatenates one JSON array per page (e.g. [...][...]), which broke json.loads. Now uses JSONDecoder.raw_decode to parse each array sequentially and merge them into a single list.

v0.1.5

31 Mar 09:05
48086a0

Choose a tag to compare

  • Add delete command for removing individual notes
  • Add edit command for updating note body text (supports stdin via --body -)
  • Improve skill docs to emphasize MR auto-detection as default
  • Improve README with Why section and better usage docs

v0.1.4

30 Mar 17:03
908cea2

Choose a tag to compare

  • Improve dump summary: show thread count on first sync, unchanged count on incremental updates
  • First run: "synced 41 discussion threads"
  • Incremental: "updated: ..." + "(39 discussions up to date)"
  • No changes: "(41 discussions up to date)"

v0.1.3

30 Mar 16:29
aaf633b

Choose a tag to compare

  • Fix diff note creation — position is now sent as JSON body instead of form fields, which GitLab silently ignored
  • Document that --new-line matches local file line numbers when the source branch is checked out

v0.1.2

30 Mar 15:24
635ccff

Choose a tag to compare

  • Add note IDs (note:<id>) to discussion output for resolving GitLab UI #note_ URL anchors
  • Document URL resolution workflow in Claude Code skill

v0.1.1

30 Mar 15:20
22709da

Choose a tag to compare

  • Add MIT LICENSE file
  • Add Claude Code plugin installation instructions to README
  • Make --full clear the dump directory before writing
  • Use display name for service accounts in dump filenames
  • Add bot- prefix to filenames for bot authors
  • Truncate timestamps to minutes in dump filenames

v0.1.0

30 Mar 13:43
5cd867f

Choose a tag to compare

Initial release — CLI wrapper around GitLab Discussions REST API with read, write, diff, and resolve subcommands.