Skip to content

mm2 tool v0.3.0

Choose a tag to compare

@0xAdk 0xAdk released this 20 Aug 08:09
· 7 commits to master since this release

[0.3.0] - 2024-08-20

Features

  • (haxe) Add serde json export support
  • (savetool) Add serde json export support
  • (haxe) Add basic serialization support
  • (savetool) Add serialization support
  • (haxe) Support serializing struct, object map, and int map
  • (savetool) Combine Custom fields and values
  • (savetool) Store hard-coded version in output format
  • (savetool) Track save file version
  • (cli) [breaking] Rename subcommands for consistency
  • (cli) Infer subcommands

Bug Fixes

  • (haxe) Parse all values instead of just the first
  • (haxe) Restore object map parsing
  • (haxe) Coalesce nulls when serializing an array
  • (haxe) Correctly percent encode string
  • (haxe) Preserve struct and map ordering
  • (haxe) Serialize NaN, +inf, and -inf correctly
  • (haxe) Use correct ending char for custom
  • (haxe) Print Value::Float as f64
  • (haxe) Don't coalesce single null in array

Refactor

  • Move crypt cli code into it's module
  • Move haxe cli code into it's module
  • Move savetool cli code into it's module
  • (haxe) Rename Object type to Value
  • (haxe) Move value to it's own module
  • (haxe) Rename parse to from_str
  • Fix some clippy warnings
  • (haxe) Add BTreeMap use statement
  • (haxe) Change BTreeMap alias to Map
  • (haxe) Move value::Float into it's own module
  • (haxe) Rename value.rs -> value/mod.rs
  • (cli) Rename none filetype to debug

Performance

  • (haxe) Elide redundant string clones

Styling

  • Fix incorrect indentation
  • Separate format guess match for clarity

Testing

  • (haxe) Add tests
  • (haxe) Add json roundtrip tests
  • (haxe) Add custom roundtrip tests
  • (haxe) Add empty string test

Miscellaneous Tasks

  • Bump version to 0.3.0

Full Changelog: v0.2.0...v0.3.0