Commit Graph

12 Commits

Author SHA1 Message Date
Björn Kautler 86a9fe507c fix(versioning/maven): do not insert hyphens in right range boundaries with transition (#43626)
* fix(maven): do not insert hyphens in right range boundaries with transition

* Review Feedback Vol. 1
2026-05-27 13:00:25 +00:00
Björn Kautler 7829d94325 fix(maven): determine properly closed ranges (#38892)
* fix(maven): determing properly closed ranges

A Maven range like [1,2) contains various (usually pre-release) versions of the 2.x line.
By Maven definition the smallest possible 2.x version is 2-alpha, so a properly closed range that only allows 1.x versions
would be [1,2-alpha). This is now detected and properly advanced.

* Review Feedback Vol. 1

* Do not coerce as that will be fixed by #38895

* Ignore uncoverable if condition coverage

* Extract constant

* Review Feedback Vol. 2
2026-05-27 06:40:20 +00:00
Björn Kautler 6d0eb5b9bb fix(maven): do not loose the v-prefix of versions (#38895)
* fix(maven): determing properly closed ranges

A Maven range like [1,2) contains various (usually pre-release) versions of the 2.x line.
By Maven definition the smallest possible 2.x version is 2-alpha, so a properly closed range that only allows 1.x versions
would be [1,2-alpha). This is now detected and properly advanced.

* fix(maven): normalize both sides of version comparison

Without this a leftValue of v3 is incremented to 4 and then compared to v4.

* fix(maven): do not loose the v-prefix of versions in range handling

If versions of a project always start with a v prefix, this was lost when Maven ranges were involved.
The coerce and increment methods stripped the v away and it was never added back in.

* Properly fix underlying problem and make PR standalone

* Add missing coverage

* Remove unused callback parameter
2026-03-19 10:07:48 +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
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
RahulGautamSingh d81494ab13 fix: improve branch code coverage (#24339) 2023-09-17 06:56:34 +00:00
Sergei Zharinov 42e2b2743d fix(maven): Implement latest fix of the Maven versions (#22288) 2023-05-17 14:57:36 +00:00
RahulGautamSingh 938a36801e refactor: replace test.each with it.each (#21859) 2023-04-28 04:33:15 +00:00
Sergei Zharinov 6d0aeee2b8 fix(maven): Support versions containing + sign (#21533) 2023-04-16 09:00:09 +00:00
Sergei Zharinov 5b470d3c1f fix(maven): Allow whitespaces after comma in ranges (#14922) 2022-04-03 20:49:36 +02:00
Tobias f19a388462 fix(maven): Support underscore (_) in versioning (#14742) 2022-03-21 13:49:39 +00: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