Skip to content

chore(main): release flint 0.20.0#165

Merged
zeitlinger merged 1 commit intomainfrom
release-please--branches--main--components--flint
Apr 13, 2026
Merged

chore(main): release flint 0.20.0#165
zeitlinger merged 1 commit intomainfrom
release-please--branches--main--components--flint

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 13, 2026

flint v0.20.0 — Rust rewrite

flint has been rewritten from scratch in Rust. The bash + Docker stack is replaced by a fast, cross-platform native binary with no container dependency.

Highlights

  • Native binary — no Docker, no bash wrappers; runs anywhere mise can install a Rust crate
  • Parallel linting — all checks run concurrently
  • Diff-aware — only checks files changed since the merge base by default (--full for everything)
  • flint update — migrates obsolete mise.toml tool keys automatically (e.g. ubi:github:, npm:markdownlint-clinpm:markdownlint-cli2)
  • flint hook install — installs a pre-commit hook without any mise task knowledge
  • New linters: gofmt, google-java-format, ktlint, dotnet-format, markdownlint-cli2, xmllint (via cargo:xmloxide), license-header (pure-Rust, no binary)
  • Windows support — ktlint self-executing JAR handled via explicit java -jar invocation

Migration

See AGENTS-V2.md and README.md for full setup instructions.

Quick reference for existing consumers:

[tools]
# While installing from source (pre-crates.io release):
"cargo:https://github.com/grafana/flint" = "branch:main"

[env]
FLINT_CONFIG_DIR = ".github/config"

[tasks.lint]
run = "flint run"

[tasks."lint:fix"]
run = "flint run --fix"

Remove: lint:super-linter, lint:links, lint:renovate-deps, setup:native-lint-tools, setup:pre-commit-hook tasks. Run flint update to auto-migrate any obsolete tool keys.

Note

The changelog below includes entries from the legacy v1 bash era — see README-V1.md for v1 docs.


0.20.0 (2026-04-13)

Features

  • add flint v2 Rust binary (#139) (19f2b25)
  • add native linting mode and version mapping infrastructure (#93) (24b06da)
  • add Renovate shareable preset for consuming repos (#17) (8a06590)
  • consolidate link checking and add autofix flags (#7) (086a5e9)
  • flint update command, explicit JAR flag, v0.20.0 (#146) (b43bf52)
  • handle line-number anchors and issue comments globally (#56) (cf751df)
  • links: add GitHub URL remaps for line-number and fragment anchors (#28) (5b59065)
  • links: auto-remap base-branch GitHub URLs to PR branch (#18) (dd6cc61)
  • renovate: support SHA-pinned URLs in Renovate preset (#21) (4fd1f28)
  • super-linter: default to slim image (#24) (c8eeab8)
  • support NATIVE env var for container-free linting (#107) (0a8193d)

Bug Fixes

  • activate mise environment in native lint mode (#123) (d0fec45)
  • add 'mise run fix' hint to lint failure output (#90) (5b4ad5d)
  • decouple version mapping generation from pinned super-linter version (#112) (5370e77)
  • deps: update rust crate crossterm to 0.29 (#156) (c59ae3e)
  • deps: update rust crate similar to v3 (#160) (684be4e)
  • deps: update rust crate toml to v1 (#161) (3aae614)
  • deps: update rust crate toml_edit to 0.25 (#158) (42d9efd)
  • exclude GitHub compare links from lychee checks (#10) (e714608)
  • fail native lint when enabled tools are missing (#111) (163bb6b)
  • improve link checker reliability against GitHub rate limiting (#95) (7a5282d)
  • include staged files in native lint file list (#135) (34412d6)
  • links: add regex anchors to remap patterns (#19) (2e17348)
  • native lint in worktrees, trust toml, use ec binary, drop isort (#134) (8594bba)
  • release-please: fix footer not appearing on release PRs (#40) (d7a55e4)
  • remap same-repo GitHub URLs to local file paths (#100) (b4feadd)
  • renovate-deps: forward GITHUB_TOKEN as GITHUB_COM_TOKEN (#132) (4d6510b)
  • replace broken release-please PR comment with docs (#12) (817b37d)
  • run shellcheck on .bats files in native mode (#137) (a4fd3f8)
  • strip Scroll to Text Fragment anchors in link checks (#86) (b630cdf)
  • tighten markdownlint config for native mode (#106) (6ef25b2)
  • use remap instead of exclude for issue comment anchors (#58) (656f355)

Important

Close and reopen this PR to trigger CI checks.

@github-actions github-actions Bot requested a review from a team as a code owner April 13, 2026 14:20
@zeitlinger zeitlinger closed this Apr 13, 2026
@zeitlinger zeitlinger reopened this Apr 13, 2026
@zeitlinger zeitlinger merged commit d5e1401 into main Apr 13, 2026
14 checks passed
@zeitlinger zeitlinger deleted the release-please--branches--main--components--flint branch April 13, 2026 14:51
@github-actions
Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant