Skip to content

Latest commit

 

History

History
114 lines (73 loc) · 4.99 KB

File metadata and controls

114 lines (73 loc) · 4.99 KB

CHANGELOG

2.3.0

  • 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.

2.2.0

  • 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.

2.1.2

  • Added: A button to the Source Control Management (SCM) view for quick access to the 'Create MR' action.

2.1.1

  • 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 cleanBranch check and autoCommitChanges functionality to simplify the workflow.

2.1.0

  • 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.

2.0.2

  • Add: Document config usage in README.

2.0.1

  • Add: marketplace URL to README.

2.0.0

  • Breaking: Added UI support for Create MR.

1.4.3

  • Fixed: Ensure url module is used in buildMrUrl.

1.4.2

  • 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!).

1.4.0

  • Added: Support for multi-root workspaces.
  • Added: gitlab-mr.openToEdit to open to MR edit screen.
  • Added: Edit MR feature, which allows editing of MR title, WIP, assignee, and approvers.
  • Added: gitlab-mr.useDefaultBranch to use default branch set in repository as the target branch for MRs.
  • Added: gitlab-mr.autoCommitChanges to 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.apiVersion in case v3 APIs are needed (this is not fully supported, but was added just in case someone needs it).

1.3.0

  • Added: gitlab-mr.removeSourceBranch to set the source branch to be deleted when the MR is merged.

1.2.1

  • Fixed: Improved repo URL parsing when determining whether or not Gitlab API requests for CE/EE servers should use http or https. The plugin will now use the protocol of the url in gitlab-mr.accessTokens, instead of using the protocol of the remote url for the repo (e.g. a repo may use ssh for Git but the Gitlab server may be on http).

1.2.0

  • Added: Support for Gitlab remote urls that start with ssh:// and http.
  • Fixed: Properly dipose of VS Code status bar message when creating a commit.

1.1.1

  • Fixed: Properly dispose of VS Code status bar messages.

1.1.0

  • 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.autoOpenMr to automatically open a new MR in your browser.

1.0.0

  • 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.gitlabUrl has been removed, and gitlab-mr.accessToken is now for Gitlab.com access tokens.
  • Added: gitlab-mr.accessTokens to 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"
}

0.1.1

  • Added: Initial error hanlding for creating the MR via the Gitlab API.

0.1.0

  • Breaking: Changed preferences id from gitlab to gitlab-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.

0.0.1

Initial release. Proof of concept, no error handling.