Skip to content

10.1.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@cknitt cknitt released this 23 Sep 18:08
· 1226 commits to master since this release

🚀 New Feature

  • Fix pretty printer where it would print doc comments on the same line as other attributes rescript-lang/syntax#642
  • Propagte "jsx" configuration to dependencies #5661
  • Add support for empty record literal {} for records where all fields are optional #5658
  • Add support for empty record type (e.g. type empty = {}) #5658

🐛 Bug Fix

  • Fix issue in formatting JSX spread props rescript-lang/syntax#644
  • Fix location issue in error messages with JSX V4 where the body of the component is an application rescript-lang/syntax#633
  • Fix printing of type declarations in error message where they would be considered recursive by default
  • Fix issue where the printer would omit attributes for -> and |> rescript-lang/syntax#629
  • Fix printing of optional fields in records #5654

💅 Polish