Skip to content

chore: add Renovate, refresh deps and test the Gleam floor and latest - #32

Merged
nao1215 merged 4 commits into
mainfrom
chore/maintenance-20260910
Sep 10, 2026
Merged

nao1215 merged 4 commits into
mainfrom
chore/maintenance-20260910

Conversation

@nao1215

@nao1215 nao1215 commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Summary

Nothing updated this repository's dependencies automatically, so manifest.toml fell behind and CI stayed on Gleam 1.15.2. This adds the shared Renovate preset, refreshes the manifest, lowers the declared compiler floor to what the package needs, and runs CI on that floor and the latest Gleam 1.x.

Changes

  • renovate.json: extends github>nao1215/renovate-config (rangeStrategy: widen, weekly lock file maintenance). Renovate updates gleam.toml ranges, manifest.toml, .mise.toml and GitHub Actions.
  • manifest.toml: gleam update within the existing ranges (gleam_stdlib 1.0.5, gleeunit 1.11.0, glinter 2.19.2 and transitive packages). No range needed widening.
  • gleam.toml: the floor goes from >= 1.15.0 to >= 1.14.0. 1.14.0 builds and tests the package unchanged on both targets, and gleam_stdlib 1.0 already requires 1.14.
  • src/: reformatted with Gleam 1.18 (line wrapping only).
  • .github/workflows/ci.yml: new floor job (Gleam 1.14.0, OTP 27, Node 22, Erlang and JavaScript tests). check and build-and-test move to Gleam 1.x and OTP 29; Node uses lts/*. actions/checkout and actions/setup-node go to v7.
  • .github/workflows/release.yml: uses the latest lane, since the build job runs just format-check.
  • .mise.toml: Gleam 1.18.1 and Erlang 29.0 so local formatting matches CI.
  • CONTRIBUTING.md, CHANGELOG.md: Gleam 1.14 requirement, changelog entry.

Design Decisions

The latest lane floats on 1.x because Renovate does not update gleam-version, and the floor lane is pinned to the patch so it proves the declared >= 1.14.0 itself.

Verified locally: Gleam 1.18.1 / OTP 29 passes format, glinter, build with warnings as errors on both targets and 101 tests on each target; Gleam 1.14.0 passes the same tests on both targets.

Summary by CodeRabbit

  • Compatibility

    • Lowered the minimum required Gleam compiler version to 1.14.0.
    • Confirmed builds and tests across Erlang and JavaScript targets with the supported compiler range.
  • Dependencies

    • Updated several development and runtime dependencies, including the standard library and QR-related tooling.
  • Maintenance

    • Updated release and continuous integration toolchains.
    • Added automated dependency update configuration.
    • Applied formatting-only improvements without changing functionality.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: a318c053-7e0d-40a7-82ea-1c3936d95cb6

📥 Commits

Reviewing files that changed from the base of the PR and between 042f08f and 6875171.

📒 Files selected for processing (16)
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • .mise.toml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • gleam.toml
  • manifest.toml
  • renovate.json
  • src/qrkit.gleam
  • src/qrkit/content.gleam
  • src/qrkit/internal/matrix.gleam
  • src/qrkit/internal/micro.gleam
  • src/qrkit/internal/rmqr.gleam
  • src/qrkit/internal/segment.gleam
  • src/qrkit/internal/version.gleam
  • src/qrkit/render/ascii.gleam

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The PR lowers the minimum Gleam version to 1.14.0, adds floor compiler CI, updates release and local toolchains, refreshes locked dependencies, adds Renovate configuration, and applies formatting-only changes to Gleam source files.

Changes

Compiler support and tooling

Layer / File(s) Summary
Compiler support and CI lanes
gleam.toml, CONTRIBUTING.md, CHANGELOG.md, .github/workflows/ci.yml
The minimum Gleam version is 1.14.0. CI tests Gleam 1.14.0 on Erlang and JavaScript targets, alongside the latest Gleam 1.x toolchain.
Release and local toolchain versions
.github/workflows/release.yml, .mise.toml
Release workflows and local pins use updated checkout, Node, OTP, and Gleam versions.
Dependency locks and update configuration
manifest.toml, renovate.json
Locked dependency versions and checksums are updated. Renovate configuration is added.
Gleam formatting updates
src/qrkit.gleam, src/qrkit/content.gleam, src/qrkit/internal/*, src/qrkit/render/ascii.gleam
Function declarations and one pattern-match guard are reformatted without behavior changes.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 68751

This change updates compiler support, tooling, dependencies, automation, and formatting without identified runtime or release-blocking issues. The supplied floor and latest lanes pass the relevant builds and tests, so it is mergeable.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main changes: adding Renovate, refreshing dependencies, and testing the Gleam floor and latest versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/maintenance-20260910

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nao1215
nao1215 merged commit cc869ee into main Sep 10, 2026
5 checks passed
@nao1215
nao1215 deleted the chore/maintenance-20260910 branch September 10, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant