Skip to content

Releases: jinxdash/prettier-plugin-rust

v0.1.9

23 May 15:55
Compare
Choose a tag to compare
  • feat: format cfg_if! macros
  • feat: format @ character in macro_rules
  • fix: format <number>. and <number>e0 to float instead of int (#14, #16)
  • fix: always end files with a newline (#21)
  • fix: avoid removing optional semi in rare rust compiler bug (#22)

v0.1.8

21 Aug 17:48
Compare
Choose a tag to compare
  • feat(extension): display message when formatting fails due to non-parser errors.
  • feat: move ..spread, .. to the end of patterns and reassignments (#7)
  • fix: remove comma after .. in patterns and reassignments (#7)
  • fix: support malformed macro_rules! (jinx-rust@0.1.6)
  • fix: unprinted comment errors in failed macros (#8)

v0.1.7

21 Aug 11:40
Compare
Choose a tag to compare
  • feat: move ..spread to the end of struct literals (#6)
  • fix: remove comma after ..spread in struct literals (#6)

v0.1.6

20 Aug 19:50
Compare
Choose a tag to compare
  • fix: parenthesize >1 length dyn/impl types nested in unary types. (#4)
  • fix: remove comma after match cases with block-like macro expressions. (#4)

v0.1.5

12 Aug 10:57
Compare
Choose a tag to compare
  • feat: wrap non-block closure expressions with a block when a -> ReturnType is defined
  • fix: add extension to filepath in ESM imports (#2)
  • fix: add missing whitespace in let_else feature
  • fix(extension): disable config caching

v0.1.1

26 Jul 20:13
Compare
Choose a tag to compare

Initial release