172 Commits

Author SHA1 Message Date
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
af5463b7dc
Updating incorrect showExtended->showExpanded property documentation (#1205) 2020-10-07 11:14:06 +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
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
dependabot-preview[bot]
e2445b201c
chore(deps): bump ky from 0.23.0 to 0.24.0 (#1171)
Bumps [ky](https://github.com/sindresorhus/ky) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v0.23.0...v0.24.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-09-30 09:20:39 +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
dependabot-preview[bot]
dc736a5d1e
chore(deps-dev): bump @rollup/plugin-commonjs from 14.0.0 to 15.1.0 (#1166)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 14.0.0 to 15.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v14.0.0...commonjs-v15.1.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-09-29 08:43:12 +02:00
Justin Dalrymple
05076523f5
Update CommitDiscussions.ts (#1168)
Co-authored-by: st1gok <st1gok@mail.ru>
2020-09-29 08:42:51 +02:00
dependabot-preview[bot]
efb753441a
chore(deps-dev): bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0 (#1164)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v8.4.0...node-resolve-v9.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-09-28 17:38:38 +02: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
3c0eeae9a1 update rollup for requester utils
rollup                     ^2.12.0  →  ^2.28.2
 rollup-plugin-typescript2  ^0.27.1  →  ^0.27.3
2020-09-27 17:48:24 +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
e5d5815100 Updating browser deps
@types/node           ^14.0.14  →  ^14.11.2
 @types/puppeteer        ^3.0.0  →    ^3.0.2
 node-fetch              ^2.6.0  →    ^2.6.1
 puppeteer                5.2.1  →     5.3.1
 rollup-plugin-terser    ^7.0.0  →    ^7.0.2
yarn
2020-09-27 15:16:38 +02:00
Justin
397e083cb5 Updating cli deps
chalk                ^4.0.0  →  ^4.1.0
 ora                  ^5.0.0  →  ^5.1.0
 @rollup/plugin-json  ^4.0.3  →  ^4.1.0
2020-09-27 15:14:45 +02:00
Justin
bd351ef43b Updating core deps
@types/node  ^14.0.6  →  ^14.11.2
 fs-extra      ^9.0.0  →    ^9.0.1
2020-09-27 15:13:47 +02:00
Justin
c246086a64 Updating requester-utils deps
query-string  ^6.12.1  →   ^6.13.3
 @types/node   ^14.0.6  →  ^14.11.2
2020-09-27 15:12:59 +02:00
Justin
7211ab0733 Merge branch 'ts-node' into backitup 2020-09-26 20:39:24 +02:00
Justin
e03d87f3fb Externalize formdata 2020-09-26 19:33:20 +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
dependabot-preview[bot]
0690257a0b
chore(deps): bump ora from 4.1.1 to 5.0.0 (#1059)
Bumps [ora](https://github.com/sindresorhus/ora) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/commits/v5.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>
2020-08-10 11:08:16 +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
Kipras Melnikovas
2b65591b56
fix(browser): return early if response headers empty (#1034)
When performing simple requests, such as

```ts
import { Gitlab } from "@gitbeaker/browser";

const api = new Gitlab({ token, host });

const res = await api.Issues.show(projectId, issueIid);
```

I used to get errors, such as

```console
index.js:11539 RangeError: Invalid array length
...
```

and this fixed it.
2020-08-07 14:22:01 +02:00
dependabot-preview[bot]
a6ab1992da
chore(deps-dev): bump puppeteer from 5.0.0 to 5.2.1 (#1000)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.0.0 to 5.2.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.0.0...v5.2.1)

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-07-27 01:43:34 +02:00
dependabot-preview[bot]
b8698b251b
chore(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 14.0.0 (#973)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 13.0.0 to 14.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v13.0.0...commonjs-v14.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-07-22 12:28:57 +02:00
dependabot-preview[bot]
dfd8d45376
chore(deps): bump ky from 0.21.0 to 0.23.0 (#1001)
Bumps [ky](https://github.com/sindresorhus/ky) from 0.21.0 to 0.23.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v0.21.0...v0.23.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-22 12:27:09 +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
2ed9b3c9f3 Update CHANGELOG.md [skip ci] 2020-07-22 01:38:53 +00:00
dependabot-preview[bot]
31c7f9691d
chore(deps): bump ky from 0.20.0 to 0.21.0 (#961)
Bumps [ky](https://github.com/sindresorhus/ky) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v0.20.0...v0.21.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-07-17 00:32:07 +02:00
Justin Dalrymple
a6fd10fab7 Bump version to: 23.4.0 [skip ci] 2020-07-12 08:42:14 +00:00
Justin Dalrymple
8fdeb8c0d1 Update CHANGELOG.md [skip ci] 2020-07-12 08:42:12 +00:00
Justin Dalrymple
56d4731504
Updating min node version supported (#957) 2020-07-12 10:20:31 +02:00
Justin Dalrymple
67c94e0c12
Fixing encoding for requests of archive data (#954) 2020-07-12 10:20:00 +02:00