-
-
Notifications
You must be signed in to change notification settings - Fork 251
Release blogpost for v11.1.x #918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
fhammerschmidt
wants to merge
6
commits into
master
Choose a base branch
from
release-11-1-5-blogpost
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
779b984
Release blogpost for v11.1.x
fhammerschmidt ecff4f6
Shorten blogpost a bit
fhammerschmidt 436cbe6
Update _blogposts/2024-09-30-release-11-1-5.mdx
fhammerschmidt 1a86462
Update _blogposts/2024-09-30-release-11-1-5.mdx
fhammerschmidt 29de83a
Escape fix
fhammerschmidt 1db7119
Update _blogposts/2024-09-30-release-11-1-5.mdx
fhammerschmidt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
author: rescript-team | ||
date: "2024-09-30" | ||
title: ReScript 11.1.x | ||
badge: release | ||
description: | | ||
ReScript 11.1 bugfix releases and deprecation warnings | ||
--- | ||
|
||
In preparation for the next major release of ReScript, we decided to deprecate JSX V3 in ReScript 11.1.5, in order to remove it completely in ReScript 12. During the development of V12, we fixed some parser and formatter issues that got backported to V11 as well. Furthermore, some compiler bugfixes happened as well. And last but not least, we improved Windows support a bit. | ||
|
||
Please ensure to be on the latest patch release: | ||
|
||
```sh | ||
npm install [email protected] | ||
``` | ||
|
||
All changes can be found in the changelog ([11.1.1](https://github.com/rescript-lang/rescript-compiler/blob/11.0_release/CHANGELOG.md#1111) - [11.1.5](https://github.com/rescript-lang/rescript-compiler/blob/11.0_release/CHANGELOG.md#1115)), but the most important ones are: | ||
|
||
## Deprecation of JSX 3 | ||
|
||
JSX 3 has been officially deprecated. Moving forward, developers should only use JSX 4 so we can safely remove it from ReScript V12 and also to ensure binding libraries will use it as the blessed path. Read more on the [deprecation pull request](https://github.com/rescript-lang/rescript-compiler/pull/7042). | ||
|
||
## Some parser and formatter fixes | ||
|
||
On the way to remove the legacy `Pervasives` standard library out of the compiler, we adapted a lot of compiler tests and found and fixed some parser and formatter issues, for instance: | ||
|
||
- [Trailing Comma Issue Fixed in Partial Applications](https://github.com/rescript-lang/rescript-compiler/pull/6949) | ||
- [Unary Operator Function Format Fix](https://github.com/rescript-lang/rescript-compiler/pull/6953) | ||
- [Correct printing of module binding with signature](https://github.com/rescript-lang/rescript-compiler/pull/6963) | ||
- [Comment Retention in Function Signatures with `type`](https://github.com/rescript-lang/rescript-compiler/pull/6997) | ||
- [Parsing Error Fixed in Type Definitions](https://github.com/rescript-lang/rescript-compiler/pull/7001) | ||
|
||
## Compiler fixes | ||
|
||
The compiler also received some improvements, mostly around error reporting, (untagged) variant checks and producing more efficient code in uncurried mode. Furthermore, there were some Windows support improvements. Some notable changes are: | ||
|
||
- [Stricter Variant Spreading Rules](https://github.com/rescript-lang/rescript-compiler/pull/6980) | ||
- [Improved Error Reporting in Tag Functions](https://github.com/rescript-lang/rescript-compiler/pull/6816) | ||
- [Better Handling of `@uncurry` in Uncurried Mode](https://github.com/rescript-lang/rescript-compiler/pull/6869) | ||
- [Untagged Variant Fixes](https://github.com/rescript-lang/rescript-compiler/pull/6669) | ||
- [Deno Compatibility on Windows](https://github.com/rescript-lang/rescript-compiler/pull/6850) | ||
- [Windows 11 ARM Support](https://github.com/rescript-lang/rescript-compiler/pull/6813) | ||
|
||
## v12 outlook | ||
|
||
We are deep in the process of removing a lot of legacy compiler internals as well as support for ml syntax. With v12, ReScript will be a language with just _one_ syntax, targeting _one_ platform and, ideally, _one_ standard library that ships with the compiler directly. We hope it will enable us to tailor ReScript even more to the JS platform. | ||
fhammerschmidt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## Acknowledgements | ||
|
||
There is a good amount of recurring contributors who deliver some very good work now. So once again we have to thank you all, you are amazing! The most recent patch releases had contributions by: | ||
|
||
[@aspeddro](https://github.com/aspeddro), [@cknitt](https://github.com/cknitt), [@cristianoc](https://github.com/cristianoc), [@fhammerschmidt](https://github.com/fhammerschmidt), [@rlidwka](https://github.com/rlidwka), [@shulhi](https://github.com/shulhi), [@tsnobip](https://github.com/tsnobip), [@zth](https://github.com/zth) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.