Skip to content

v12.0.0-alpha.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@cknitt cknitt released this 25 Mar 14:54
· 4 commits to master since this release
9988725

🚀 New Feature

  • Add Dict.has and double Dict.forEachWithKey/Dict.mapValues performance. #7316
  • Add popover attributes to JsxDOM.domProps. #7317
  • Add Array.removeInPlace helper based on splice. #7321
  • Add inert attribute to JsxDOM.domProps. #7326
  • Make reanalyze exception tracking work with the new stdlib. #7328
  • Fix Pervasive.max using boolean comparison for floats. #7333
  • Experimental: Support nested/inline record types - records defined inside of other records, without needing explicit separate type definitions. #7241
  • Add unified exponentiation (**) operator for numeric types using ES7 **. #7153
  • Rename raise to throw to align with JavaScript vocabulary. raise has been deprecated. #7346
  • Add unified bitwise (^) operator. #7216
  • Stdlib: rename binary operations to match JavaScript terms. #7353

💥 Breaking Change

  • Replace ~date with ~day in Date.make. #7324
  • Remove -bs-jsx-mode. #7327
  • Drop Node.js version <20 support, as it is reaching End-of-Life. #7354
  • Treat int multiplication as a normal int32 operation instead of using Math.imul. #7358

🏠 Internal

  • Clean up legacy tags handling. #7309
  • Use Yarn (Berry) workspaces for internal tooling. #7309

💅 Polish

  • Deprecate JSON.Classify.classify. #7315
  • Hide stdlib modules in output. #7305
  • Deprecate unsafe host-specific bindings from stdlib. #7334
  • Make unsafe function names consistent in Stdlib.String. #7337
  • rescript package does not trigger postinstall script anymore. #7350
  • Add Stdlib Bool and Char modules and improve Pervasives deprecation messages. #7361

🐛 Bug fix

  • Fix recursive untagged variant type checking by delaying well-formedness checks until environment construction completes. #7320
  • Fix incorrect expansion of polymorphic return types in uncurried function applications. #7338