diff --git a/Changes.md b/Changes.md index 580e6bdba4..f98c1cc7dc 100644 --- a/Changes.md +++ b/Changes.md @@ -1,4 +1,25 @@ +# 2.2.3 + +Features: +- #2646,#2622 Adding Belt.Option +- #2342, #2624 (|.) pipe syntax for t first convention +- #2589 Expose Id.MakeComparable functor +- #2587 Added production ready settings for react theme +- * remove refmt syntax version 2 + +Performances: +- #2438 using concrete predicates for integer comparison +- #2584 better handling of if then else common sub expression +Fixes: +- #2303 defining or using a module named "Block" causes runtime errors +- #2616,#2612,#2554 better error message +- #2352 return value of assignment expression +- #2413 no break generated after return statement in some code branches +- #2633 [@bs.string] in FFI +- #2608 short-circuiting of && fails due to extraction of variable +- #2559 fix Bytes.create semantics + # 2.2.2 Features: @@ -12,7 +33,7 @@ Fixes: # 2.2.0 Features: -- A beta release for the new stdlib called Belt +- A beta release for the new stdlib called Belt - #2436, #2381, #2377, #2353 bs.deriving abstract support @@ -25,7 +46,7 @@ Fixes: - #2399, turn partial application warnings to error in react template - #2465 build on FreeBSD - #2450 ignore bsb.lock -- #2356 ship build-schema.json +- #2356 ship build-schema.json - #2489, #2464 capitalize names in combination of '/' - #2459 subdirs:true by default for templates - #2428, fix trailing space on react-jsx @@ -35,11 +56,11 @@ Fixes: Features: - #2282, #2280,#2272,#2271,#2270,#2262,#2260,#2255,#2253 Automatically derive js converter between ocaml and Js values - see docs: https://bucklescript.github.io/bucklescript/Manual.html#_mapping_between_js_values_and_ocaml_values_since_2_1_0 -- #2238, #2225, #2221 + see docs: https://bucklescript.github.io/bucklescript/Manual.html#_mapping_between_js_values_and_ocaml_values_since_2_1_0 +- #2238, #2225, #2221 Make the compiler relocatable prebuilt compiler (this release for Mac/Win) -- #2276 update reason syntax@d0d18 +- #2276 update reason syntax@d0d18 - #2229 improve error message with regard to `@bs` - #2266, add Js_global.(encode|decode)URI(Component) bindings - #2220 make watcher mode in linux accept ninja progress animation @@ -69,7 +90,7 @@ Features # 1.10.3 Features: -- #2112, introduced a key `suffix`, so that user can +- #2112, introduced a key `suffix`, so that user can choose `suffix : ".bs.js"` - #2138, in combination of `.bs.js` suffix and `in-source` build, bsb is able to remove staled build artifact @@ -78,7 +99,7 @@ Features: it in reason syntax - #2096, clorized ninja build output -- #2120 better error message in the location of `{json||json}` +- #2120 better error message in the location of `{json||json}` - #2123 avoid namespace leaking in types - #2130 make Sys module not break React Native bindings - #2159, #2165 enhance user expereince of bsb (less verbose, status bar when failed) diff --git a/Makefile b/Makefile index 27e21effab..4cfe22f730 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ libs: $(MAKE) -C jscomp/runtime -j8 all $(MAKE) -C jscomp/others -j8 all $(MAKE) -C jscomp/stdlib -j8 all - + DEST=lib/ocaml RUNTIME=jscomp/runtime @@ -26,6 +26,8 @@ OTHERS=jscomp/others # scripts/build_uitil.js # function install # scripts/build_util.install + +# ATTENTION: syncup build_util.install for windows install: @echo "Installation" cp $(RUNTIME)/*.cmt* $(RUNTIME)/*.cmj* $(RUNTIME)/js.ml $(RUNTIME)/js.cmi \ diff --git a/docs/api/Belt.Array.html b/docs/api/Belt.Array.html index 93b213f9a7..df6be6c7d2 100644 --- a/docs/api/Belt.Array.html +++ b/docs/api/Belt.Array.html @@ -32,6 +32,7 @@
Belt.Array
- mutable array: Utililites functions
+ mutable array: Utilities functions
diff --git a/docs/api/Belt.HashMap.html b/docs/api/Belt.HashMap.html
index 1b1d009e9e..9eb6777ea8 100644
--- a/docs/api/Belt.HashMap.html
+++ b/docs/api/Belt.HashMap.html
@@ -7,7 +7,7 @@
-
+
module HashMap: Belt_HashMap
Belt.HashMap
- The toplevel provides generic mutable hash map operations. + The top level provides generic mutable hash map operations.
It also has two specialized inner modules @@ -224,7 +226,8 @@
val toArray : ('key, 'value, 'id) t -> ('key * 'value) array
val keysToArray : ('key, 'a, 'b) t -> 'key array
val valuesToArray : ('a, 'value, 'b) t -> 'value array
-val ofArray : ('key * 'value) array ->
id:('key, 'id) id -> ('key, 'value, 'id) t
+val fromArray : ('key * 'value) array ->
id:('key, 'id) id -> ('key, 'value, 'id) t
val mergeMany : ('key, 'value, 'id) t -> ('key * 'value) array -> unit
val getBucketHistogram : ('a, 'b, 'c) t -> int array
-val logStats : ('a, 'b, 'c) t -> unit