|
1 | 1 | `*` means potential break changes
|
2 | 2 | # current
|
3 | 3 |
|
| 4 | +* Code generation |
| 5 | +- #4308,#4309, #4397 #4403 #4404 #4409 variant as objects |
| 6 | + ``` |
| 7 | + A (0,1) |
| 8 | + ``` |
| 9 | + now is |
| 10 | + ```js |
| 11 | + { TAG : /*A*/0, _0 : 0, _1:1 } |
| 12 | + ``` |
| 13 | +- #4399 remove magics in Belt.List to prepare new data representations |
| 14 | +- #4405 polyvar as objects |
| 15 | + ``` |
| 16 | + A 1 |
| 17 | + ``` |
| 18 | + now is |
| 19 | + ```js |
| 20 | + {HASH:MAGIC_NUMBER, VAL:1} |
| 21 | + ``` |
| 22 | +- #4331,#4332 #4337,#4339, #4338, #4337 Encoding exception as dictionary, add stacktrace support |
| 23 | +- #4322, #4325,#4326, #4364, #4383, #4371 lazy values as objects, make `caml_update_dummy` generalized |
| 24 | +- #4456, #4458 optimize String.make |
| 25 | +- #4447, #4442 improve arity inference over raw named function expression |
| 26 | +- #4413 changed internal encoding of Some ((Some .. None)), not relying on physiclal equivalence, friendlier to serialization |
| 27 | +- #4379 make bs.config take effect ASAP, however, it can not happen befor parsing. |
| 28 | + This meangs, it won't have effect over flags like `-bs-D` when it happens in lexing. |
| 29 | +- #4426, #4428 apply bs.inline to float literals |
| 30 | +- #4378 apply bs.inline to int64, proper error for not supported types |
| 31 | +- #4425 optimize `bs.as "0"` to allow users to turn record representation into array when needed |
| 32 | +- #4407, #4423 Fix compatiblity layer between debug mode and none-debug mode |
| 33 | + - For exmaple, `A (1,2)` are equal for code generated either in debug or non-debug mode |
| 34 | +- #4422 remove Unix module from stdlib |
| 35 | +- #4421 special encode list as `{hd : v0, tl : ...}` |
| 36 | +- #4420 remove legacy jsx v2 |
| 37 | + |
| 38 | +- #4390 less parens for `bs.as` json literals |
| 39 | +- #4245, #4385 breaking changes: enable strict-sequence, strict-formats by default |
| 40 | +- #4304, #4293 better code generated for string interpolation |
| 41 | +* Fix |
| 42 | + |
| 43 | +- #4451, #4454 fix imprecise locations over pipe |
| 44 | +- #4442 fix gentypeconfig.language parsing |
| 45 | +- #4430 when cleaning generated files, use `langauge` from `gentypeconfig` |
| 46 | +- #4324 fix react-hooks theme name field |
| 47 | + |
| 48 | +* Libs |
| 49 | + |
| 50 | +- #4443 provide a best effort generic seralization mechanism |
| 51 | +- #4427 better error message for non-existing module in `sources[n].public` |
| 52 | +- #4414, #4419 better error message for cases like below |
| 53 | + ``` |
| 54 | + Error: This expression should not be a function, the expected type is |
| 55 | + (int bounce -> 'a bounce [@bs]) |
| 56 | + ``` |
| 57 | +- #4416 fix typo (unrecognized primitive -> unrecognized primitive) |
| 58 | +- #4408 [playground] fix jsoo_refmt_main, remove load_modules (uneeded) |
| 59 | +- #4395 fix jsoo_refmt_main, delete playground folder |
| 60 | +- #4394 repl.js: add dev mode |
| 61 | +- #4393 Playground: bring back load_modules API |
| 62 | +- #4389 React JSX ppx: better error message for missing labels |
| 63 | +- #4388 [jsx] fix unused pattern warnings |
| 64 | +- #4380 [jsx] remove bs.config handling in jsx ppx, use bs.config.flags instead |
| 65 | +- #4376 remove Math.imul polyfill, inline Math.imul |
| 66 | +- #4370 remove deprecated support for `fun%raw` |
| 67 | +- #3845, #4367 fix `output too many parens for callback` |
| 68 | +- #4359 [jsx] rais error if creating react.component with unnamed argument |
| 69 | +- #4364 remove customised formatter for exceptions |
| 70 | +- #4358 change reasonreact version for templates |
| 71 | +- #4351 force binding location on the actual make binding |
| 72 | + |
| 73 | +* Internal tools/refactoring |
| 74 | + |
| 75 | +- #4460 bspack is a stand alone file not relying on c stubs |
| 76 | +- #4459 bsb customized command line parsing, prettier output over `bsb -h` |
| 77 | +- #4455 simplify bsb_helper command line parsing |
| 78 | +- #4458 clean up lexing runtime, stay close to lexing.c |
| 79 | +- #4441 remove unused Obj.set_tag |
| 80 | +- #4438 tweak post-processing after linking, better constant substitution |
| 81 | +- #4429 #4431 #4435 minor breaking changes |
| 82 | + - more compatct encoding of .bsbuild |
| 83 | + - flatten dev gropus |
| 84 | + - for files in dev directory they can refer each other |
| 85 | +- #4402 move `caml_set_oo_id` into `caml_oo` module |
| 86 | +- #4392 remove unused return_exp in J.ml ast |
| 87 | +- #4387 fix a build bug when no mli provided, add reason-react for testing |
| 88 | +- #4366, #4373 update polymoprhic comparison not relying for lazy values |
| 89 | +- #4372 vendor jsoo byte code, build playground on the fly |
| 90 | +- #4354 `bstracing -all` can handle multiple build sessions |
| 91 | + |
4 | 92 | # 7.3.2
|
5 | 93 | - #4315 synup super_errors for better uncurry error message
|
6 | 94 | - #4335 fix js_date.setUTCTime
|
|
0 commit comments