Skip to content

12.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@cknitt cknitt released this 25 Jul 14:14
· 26 commits to master since this release
3bd115b

💥 Breaking Change

  • Result.getOrThrow now throws a JS error instead of a Not_found ReScript exception. #7630
  • Remove rescript dump command. bsc can be used directly to dump the contents of a .cmi file instead if needed. #7710

🚀 New Feature

  • Add optional message argument to Result.getOrThrow and improve default error message. #7630
  • Add RegExp.escape binding. #7695

🐛 Bug fix

  • Fix --create-sourcedirs generation with for a single project. #7671
  • Fix rewatch not recompiling on changes on Windows. #7690
  • Fix locations of regex literals. #7683
  • Fix async React component compilation. #7704
  • Fix @this with async keyword. #7702

💅 Polish

  • Configuration fields bs-dependencies, bs-dev-dependencies and bsc-flags are now deprecated in favor of dependencies, dev-dependencies and compiler-flags. #7658
  • Better error message if platform binaries package is not found. #7698
  • Hint in error for string constants matching expected variant/polyvariant constructor. #7711
  • Polish arity mismatch error message a bit. #7709
  • Suggest related functions with the expected arity in errors when it makes sense. #7712
  • Improve error when a constructor expects an inline record. #7713
  • Remove @meth attribute. #7684

🏠 Internal

  • Add rust linting to CI with clippy. #7675
  • AST: use Typ.arrows for creation, after the refactoring of arrow types. #7662
  • Don't skip Stdlib docstring tests. #7694
  • Remove all leftovers of pinned-dependencies handling. #7686
  • Add rust-version field to Rewatch's Cargo.toml. #7701