Commit Graph

37 Commits

Author SHA1 Message Date
Sebastian Poxhofer 05e1271376 test: use expect().resolves instead of awaiting inside expect (#45672)
Enables the vitest/prefer-expect-resolves oxlint rule and applies its
autofix across the spec suite.
2026-09-04 10:40:46 +00:00
Sebastian Poxhofer f4ab79f2a5 test(datasource): replace file snapshots with explicit assertions (#45655)
* test(datasource): replace file snapshots with explicit assertions

* test(datasource): replace inline snapshots with explicit assertions

* test(datasource): drop assertions implied by full equality

* test(datasource): address review feedback
2026-09-03 14:31:08 +00:00
Jamie Tanna 98cc8b543c test(datasource/maven): document existing registryStrategy=hunt (#43365)
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-05-15 16:54:30 +00:00
Jamie Tanna 01bcd4fd43 fix(datasource/maven): don't look up potential Gradle Plugins in Maven Central (#43346)
* fix(datasource/maven): don't look up potential Gradle Plugins in Maven Central

As part of efforts to reduce the general overload on Maven Central[0]
from Renovate, we can look to avoid lookups that we know are likely to
never resolve.

For instance, via #43146, we can skip any packages that appear to be a
Gradle Plugin, as they will only ever be sourced from the  Gradle Plugin
Portal.

[0]: https://www.sonatype.com/blog/maven-central-and-the-tragedy-of-the-commons

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* Update lib/modules/datasource/maven/readme.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-05-14 11:59:31 +00:00
renovate[bot] c2aa761c1e chore(deps): update linters (main) (#41417)
* chore(deps): update linters

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| npm        | @eslint/js           | 9.39.2 | 9.39.3 |
| npm        | eslint               | 9.39.2 | 9.39.3 |
| npm        | eslint-plugin-oxlint | 1.46.0 | 1.49.0 |
| npm        | oxlint               | 1.47.0 | 1.49.0 |
| npm        | typescript-eslint    | 8.55.0 | 8.56.0 |

* chore(deps): update linters

| datasource | package              | from   | to     |
| ---------- | -------------------- | ------ | ------ |
| npm        | @eslint/js           | 9.39.2 | 9.39.3 |
| npm        | eslint               | 9.39.2 | 9.39.3 |
| npm        | eslint-plugin-oxlint | 1.46.0 | 1.49.0 |
| npm        | oxlint               | 1.47.0 | 1.49.0 |
| npm        | typescript-eslint    | 8.55.0 | 8.56.0 |

* Radix rule has been deprecated

* fixup! Radix rule has been deprecated

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2026-02-28 11:23:25 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
renovate[bot] f609b6f472 chore(deps): update vitest monorepo to v4 (main) (major) (#39505)
* chore(deps): update vitest monorepo to v4

| datasource | package             | from  | to     |
| ---------- | ------------------- | ----- | ------ |
| npm        | @vitest/coverage-v8 | 3.2.4 | 4.0.10 |
| npm        | vitest              | 3.2.4 | 4.0.10 |

* chore: migration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-11-24 15:30:57 +00:00
Rhys Arkins c0bdd1cb4c feat(datasource/maven): set latest tag ignored by default (#37541) 2025-08-18 17:13:25 +00:00
Michael Kriese a5f3956210 refactor: remove default radix from parseInt (#37489) 2025-08-13 15:36:30 +00:00
Rhys Arkins 9f63f4aa93 fix(datasource/maven): remove tags (#37021) 2025-07-17 07:11:40 +00:00
Rhys Arkins 70fb88459b feat(datasource/maven)!: use latest and release values as tags (#35515)
Adds support for `latest` and `release` tags in Maven datasource. This means that Renovate will no longer upgrade past the `latest` version in Maven unless `respectLatest` is explicitly configured to `false`.

BREAKING CHANGE: Renovate will now enforce `latest` version for Maven upgrades
2025-04-30 10:51:58 +02:00
Sergei Zharinov 77fa0a0010 feat(maven): Unify fetching utilities (#32999) 2025-03-30 16:38:49 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Trim21 6e5731b554 test: migrate from jest to vitest (#34499) 2025-02-26 14:18:38 +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
Jonas Rutishauser ef1cf5906c feat(datasource/maven): Use relocation information (#32636)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-01-16 08:52:17 +00:00
Sergei Zharinov 933ffc8c7e feat(maven): Remove unnecessary HTML page fetches (#32662) 2024-11-28 10:08:55 +00:00
Tobias 6e36262a6b fix(datasource/maven): make cache key extractedVersion specific (#32658) 2024-11-21 16:30:18 +00:00
Hans Aikema 957d1997c5 fix(datasource/maven): Maven Central has no index.html (#32295) 2024-11-10 14:29:34 +00:00
Sergei Zharinov f182fb3ea7 feat(maven): Use release post-fetch processing (#31261)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-09-26 13:20:54 +00:00
Sergei Zharinov 523d80ebb9 fix(maven): Return isPrivate flag for default repo (#31061) 2024-08-28 05:22:16 +00:00
Sebastian Poxhofer 3681b2a945 chore: eslint to enforce for typed imports (#30844) 2024-08-19 13:15:27 +00:00
Yun Lai 397dda5bd0 feat: allow packageScope in template compilation and add packageScope in maven datasource (#27925)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-03-15 08:51:23 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Koen van Zuijlen 080d642593 feat(datasource/maven): Add Artifact Registry support via Google ADC (#24657)
Co-authored-by: Johannes Feichtner <343448+Churro@users.noreply.github.com>
2023-10-15 06:29:29 +00:00
Rhys Arkins 3ec91b2808 feat(maven)!: use hunt strategy for registries (#24588) 2023-09-27 14:29:17 +02:00
Michael Kriese 84a97a62fa test(perf): improve test speed (#24323) 2023-09-08 11:40:04 +00:00
Rhys Arkins b17bcf2789 refactor(datasource): use packageName and not depName for datasource lookups (#20474) 2023-03-10 09:34:40 +01:00
RahulGautamSingh 1657c16136 chore(lint): add object shortand rule (#18080) 2022-10-02 21:20:24 +02:00
Michael Kriese 0838ca209c refactor: strict datasource tests (#16150) 2022-06-20 13:15:02 +02:00
Craig Andrews ae4a57491d fix(maven): Use correct snapshot URL in getDependencyInfo (#15380) 2022-05-13 18:29:35 +02:00
Michael Kriese a51baaf8af fix(manager:npm): patch local yarn v1 binary (#15440)
* test: fix mocks

* fix(manager:npm): patch local yarn v1 binary
2022-05-04 10:28:37 +00: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
Sergei Zharinov 857ab6682e test(datasource/maven): Enhance test for HTML-based release fetch (#14519) 2022-03-04 13:46:35 +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