Added
- (experimental) A
space_around_bracketsconfiguration option. - The WASM
formatfunction accepts an optional configuration
and returns formatter errors. - The
build-wasmapp accepts the wasm-pack target (webornodejs). - Homebrew installation instructions.
- Thank you messages for HigherOrderLogic, Jan T. Sott, Jonathan Ringer
and icefery.
Changed
- Recursion depth is controlled for faster formatting.
- The WASM package moved into
src/and its tests run in CI. - Website links point to alejandra.kamadorueda.com.
- Upgraded dependencies to their latest version.
Fixed
- Multiline strings are not indented with tabs
when tab indentation is used, because Nix keeps leading tabs (#474). - Trailing whitespace in multiline strings is kept (#409, #442).
- Comment re-indentation uses the configured indentation.
- The WASM
formatfunction returns an error
instead of the unformatted input when the input does not parse.
Pull Requests
- feat: add default config for web version by @kamadorueda in #458
- refac: split ci/cd into pieces by @kamadorueda in #459
- feat: better ci logs by @kamadorueda in #460
- perf: control recursion depth by @kamadorueda in #461
- docs: add homebrew installation method by @idleberg in #466
- flake: bump Jan 2026 by @jonringer in #473
- chore: upgrade Cargo dependencies by @kamadorueda in #476
- chore: upgrade dependencies to fix wasm build by @kamadorueda in #477
- chore: move wasm package into src/ by @kamadorueda in #479
- refactor: improvements here and there by @kamadorueda in #480
- fix: flake check by @kamadorueda in #481
- feat: Add config parameter support to WASM format function by @kamadorueda in #483
- fix: #474 by @kamadorueda in #482
- some refactors by @kamadorueda in #484
- fix: preserve trailing whitespace in multiline strings (#409, #442) by @kamadorueda in #485
- feat: add config option for space around brackets by @HigherOrderLogic in #487
- test: Enhance string_semantic with comprehensive issue #442 test cases by @kamadorueda in #489
- feat: Add three contributors to acknowledgments by @kamadorueda in #490
- fix: propagate formatter errors through wasm by @icefery in #493
- build: let build-wasm pick the wasm-pack target by @icefery in #492
- fix: format the wasm package, test it in CI, and credit icefery by @kamadorueda in #495
- build(deps): apply the open Dependabot updates by @kamadorueda in #496
- fix: remove unnecessary unwrap in pattern rule by @kamadorueda in #497
- feat: release 4.1.0 by @kamadorueda in #498
New Contributors
- @idleberg made their first contribution in #466
- @jonringer made their first contribution in #473
- @HigherOrderLogic made their first contribution in #487
- @icefery made their first contribution in #493
Full Changelog: 4.0.0...4.1.0