122 Commits

Author SHA1 Message Date
dependabot-preview[bot]
7a74acf679 chore(deps-dev): bump rollup-plugin-typescript2 from 0.27.3 to 0.28.0
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.27.3 to 0.28.0.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.27.3...0.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-18 13:18:39 +00:00
Justin Dalrymple
55ace7ccaa Bump version to: 25.0.0 [skip ci] 2020-10-15 18:36:20 +00:00
Justin Dalrymple
c61d771ceb Update CHANGELOG.md [skip ci] 2020-10-15 18:36:18 +00: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
Justin Dalrymple
bc827d88c4 Bump version to: 24.3.0 [skip ci] 2020-10-15 12:03:42 +00:00
Justin Dalrymple
ef70a06fea Update CHANGELOG.md [skip ci] 2020-10-15 12:03:39 +00: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
2fe9cb9072 Bump version to: 24.2.0 [skip ci] 2020-10-13 20:31:38 +00:00
Justin Dalrymple
1661601638 Bump version to: 24.1.0 [skip ci] 2020-10-12 12:20:44 +00:00
Justin Dalrymple
7d1baf5db8 Update CHANGELOG.md [skip ci] 2020-10-12 12:20:42 +00:00
Justin Dalrymple
77d89d2026
Fix Agent-Type error due to Got update in GotRequester.ts (#1224) 2020-10-12 13:54:11 +02:00
Justin Dalrymple
5829393d66 Bump version to: 24.0.3 [skip ci] 2020-10-12 10:52:49 +00:00
Justin Dalrymple
1a3300de6f Update CHANGELOG.md [skip ci] 2020-10-12 10:52:47 +00:00
Justin
656c282d90 Merge branch '1222-integration-stability' [skip ci] 2020-10-12 12:41:13 +02:00
Justin
1f2812ea35 perform retries on a wider range of error codes 2020-10-11 22:21:23 +02:00
Justin
64137764bc Wrapping error messages to avoid JSON.parse non json responses 2020-10-11 21:44:42 +02:00
Justin Dalrymple
e7453bad7a Bump version to: 24.0.2 [skip ci] 2020-10-11 18:19:56 +00:00
Justin Dalrymple
2063e1253d Update CHANGELOG.md [skip ci] 2020-10-11 18:19:54 +00:00
Justin
c4810e700d Merge branch '1222-integration-stability' 2020-10-11 19:59:38 +02:00
Justin
3e6ba1f8d4 Locate 400 test error [skip ci] 2020-10-11 19:59:07 +02:00
Justin Dalrymple
222395995b Bump version to: 24.0.1 [skip ci] 2020-10-11 11:56:41 +00:00
Justin Dalrymple
e943792de4 Update CHANGELOG.md [skip ci] 2020-10-11 11:56:39 +00:00
Justin
5da15b1c20 Embedding project creation prior to upload 2020-10-11 13:50:01 +02:00
Justin
c560b6b794 Skip pagination tests until stability is sorted 2020-10-11 13:02:39 +02:00
Justin Dalrymple
8c9fc4e68a
Adding pagination tests (#1186) 2020-10-08 17:27:43 +02:00
Justin Dalrymple
4ec3f25da3 Bump version to: 24.0.0 [skip ci] 2020-10-05 10:33:11 +00:00
Justin Dalrymple
058a921b86 Update CHANGELOG.md [skip ci] 2020-10-05 10:33:08 +00: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
2829f704d9 Bump version to: 23.7.0 [skip ci] 2020-09-29 07:02:22 +00:00
Justin Dalrymple
b792474586 Update CHANGELOG.md [skip ci] 2020-09-29 07:02:20 +00:00
Justin
8ab1ca2ae5 Updating changelog [skip ci] 2020-09-28 12:15:12 +02:00
Justin Dalrymple
0848ab5524 Bump version to: 23.6.0 [skip ci] 2020-09-28 09:54:16 +00:00
Justin Dalrymple
928c17e061 Update CHANGELOG.md [skip ci] 2020-09-28 09:54:12 +00:00
Max Wittig
3f78cc36d4 feat: apply exponental backoff for 429 errors
This was implemented similarly to 1606310a88/gitlab/__init__.py (L549)
Gitlab sadly doesn't send out `Retry-After` headers anymore, so we need this workaround

Fixes #960
2020-09-27 23:39:06 +02:00
Justin
47af9d53ae Updating openpgp
openpgp  ^4.10.4  →  ^4.10.8
2020-09-27 20:24:14 +02:00
Justin
a02d815f95 Restructing the requester utils and update the related typings 2020-09-27 16:48:57 +02:00
Justin
114374308e Updating node deps
got          ^11.1.4  →   ^11.7.0
 @types/node  ^14.0.6  →  ^14.11.2
2020-09-27 15:17:33 +02:00
Justin
431fa25211 Update ts-node 2020-09-26 19:28:38 +02:00
Justin
d74822dea9 Updating terser usage to be only on the browser release 2020-09-26 19:05:44 +02:00
dependabot-preview[bot]
d1c8ceeae5 chore(deps-dev): bump typescript from 3.9.7 to 4.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-26 13:53:17 +02:00
Justin
e3ab92ee65 Updating unit tests [skip ci] 2020-09-25 17:55:14 +02:00
Justin
f2eec88379 Linting 2020-09-25 17:54:35 +02:00
xieyu
1e754e0416
Response body needs parse firstly when it's type is json (#1057) 2020-08-11 15:52:27 +02:00
dependabot-preview[bot]
0295965d55
chore(deps-dev): bump rollup-plugin-terser from 6.1.0 to 7.0.0 (#1058)
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v6.1.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2020-08-10 11:08:38 +02:00
Justin Dalrymple
b57b8b5e43 Bump version to: 23.5.0 [skip ci] 2020-08-09 14:18:22 +00:00
Justin Dalrymple
76b967a957 Update CHANGELOG.md [skip ci] 2020-08-09 14:18:19 +00:00
Justin Dalrymple
21faf97301
Fixing support for FormData requests (#1056) 2020-08-09 16:01:33 +02:00
Justin Dalrymple
c3595836ce Bump version to: 23.4.2 [skip ci] 2020-07-22 01:43:11 +00:00
Justin Dalrymple
5276a0fea5 Bump version to: 23.4.1 [skip ci] 2020-07-22 01:38:56 +00:00
Justin Dalrymple
a6fd10fab7 Bump version to: 23.4.0 [skip ci] 2020-07-12 08:42:14 +00:00