Skip to content

Releases: rescript-lang/rescript-vscode

Latest master

04 Dec 08:14
a1b41a7

Choose a tag to compare

Latest master Pre-release
Pre-release

What's Changed

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

Full Changelog: 1.66.0...latest-master

What's Changed

Full Changelog: 1.66.0...latest-master

What's Changed

Full Changelog: 1.66.0...latest-master

What's Changed

Full Changelog: 1.66.0...latest-master

What's Changed

  • Only paste as json when root is object or array by @nojaf in #1148

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

Full Changelog: 1.68.0...latest-master

What's Changed

  • Expose runtime cache in dump command by @nojaf in #1152

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

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

Full Changelog: 1.70.0...latest-master

1.70.0

26 Nov 07:58
7554adb

Choose a tag to compare

1.70.0

πŸ› Bug fix

  • Remove automatic paste provider that interfered with default paste behavior. Paste as ReScript JSON/JSX commands are now explicit commands only. #1150
  • Only paste objects/arrays are JSON.t #1148

1.68.0

24 Nov 08:26
b5cdc2b

Choose a tag to compare

1.68.0

πŸš€ New Feature

  • Paste as JSON.t or ReScript JSX in VSCode. #1141

πŸ› Bug fix

  • Pass RESCRIPT_RUNTIME to analysis process. #1145

1.66.0

02 Oct 10:13
567afe5

Choose a tag to compare

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/runtime for Rewatch compiler-args call. #1125
  • Use prepareRename command (when a new enough ReScript version is used) to speed up the rename command. #1124
  • Use compiler-info.json to find the @rescript/runtime and bsc.exe if available. #1129
  • Add Dump LSP Server State command to client. #1130
  • Use compiler-info.json to locate other binaries as well. #1135
  • Detect Rewatch from workspace root. #1135

1.64.0

04 Aug 06:52

Choose a tag to compare

1.64.0

πŸš€ New Feature

  • Find bsc.exe and rescript-code-editor-analysis.exe from platform-specific packages used by ReScript v12.0.0-alpha.13+.#1092
  • Find rewatch.exe from platform-specific packages used by ReScript v12.0.0-alpha.13+. #1101

πŸ› Bug fix

  • Fix: Dont create empty diagnostic messages. #1114

  • Fix: rescript-editor-analysis.exe semanticTokens sometimes returned invalid JSON, which affected syntax highlighting. #1113

  • Fix: hang in rescript-editor-analysis.exe codeAction that 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 as inside labelled arguments like toast #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-analysis was 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.13 we 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

26 Feb 10:02

Choose a tag to compare

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.completeFrom attribute. #1054

πŸ› Bug fix

  • Fix bug where type args stopped working in some completions when passed through inline records. #1064
  • Fix bug where objects weren't actually iterated on, making completions inside of them not work. #1065
  • Fix bug where pipe completions would not trigger with generic type arguments. #1067

1.60.0

25 Dec 21:44
@zth zth

Choose a tag to compare

πŸš€ 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

03 Sep 14:01
fd91104

Choose a tag to compare

1.58.0

πŸ› Bug fix

  • Fix an issue where the extension would still crash in a monorepo with rewatch

πŸš€ New Feature

  • Add hightlighting for the new dict literal syntax dict{}. #934

1.56.0

30 Aug 21:30

Choose a tag to compare

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-entry feature of rewatch, to allow entrypoint modules for namespaced packages.

1.54.0

17 Jun 06:33

Choose a tag to compare

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 moduletypeid field for modules with explicitly annotated module type by @aspeddro in #1019

Full Changelog: 1.52.0...1.54.0