v2.1.4
🚀 Features
- Support ts in template expressions - by @yyx990803 (a1e98)
- Support passing in compiler-sfc options - by @yyx990803 (f6c70)
- Vertical mode - by @yyx990803 (d59bb)
- File-selector add horizontal scroll - by @btea in #10 (d0c96)
- Export compileFile - by @sxzz and @yyx990803 in #13 (60db5)
- Allow starting on a specific view - by @posva in #15 (7e635)
- Add hidden file - by @sxzz in #17 (35b6f)
- Use monaco - by @Kingwl (e833c)
- Add ls - by @Kingwl (a7bff)
- Support ssr + hydration - by @yyx990803 (098aa)
- Completed provideCompletionItems - by @johnsoncodehk (81ef5)
- Implemented resolveCompletionItem - by @johnsoncodehk (3ef6f)
- Completed provideHover - by @johnsoncodehk (39222)
- Complete provideDefinition - by @johnsoncodehk (2035f)
- Completed provideSignatureHelp - by @johnsoncodehk (c599f)
- Completed setModelMarkers - by @johnsoncodehk (86079)
- Implemented provideReferences - by @johnsoncodehk (6b05d)
- Implemented provideRenameEdits - by @johnsoncodehk (5ca63)
- Implemented provideDocumentSymbols - by @johnsoncodehk (1cda6)
- Implemented provideDocumentHighlights - by @johnsoncodehk (f7824)
- Implemented provideLinkedEditingRanges - by @johnsoncodehk (1046a)
- Implemented provideImplementation - by @johnsoncodehk (49d8d)
- Implemented provideTypeDefinition - by @johnsoncodehk (b80bb)
- Implemented provideCodeLenses, resolveCodeLens - by @johnsoncodehk (bddb6)
- Implemented provideCodeActions, resolveCodeAction - by @johnsoncodehk (1d37f)
- Implemented provideDocumentFormattingEdits - by @johnsoncodehk (73f04)
- Implemented provideDocumentRangeFormattingEdits - by @johnsoncodehk (0e64a)
- Implemented provideOnTypeFormattingEdits - by @johnsoncodehk (f50e1)
- Implemented provideLinks - by @johnsoncodehk (3bc40)
- Implemented provideDocumentColors, provideColorPresentations - by @johnsoncodehk (ddde1)
- Implemented provideFoldingRanges - by @johnsoncodehk (dd083)
- Implemented provideDeclaration - by @johnsoncodehk (8e437)
- Implemented provideSelectionRanges - by @johnsoncodehk (2037d)
- Implemented provideInlayHints - by @johnsoncodehk (61d18)
- Support auto close tag / auto .value - by @johnsoncodehk (f765d)
- Gzip serialized state - by @KaelWD in #43 (b12eb)
- Export Preview component - by @nekosaur in #39 (0b93c)
- Upgrade volar - by @johnsoncodehk (0aac8)
- Pass vue dts module version from store - by @johnsoncodehk (2a0df)
- Provide fs option to support 3.3 external type resolving - by @yyx990803 (f0e82)
- Upgrade volar - by @johnsoncodehk (0783d)
- Local JSON files - by @skirtles-code and @yyx990803 in #82 (db076)
- Add
sublime
keymap - by @holazz in #45 (29263) - Support for sandbox page customization - by @Blackman99 in #42 (a22b9)
- Add file renaming - by @skirtles-code and @yyx990803 in #63 (eb41c)
- Add search and replace - by @sxzz in #67 (4ca3d)
- Support omitting ts/js extensions - by @yyx990803 (130a1)
- Support custom file go to difinition - by @zqran in #102 (519b0)
- FileSelector: Add an increment counter for new files - by @Megrax in #36 (63b8f)
- monaco: Support to keep selection and cursor position - by @zqran in #99 (db8c1)
🐞 Bug Fixes
- Toggler should be absolute - by @yyx990803 (f8bb4)
- Fix setFiles with multi files cross imports - by @yyx990803 (424e0)
- Update import map when setting vue versions - by @yyx990803 (15cc6)
- Force app name - by @Akryum (18863)
- Fix rewriteDefault TS edge case - by @yyx990803 (d277d)
- Avoid reloading the iframe when switching output tabs - by @yyx990803 (20bde)
- Fix module instantiation order - by @yyx990803 (879f0)
- Css double # - by @wxsms in #14 (8bcf7)
- Small screen error msg covered code button - by @wxsms in #18 (02da7)
- Styles - by @Kingwl (6aee9)
- Also generate render function if inline mode is disabled - by @yyx990803 (9a325)
- Adding file using enter emits error - by @sxzz in #23 (918de)
- Apply TS transform to template when inine is disabled - by @yyx990803 (ec2ae)
- Avoid using native crypto - by @yyx990803 (c22e2)
- Fix html initialization in ssr mode - by @yyx990803 (152f2)
- Do not start compiling until sfc options are set - by @yyx990803 (b6f86)
- Improve new filename logic - by @yyx990803 (96476)
- Also reset import map when resetting to defauilt vue version - by @yyx990803 (5e89f)
- Warn versions that do not support in browser SSR - by @yyx990803 (01cb5)
- Split monaco out - by @Kingwl (fd0b0)
- Disable pug and script setup codeLens - by @johnsoncodehk (1c6e6)
- Update exports and types - by @Kingwl (e4988)
- Use worker - by @Kingwl (e1e80)
- F@ck - by @Kingwl (0aa0a)
- Minor fix - by @Kingwl (aacba)
- Use monaco-volar - by wangwenlu (9846c)
- Compile error when no script - by @sxzz in #38 (6b9b7)
- Reset sandbox when changing files for safari compat - by @yyx990803 (68a61)
- Make monaco editor works normally - by @johnsoncodehk (f5381)
- Don't delete dts models - by @johnsoncodehk (d04a1)
- Ignore polyfill error in Safari - by @yyx990803 (39f4a)
- Fix legacy domain in import maps - by @yyx990803 (7e7c7)
- Avoid including vue in import map if using default URLs - by @yyx990803 (37ce3)
- Add ts and json mode - by @zhmushan in #37 (0e467)
- Fix reason.message not existing case - by @btea in #54 (25080)
- Process all files when dynamic import - by @sxzz in #60 (7049a)
- Console logging for component instance proxies - by @skirtles-code in #62 (bb0e1)
- Improve code with optional chain - by @edison1105 in #72 (b8cae)
- Improve code gen when using cssVars in SSR - by @edison1105 in #85 (7e2bc)
- Css update in ssr mode - by @yyx990803 (3b7e5)
- Prevent opening new tab for a tags with javascript href - by @Sight-wcg in #94 (64906)
- Larger font size - by @sxzz in #100 (a1a3f)
- Ensure imported editor can be passed as prop without type error - by @yyx990803 (414b0)
- Actually fix editor type lol - by @yyx990803 (95ab2)
- Default main file path - by @sxzz (c0184)
- monaco:
- Enable
fixedOverflowWidgets
option - by @Sight-wcg in #110 (c7ddf)
- Enable
- types:
- Make sfc options partial - by @yyx990803 (9916f)
- Fix editor generated dts - by @yyx990803 (e5705)
🏎 Performance
- Cache
ts.ScriptSnapshot.fromString
- by @johnsoncodehk (6f34b) - Preset failed node_modules paths to speed up dts acquisition - by @johnsoncodehk (e93f0)