Skip to content

12.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@cknitt cknitt released this 18 Jul 15:57
· 22 commits to master since this release
a26186a

💥 Breaking Change

  • Rust implementation of the rescript format command. Command line options changed from -all, -check and -stdin to --all, --check and --stdin compared to the legacy implementation. #7603

🚀 New Feature

  • Add experimental command to rescript-tools for extracting all ReScript code blocks from markdown, either a md-file directly, or inside of docstrings in ReScript code. #7623

🐛 Bug fix

  • Fix typeof parens on functions. #7643
  • Rewatch: Add --dev flag to clean command. #7622
  • Rewatch: Use root package suffix in clean log messages. #7648
  • Fix inside comment printing for empty dict. #7654
  • Fix I/O error message when trying to extract extra info from non-existing file. #7656
  • Fix fatal error when JSX expression used without configuring JSX in rescript.json. #7656
  • Rewatch: Only allow access to "bs-dev-dependencies" from "type": "dev" source files. #7650

💅 Polish

  • Add missing backtick and spaces to Belt.Map.map doc comment. #7632
  • AST: store the attributes directly on function arguments. #7660

🏠 Internal

  • Remove internal/unused -bs-v flag. #7627
  • Remove unused -bs-D and -bs-list-conditionals flags. #7631
  • Remove obsolete jsx options. #7633
  • Remove obsolete option -bs-unsafe-empty-array. #7635
  • Clean up config.ml. #7636
  • Rewatch: simplify getting bsc path. #7634
  • Rewatch: only get "type": "dev" source files for local packages. #7646
  • Rewatch: add support for rescript -w for compatibility. #7649