zth
February 23, 2024, 9:28am
1
ReScript Core 1.1.0 (and 1.0.0 which was released a while back) has been released.
Until Core is integrated into the compiler (v12 likely), versioning will work this way:
0.x
(currently 0.7.0
) will work for ReScript <11
, and >=11
but with no v11 specific goodies
1.x
(currently 1.1.0
) fully embraces ReScript >=11
and uncurried mode
Check out the changelog and thanks to everyone involved who has chipped in!
# @rescript/core Changelog
## Next version
## 1.1.0
- BREAKING: Align List api with other modules (`List.getBy` -> `List.find` etc.). https://github.com/rescript-association/rescript-core/pull/195
- BREAKING: Adds typed bindings to `Intl`, replacing the options type of `{..}` with records. https://github.com/rescript-association/rescript-core/pull/65
- Add `Dict.forEach`, `Dict.forEachWithKey` and `Dict.mapValues` https://github.com/rescript-association/rescript-core/pull/181
- Remove internal xxxU helper functions that are not needed anymore in uncurried mode. https://github.com/rescript-association/rescript-core/pull/191
- Rename `Object.empty` to `Object.make` for consistency.
- Add dynamic `import`. https://github.com/rescript-association/rescript-core/pull/178
- Add `Iterator.forEach` and `AsyncIterator.forEach` helpers for iterators. https://github.com/rescript-association/rescript-core/pull/175
## 1.0.0
- Up ReScript dependency to 11+.
- `JSON`, `Null` and `Nullable` untagged variants are now properly exposed.
- BREAKING: Duplicated definition of `result` in `Result` module removed, as `result` is now a built in. Switch out any `Result.t` type annotations to point to the built in `result` instead.
This file has been truncated. show original
16 Likes
Hey @zth , Not able to use “Dict.forEachWithKey” with rescript- v11.1.0-rc.6 version in Rescript Playground. Can you help if I’m using it incorrectly ?
Issue
Thanks in advance
fham
March 28, 2024, 8:44am
3
Sorry, we forgot to update the playground to Core 1.1.0. This needs to be done manually until core is merged into the compiler.
Here is a tracking PR: Upgrade playground dependencies by fhammerschmidt · Pull Request #6701 · rescript-lang/rescript-compiler · GitHub
1 Like
fham
March 28, 2024, 9:32am
4
It’s merged already, but it will be deployed with the next compiler release candidate.
2 Likes
Thanks @fham , for such quick resolution.
1 Like
fham
April 3, 2024, 4:21pm
6
works now on the newest version
1 Like