Skip to content

Commit

Permalink
Update more links
Browse files Browse the repository at this point in the history
  • Loading branch information
fhammerschmidt committed Nov 14, 2024
1 parent 2a06d9a commit 1c0a119
Show file tree
Hide file tree
Showing 31 changed files with 87 additions and 88 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 🚀 rescript-compiler
url: https://github.com/rescript-lang/rescript-compiler/issues
about: Please report problems about the ReScript compiler and build system here.
url: https://github.com/rescript-lang/rescript/issues
about: Please report problems about the ReScript compiler, build system and tools here.
- name: 💻 rescript-vscode
url: https://github.com/rescript-lang/rescript-vscode/issues
about: VSCode language support, LSP, tools
about: VSCode language support, LSP
- name: 📦 create-rescript-app
url: https://github.com/rescript-lang/create-rescript-app/issues
about: ReScript's project generator
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

This is the official documentation platform for the [ReScript](https://rescript-lang.org) programming language.

**Please report any technical issues with ReScript to the [compiler repository](https://github.com/rescript-lang/rescript-compiler).**
**Please report any technical issues with ReScript to the [compiler repository](https://github.com/rescript-lang/rescript).**

**In case you are missing some specific documentation:**

Expand Down
4 changes: 2 additions & 2 deletions _blogposts/2020-09-25-release-8-3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ It's focused on type safety, performance and JS interop. It used to be called Bu
npm i [email protected]
```

The changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#83), this is a large release, and we will go through some highlighted changes.
The changes are listed [here](https://github.com/rescript-lang/rescript/blob/master/Changes.md#83), this is a large release, and we will go through some highlighted changes.



Expand Down Expand Up @@ -122,7 +122,7 @@ Now user can pick up their js file extension support per module format:

## More flexible filename support

To have better integration with other [JS infrastructures](https://github.com/rescript-lang/rescript-compiler/issues/4624),
To have better integration with other [JS infrastructures](https://github.com/rescript-lang/rescript/issues/4624),
for example, Next.js/React Native, we allow file names like `404.res`,
`Button.Android.res` so that it can just be picked up by those tools

Expand Down
9 changes: 4 additions & 5 deletions _blogposts/2020-12-07-release-8-4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ It's focused on type safety, performance and JS interop. It used to be called Bu
npm i [email protected]
```

The changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#841).
The changes are listed [here](https://github.com/rescript-lang/rescript/blob/master/Changes.md#841).

We will go through some highlighted changes.

Expand All @@ -33,11 +33,10 @@ In this release, we fix the integrity of `bsb -make-world` which allows user to
The fix is well implemented that people who don't do such modifications will not pay for it.

This is one of the highest desired feature request based on the
[user feedback](https://github.com/rescript-lang/rescript-compiler/issues/4361#issuecomment-739538789), so we will expand a bit here why it is tricky
to implement it without compromising performance.
[user feedback](https://github.com/rescript-lang/rescript/issues/4361#issuecomment-739538789), so we will expand a bit here why it is tricky to implement it without compromising performance.

In ReScript compilation scheme, dependencies as packages are treated as a black box,
changes of dependencies should be *transitive*. The is due to that we have cross module
changes of dependencies should be _transitive_. The is due to that we have cross module
optimizations and the binary interface itself is a hash of its dependencies.
So for a package dependency chain: A -> B -> C, if A changes and B does not change, C still needs get rebuilt.
Because the intermediate output of B may still change due to the change of A.
Expand Down Expand Up @@ -68,6 +67,6 @@ of such stale outptu, such stale `List.cmi` file will break the integrity of the
In this release, we introduced a more robust algorithm that will always remove stale output before the build so
that such integrity is not broken.

Last but not the least, we continue improving the readability, debuggability of the [generated output](https://github.com/rescript-lang/rescript-compiler/pull/4858) : )
Last but not the least, we continue improving the readability, debuggability of the [generated output](https://github.com/rescript-lang/rescript/pull/4858) : )

Happy Hacking! -- Hongbo Zhang
8 changes: 4 additions & 4 deletions _blogposts/2021-02-09-release-9-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ npm install [email protected]

You can also try our new release in the [Online Playground](/try).

In this post we will highlight the most notable changes. The full changelog for this release can be found [here](https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#90).
In this post we will highlight the most notable changes. The full changelog for this release can be found [here](https://github.com/rescript-lang/rescript/blob/master/Changes.md#90).

## Compiler Improvements

### New External Stdlib Configuration

This is a long-awaited [feature request](https://github.com/rescript-lang/rescript-compiler/pull/2171).
This is a long-awaited [feature request](https://github.com/rescript-lang/rescript/pull/2171).

Our compiler comes with a set of stdlib modules (such as `Belt`, `Pervasives`, etc.) for core functionality. Compiled ReScript code relies on the JS runtime version of these stdlib modules.

Expand All @@ -47,7 +47,7 @@ We made a small [demo repo](https://github.com/bobzhang/zero-cost-rescript) and

### Improved Code Generation for Pattern Matching

We fine-tuned our pattern matching engine to optimize the JS output even more. Here is an example of a pretty substantial optimization, based on [this issue](https://github.com/rescript-lang/rescript-compiler/issues/4924):
We fine-tuned our pattern matching engine to optimize the JS output even more. Here is an example of a pretty substantial optimization, based on [this issue](https://github.com/rescript-lang/rescript/issues/4924):

```res
type test =
Expand Down Expand Up @@ -87,7 +87,7 @@ function test(x) {

As you can see, the 9.0 compiler removes all the unnecessary `typeof` checks!

This is possible because our optimizer will try to analyze several predicates and get rid of redundant ones. More diffs can be found [here](https://github.com/rescript-lang/rescript-compiler/pull/4927/files?file-filters%5B%5D=.js).
This is possible because our optimizer will try to analyze several predicates and get rid of redundant ones. More diffs can be found [here](https://github.com/rescript-lang/rescript/pull/4927/files?file-filters%5B%5D=.js).

Another important improvement is that we fixed the pattern match offset issue, which lead to the consequence that magic numbers will not be generated for complex pattern matches anymore.

Expand Down
4 changes: 2 additions & 2 deletions _blogposts/2021-05-07-release-9-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |

## Exciting Improvements in ReScript 9.1

Our recent few releases of ReScript contains [lots of improvements](https://github.com/rescript-lang/rescript-compiler/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91), among which are a few standout features we'd like to further promote. Hope you're as excited as we are about these! It goes without saying, our [updated editor plugin](https://forum.rescript-lang.org/t/ann-rescript-vscode-1-1-1-released/1542/3) works with the new releases.
Our recent few releases of ReScript contains [lots of improvements](https://github.com/rescript-lang/rescript/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91), among which are a few standout features we'd like to further promote. Hope you're as excited as we are about these! It goes without saying, our [updated editor plugin](https://forum.rescript-lang.org/t/ann-rescript-vscode-1-1-1-released/1542/3) works with the new releases.

### New NPM Package

Expand Down Expand Up @@ -159,6 +159,6 @@ let helloUnicode = (x) =>{

## Conclusion

Don't miss our various other improvements in [our changelog](https://github.com/rescript-lang/rescript-compiler/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91). As always we try to keep our changes performant, lean and robust. We hope you'll enjoy these.
Don't miss our various other improvements in [our changelog](https://github.com/rescript-lang/rescript/blob/3134392a364b70c9c172aa6c1dbaa1ac6580265d/Changes.md#91). As always we try to keep our changes performant, lean and robust. We hope you'll enjoy these.

See you next time!
10 changes: 5 additions & 5 deletions _blogposts/2022-08-25-release-10-0-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ReScript version 10 is available! Version 10 is a culmination of over a year's w
npm install rescript@10
```

All changes are listed [here](https://github.com/rescript-lang/rescript-compiler/blob/10.0_release/CHANGELOG.md). Let's take a tour of a few of the features we're extra excited about.
All changes are listed [here](https://github.com/rescript-lang/rescript/blob/10.0_release/CHANGELOG.md). Let's take a tour of a few of the features we're extra excited about.

## Faster builds with native M1 support
Users with M1 chips should see a notable speedup, as the new ReScript version has full native support for M1.
Expand All @@ -27,9 +27,9 @@ let str = "Σ"

You can also pattern match on Unicode characters:
```res
switch someCharacter {
| 'Σ' => "what a fine Unicode char"
| _ => "Unicode is fun"
switch someCharacter {
| 'Σ' => "what a fine Unicode char"
| _ => "Unicode is fun"
}
```

Expand Down Expand Up @@ -79,7 +79,7 @@ Version 10 brings the building blocks needed for a number of exciting new featur

## Upgrade guide

Please see the detailed [changelog](https://github.com/rescript-lang/rescript-compiler/blob/10.0_release/CHANGELOG.md) for a list of breaking changes.
Please see the detailed [changelog](https://github.com/rescript-lang/rescript/blob/10.0_release/CHANGELOG.md) for a list of breaking changes.
Each breaking change lists suggestions on how to upgrade your project.
This can be out of your control in case of dependencies. In that case, please raise issues with the maintainers of those libraries.

Expand Down
8 changes: 4 additions & 4 deletions _blogposts/2023-02-02-release-10-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This version comes with two major language improvements we've all been waiting f

Alongside the major changes, there have been many bugfixes and other improvements that won't be covered in this post.

Feel free to check the [Changelog](https://github.com/rescript-lang/rescript-compiler/blob/master/CHANGELOG.md#1011) for all the details.
Feel free to check the [Changelog](https://github.com/rescript-lang/rescript/blob/master/CHANGELOG.md#1011) for all the details.

## New `async` / `await` syntax

Expand Down Expand Up @@ -293,16 +293,16 @@ Our contributors are already one step ahead and are currently working on improve
- New tooling to generate markdown from docstrings (module, type and value level). This will be super simple, but very effective.
- Explorations for a [localized documentation page](https://forum.rescript-lang.org/t/translation-project-rescript-lang-org/4022) (currently in a slowed-down exploration phase, but we will be getting there)

Check out the [v11](https://github.com/rescript-lang/rescript-compiler/issues?q=is%3Aopen+is%3Aissue+milestone%3Av11.0) milestone on our `rescript-lang` repo for more details on future improvements.
Check out the [v11](https://github.com/rescript-lang/rescript/issues?q=is%3Aopen+is%3Aissue+milestone%3Av11.0) milestone on our `rescript-lang` repo for more details on future improvements.

## Acknowledgements

As always, we want to thank our [contributors](https://github.com/rescript-lang/rescript-compiler/graphs/contributors?from=2019-11-24&to=2023-02-02&type=c) for building an amazing platform. Special thanks go out to [mununki](https://github.com/mununki) for building the new JSX v4 syntax. Amazing work!
As always, we want to thank our [contributors](https://github.com/rescript-lang/rescript/graphs/contributors?from=2019-11-24&to=2023-02-02&type=c) for building an amazing platform. Special thanks go out to [mununki](https://github.com/mununki) for building the new JSX v4 syntax. Amazing work!

## That's it

We hope you enjoy the newest improvements as much as we do.

In case there's any issues / problems, make sure to report bugs to [rescript-lang/rescript-compiler](https://github.com/rescript-lang/rescript-compiler) (language / syntax / jsx), [rescript-lang/rescript-react](https://github.com/rescript-lang/rescript-react) (React 16 / 18 binding) or [rescript-association/rescript-lang.org](https://github.com/rescript-lang/rescript-lang.org) (documentation) repositories.
In case there's any issues / problems, make sure to report bugs to [rescript-lang/rescript](https://github.com/rescript-lang/rescript) (language / syntax / jsx), [rescript-lang/rescript-react](https://github.com/rescript-lang/rescript-react) (React 16 / 18 binding) or [rescript-association/rescript-lang.org](https://github.com/rescript-lang/rescript-lang.org) (documentation) repositories.

Also feel free to visit the [ReScript forum](https://forum.rescript-lang.org/) to ask questions and connect with other ReScripters.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ The most important take away of the new dynamic imports functionality in ReScrip

We hope that it will help shipping software with better end-user experience with faster load times and quicker app interaction, especially on slower network connections.

As always, we're eager to hear about your experiences with our new features. Feel free to share your thoughts and feedback with us on our [issue tracker](https://github.com/rescript-lang/rescript-compiler/issues) or on the [forum](https://forum.rescript-lang.org).
As always, we're eager to hear about your experiences with our new features. Feel free to share your thoughts and feedback with us on our [issue tracker](https://github.com/rescript-lang/rescript/issues) or on the [forum](https://forum.rescript-lang.org).

Happy hacking!
2 changes: 1 addition & 1 deletion _blogposts/2023-09-18-uncurried-mode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ Many thoughts have led to this decision, but we think this change is a great fit

We hope that this new way of writing ReScript will make it both easier for beginners and also more enjoyable for the seasoned developers.

As always, we're eager to hear about your experiences with our new features. Feel free to share your thoughts and feedback with us on our [issue tracker](https://github.com/rescript-lang/rescript-compiler/issues) or on the [forum](https://forum.rescript-lang.org).
As always, we're eager to hear about your experiences with our new features. Feel free to share your thoughts and feedback with us on our [issue tracker](https://github.com/rescript-lang/rescript/issues) or on the [forum](https://forum.rescript-lang.org).

Happy hacking!
16 changes: 8 additions & 8 deletions _blogposts/2024-01-11-release-11-0-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm install rescript@11

To upgrade your project or to find out if there are any breaking changes that affect you, please follow the [migration guide](/docs/manual/latest/migrate-to-v11).

The complete list of changes can be found [here](https://github.com/rescript-lang/rescript-compiler/blob/v11.0.0/CHANGELOG.md). Let's have a look at the most notable improvements.
The complete list of changes can be found [here](https://github.com/rescript-lang/rescript/blob/v11.0.0/CHANGELOG.md). Let's have a look at the most notable improvements.

## Highlights

Expand Down Expand Up @@ -123,15 +123,15 @@ npx rescript-language-server --stdio
As we now finish up the work on v11, we're looking forward to working on the next ReScript version. Here are some of the features we're planning to focus on in upcoming versions:

- Make JSX usable beyond React:
- [Generic JSX transform](https://github.com/rescript-lang/rescript-compiler/issues/6408)
- [JSX preserve mode](https://github.com/rescript-lang/rescript-compiler/issues/6197)
- [Generic JSX transform](https://github.com/rescript-lang/rescript/issues/6408)
- [JSX preserve mode](https://github.com/rescript-lang/rescript/issues/6197)
- Integrate the Rescript Core standard library into the compiler
- remove the OCaml standard library
- remove `Belt` but keep it available as external package
- Make maintaining TS libraries with ReScript a breeze, [thanks to genType](https://github.com/rescript-lang/rescript-compiler/issues/6210)
- Support [tagged template literals](https://github.com/rescript-lang/rescript-compiler/pull/6250)
- [Dedicated syntax for creating Dicts](https://github.com/rescript-lang/rescript-compiler/issues/6545)
- [Array spread syntax](https://github.com/rescript-lang/rescript-compiler/issues/6546)
- Make maintaining TS libraries with ReScript a breeze, [thanks to genType](https://github.com/rescript-lang/rescript/issues/6210)
- Support [tagged template literals](https://github.com/rescript-lang/rescript/pull/6250)
- [Dedicated syntax for creating Dicts](https://github.com/rescript-lang/rescript/issues/6545)
- [Array spread syntax](https://github.com/rescript-lang/rescript/issues/6546)
- A [new custom build system](https://github.com/rolandpeelen/rewatch) with better support for workspaces / monorepos
- More improvements to the type system

Expand All @@ -145,7 +145,7 @@ We hope you enjoy the newest improvements as much as we do.

In case of issues / problems, make sure to report bugs to one of the following repositories:

- [rescript-lang/rescript-compiler](https://github.com/rescript-lang/rescript-compiler) (language / syntax / jsx)
- [rescript-lang/rescript](https://github.com/rescript-lang/rescript) (language / syntax / jsx)
- [rescript-lang/rescript-react](https://github.com/rescript-lang/rescript-react) (React bindings)
- [rescript-lang/rescript-vscode](https://github.com/rescript-lang/rescript-vscode) (VSCode language support, LSP, tools)
- [rescript-lang/create-rescript-app](https://github.com/rescript-lang/create-rescript-app) (project generator) or
Expand Down
4 changes: 2 additions & 2 deletions _blogposts/2024-02-01-release-11-1-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ See ["Compile with stricter errors in CI"](/docs/manual/latest/build-overview#co
## Other changes
Of course we also got a bunch of other changes and bug fixes in this release. Check out the [compiler changelog](https://github.com/rescript-lang/rescript-compiler/blob/11.0_release/CHANGELOG.md#1110-rc1) if you are interested.
Of course we also got a bunch of other changes and bug fixes in this release. Check out the [compiler changelog](https://github.com/rescript-lang/rescript/blob/11.0_release/CHANGELOG.md#1110-rc1) if you are interested.
## v12 is next
Expand All @@ -254,4 +254,4 @@ We hope you enjoy the newest improvements as much as we do.
If you find any problems with this new release, make sure to report them here:
- [rescript-lang/rescript-compiler](https://github.com/rescript-lang/rescript-compiler/issues/new/choose)
- [rescript-lang/rescript](https://github.com/rescript-lang/rescript/issues/new/choose)
2 changes: 1 addition & 1 deletion pages/community/roadmap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For latest development updates, please check out the [ReScript forum](https://fo

## Current focus

Major v12.0 release (see [v12 milestone](https://github.com/rescript-lang/rescript-compiler/milestone/16)).
Major v12.0 release (see [v12 milestone](https://github.com/rescript-lang/rescript/milestone/16)).

- Move the [Rescript Core](https://github.com/rescript-lang/rescript-core) standard library into the compiler / remove the OCaml standard library
- A new build system tailored to ReScript's needs ([rewatch](https://github.com/teamwalnut/rewatch)) for better monorepo support and even faster compilation speed
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/manual/latest/async-await.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ let fetchData: string => promise<string> = async (userId: string): string {
}
```

**Note:** In a practical scenario you'd either use a type signature, or inline types, not both at the same time. In case you are interested in the design decisions, check out [this discussion](https://github.com/rescript-lang/rescript-compiler/pull/5913#issuecomment-1359003870).
**Note:** In a practical scenario you'd either use a type signature, or inline types, not both at the same time. In case you are interested in the design decisions, check out [this discussion](https://github.com/rescript-lang/rescript/pull/5913#issuecomment-1359003870).

### Promises don't auto-collapse in async functions

Expand Down
Loading

0 comments on commit 1c0a119

Please sign in to comment.