- Enhanced: Source branch field is now an autocomplete dropdown similar to target branch, prefilled with current branch.
- Fixed: Webview panel now closes automatically after MR creation succeeds.
- Fixed: Target branch selection is correctly remembered and prefilled.
- Enhanced: Revamped label selection UI.
- Label color now displayed via leading color square for better readability on any theme.
- Text/checkbox/cell alignment refined; minimal spacing between Assignees and Labels.
- Pointer cursor and full-row click support (checkbox, text, color square) for smoother interaction.
- Fixed: Checkbox inside label item could not be toggled in previous versions.
- Added: A button to the Source Control Management (SCM) view for quick access to the 'Create MR' action.
- Fixed: Addressed an issue where Merge Request creation would fail if the local branch did not exist on the remote repository.
- Enhanced: Streamlined the MR creation workflow. The extension now prompts the user to push the branch if it's not found on the remote, providing a clearer and more predictable user experience instead of performing complex Git operations automatically.
- Removed: The
cleanBranchcheck andautoCommitChangesfunctionality to simplify the workflow.
- Fixed: Target branch selection now correctly extracts remote branch names, handling both 'remotes/origin/master' and 'origin/master' formats to return just 'master'.
- Enhanced: Improved branch list functionality to support filtering remote branches.
- Add: Document config usage in README.
- Add: marketplace URL to README.
- Breaking: Added UI support for
Create MR.
- Fixed: Ensure url module is used in
buildMrUrl.
- Fixed: Moved the MR title prompt after the commit prompt, which allows the commit message to be auto-populated even if the repo is dirty (thanks @GreenGremlin for the contribution!).
- Added: Support for multi-root workspaces.
- Added:
gitlab-mr.openToEditto open to MR edit screen. - Added: Edit MR feature, which allows editing of MR title, WIP, assignee, and approvers.
- Added:
gitlab-mr.useDefaultBranchto use default branch set in repository as the target branch for MRs. - Added:
gitlab-mr.autoCommitChangesto control whether or not uncommitted changes are automatically staged and committed as part of the MR. - Fixed: Switch to Gitlab API v4, and
gitlab-mr.apiVersionin case v3 APIs are needed (this is not fully supported, but was added just in case someone needs it).
- Added:
gitlab-mr.removeSourceBranchto set the source branch to be deleted when the MR is merged.
- Fixed: Improved repo URL parsing when determining whether or not Gitlab API requests for CE/EE servers should use
httporhttps. The plugin will now use the protocol of the url ingitlab-mr.accessTokens, instead of using the protocol of the remote url for the repo (e.g. a repo may usesshfor Git but the Gitlab server may be onhttp).
- Added: Support for Gitlab remote urls that start with
ssh://andhttp. - Fixed: Properly dipose of VS Code status bar message when creating a commit.
- Fixed: Properly dispose of VS Code status bar messages.
- Added: New workflow to checkout an existing MR on your computer.
- Added: New workflow to open an existing MR in your browser.
- Updated: Changed the command palette label of "Open MR" to "Create MR" to reduce confusion with "View MR".
- Added:
gitlab-mr.autoOpenMrto automatically open a new MR in your browser.
- Added: Support for opening MRs from any branch. If you are on a branch other than
master(or your default), the branch input prompt will be autofilled with that branch name. Changing the name will create a new branch. - Added: Support for opening MRs from a clean branch. If you are on a clean branch, the commit message input prompt will be autofilled with the last commit message. Changing the message will only impact the MR.
- Breaking:
gitlab-mr.gitlabUrlhas been removed, andgitlab-mr.accessTokenis now for Gitlab.com access tokens. - Added:
gitlab-mr.accessTokensto specify access tokens for Gitlab CE/EE servers. Example:
"gitlab-mr.accessToken": "ACCESS_TOKEN_FOR_GITLAB.COM",
"gitlab-mr.accessTokens": {
"https://gitlab.domain.com": "ACCESS_TOKEN_FOR_GITLAB.DOMAIN.COM"
}- Added: Initial error hanlding for creating the MR via the Gitlab API.
- Breaking: Changed preferences id from
gitlabtogitlab-mr, and renamed existing preferences. - Added: Preference to change default branch name from
master. - Added: Preference to change default remote repository.
- Added: Initial error handling for required preferences, user inputs, and git operations.
- Updated: README with detailed explanation of first workflow.
- Migrating to public Gitlab.
Initial release. Proof of concept, no error handling.