-
Float.Shownow usesstring_of_floatfor cross-compatibility. This might be undesirable depending on your use cases, in which caseJsFloat.Showis provided which usesJs.Float.toString. See bucklescript#3412. -
The
JsArraymodule is provided for users that want to have the transpiled bucklescript code use the builtinArray.prototypeapi instead of the version used for Ocaml compatibility. Using this on the frontend would mean potentially smaller bundle sizes (implementations are built into JS), and possible performance improvements since the javascript engines know explicitly what the code is trying to do. -
Result.Unsafefunctions now raise an OcamlInvalid_argumenterror instead of a JS type error on failure. No js compat is currently provided since these are unsafe functions to begin with and shouldn't be used.
These are updates that shouldn't cause any breaking changes but are documentated here
-
Int.EuclideanRingalso uses the builtinminfunction now. This functions behaves identically to the js counterpartJs.Math.min, it's just noted here for reference. -
Option.getWithDefaultcopies the same implementation from bucklescript's stdlib so that it works on native as well.