Changelog
March 21, 2025 ยท View on GitHub
All notable changes to this project will be documented in this file.
[unreleased]
Bug Fixes
- Don't break generic params into mulitple lines (#167)
- Don't strip trailing comment between last node and macro closing delimiter (#168)
Features
- Add option for passing extra arguments to
rustfmt(#174)
Miscellaneous Tasks
- Upgrade to rstml 12 (#166)
[0.1.33] - 2025-01-30
Bug Fixes
- Formatting empty tags with prop spreading (#152)
- Closing tag with generics (#159)
- Avoid stripping attr value braces when consecutive attr is a spread (#165)
Miscellaneous Tasks
- Update prettyplease including latest upstream changes
[0.1.32] - 2024-10-07
Bug Fixes
- Correctly collect leading and trailing comments (#145)
- Remove trailing space after doctype closing tag (#147)
Features
- Support let bindings (#149)
[0.1.31] - 2024-09-10
Bug Fixes
- [breaking] Use view! indentation settings when formatting syn expression (#141)
- Use 'tab_spaces' for size of hard tabs instead of hardcoded 4 (#143)
- Duplicated comments in consecutive macros (#144)
Documentation
- Improve using with RA section
- Add link to emacs LSP mode config option
Features
[0.1.30] - 2024-07-23
Bug Fixes
- Inline unquoted text + expr block combinations (#110)
- Trailing whitespace issue when using codeblocks (#130)
Continuous Integration
- Manually trigger changelog workflow
Documentation
- Directory-based rust-analyzer configuration (#127)
- Fix default attr_value_brace_style
Features
- Add option to override macro name (#109)
- Preserve formatting of unknown macros (#121)
- Add tailwind support for attr values (#122)
- Support elements with generics (#128)
- Customisable self-closing tag behaviour on non-void elements (#123)
Miscellaneous Tasks
- Update prettyplease and add as git submodule (#119)
[0.1.18] - 2023-12-22
Bug Fixes
- Don't print new line to stdout (#95)
Features
- Add indentation style (tabs/spaces) & newline style (LF/CRLF) settings (#90)
Miscellaneous Tasks
- Rename printer setting
spacestotab_spacesfor consistency
[0.1.17] - 2023-10-10
Bug Fixes
- Ignore rustfmt output on error status (#89)
Features
- Call rustfmt after formatting with leptosfmt (requires stdin) (#88)
[0.1.16] - 2023-10-09
Bug Fixes
- Retain unicode & raw string formatting (#87)
[0.1.15] - 2023-10-08
Bug Fixes
- Workaround bug with proc_macro2 regarding multibyte chars (#85)
Features
- Automatically detect CRLF or LF line endings (#81)
[0.1.14] - 2023-09-06
Bug Fixes
- Formatting comments that include '//' (#68)
- Dont touch file when there are no formatting changes (#69)
- Softbreak when elem has single raw text child node (#73)
Documentation
- Add clarification about the usage of non-doc comments (#70)
Features
- Add check mode (#72)
Miscellaneous Tasks
- Remove dbg! statement and enable clippy dbg! lint
[0.1.12] - 2023-07-31
Bug Fixes
- Rework non-doc comments (#48)
- Implement workaround for non-doc comments (#49)
- Comment extracting in attribute with block expr
- View macro indentation issues (#59)
Documentation
- Fix typo in
"AlwaysUnlessLit"example (#41)
Features
Miscellaneous Tasks
- Remove dbg! (Closes: #55) (#56)
[0.1.9] - 2023-06-29
Bug Fixes
- Ignore comments outside view macro (#40)
[0.1.8] - 2023-06-29
Bug Fixes
- Don't emit empty line when multiline opening tag (#38)
[0.1.7] - 2023-06-29
Bug Fixes
- Respect string whitespace (#37)
Continuous Integration
- Build binary for MacOS arm64
Features
- Respect single empty line (#36)
[0.1.6] - 2023-06-29
Features
Miscellaneous Tasks
- Share printer implementation with leptosfmt-prettyplease (#31)
[0.1.5] - 2023-05-29
Bug Fixes
- Format view! macro with global class (#21)
- View! macro bytecode range when contains unicode characters larger than 1 byte (#22)
- Improve identation of view! macro (#23)
Features
- Read settings from a config file (#25)
Miscellaneous Tasks
- Make macro collecting functionality public
- Export token types (#24)
[leptosfmt-v0.1.4] - 2023-03-27
Bug Fixes
- Multiline strings (#8)
Continuous Integration
- Fix changelog generation config
- Only trigger CI when .rs file changed
Features
- Attribute value brace style (#10)
[0.1.3] - 2023-03-23
Bug Fixes
Continuous Integration
- Automate publish process (#6)
- Automatically update changelog
- Update comitter name for automatic changelog commit
Features
- Changelog generation (#5)
Miscellaneous Tasks
- Add CI group to changelog
- Prepare for 0.1.3
- Set repository in printer Cargo.toml