Skip to content

Releases: movebit/movefmt

movefmt-v1.5.1

12 Feb 08:00

Choose a tag to compare

2026-02-12, Version v1.5.1

  • [6efc138] - fix issue #93: wrong spacing on compound assignment
  • [086bf26] - fix issue #92: wrong formatting on Receiver call with generics
  • [b11253e] - optimize format_token_trees()

Check out the formatting results in our test suite here: movebit/aptos_move_dataset@512b4b3

movefmt-v1.5.0

11 Feb 03:17

Choose a tag to compare

2026-02-11, Version v1.5.0

  • [c201b23] - optimize need_new_line_after_branch()
  • [9b2a833] - optimize SingleSyntaxExtractor for BranchHandler
  • [4ddab09] - Improve[BranchHandler]: add get_trim_len() to avoid unnecessary string clone
  • [472c746] - perf: optimize BranchHandler lookup with HashMap
  • [7660b26] - support spec on is_parameter_paren_in_fun_header()

We've been seeing great results in our tests.
image
image
image

Check out the formatting results in our test suite here: movebit/aptos_move_dataset@492d3d0

movefmt-v1.4.9

06 Feb 07:42

Choose a tag to compare

2026-02-06, Version v1.4.9

  • [7976789] - optimize is_big_block_token()
  • [76ab2b1] - optimize record_spec_token()
  • [d669184] - Fix ! reads and ! writes tokenization in specifier formatting
  • [47a81c9] - optimize formatting on function-specifier

movefmt-v1.4.8

27 Jan 10:55

Choose a tag to compare

2026-01-27, Version v1.4.8

  • [1dd87d4] - optimize specifier formatting, add SpecTok
  • [624740c] - optimize expr_fmt by BTreeSet and HashSet, make DotChainParser zero-copy
  • [dc5253d] - optimize fmt_state
  • [f980b53] - update aptos-core dependence

movefmt-v1.4.7

15 Jan 09:26

Choose a tag to compare

2026-01-15, Version v1.4.7

You can use movefmt -f to enable the experimental formatter, it's state-based, faster, and more elegant.

  • [984f813] - add github release CI
  • [45a9630] - fix bug on apply_fmt, add command option(functional)
  • [f72e2cb] - Improve the formatting speed of spec braces
  • [85b18b8] - optimize code
  • [f2c8097] - refactoring struct
  • [f3c6ec1] - remove indices field
  • [0591673] - improve code, add test
  • [5d31947] - impl more fun

movefmt-v1.4.6

29 Dec 05:33

Choose a tag to compare

2025-12-29, Version v1.4.6

  • [939e338] - feat: try developing fmt_state
  • [001ef0d] - optimize token_tree
  • [6e878ab] - performance and clarity improvements
  • [6a78cbc] - refactor(fmt): switch FormatContext and Format to borrow input string instead of clone

movefmt-v1.4.5

12 Dec 06:54

Choose a tag to compare

2025-12-12, Version v1.4.5

  • [2a82a04] - optimize generate_token_tree()
  • [9416af6] - optimize tune_module_buf()
  • [9834ad6] - fix bug on spec brace
  • [db0995c] - remove collect_block_comment_edits
  • [1cac39b] - optimize Extractor::new()
  • [04beba6] - optimize spec_fmt::fmt_spec()

movefmt-v1.4.4

05 Dec 07:56

Choose a tag to compare

2025-12-05, Version v1.4.4

  • [2e258c8] - delete some line_mapping
  • [ddfe946] - optimize tune_module_buf()
  • [91159b9] - optimize spec_fmt
  • [73bd31d] - add TokenTreeType
  • [fc93802] - remove add_blank_row_in_two_blocks() in spec_fmt
  • [b7ec7e8] - optimize spec and other normal brace block
  • [abd0603] - delete use_fmt
  • [dc83b62] - remove unused code
  • [6f3e40c] - fix issue #91: improved tuple formatting effect

movefmt-v1.4.3

28 Nov 08:16

Choose a tag to compare

2025-11-28, Version v1.4.3

  • [6e597b6] - fix bug on normal brace block
  • [703b839] - optimize add_comments()
  • [b9c37b0] - optimize formatting on spec
  • [a5f3f15] - optimize formatting on inline fun
  • [1573230] - optmize formatting on comments before block token
  • [cc4c2ab] - optimize format_simple_token()
  • [eab1d2e] - optimize big block token when it's on the same line as the previous ending token
  • [1ff6ee8] - remove big_block_fmt

movefmt-v1.4.2

21 Nov 09:25

Choose a tag to compare

2025-11-21, Version v1.4.2

  • [56c87ff] - optimize process_blank_lines_before_simple_token_v2()
  • [84cb0ea] - fix bug on skip block, try replace big_block_fmt with process_blank_lines_before_simple_token_v2()
  • [0f2f294] - optimize process_blank_lines_before_simple_token(), especially regarding having multiple modules in one move file
  • [404c6ec] - optimize format_token_trees()
  • [816c48a] - optimize core logic
  • [8d19c64] - optimize utils
  • [3379f7e] - optimize tune_module_buf()