Commit Graph

32 Commits

Author SHA1 Message Date
Sergei Zharinov 9b8dfd6259 feat(versioning): Add Paket versioning (#44366)
* feat(versioning): add paket versioning

* docs(versioning): use JSDoc for paket function comments
2026-07-07 10:28:20 +00:00
Jamie Tanna d508716886 feat(versioning): add a github-actions versioning (#42712)
GitHub Actions' versioning somewhat mirrors the SemVer-style versioning,
but doesn't quite.

This is in the case that it's common to use (mutable) tags like `v7` or
`v4.2`, as well as full SemVer style` `v1.2.3` and `v1.3.4-rc2`, doesn't
quite match it.

In addition, with GitHub's recent move to introduce Immutable Tags,
these require new releases to be a full SemVer `major.minor.patch` tag.

However, we don't currently have a way to take users from `@v7` to
`@v8.1.1`, in the case they're using Immutable Tags.

Given this isn't currently straightforward with any of our existing
SemVer-y versioning modules like `semver-coerced` or `semver-partial`,
we should instead introduce a specific Versioning module.

This mostly covers the functionality that `semver-partial` has, but
needs to take advantage of the `allVersions` parameter to find the
"shortest" possible tag for a given resolved Semantic Version.

This was previously attempted in previous changes, but reverted in
db64cc6de0 due to additional complexity.

We won't turn it on by default right now, but as a future change.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-04-17 19:07:45 +00:00
Punsoong Khut 1a3851dc99 feat(versioning): add APK versioning support (#40248)
* feat(versioning): add APK versioning support

* remove unreachable code

* improve test for partial coverage

* use capture groups for regex

* ignore patial coverage errors

* Update lib/modules/versioning/apk/index.ts

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* Update lib/modules/versioning/apk/index.ts

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* move regexes to module level for performance

* fix import

* fix imports 2

* address comments

* Update lib/modules/versioning/apk/readme.md

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

* fix oxlint error

---------

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
2026-03-03 13:41:47 +00:00
Hajime-san f990e7181e feat(versioning): add Deno versioning support (#40968)
* feat(versioning): add deno versioning

* chore(versioning): update deno versioning paths

* fix versioning

* c8 versiong

* review

* review

* Apply suggestions from code review

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

* review

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-02-24 22:09:00 +00:00
Florian Arens c997287e68 feat(versioning): add elm versioning support (#40999)
* feat(versioning): add elm versioning support

* fix(versioning/elm): remove unnecessary defensive check in nextMajor

* fix(versioning/elm): use named capture groups in range regex

* fix(versioning/elm): use semver gte instead of gt || eq

* Update lib/modules/versioning/elm/index.ts

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-02-17 10:40:36 +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
Tobias Bieniek b637846579 feat(versioning): Add rust-release-channel versioning scheme (#39859)
* feat(rust-version): Implement `rust-release-channel` versioning scheme

* refactor(rust-version): Adjust `isCompatible()` to return `false` for differing `host` values

* refactor(rust-version): Simplify comparisons in `sortParsed()` fn

* refactor(rust-version): Extract `sortParsed()` fn to `util.ts`
2026-01-23 12:58:19 +00:00
Sergei Zharinov 22721edd65 feat: Add exact versioning (#40098)
* feat: Add `dummy` versioning

* refactor: Rename `dummy` versioning to `exact`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(versioning/exact): isCompatible equality

* Update lib/modules/versioning/exact/index.spec.ts

Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Jamie Tanna <github@jamietanna.co.uk>
2025-12-30 11:55:09 +00:00
Sergei Zharinov aed021fb97 feat: Add semver-partial versioning scheme (#38593)
* feat(gitlab-ci): Add `semver-partial` versioning

* Add supported range strategies to semver-partial

* Add test cases for invalid semver inputs

* Remove unused sortVersions spec test

* Add tests for semver-partial versioning edge cases

* Simplify semver-partial version comparison logic

* Rewrite AI slop

* Add tests and improve semver-partial version matching

* Remove support for v-prefixed versions and bump strategy

* Refactor isLessThanRange to use parseVersion/Range

* Remove duplicate test cases in semver-partial spec

* Remove GitLab CI extract changes (split into separate PR)
2025-10-21 21:37:38 +00:00
Borja Domínguez 39fb4207bc feat(versioning): Add Unity packages (#35761) 2025-06-24 08:52:18 +00:00
Gareth Parker 224fa799cc feat(versioning): Add a NodeJS Lambda Versioning module (#32480)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-06 21:51:26 +00:00
Trim21 800efe9f59 feat: add conda versioning (#34351) 2025-03-21 12:03:27 +00:00
Ivan Ka 476d11ce0f feat(versioning): aws-eks-addon versioning added (#33301)
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-31 08:06:18 +00:00
Will Brennan 01a3c2ff8f feat(versioning): add devbox versioning module (#31408)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-12-20 15:05:23 +00:00
Janus Troelsen 2f805f4b7d feat(versioning): add PVP versioning scheme (#32298)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-06 10:21:07 +00:00
RahulGautamSingh e6a29bbff4 feat(versioning): same major (#28418)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-06-26 07:23:39 +00:00
Jakob Steiner 4b44b30b9f feat(versioning): add versioning scheme for glasskube package manager (#29506)
Signed-off-by: Jakob Steiner <jakob.steiner@glasskube.eu>
2024-06-10 11:01:30 +00:00
Vincent Mahnke 28e0123a3e feat(versioning): Add Unity3D (#27307)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-03-17 10:00:03 +00:00
laundry-96 0c92669673 feat(rpm): added rpm versioning functionality (#26340)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-05 10:41:45 +00:00
Chuck Grindel be08f1b985 feat: implement bazel-module VersioningApi (#21606) 2023-04-21 17:19:30 +00:00
Simon Eßlinger 3c5224eee4 feat: add datasource, versioning and manager for Azure Bicep resources (#20755)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-14 18:29:25 +00:00
Malte Swart 75cf8f1edc feat(versioning/deb): New module to compare deb package versions like dpkg (#20291) 2023-02-15 06:46:49 +00:00
Rhys Arkins 719354793f feat(gomod): directive versioning (#19453) 2022-12-17 08:12:57 +01:00
Jamie Magee f73b133a5d feat(versioning/nixpkgs): add nixpkgs versioning (#18817) 2022-11-08 07:26:51 -08:00
Jamie Magee 0ca4794745 feat(versioning): add kubernetes-api versioning (#16570)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-25 05:10:35 +00:00
Michael Kriese 60ed6ad40d feat(versioning): add python versioning for buildpack (#17147) 2022-08-12 06:24:56 +00:00
IKEDA Sho ef11336ed9 refactor(versioning): use versioning's id consistently (#16640) 2022-07-19 07:36:52 +03:00
IKEDA Sho 0d2d22167d feat(versioning): add perl versioning (#16518) 2022-07-12 10:29:27 +02:00
Yun Lai 605f35c45c feat: add versioning for Hermit package manager (#16256)
* feat: add versioning for Hermit package manager

* Update lib/modules/versioning/hermit/index.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update lib/modules/versioning/hermit/index.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update index.ts index.spec.ts and readme.md according to PR comments

* fix: fix versioning test double negation and _parseVersion function which is just for testing

* fix: simplify hermit versioning implementation as suggested

* fix: use _compare to simplify versioning implementation

* fix: reword version in hermit versioning and make _isChannel & _getChannel static

* fix: remove duplicated title in test and make _config readonly

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 13:30:22 +00:00
Johannes Feichtner 8738b0a47c feat(versioning/redhat): Support for Red Hat release versioning (#16294) 2022-07-03 23:39:13 +00:00
Gabriel-Ladzaretti c17a274de3 feat(versioning/debian): Debian codenames support (#14881)
* refactor(tools/distro-info): for later use in ubuntu and debian versioning

cr changes

* feat(versioning/debian): Debian codenames support

restore extracted code

* feat(versioning/debian): Debian codenames support

package.json, dropped the generate: prefix.

unit test mod as per CR

* feat(versioning/debian): Debian codenames support

now using the generic ver api interface

* feat(versioning/debian): Debian codenames support

revert exporting docker versioning

* feat(versioning/debian): Debian codenames support

switched to luxon for time handle
test fixes
dropped ts-ignore comments

* feat(versioning/debian): Debian codenames support

extract changes in distro.ts

* feat(versioning/debian): Debian codenames support

post merge changes

* feat(versioning/debian): Debian codenames support

cr changes

* feat(versioning/debian): Debian codenames support

 - added support for pin range strategy

* feat(versioning/debian): Debian codenames support

- typos & metadata fixes

* feat(versioning/debian): Debian codenames support

- added isReleased to distro.ts

* feat(versioning/debian): Debian codenames support

- moved all time/date handling into distro.ts

- date freeze for ubuntu/debian/distro unit tests

* refactor(versioning/distro): Move date handling into distro.ts

- revert refactor #15272

* feat(versioning/debian): Debian codenames support

 - merge distro refactor

* feat(versioning/debian): Debian codenames support

 - extract private properties

* feat(versioning/debian): Debian codenames support

  - cr changes

* feat(versioning/debian): Debian codenames support

  - cr changes

* feat(versioning/debian): Debian codenames support

  - cr changes

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-18 15:32:59 +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