13 Commits

Author SHA1 Message Date
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
a02d815f95 Restructing the requester utils and update the related typings 2020-09-27 16:48:57 +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
Justin Dalrymple
21faf97301
Fixing support for FormData requests (#1056) 2020-08-09 16:01:33 +02:00
Justin Dalrymple
67c94e0c12
Fixing encoding for requests of archive data (#954) 2020-07-12 10:20:00 +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 Dalrymple
d322f7ca91
Fixing up missing commits from the latest release (#886) 2020-06-14 14:50:47 +02:00
Justin Dalrymple
8b549da700
Remove Gitlab Instance dependency for CLI tests (#883)
* Also added canary build if label is present
2020-06-12 10:11:10 +02:00
Justin Dalrymple
c4522e245a
Adding CLI Integration Tests (#711) 2020-04-23 23:34:22 +02:00
Justin Dalrymple
b89f5460db
Updating agent property based on new changes in Got (#712) 2020-04-22 21:12:27 +02:00
Justin
3e49ab98cc chore: ✏️ Updating release configuration and commit linting 2020-03-22 15:09:25 +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