Commit Graph

17 Commits

Author SHA1 Message Date
Sergei Zharinov 75e6c00fb0 fix(semver): Add legacy layer for x-ranges (#44074)
* test(versioning): cover legacy x-range behavior

* fix(versioning): preserve legacy x-ranges with semver
2026-06-18 08:50:43 +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
Rhys Arkins 0d5d7a8669 refactor!: remove rangeStrategy=pin from versioning modules (#36261)
Refactors `getNewValue` logic to replace it with an optional
`getPinnedValue()` where rangeStrategy=pin. This way each versioning
module doesn't need to add and test extensive "pin" logic.

This should not be breaking, but out of an abundance of caution, we'll
mark it as such.
2025-11-06 08:07:40 +00:00
RahulGautamSingh d21d0992c3 fix(versioning/npm): widen upper bound correctly (#35857) 2025-05-11 09:50:54 +00:00
Rhys Arkins 67935500d7 feat(versioning): isBreaking (#31859)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-09 08:17:14 +00:00
Stefano Arlandini d300cd0f5c fix(manager/composer): use intersects() instead of matches() to compare tool constraint (#34256)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-03-06 07:19:51 +00:00
Rhys Arkins 4316888c67 fix(versioning): bump rangeStrategy should pin if no range qualifier (#28309) 2024-04-10 09:47:14 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Rhys Arkins 7d4de49749 fix(versioning): strip v prefix when bumping semver ranges (#24357) 2023-09-12 05:51:26 +00:00
RahulGautamSingh 938a36801e refactor: replace test.each with it.each (#21859) 2023-04-28 04:33:15 +00:00
Lctrs 2e25de1211 feat(datasource): support range constraints filtering (#20842)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-15 06:12:08 +00:00
Rhys Arkins 73c8227132 fix(versioning)!: bump short ranges to version (#20494)
When rangeStrategy=bump, and the existing range is "short" (e.g. `^1`), and a bump is required, the new result will be a version range (e.g. `^1.0.7`).

Closes #20488
2023-03-10 09:34:40 +01:00
Fred Cox 7891d8979f fix(versioning/hashicorp): better parsing (#19652)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-07 14:44:38 +00:00
Gabriel-Ladzaretti 2a5c0fbc32 fix(npm/versioning): exception when directly calling getNewValue with x-range-all '*' with unsupported strategy (#18379) 2022-10-17 19:54:46 +02:00
Gabriel-Ladzaretti ae05eae500 test(versioning/npm): add tests to self cover npm versioning folder (#18355) 2022-10-17 05:05:56 +02:00
Gabriel-Ladzaretti 6fef1d1650 feat(manager/npm): add support for x-range "all" - "*" range (#18251) 2022-10-14 11:26:20 +02: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