Skip to content

Releases: rescript-lang/rescript-vscode

1.62.0

26 Feb 10:02
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

1.52.0

03 Jun 14:47
Compare
Choose a tag to compare

Bug Fixes

Commits

  • 8543778: Make sure doc strings are always on top in hovers (#956) (Gabriel Nordeborn) #956
  • efe8ee0: add pre release lsp (#841) (Pedro Castro) #841
  • 5bbe849: Highlight private as a keyword (#957) (Dmitry Zakharov) #957
  • 3aeb7e3: npm pre-release: add git-sha (#958) (Pedro Castro) #958
  • c9520bf: ✨ - Support rewatch for incremental compilation (#965) (Jaap Frolich) #965
  • 1d7dfb7: Make JSX completion work for React.component (#966) (Gabriel Nordeborn) #966
  • 98da028: checkout tests (Pedro Castro) #970
  • 6733034: update rescript (Pedro Castro) #970
  • c89ff33: update tests (Pedro Castro) #970
  • 656619d: Fix semanticTokenScopes override typescript files (#973) (Dmitry Zakharov) #973
  • 9ff1029: Remove not-existing #storage include in TextMate (#972) (Dmitry Zakharov) #972
  • Print signature above docstrings (#969) #969 (Pedro Castro)
  • 90b4a4d: Add experimental command for extracting (string) contents from extension points (#974) (Gabriel Nordeborn) #974
  • 8634477: publish tools (Gabriel Nordeborn)
  • fix experimental embed command output, and expose JS function for retrieving the correct OCaml binary to call for the platform you are on (Gabriel Nordeborn)
  • 9e7ecc1: publish tools (Gabriel Nordeborn)
  • 3b5824b: Build with OCaml 5.1.1 (#977) (Christoph Knittel) #977
  • 5e44e94: Build static linux binaries (#976) (Christoph Knittel) #976
  • 054e300: publish tools (Gabriel Nordeborn)
  • fe858f6: tools - reverse extracted embed order (Gabriel Nordeborn)
  • e3ee758: Emit %todo istead of failwith when appropriate (#981) (Gabriel Nordeborn) #981
  • 3375705: Use canonicalized URIs/paths for jump to definition (#982) (Florian Hammerschmidt) #982
  • 2d8d942: Fix JSX prop autocomplete special case (#984) (Gabriel Nordeborn) #984
  • 34b4c23: Code action: Extract module to file (#983) (Gabriel Nordeborn) #983
  • 65d6f05: Adjust function template snippet return (#985) (Gabriel Nordeborn) #985
  • 89deb9c: Do not expand type t in patterns (#986) (Gabriel Nordeborn) #986
  • 0f2ab3b: Code action: Expand catch all variant (#987) (Gabriel Nordeborn) #987
  • 34c4a3b: Extend code action that expands catch all (#988) (Gabriel Nordeborn) #988
  • ee2a297: Code actions for removing dead code (#989) (Gabriel Nordeborn) #989
  • fc89007: Remove workaround for canonicalize function in tests (#992) (Florian Hammerschmidt) #992
  • a38a5bd: Use identifier loc in certain scenarios (#993) (Gabriel Nordeborn) #993
  • e0a1815: print pexp_array (Gabriel Nordeborn)
  • 4b555e5: Fix expr record field completion in existing records (#997) (Gabriel Nordeborn) #997
  • 87bf5bd: Improve the dx of running the code analyzer some (#995) (Gabriel Nordeborn) #995
  • 1e66e7f: make label for the code action for extracting a local module to a separate file clearer (#996) (Gabriel Nordeborn) #996
  • 9cc7e65: Pull latest parser and compiler helper files (#998) (Gabriel Nordeborn) #998
  • 14f39b5: more debug logging (Gabriel Nordeborn)
  • e76c405: escape using the same fn (Gabriel Nordeborn)
  • d954df8: fix issue where pattern completion would not be triggered (#999) (Gabriel Nordeborn) #999
  • 169da71: 1.52.0 (Gabriel Nordeborn)

1.50.0

14 Mar 08:31
Compare
Choose a tag to compare

Commits

  • 56a5f0c: Extend signature help to also work on variant constructor payloads (#947) (Gabriel Nordeborn) #947
  • 80986d3: Enhance variant constructor payload completion (#946) (Gabriel Nordeborn) #946
  • 9217d76: Code actions from incremental checking (#948) (Gabriel Nordeborn) #948
  • completion creation fns to just one (#951) #951 (Gabriel Nordeborn)
  • 9e5bac2: Signature help fixes (#950) (Gabriel Nordeborn) #950
  • 504a5f2: Upgrade Github actions to v4 to fix deprecation warnings (Christoph Knittel) #949
  • fix deprecation (set-output) #953 (Christoph Knittel)
  • c692e48: Cleanup completion details docs (#952) (Gabriel Nordeborn) #952
  • 9dd6d1d: always pass back completion item from completionResolve regardless of if we modify it or not (Gabriel Nordeborn)
  • 69bfb26: Signature help for constructors in patterns (#954) (Gabriel Nordeborn) #954
  • bb4e36d: enable signature help for option and result (#955) (Gabriel Nordeborn) #955
  • 823bf67: 1.50.0 (Gabriel Nordeborn)

1.48.0

07 Mar 19:20
Compare
Choose a tag to compare

Commits

  • d582510: Fixes for incremental compilation (#945) (Gabriel Nordeborn) #945
  • b9e9368: 1.48.0 (Gabriel Nordeborn)

1.46.0

07 Mar 11:14
Compare
Choose a tag to compare

Commits

  • 155d23d: Null checks for various extension config things (#944) (Gabriel Nordeborn) #944
  • d402233: 1.46.0 (Gabriel Nordeborn)

1.44.0

06 Mar 07:49
Compare
Choose a tag to compare

Commits

  • a82a072: Fix issue with unlabelled arg code swallowing completions (#937) (Gabriel Nordeborn) #937
  • 839349a: bundle with esbuild (#941) (Pedro Castro) #941
  • 40887dc: Incremental typechecking (#939) (Gabriel Nordeborn) #939
  • cc96ea0: trigger republish of pre-release (Gabriel Nordeborn)
  • 81427ec: 1.44.0 (Gabriel Nordeborn)