renovate[bot]
da29ed179c
chore(deps): update dependency @types/luxon to v3.3.0 ( #21418 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2023-04-12 06:49:00 +00:00
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
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error ( #14052 )
2022-02-07 06:37:17 +00:00
Richard Versteeg
000142e5d5
feat(changelogs): Add github-changelog
and gitlab-changelog
hosttypes ( #13695 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-02 10:20:51 +00:00
Richard Versteeg
599958a56b
fix(bitbucket-tags): Add hostType and fallback for bitbucket-tags datasource ( #13697 )
2022-01-20 20:16:17 +00:00
Richard Versteeg
c3783171c2
fix(gitlab-packages): Add missing hostType for datasource calls ( #13696 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-20 19:55:10 +00:00
Sergei Zharinov
3b14ef2869
feat(github): Remember GraphQL optimal page size ( #13047 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-18 15:36:44 +00:00
Sergei Zharinov
1b65125ad6
refactor(util/range): Extract range generator util ( #13532 )
2022-01-13 08:20:37 +01:00
renovate[bot]
b0acc97579
build(deps): update dependency parse-link-header to v2 [security] ( #13412 )
2022-01-13 06:45:50 +01:00
Michael Kriese
9d61bd9678
refactor: strong type http headers ( #13520 )
2022-01-12 22:08:09 +01:00
Sergei Zharinov
9a2e37f5bd
fix(http/github): Preserve search params for paginated requests ( #13506 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-12 11:31:36 +00:00
Sergei Zharinov
030b1a61a4
refactor(util/http): Strict null checks for http utils ( #13416 )
...
* refactor(util/http): Strict null checks for http utils
* More tests for queue.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-09 21:22:27 +00:00
Sergei Zharinov
f32871e496
refactor(util/http): Refresh queue implementation ( #13417 )
...
* refactor(util/http): Refresh queue implementation
* Use utils for url parsing
2022-01-07 12:44:55 +01:00
Sergei Zharinov
f0906eb75f
refactor: Add more strict null checks ( #13332 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-03 08:01:31 +00:00
Sergei Zharinov
15a120847b
test(lib/util): Refactor snapshot tests ( #13289 )
2021-12-27 11:28:10 +01:00
Michael Kriese
5e0e9ac1c2
refactor: prepare esm helper ( #13250 )
...
* refactor: prepare esm helper
* chore: fix type name
2021-12-22 17:01:28 +01:00
Michael Kriese
2b24a98359
refactor: update imports for esm ( #13230 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 08:37:47 +00:00
Oleg Krivtsov
9b2c4b5af2
test: error 502 is handled correctly in GitHub graphql ( #13167 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-21 08:16:41 +00:00
Sergei Zharinov
88d348650c
fix(github): Log fieldName when shrinking page size ( #12990 )
2021-12-07 16:36:42 +01:00
RahulGautamSingh
597da6ff59
refactor: flagged relevant regex ( #12976 )
2021-12-06 15:05:37 +00:00
RahulGautamSingh
ee2e155f1f
fix: modify regex to be re2 compatbile ( #12778 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-29 19:16:05 +00:00
Sergei Zharinov
96b854df90
fix(github): Log shrinked GraphQL page size ( #12706 )
2021-11-24 06:04:09 +00:00
Rhys Arkins
cfc4c48a47
fix(github): handle secondary rate limit ( #12741 )
2021-11-18 16:47:17 +01:00
Sergei Zharinov
49d3c18e31
fix(github): Shrink GraphQL page size and retry for any ExternalHostError ( #12689 )
2021-11-16 15:16:31 +00:00
Rhys Arkins
c3ad246a99
fix: no-param-reassign ( #12571 )
2021-11-09 07:04:34 +01:00
Rhys Arkins
7e8239dd65
fix(github): better request error handling
2021-11-09 05:16:06 +01:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives ( #12548 )
2021-11-08 20:20:03 +01:00
Michael Kriese
7afc2b75d5
test: fix lint ( #12551 )
2021-11-08 13:16:58 +01:00
Sergei Zharinov
b9be8d4d6a
fix(http): Destroy some got responses explicitly to avoid onCancel errors ( #12533 )
2021-11-06 16:59:09 +01:00
Michael Kriese
6be7e756fc
fix(github): log graphql errors ( #12452 )
2021-11-02 12:12:29 +01:00
Rhys Arkins
e96d35d051
logs: downgrade error to warn
2021-11-01 16:56:43 +01:00
Rhys Arkins
dc445bde7a
logs: graphql nodes error query and options ( #12370 )
2021-10-28 10:37:09 +02:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 ( #12283 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest ( #12329 )
2021-10-27 07:24:36 +02:00
Sergei Zharinov
eef4c2f11f
feat(github): Use native auto-merge when possible ( #12045 )
2021-10-20 03:31:03 +00:00
Sergei Zharinov
9c6b79c990
refactor(github): Generic graphql request helper ( #12142 )
2021-10-13 11:31:22 +02:00
Maksim
1f86b71fd5
refactor: constants ( #11690 )
2021-10-06 07:43:32 +02:00
Michael Kriese
28222bf762
fix: do not fallback if explicit auth is configured ( #11760 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-15 15:13:17 +00:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords ( #11297 )
2021-09-09 16:17:05 +02:00
Michael Kriese
8785f70b93
fix(core/http): fallback to github /gitlab hosttype ( #11605 )
...
* fix(core/http): fallback to github /gitlab hosttype
* fix: remove generic host rule
* Update lib/util/http/index.ts
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-09-06 21:07:52 +02:00
Michael Kriese
0eb5c6d2cd
fix(core/changelogs): pass though known project info ( #11515 )
2021-09-01 13:07:55 +02:00
Sebastian Poxhofer
443b22b0ae
feat(gitlab-release): implement datasource ( #11226 )
...
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-09-01 09:36:38 +00:00
Michael Kriese
902ee02096
feat(manager:docker): use head requests ( #11484 )
2021-08-31 08:23:22 +00:00
Michael Kriese
60b3d6d933
fix(manager:docker): only pass auth header when required ( #11449 )
2021-08-30 15:55:16 +02:00
Jesko Steinberg
9f791552d3
feat: enable right filtering when specifing hostRules with github-api using datasources ( #11136 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-25 07:07:23 +00:00
Jamie Magee
a6f4e99e27
refactor: no implicit override ( #11395 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-23 20:50:37 +00:00
Masaki Hara
48acb427b7
feat(rubygems): support GitHub Packages ( #11107 )
2021-08-20 04:24:48 +00:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule ( #11285 )
2021-08-18 05:46:56 +00:00
Kamil Kowalski
a73d82787b
feat(hex): Private Hex packages ( #11168 )
2021-08-12 09:34:27 +00:00
Rhys Arkins
50e5a8129f
fix: simplify issue creation error messages ( #11179 )
2021-08-09 12:23:34 +02:00
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots ( #11150 )
...
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00