Skip to content

12.0.0-beta.9

Pre-release
Pre-release
Compare
Choose a tag to compare
@cknitt cknitt released this 30 Aug 08:57
· 89 commits to master since this release
7c66211

💥 Breaking Change

  • Extract ReScript runtime files from main rescript package to separate @rescript/runtime package. #7796
  • Remove @rescript/std (in favor of @rescript/runtime). #7811

🚀 New Feature

  • Add support for ArrayBuffer and typed arrays to @unboxed. #7788
  • Experimental: Add let? syntax for unwrapping and propagating errors/none as early returns for option/result types. #7582
  • Add support for shipping features as experimental, including configuring what experimental features are enabled in rescript.json. #7582

🐛 Bug fix

  • Fix JS regex literal parsing in character classes. #7790
  • Fix creating interface for functions with upper bounded polymorphic args. #7786

💅 Polish

  • Make parser less strict around leading attributes. #7787
  • Dedicated error message for ternary type mismatch. #7804
  • Dedicated error message for passing a braced ident to something expected to be a record. #7806
  • Hint about partial application when missing required argument in function call. #7807
  • More autocomplete improvements involving modules and module types. #7795
  • Autocomplete @react.componentWithProps attribute. #7812
  • Add some missing iframe attributes to domProps. #7813
  • Polish error message for inline record escaping scope. #7808
  • Formatter: Change placement of closing > in JSX. #7803

🏠 Internal

  • Build runtime with rewatch on Windows, too. #7794