23 Commits

Author SHA1 Message Date
Justin Dalrymple
6426ce1fb1
Removal of esinterlop to prefer namespace imports over default exports (#893) 2020-06-16 13:37:56 +02:00
Justin
d70a96769a Additional linting 2020-06-12 12:15:43 +02:00
Justin Dalrymple
0321c25570
Adjust casing to be properly handled by the conversion to snake case in the CLI (#857) 2020-06-12 10:25:39 +02:00
Yevgeny Petukhov
480558f77f
Issue links (get, delete) (#868)
List issue relations: https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/issue_links.md#list-issue-relations
Delete an issue link: https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/issue_links.md#delete-an-issue-link
2020-06-12 10:24:58 +02:00
Andrea
a203d32bfe
Add YouTrack to the supported services (#853)
YouTrack is one of GitLab's supported services, but it's missing here.
2020-05-30 20:46:56 +02:00
xatavian
ac8db8f0f4
Allow for optional parameters in Projects.search (#801)
Co-authored-by: Avi SZYCHTER <avi.szychter@trialog.com>
2020-05-17 18:54:12 +02:00
Justin Dalrymple
1cec2d736c
Update typing to specify that path or name must be passed (#796) 2020-05-16 13:33:03 +02:00
Justin Dalrymple
f3638aecfa Fixing format of form-data wrapper (#797) 2020-05-15 22:21:33 +02:00
Corentin Mors
3e1b2887e4
Fix: Update DELETE method to POST in todos.done() (#780)
fixes #779
2020-05-11 22:22:05 +02:00
Justin
a87112ce23 Add Deploy tokens API (#762) 2020-05-06 19:14:36 +02:00
Alvaro
ad942b344a
Adds options interface for MergeRequests API (#606)
Co-authored-by: Justin <justin.s.dalrymple@gmail.com>
2020-04-26 18:17:56 +02:00
schindld
dfa3bc4838
Updated the removeTags API parameter for GitLab 12.9 (#647)
Updated variable name for registry `removeTags` method, as per https://docs.gitlab.com/12.9/ee/api/container_registry.html#delete-registry-repository-tags-in-bulk

A `removeTags` method parameter name changed from nameRegex to nameRegexDelete. Works with GitLab 12.9+.
2020-04-20 00:09:02 +02:00
Justin Dalrymple
4751ed225f
fix(core): Adding better handling for form type arguments (#570)
This should be able to account for any form arguments passed to the requestHelper.

BREAKING CHANGE: Trigger.pipeline now has a defined variables property to house all the pipeline variables to be set. Before these variables were set on the root object, but this made it difficult to parse any future options that may be added to this function.

fixes: #568
2020-03-24 22:08:33 +01:00
schindld
992b809cb1
Fixed variable name for registry method, as per … (#646)
fix(core): 🐛 Fixed variable name for registry method, as per https://docs.gitlab.com/12.8/ee/api/container_registry.html#delete-registry-repository-tags-in-bulk

BREAKING CHANGE: 🧨 A `removeTags` method parameter name changed from tagNameRegex to nameRegex. Works with GitLab 12.x.

Co-authored-by: Joseph Petersen <josephp90@gmail.com>
2020-03-24 17:21:41 +01:00
Justin
d9c97d44d1 feat(core): Override arguments in all template children (#597) 2020-03-22 18:25:59 +01:00
Simon A. Eugster
70f39ab431
feat: Add typing to project and group variables (#620)
feat(gitbeaker-core): Add typing to project and group variables

Co-authored-by: Justin Dalrymple <justin.s.dalrymple@gmail.com>
2020-03-22 16:29:49 +01:00
Justin
3e49ab98cc chore: ✏️ Updating release configuration and commit linting 2020-03-22 15:09:25 +01:00
Justin Dalrymple
348f6c1870 refactor(gitbeaker-core): 💡 Adjusted the argument order for ResourceAwardEmojis
BREAKING CHANGE: 🧨 The order of arguments that include both the awardId and noteId has changed. It is now projectId, resourceId, noteId, and then awardId. This affects the award, remove and show functions.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
e068e6a0e2 fix(gitbeaker-core): 🐛 ResourceTemplate.show was using the wrong http method 2020-02-02 16:53:54 +01:00
Justin Dalrymple
6c748eceb4 fix(gitbeaker-core): 🐛 Notification Settings API special PUT requests
The Notification Settings API requires the HTTP arguments to be sent in a query parameter instead of a body parameter for the PUT request.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
2e9e58013b refactor(gitbeaker-core): 💡 Updated the License API
Updated the spelling of License and standardized internal functions to be more consistent.

BREAKING CHANGE: 🧨 Changed the spelling of the License API from Licence to License. Additionally the license.create method has been replaced with license.add and has a required first parameter that is the license. The license.all method now returns all licenses and no longer the license
for the current user. This is now done by license.show.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
4a3906ad35 refactor(gitbeaker-core): 💡 Updated the function header for Group.create
Group creation now takes three parameters since the path property was required but not included in the non-optional parameters.

BREAKING CHANGE: 🧨 Group.create takes an additional argument
2020-02-02 16:53:54 +01:00
Justin Dalrymple
d9cd4c9a91 refactor: 💡 Migrated to a monorepo structure
Gitbeaker has been split up into 5 subpackages: gitbeaker-core, gitbeaker-node, gitbeaker-cli, gitbeaker-browser and gitbeaker-requester-utils.

gitbeaker-[node,cli,browser] are enviroment
specific sub packages. For example, if you want to use gitbeaker in a NodeJS environment, use gitbeaker-node. gitbeaker-core is where all the
base logic exists, and gitbeaker-requester-utils is a collection of utility functions for making custom requester libraries.

BREAKING CHANGE: 🧨 This migration requires users to import specific subpackages. For NodeJS
usage, that would be @gitbeaker/node.
2020-02-02 16:53:54 +01:00