|
2 | 2 |
|
3 | 3 | # current
|
4 | 4 |
|
5 |
| -- #4117 Upgrade to Reason 3.6.0 @ 8f71db0 |
| 5 | + |
6 | 6 |
|
7 | 7 | # 7.0.2
|
8 | 8 |
|
| 9 | +- #4117 Upgrade to Reason 3.6.0 @ 8f71db0 |
| 10 | +- #4097 introduce a js parser for syntax checking inside raw. |
| 11 | + |
| 12 | + We can now tell whether the code inside raw is a function or not and the arity of raw function, so |
| 13 | + ```ocaml |
| 14 | + let f = [%raw{|function(x){return x}|}] |
| 15 | + ``` |
| 16 | + ```ocaml |
| 17 | + let f = fun%raw x -> {|x|} |
| 18 | + ``` |
| 19 | + will be treated the same, to make FFI simpler, the special form `fun%raw` will be discouraged. |
| 20 | +
|
| 21 | +- #4090 #4087 fix the unsoundess issue of Js.Array.push |
| 22 | + now the empty array `[||]` won't have a polymorophic type, it will have a concrete type. |
| 23 | +
|
| 24 | +- #41112 #4111 #4067 #4101 provide websocket error better error message and better docs |
| 25 | +
|
| 26 | +- #4108 fix warning concat in some edge cases (bsb) |
| 27 | +- #4100 make node process exit return 'a instead of unit |
| 28 | +- #4098 restore encoding int64 using a tuple for compatibility reasons |
| 29 | +
|
| 30 | +- #4114 fix SPA mode watcher path in react-hooks template |
| 31 | +
|
| 32 | +- #4199 Change ReactJS PPX to avoid modifying locations of existing code (better integration with editors) |
| 33 | +- #4122 toplevel [@@@warning "+101"] works for bucklescript warnings |
| 34 | +
|
| 35 | + `bsc -warn-help` listed several warnings for BuckleScript |
| 36 | + ``` |
| 37 | + 101 BuckleScript warning: Unused bs attributes |
| 38 | + 102 BuckleScript warning: polymorphic comparison introduced (maybe unsafe) |
| 39 | + 103 BuckleScript warning: about fragile FFI definitions |
| 40 | + 104 BuckleScript warning: bs.deriving warning with customized message |
| 41 | + 105 BuckleScript warning: the external name is inferred from val name is unsafe from refactoring when changing value name |
| 42 | + 106 BuckleScript warning: Unimplemented primitive used: |
| 43 | + 107 BuckleScript warning: Integer literal exceeds the range of representable integers of type int |
| 44 | + 108 BuckleScript warning: Uninterpreted delimiters (for unicode) |
| 45 | + ``` |
9 | 46 | - #4060 #4057 add unboxed type support
|
| 47 | +
|
| 48 | +- #4078, #4069 better code generated for cases like `match x with true -> ..| false -> ..` |
| 49 | +- #4075, #4065 allow emoji in folder name |
| 50 | +- #4074 allow defining a custom hostname for websocket |
| 51 | +- #4064 fix shake_compile prefix & code param order |
10 | 52 | - #4053 use setImmediate for rebuilding to fix watch mode for some specific editors
|
11 | 53 | - #4050 support pipe first poly variant
|
12 | 54 | - #4049 Add support for custom underscored namespace
|
|
0 commit comments