renovate/lib/modules/manager/gleam
Jason Sipula 5421c729b9
fix(manager/gleam): apply suggested change from #31002 (#32962)
2024-12-07 06:51:44 +00:00
..
artifacts.spec.ts feat: support gleam lang (#30345) 2024-07-31 20:29:06 +00:00
artifacts.ts fix(manager/gleam): apply suggested change from #31002 (#32962) 2024-12-07 06:51:44 +00:00
extract.spec.ts feat(manager/gleam): extract locked versions (#31000) 2024-08-26 09:22:11 +00:00
extract.ts feat(manager/gleam): extract locked versions (#31000) 2024-08-26 09:22:11 +00:00
index.ts docs(managers): add missing url and displayName (#32621) 2024-12-01 08:47:27 +00:00
locked-version.spec.ts feat(manager/gleam): extract locked versions (#31000) 2024-08-26 09:22:11 +00:00
locked-version.ts feat(manager/gleam): extract locked versions (#31000) 2024-08-26 09:22:11 +00:00
range.spec.ts feat(manager/gleam): enable update-lockfile (#31002) 2024-12-06 09:27:09 +00:00
range.ts feat(manager/gleam): enable update-lockfile (#31002) 2024-12-06 09:27:09 +00:00
readme.md feat(manager/gleam): enable update-lockfile (#31002) 2024-12-06 09:27:09 +00:00
schema.ts feat(manager/gleam): extract locked versions (#31000) 2024-08-26 09:22:11 +00:00

readme.md

Renovate can update gleam.toml and/or manifest.toml files.

The gleam manager can update these depTypes:

  • dependencies
  • dev-dependencies

How Renovate updates gleam.toml files

The gleam manager extracts dependencies for the hex datasource, and uses Renovate's implementation of Hex SemVer to evaluate gleam.toml updates.

How Renovate updates manifest.toml files

The gleam manager uses the gleam program to update manifest.toml files.

Enable lockFileMaintenance

We recommend you set lockFileMaintenance to true for the gleam manager, in your Renovate config. This way Renovate can update all your dependencies, including those with in-range updates.

lockFileMaintenance=true periodically refreshes your manifest.toml files, ensuring all dependencies are updated to their latest allowed versions.

Default rangeStrategy=auto behavior

Renovate's default rangeStrategy is "auto". Here's how "auto" works with the gleam manager:

Version type New version Old range New range after update What Renovate does
Complex range 0.16.0 >= 0.14.0 and < 0.15.0 >= 0.14.0 and < 0.16.1 Widen range to include the new version.
Simple range 0.39.0 <= 0.38.0 <= 0.39.0 If update outside current range: widens range to include the new version.
Exact version constraint 0.13.0 == 0.12.0 == 0.13.0 Replace old version with new version.

For applications, we recommend using rangeStrategy=pin. This pins your dependencies to exact versions, which is generally considered best practice for apps.

For libraries, use rangeStrategy=widen with version ranges in your gleam.toml. This allows for greater compatibility with other projects that may use your library as a dependency.