Commit Graph

387 Commits

Author SHA1 Message Date
Sergei Zharinov 5b1d4a97c8 refactor(cache): Rename ttlMinutes to softTtlMinutes for clarity (#35892) 2025-05-12 13:21:04 +00:00
Sergei Zharinov 7ab095648f refactor: Make package caching params explicit (#35815) 2025-05-09 06:08:17 +00:00
RahulGautamSingh 49fa1be464 feat(util): getEnv (#35161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-06 18:37:28 +00:00
Felipe Santos 6068a59a09 fix(memCache): disallow http requests in cache to be mutable (#35647) 2025-04-30 15:49:59 +00:00
Johannes Feichtner 68a66a05a9 feat(bitbucket-server): add support for changelogs (#34569) 2025-04-09 09:45:32 +00:00
Sergei Zharinov bf92e0a2bf feat: Add auth header check for package cache provider (#34956) 2025-03-31 15:14:54 +00:00
Yohei Ueki 7d46cf7d42 fix(host-rules): respect hostRules.enabled=false even when noAuth=true (#35048) 2025-03-31 09:20:21 +00:00
Sergei Zharinov db8dda2378 fix: Explicitly disable memCache when caching is switched on/off (#35060)
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2025-03-30 08:02:36 +00:00
Sergei Zharinov f977700649 feat(http): Switch to memory cache provider (#33901)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-03-24 08:02:47 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Michael Kriese b5ff90f2bd fix: improve coverage (#34667) 2025-03-06 17:05:19 +00:00
Sergei Zharinov a7831ab74e feat(cache): Make http cache providers respect cache-control header (#33848) 2025-03-06 15:55:45 +00:00
Michael Kriese ea5c6eb0af fix(http): add more logging (#34627) 2025-03-05 08:18:41 +00:00
Michael Kriese a0bb61e98d fix(bitbucket): use next url instead of custom paging (#34602) 2025-03-04 10:21:48 +00:00
Michael Kriese 5897f3057d fix: refactor http (take 2) (#34558) 2025-02-28 17:17:09 +00:00
Michael Kriese 593a92655e feat: refactor http (#34550) 2025-02-28 14:40:04 +00:00
renovate[bot] 0299455412 chore(deps): update dependency nock to v14 (main) (#34557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-28 14:20:08 +00:00
Michael Kriese 1644d9cb18 test: migrate more to vitest (#34500) 2025-02-26 15:45:17 +00:00
Trim21 6e5731b554 test: migrate from jest to vitest (#34499) 2025-02-26 14:18:38 +00:00
Michael Kriese bb5377b3d8 test: fix code coverage (#34495) 2025-02-26 12:40:30 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
renovate[bot] 55845508b6 chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +00:00
Johannes Feichtner daaf74defb feat(bitbucket-server): add paginate http option (#34114) 2025-02-18 21:41:15 +00:00
Sergei Zharinov 1e702c2a99 feat(http): Create memory cache provider (#33900) 2025-02-10 16:15:35 +00:00
Sergei Zharinov b5ae2f596f feat(cache): Relax requirements for cacheable response headers (#34134) 2025-02-10 16:12:50 +00:00
Zigmas Bitinas c0af153b5e fix(http): allow overwriting default Renovate headers (#33907) 2025-01-29 14:18:51 +00:00
Sergei Zharinov c3814ab0ad feat(http): Return stale cache on revalidation errors (#33852) 2025-01-28 15:36:36 +00:00
Sergei Zharinov 53fa8cc945 refactor(cache): Utils to calculate soft and hard TTL (#33844) 2025-01-28 10:15:19 +00:00
Sergei Zharinov d934216a90 feat(http): Create package cache provider (#33742) 2025-01-24 09:30:13 +00:00
Sergei Zharinov da5c5ed3f6 feat: Drop older timeStamp field support (#33734) 2025-01-22 21:48:43 +00:00
Sergei Zharinov 9b4e515024 refactor(http): Separate getJson and getJsonUnchecked (#33651) 2025-01-17 14:18:00 +00:00
Sergei Zharinov a9985dad34 refactor(http): Separate getYaml and getYamlUnchecked (#33653) 2025-01-17 06:14:47 +00:00
Sergei Zharinov 76ff1df549 refactor(http): Add getYaml and getYamlSafe methods (#33578) 2025-01-13 09:46:21 +00:00
Sergei Zharinov 80bc9d0fe2 refactor: Move Repology rate limits to http defaults (#30996) 2024-08-25 11:19:58 +00:00
Sebastian Poxhofer 1f3ab66d33 chore(http/github): add utility function to fetch raw files (#30155)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-08-21 12:56:27 +00:00
Sebastian Poxhofer 3681b2a945 chore: eslint to enforce for typed imports (#30844) 2024-08-19 13:15:27 +00:00
Sergei Zharinov da8c1fbf40 feat(http): Limit Gradle Plugin repository (#30792) 2024-08-15 07:21:45 +00:00
Michael Kriese 2274b3bbf7 fix(http): reduce logging for Retry-After (#30450) 2024-07-29 11:56:12 +00:00
Michael Kriese 0f00853a67 fix(http): allow retry-after: 0 (#30451) 2024-07-29 11:55:58 +00:00
Sergei Zharinov c737c8acd0 feat(http): Increase concurrency limit for npm registry (#30400) 2024-07-26 13:57:12 +00:00
Sergei Zharinov 6da68172e9 refactor(https): Separate rules lists by rate limit type (#30399) 2024-07-26 13:27:29 +00:00
RahulGautamSingh 2eb7c76027 feat(http)!: remove dnsCache option (#29449)
BREAKING CHANGE: dnsCache is now removed
2024-07-25 15:28:16 +02:00
Michael Kriese a3e29a092d feat(gitea)!: use Bearer instead of token for auth (#28308)
Previous Gitea implementation used non-standard “token” auth instead of “Bearer”. Gitea supports Bearer al alternate to token since v1.8.0, so it’s safe to make this change now.

BREAKING CHANGE: Gitea platfor authentication will now be done using Bearer auth instead of token auth.
2024-07-25 15:28:16 +02:00
Sergei Zharinov 8d183d6b25 feat(http): Force default rate limits for some known hosts (#30207)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-07-22 16:59:29 +00:00
Florian Greinacher c608ceeaac feat(gitlab): retry requests on resource locks (#29019)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-05-14 09:15:12 +00:00
RahulGautamSingh 5558b0d3da feat(config/self-hosted): userAgent (#28737)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-04-29 16:16:35 +00:00
Sergei Zharinov 5c0628bf3b feat(host-rules): Support readOnly request matching (#28562)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-04-23 03:26:20 +00:00
Sergei Zharinov d6d1e57763 refactor: Rename validateUrl to isHttpUrl (#28484) 2024-04-17 15:57:33 +00:00
Rhys Arkins ee34245628 fix(http): honor authType first (#28304) 2024-04-10 08:06:33 +00:00
Sergei Zharinov 8596967060 feat(http): Switch to pluggable HTTP cache implementation (#27966)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-03-19 16:34:05 +00:00