Hi, you can install it using npm i bs-platform@8.3.0
The changes are listed here: https://github.com/rescript-lang/rescript-compiler/pull/4714/files
Please leave your feedback here: https://github.com/rescript-lang/rescript-compiler/pull/4717
or reply in this thread, thanks!
8 Likes
the new type inference for let {a,b,c} = value
is amazing, I use this code style quite extensively and it’s now so much lighter to use!
2 Likes
I guess this release paves the way to remove the bs
.
Next step would probably be to alias bs-platform
with rescript
?
(see: Will there be a new npm package?)
1 Like
Yes, that’s on the roadmap
3 Likes
Hey. Here’s a few initial feelings when I ran 8.3 against our code base:
- Build feels noticeably faster (cool)
- I had to radically change
warnings.number
flags in bsconfig to make it build.
Old:
"warnings": {
"number": "+A-48-42-41-40-4",
"error": "+A-103-102-44-42-41-40-32-27-26-4-3"
},
New:
"warnings": {
"number": "+A-103-102-48-44-42-41-40-32-27-26-4-3",
"error": "+A-103-102-44-42-41-40-32-27-26-4-3" // <- irrelevant
},
So practically many of the old warnings such as unused variable now became blocking errors. This felt like quite a radical change. Is all of this intended?
we will fix this in next release
3 Likes