Omar Awamry
d91ffb8f07
Change labels type in all MergeRequestOptions types ( #1355 )
...
Co-authored-by: Omar Awamry <omar.awamry@vodafone.com>
2020-11-29 16:37:55 +01:00
Justin
3899bdc44e
Temporary omission of ts error
2020-11-24 13:02:52 +01:00
Kipras Melnikovas
8430f3597c
fix: supress typescript warnings ( #1328 )
2020-11-12 10:09:49 +01:00
Ilya Dus
3a78307ca9
Export CommitAction interface ( #1307 )
2020-11-06 18:56:42 +01:00
Niklas Lochschmidt
d3cd35c5f2
Add approval rule management ( #1233 )
...
See: https://docs.gitlab.com/ee/api/merge_request_approvals.html
* Move Approval API into MergeRequestApprovals
Breaking change, see https://github.com/jdalrymple/gitbeaker/pull/1233#issuecomment-709262998
2020-10-15 20:15:58 +02:00
Niklas Lochschmidt
13d43b77b4
Add support for Freeze Periods ( #1231 )
...
See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/freeze_periods.md
2020-10-15 13:24:14 +02:00
Justin Dalrymple
9d9e55a050
Adding MR rebase endpoint ( #1225 )
2020-10-12 13:54:42 +02:00
Sander Cox
08dec2e542
Support Group Runners API ( #1182 )
...
* Get all runners for a group
2020-10-05 12:12:45 +02:00
Justin Dalrymple
1434384803
Support keyset pagination ( #1184 )
...
* Additionally adding support for maxPages when using keyset pagination
Fixes #1115
Co-authored-by: Max Wittig <max.wittig@siemens.com>
2020-10-05 12:11:55 +02:00
Justin Dalrymple
05076523f5
Update CommitDiscussions.ts ( #1168 )
...
Co-authored-by: st1gok <st1gok@mail.ru>
2020-09-29 08:42:51 +02:00
Justin
a02d815f95
Restructing the requester utils and update the related typings
2020-09-27 16:48:57 +02:00
Justin Dalrymple
67c94e0c12
Fixing encoding for requests of archive data ( #954 )
2020-07-12 10:20:00 +02:00
Justin Dalrymple
9b9d45f56e
Fixing type definitions for optional arguments ( #956 )
2020-07-11 17:02:03 +02:00
Justin Dalrymple
f0e9ef8d2b
Fixing closes_issues endpoint ( #953 )
2020-07-08 20:55:23 +02:00
s-kazuki
fa2e0e55f4
Add ability to create todos for issues ( #925 )
2020-07-07 09:54:24 +02:00
Flavien Bridault
704ab0c5b3
Add related merge requests and closed by in Issues service ( #903 )
...
* Add `related merge requests` and `closed by` in Issues service
* Rename all issueId variables to issueIid to comply with GitLab API
* Reflect also the change in the unit-test, though only one occurrence was
found.
2020-06-25 23:19:19 +02:00
Justin Dalrymple
db63076a5a
Reach > 90% coverage and add Integration Testing ( #709 )
...
- Added many many more unit tests to increase coverage to 90% +
- Removed the upsert functionality of PushRules to maintain documented API parity
2020-06-20 14:55:12 +02:00
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