Releases: rescript-lang/rescript-vscode
Latest master
What's Changed
- Try to fix latest-master release by @fhammerschmidt in #1078
- Use fs api to check if string is a directory. by @nojaf in #1080
- Fix local compilation when in a workspace by @jfrolich in #1082
Full Changelog: 1.62.0...latest-master
What's Changed
- CI: macos runners: use macos-15/macos-15-intel by @cknitt in #1137
- Add paste as JSON.t, ReScript JSX by @nojaf in #1141
Full Changelog: 1.66.0...latest-master
What's Changed
- CI: macos runners: use macos-15/macos-15-intel by @cknitt in #1137
- Add paste as JSON.t, ReScript JSX by @nojaf in #1141
- Externalize oxc-parser by @nojaf in #1142
Full Changelog: 1.66.0...latest-master
What's Changed
- CI: macos runners: use macos-15/macos-15-intel by @cknitt in #1137
- Add paste as JSON.t, ReScript JSX by @nojaf in #1141
- Externalize oxc-parser by @nojaf in #1142
- Include bindings of oxc-parser by @nojaf in #1143
Full Changelog: 1.66.0...latest-master
What's Changed
- CI: macos runners: use macos-15/macos-15-intel by @cknitt in #1137
- Add paste as JSON.t, ReScript JSX by @nojaf in #1141
- Externalize oxc-parser by @nojaf in #1142
- Include bindings of oxc-parser by @nojaf in #1143
- Pass RESCRIPT_RUNTIME env to analysis process by @nojaf in #1145
Full Changelog: 1.66.0...latest-master
What's Changed
- CI: macos runners: use macos-15/macos-15-intel by @cknitt in #1137
- Add paste as JSON.t, ReScript JSX by @nojaf in #1141
- Externalize oxc-parser by @nojaf in #1142
- Include bindings of oxc-parser by @nojaf in #1143
- Pass RESCRIPT_RUNTIME env to analysis process by @nojaf in #1145
- Release 1.68.0 by @nojaf in #1146
Full Changelog: 1.66.0...latest-master
What's Changed
Full Changelog: 1.68.0...latest-master
What's Changed
- Only paste as json when root is object or array by @nojaf in #1148
- Remove registerDocumentPasteEditProvider by @nojaf in #1150
Full Changelog: 1.68.0...latest-master
What's Changed
- Only paste as json when root is object or array by @nojaf in #1148
- Remove registerDocumentPasteEditProvider by @nojaf in #1150
- Bump to 1.70.0 by @nojaf in #1151
Full Changelog: 1.68.0...latest-master
What's Changed
Full Changelog: 1.70.0...latest-master
What's Changed
- Expose runtime cache in dump command by @nojaf in #1152
- fix: resolve symlinks when finding platform binaries by @han-tyumi in #1154
New Contributors
- @han-tyumi made their first contribution in #1154
Full Changelog: 1.70.0...latest-master
What's Changed
- Expose runtime cache in dump command by @nojaf in #1152
- fix: resolve symlinks when finding platform binaries by @han-tyumi in #1154
- Use custom string types to better determine what a path is by @nojaf in #1153
New Contributors
- @han-tyumi made their first contribution in #1154
Full Changelog: 1.70.0...latest-master
1.70.0
1.68.0
1.66.0
1.66.0
π Bug fix
- Protect against trying to read non-existant
.compiler.log. #1116 - Detected quoted paths in bsb arguments on Windows. #1120
π New Feature
- Add status bar item tracking compilation state. #1119
π Internal
- Find
@rescript/runtimefor Rewatch compiler-args call. #1125 - Use
prepareRenamecommand (when a new enough ReScript version is used) to speed up therenamecommand. #1124 - Use
compiler-info.jsonto find the@rescript/runtimeandbsc.exeif available. #1129 - Add
Dump LSP Server Statecommand to client. #1130 - Use
compiler-info.jsonto locate other binaries as well. #1135 - Detect Rewatch from workspace root. #1135
1.64.0
1.64.0
π New Feature
- Find
bsc.exeandrescript-code-editor-analysis.exefrom platform-specific packages used by ReScriptv12.0.0-alpha.13+.#1092 - Find
rewatch.exefrom platform-specific packages used by ReScriptv12.0.0-alpha.13+. #1101
π Bug fix
-
Fix: Dont create empty diagnostic messages. #1114
-
Fix:
rescript-editor-analysis.exe semanticTokenssometimes returned invalid JSON, which affected syntax highlighting. #1113 -
Fix: hang in
rescript-editor-analysis.exe codeActionthat sometimes prevented ReScript files from being saved in VS Code. #1112 -
Fix: show existing compiler errors and warnings on file open. #1103
-
Fix: bug where we incorrectly showed a warning notification about something going wrong with incremental type checking, when in fact the compiler was reporting module-related type errors #1090
-
Fix: bug where we incorrectly showed a warning notification about something going wrong with incremental type checking, when in fact the compiler was reporting multiple definitions of the same type or module name #1086
-
Fix: incorrect highlighting of
asinside labelled arguments liketoast#1085 -
Fix: bug where incremental analysis does not work when the project folder contains a dot. #1080
-
Fix: bug where incremental compilation crashes when rewatch is being run in a specific package vs the root of the monorepo. #1082
-
Fix: Absence of Node.js does not hinder LSP server. #1083
-
Fix: JSON from
rescript-code-editor-analysiswas not always escaped properly, which prevented code actions from being available in certain situations #1089
π Internal
- Find binary paths asynchronously. On
>=12.0.0-alpha.13we do this by dynamically importing the@rescript/{target}package in the project root. #1093 - Remove chokidar from LSP server. We expect LSP clients to support workspace_didChangeWatchedFiles. #1096
1.62.0
1.62.0
π Polish
- Remove the built-in formatter since it has been causing more harm than done good. #1073
π New Feature
-
Port 7292: Fix dot completion issue with React primitives. #1074
-
Add support for "dot completion everywhere". In addition to record fields, dots will now complete for object fields, and pipe completions applicable to the type the dot is on. You can also configure where the editor draws extra pipe completions from via the
@editor.completeFromattribute. #1054
π Bug fix
1.60.0
π New Feature
- Enable incremental typechecking and project config cache by default. #1047
π Internal
- Auto-format vendored OCaml sources like in compiler repo. #1053
- All OCaml sources in this repo is now considered "legacy", as the OCaml parts of the editor integration are now shipped with the compiler instead.
1.58.0
1.56.0
1.56.0
π Bug Fix
- Fix a regression with incremental typechecking in monorepos with rewatch, where the workspace directory was not properly set.
- When log files are deleted (due to a clean), the editor tooling doesn't crash anymore.
π New Feature
- Support for the
namespace-entryfeature of rewatch, to allow entrypoint modules for namespaced packages.
1.54.0
What's Changed
- Fix special case in switch expr completion by @zth in #1002
- Cache project config on demand by @zth in #1000
- distinguish regular modules from module types by @zth in #925
- add system requirements section for linux to tools readme by @woeps in #1007
- rescript-tools: do not override flags for static linking by @cknitt in #1013
- Revert "add system requirements section for linux to tools readme" by @woeps in #1014
- Strip binaries by @cknitt in #1015
- Tools: Print module structure with signature to module path by @aspeddro in #1018
- CI: migrate from deprecated set-output to GITHUB_ENV by @cknitt in #1016
- CI: Switch to action-gh-release and upgrade node by @fhammerschmidt in #1020
- Reduce language server latency by @zth in #1003
- add
moduletypeidfield for modules with explicitly annotated module type by @aspeddro in #1019
Full Changelog: 1.52.0...1.54.0