Sergei Zharinov
e1d5012e4c
feat(http): Throw errors for schema mismatch ( #21395 )
2023-04-11 04:42:34 +00:00
Sergei Zharinov
dfb1ef47bc
refactor(http): Don't use shallow copy for JSON results ( #21401 )
2023-04-09 21:44:05 +00:00
Sergei Zharinov
8081d08ec4
refactor(http): Enhanced integration with data schemas ( #21338 )
2023-04-06 15:56:27 +00:00
Adam Setch
24bb472798
feat(issues): add jira http util ( #21056 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-03-31 19:09:12 +00:00
Jamie Magee
176282e65f
chore: use node: protocol imports ( #21181 )
2023-03-28 21:05:36 +00:00
Daniel Silva
0e47a1072c
feat(platform/github): Support rewrite pagination links with the server's base URL ( #19888 )
...
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-16 15:25:56 +00:00
renovate[bot]
9ff3946839
chore(deps): update dependency @types/parse-link-header to v2.0.1 ( #20343 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-02-11 13:16:43 +00:00
LordCranus
395e490d70
chore(http/github): log warning if Github secondary rate limit is hit ( #20074 )
2023-01-27 23:00:05 +01:00
Sebastian Poxhofer
871cea19b7
feat(http): set by default Accept header for json requests ( #19202 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-12-01 18:48:45 +01:00
Sergei Zharinov
3c56aeca17
refactor(tests): Use codeBlock tagged literal ( #18916 )
2022-11-15 08:35:36 +00:00
RahulGautamSingh
d869c946d1
refactor: reduce debug metadata ( #18737 )
2022-11-07 11:29:02 +00:00
RahulGautamSingh
c56588eaba
refactor: convert PlatformmId to union ( #18458 )
2022-11-01 14:46:09 +00:00
Rhys Arkins
0e9da7b441
chore: trace http logs ( #18652 )
2022-10-29 06:15:21 +00:00
Sergei Zharinov
b2d18d1110
feat(http): maxRequestsPerSecond ( #18325 )
2022-10-25 11:03:19 +00:00
Rhys Arkins
cc50beb093
fix(http): use request for retryCount
2022-10-22 07:27:12 +02:00
Rhys Arkins
cdec83463c
fix(http): improve error logging ( #18454 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-10-21 10:14:45 +00:00
Rhys Arkins
3aa94d46f4
chore: no meta for debug statements
2022-10-21 08:02:05 +02:00
Rhys Arkins
be10c29d17
fix(http): improve error handling ( #17587 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-10-19 04:27:07 +00:00
Sergei Zharinov
d4d0ec4675
refactor(http): Rename gotRoutine to gotTask ( #18338 )
2022-10-14 12:26:11 +00:00
renovate[bot]
5109f9b794
chore(deps): update dependency typescript to v4.8.4 ( #17988 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
2022-10-07 06:15:49 +00:00
Sergei Zharinov
bc9e353af4
feat(http): Schemas and type inference for JSON requests ( #18096 )
2022-10-04 06:40:48 +00:00
Sergei Zharinov
3e3023fd5e
refactor(http): Simplify base types ( #18088 )
2022-10-03 10:53:20 +02:00
Sergei Zharinov
2df8967ae2
refactor: Create promises utilities ( #17651 )
2022-09-06 10:36:51 +00:00
Róbert Papp
01c111c4ea
fix(http): typo in logs ( #17634 )
2022-09-05 13:45:44 +00:00
Rhys Arkins
9bc8b05af3
feat: http keepalives ( #17582 )
2022-09-02 12:32:34 +02:00
Rhys Arkins
22d0d347e5
fix: debug log dns lookup errors ( #17577 )
2022-09-02 07:08:01 +03:00
Michael Kriese
aabb3abf9a
feat(http): use own dns cache ( #17574 )
2022-09-01 15:23:46 +00:00
Michael Kriese
8ad1947e4a
fix(http): clear queues after hostrules change ( #17563 )
2022-09-01 09:36:04 +02:00
Michael Kriese
13574419ba
feat(http): support dns cache ( #17533 )
2022-08-31 11:49:54 +00:00
Michael Kriese
6dd4ea3c74
feat(github): use repo url to get token ( #17179 )
2022-08-29 07:37:45 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 ( #17151 )
2022-08-16 14:22:29 +02:00
Michael Kriese
1bc8fee494
refactor: cleanup http option interface ( #16967 )
2022-08-04 12:54:52 +02:00
Michael Kriese
61c045ca2f
feat: use sha512 for hashes ( #16907 )
2022-08-02 11:36:26 +02:00
Sergei Zharinov
b5df686fb7
refactor(github): Introduce misc query function for GraphQL ( #16387 )
...
* refactor(github): Introduce misc `query` function for GraphQL
* Update lib/modules/datasource/github-releases/cache/cache-base.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-07-02 15:24:17 +02:00
Yun Lai
432a888cdb
fix: make http.stream apply hostRules & authentication ( #16255 )
...
* fix(http): support asset download via octet-stream header in github http
* Update lib/util/http/github.spec.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
* fix: make http.stream apply hostRules & authentication
* chore: fix disable host test for http.stream
* Update lib/util/http/index.ts
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-06-30 07:54:48 +00:00
Rhys Arkins
17f1b409a6
fix: log http and npm rejection cases ( #16307 )
2022-06-28 16:30:35 +02:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files ( #15812 )
...
* add types for tmp
* expand files in lib/util
* update yarn lock
* Update tsconfig.strict.json
* util/exec
* util/git
* util/http
* Revert "util/exec"
This reverts commit 96cf479a1b .
* update strict.json
* redo util/exec
* revert util/git
* util/merge-confidence
* update util/git
* util/package-rules
* fix util/git
* util/template
* util/
* revert extras
* rm newline
* add tmp back
* apply suggestion from review
* util/cache
* more changes
* Update tsconfig.strict.json
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-06-19 21:17:46 +00:00
Sergei Zharinov
e4d5a0e2fd
fix(github): Throw on GraphQL errors during cache fetching ( #15891 )
2022-06-04 11:02:31 +00:00
Sergei Zharinov
2e957baed9
feat(github): long-term datasource caching ( #15653 )
2022-06-03 11:27:26 +02:00
Michael Kriese
e319e21dab
fix(http): cache head requests ( #15695 )
2022-05-23 13:34:04 +02:00
Sergei Zharinov
a06e5d9ce7
refactor(cache): Separate data and metadata for repo cache ( #15117 )
2022-04-16 06:51:29 +01:00
Sergei Zharinov
d663859207
feat(github): Fetch PRs using cacheable REST ( #14907 )
2022-04-15 17:21:09 +00:00
Michael Kriese
637585c5fd
feat(http): extend stats ( #15104 )
2022-04-14 10:47:06 +01:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
Michael Kriese
443bef5c52
test: cleanup snapshot tests ( #15082 )
2022-04-12 15:09:19 +01:00
Rhys Arkins
dca3418bbd
refactor: lib/modules ( #14488 )
...
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/
BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00
Rhys Arkins
6c9aad38a8
refactor: remove unnecessarily long paths in imports and mocks ( #14429 )
2022-02-26 16:09:01 +00:00
Sergei Zharinov
a674f727dd
feat(github): Platform-native REST-based push ( #14271 )
2022-02-24 15:32:46 +01:00
MaronHatoum
b121deb969
refactor(util/http): move interfaces from index.ts to types.ts ( #14335 )
...
* refactor:util/http move interfaces and types from index.ts to types.ts
* refactor:reorder imports
* refactor:move HttpError from type.ts to index.ts
* refactor:change imports after moving HttpError from type.ts to index.ts
* refactor:revert white spaces
* refactor:revert moving httpError from types.ts to index.ts
* refactor: moving httpError from types.ts to index.ts
* refactor: change import
* refactor: change import
* refactor: change import
* refactor: fix circular dependencies (lint build)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-02-24 08:50:17 +00:00
Sergei Zharinov
8a7abfdf01
refactor(github): Convert datasources to class form ( #14124 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
2022-02-13 03:24:40 +00:00