10 Commits

Author SHA1 Message Date
Justin Dalrymple
c6432cc22d
Replacing BaseService 'url' constructor argument with 'prefixUrl' for clarity (#1412) 2020-12-28 12:46:45 -05:00
Justin Dalrymple
565bd15449
Removed circular references (#1387)
- Updated requester structure
- Removed duplicate pipeline jobs function
2020-12-18 14:23:49 -05: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
f0e9ef8d2b
Fixing closes_issues endpoint (#953) 2020-07-08 20:55:23 +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
1cec2d736c
Update typing to specify that path or name must be passed (#796) 2020-05-16 13:33:03 +02:00
Justin
176dadf9a6 Fixing the types path in the package.json for browser and requester-utils (#742) 2020-05-02 00:12:41 +02: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