Skip to content

Bugfixes and Other Minor Improvements#541

Merged
harrisoncramer merged 45 commits intomainfrom
develop
Apr 18, 2026
Merged

Bugfixes and Other Minor Improvements#541
harrisoncramer merged 45 commits intomainfrom
develop

Conversation

@harrisoncramer
Copy link
Copy Markdown
Owner

@harrisoncramer harrisoncramer commented Apr 18, 2026

Breaking Changes

Features

Bug Fixes

jakubbortlik and others added 30 commits February 6, 2026 09:17
This uses the gitlab.Scan function to iterate over all discussions and
handle errors after the iterator is exhausted. The test for non-200s is
no longer needed as the Scan function transforms such responses to
standard errors.
…-checks

feat: add mergeability checks to summary view
…discussions

fix: use pagination to list MR discussions
…r_callback

fix: revert removing on_error_callback
fix: check window valid when refocusing after closing popup
…th-local-changes

fix: allow publishing drafts when local not in sync with remote
…ore-commenting

feat: check local branch state when creating comments
Makes `parse_hunks_and_diff` pass `--no-ext-diff` to `git diff` to
prevent an external diff tool configured in `~/.gitconfig` clobering
the diff output it depends on to parse the hunks.
Prevent usage of external diff tools when parsing diff hunks.
This PR also fixes a bug when the `Delete source branch` setting of the
MR was not respected due to incorrect reference in
`lua/gitlab/actions/merge.lua` to `state.INFO.delete_branch` instead of
`state.INFO.force_remove_source_branch`.

This PR also changes the behaviour of how the `opts` in
`gitlab.merge(opts)` behave:

- Before this PR:
    - when `lua require("gitlab").merge()` was run without parameters,
      the values visible in the Summary view were used (except for the
      bug mentioned above).
    - specifying one of `squash` or `delete_branch` in `opts` caused the
      other parameter to default to `false` even if Summary view would
      show it's set to `true`.

- After this PR:
    - running `lua require("gitlab").merge()` without parameters doesn't
      change.
    - specifying any of the `opts` values (`auto_merge`, `squash`,
      `delete_branch`), has no effect on the other options - if not
      specified in the `gitlab.merge()` call, the values from the
      Summary are used.

This is a breaking change, since theoretically, before, a user could
rely on the fact that ignoring one of the options would set it to
`false` which now is not guaranteed (the value depends on the existing
MR settings).
The plugin should not assume its folder is writable. Instead, try to
search for a writable folder by checking the data folder and the runtime
paths. Also allows the user to give the path to the server's executable
intead of always compiling it. All of this makes the plugin friendlier
to restricted/read-only environments, like nix.
acristoffers and others added 15 commits March 31, 2026 08:01
docs: recommend using dlyongemallo's fork of diffview
…e-server-path

feat: better handling of server installation path
feat!: implement AutoMerge option to AcceptMergeRequest
fix(build): allow user-supplied binaries
GitLab's API can return this identifier but it wasn't in the
known checks list, causing an "Unknown mergeability check identifier"
error in the summary view.
…entifier

fix: add SECURITY_POLICY_PIPELINE_CHECK mergeability identifier
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix(browser): add Windows support for opening URLs
fix(proxy): bypass proxy for localhost requests to Go server
@harrisoncramer harrisoncramer merged commit 5152f72 into main Apr 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants