fixed
🔧 Fixes
- Fix a segfault in the GitHub Actions integration
The release notes for 1.9.0 are included below:
🎁 New
- Allow users to use their own plugins to define a common set of enabled linters across all their repos: c.f. the linters we enable for ourselves and how we reference them
- Implement trunk upgrade --apply-to=file, to allow upgrading a shared config
- Improved detection of existing vs new issues has been turned on for everyone by default (hold_the_line_modenow defaults toword; see documentation)
🔌Plugins (new in 0.0.16, since 0.0.14)
- We now support gokart, trufflehog, and DJLint (our thanks to gejustin and fsargent for the contributions!)
- Allow specifying a buildifier config, using .buildifier.json(check out this PR for a usage example; specifically, you'll want.trunk/configs/buildifier.jsonand.trunk/configs/buildifier-tables.json)
- Teach cspell to correctly respect its sandboxed config
- Remove a broken hadolintdownload for M1 macs
✨ Improvements
- Introduce new linter config field suggest_ifto control what conditions we use to auto-recommend linters (example)
- Introduce new linter config field sandbox_typeto control how we sandbox linter execution (example)
- Allow individual linter commands to define the applicable files, instead of requiring them to do so in the top-level linter definition
- Surface useful errors when a tool has no matching specified download (e.g. if there is no arm64 download for a given linter and we're running on arm64, say so)
- Support trunk check --uploadwith payload sizes of >128MiB
- Suppress newline spam in GitHub Actions when using trunk check --ci --upload, and also make--ci --uploadwork correctly
- --verboselinter execution reports now include the CLI version
- Introduce debugging knobs for trunk actions and git hooks
🔧 Fixes
- Fix a race condition in how trunk actionoutput is logged