Repository navigation
v4.6.3-beta.0
Pre-release
Pre-release
🚨 Breaking Changes
- Auto import css + split editor css from main component - by @yyx990803 (73225)
- UseStore & useVueImportMap composable - by @sxzz in https://github.com/MQpeng/repl/issues/207 (d01bf)
🚀 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 https://github.com/MQpeng/repl/issues/10 (d0c96)
- Export compileFile - by @sxzz and @yyx990803 in https://github.com/MQpeng/repl/issues/13 (60db5)
- Allow starting on a specific view - by @posva in https://github.com/MQpeng/repl/issues/15 (7e635)
- Add hidden file - by @sxzz in https://github.com/MQpeng/repl/issues/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 https://github.com/MQpeng/repl/issues/43 (b12eb)
- Export Preview component - by @nekosaur in https://github.com/MQpeng/repl/issues/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 https://github.com/MQpeng/repl/issues/82 (db076)
- Add
sublimekeymap - by @holazz in https://github.com/MQpeng/repl/issues/45 (29263) - Support for sandbox page customization - by @Blackman99 in https://github.com/MQpeng/repl/issues/42 (a22b9)
- Add file renaming - by @skirtles-code and @yyx990803 in https://github.com/MQpeng/repl/issues/63 (eb41c)
- Add search and replace - by @sxzz in https://github.com/MQpeng/repl/issues/67 (4ca3d)
- Support omitting ts/js extensions - by @yyx990803 (130a1)
- Support custom file go to difinition - by @zqran in https://github.com/MQpeng/repl/issues/102 (519b0)
- Add default height for Repl component - by @zqran in https://github.com/MQpeng/repl/issues/109 (d9673)
- Add error toggle - by @Blackman99 and @sxzz in https://github.com/MQpeng/repl/issues/98 (51819)
- Add tsconfig file - by @sxzz in https://github.com/MQpeng/repl/issues/114 (29f6a)
- Add
reloadfunction - by @Alfred-Skyblue in https://github.com/MQpeng/repl/issues/103 (12ebc) - Memorize show error state - by @chenxch and @sxzz in https://github.com/MQpeng/repl/issues/117 (ab4b7)
- Add monaco light theme - by @baiwusanyu-c and @sxzz in https://github.com/MQpeng/repl/issues/121 (ead96)
- Upgrade volar - by @johnsoncodehk (d925b)
- Respect browser language - by @johnsoncodehk (f9fed)
- Download TS dynamically - by @johnsoncodehk and @sxzz in https://github.com/MQpeng/repl/issues/125 (97f69)
- Expose TS localized languages - by @sxzz (a52dd)
- Use ts version option for ts lib dts acquire - by @johnsoncodehk (376fe)
- Expose dependency version - by @sxzz (aecfd)
- Support custom display placeholder content - by @hehehai in https://github.com/MQpeng/repl/issues/160 (9ca27)
- Add layout reverse api vuejs#162 - by @gimmyhehe in https://github.com/MQpeng/repl/issues/163 and https://github.com/MQpeng/repl/issues/162 (c1cd7)
- Support toggling between dev/prod for Vue runtime - by @yyx990803 (8d3a2)
- Add template for new file - by @sxzz (9a0be)
- Support custom element styles - by @baiwusanyu-c in https://github.com/MQpeng/repl/issues/173 (81273)
- Use shikiji for more accurate highlight - by @antfu in https://github.com/MQpeng/repl/issues/190 (e79aa)
- Apply theme to preview - by @btea in https://github.com/MQpeng/repl/issues/200 (7ae10)
- Support custom template - by @JinweiOS in https://github.com/MQpeng/repl/issues/196 (8038b)
- Add theme as classname to sandbox - by @btea in https://github.com/MQpeng/repl/issues/203 (7e9dc)
- Mutable sfc options - by @sxzz (9e83b)
- Export
package.json- by @sxzz (79a22) - Save vue version - by @sxzz (08b44)
- Expose loading status - by @sxzz (eee6b)
- Register language configuration - by @sxzz (3ad70)
- Add
previewThemeprop - by @sxzz (c830f) - Add
autoSaveoption - by @btea in https://github.com/MQpeng/repl/issues/247 (d47ec) - Jsx for vue - by @sxzz in https://github.com/MQpeng/repl/issues/248 (d5b0d)
CodeMirrorsupportautoSaveoption - by @btea in https://github.com/MQpeng/repl/issues/249 (ae80c)- Show view size while dragging split pane - by @btea and @sxzz in https://github.com/MQpeng/repl/issues/253 (a6bbe)
- Volar 2.x - by @sxzz and @johnsoncodehk in https://github.com/MQpeng/repl/issues/225 (47030)
- Add more customization options - by @lecepin and wangleping in https://github.com/MQpeng/repl/issues/274 (c73b7)
- Expose
editorOptions.monacoOptions- by @sxzz (00176) - Reactivity
autoSaveoption - by @phk422 and @sxzz in https://github.com/MQpeng/repl/issues/266 (d9008) - Export
languageToolsVersion- by @sxzz (5a92a) - Add
autoSavetoggle button - by @btea and @sxzz in https://github.com/MQpeng/repl/issues/283 (83d8e) - Pass on descriptor vapor flag when compiling template - by @yyx990803 (adaac)
- Export
Sandboxas standalone output component - by @wangcch in https://github.com/MQpeng/repl/issues/309 (b5497) - Support cache selected typescript version - by @huangmingfu in https://github.com/MQpeng/repl/issues/305 (33ca3)
- Support vapor template-only component - by @edison1105 in https://github.com/MQpeng/repl/issues/322 (9ae05)
- Add core entry for node usage - by @Dsaquel in https://github.com/MQpeng/repl/issues/310 (da105)
- Show SSR output - by @skirtles-code in https://github.com/MQpeng/repl/issues/343 (52a19)
- Add support for viewing sourcemap - by @edison1105 in https://github.com/MQpeng/repl/issues/341 (5714d)
- FileSelector: Add an increment counter for new files - by @Megrax in https://github.com/MQpeng/repl/issues/36 (63b8f)
- editor: Scrollbar style for firefox - by @wangcch in https://github.com/MQpeng/repl/issues/320 (bbc74)
- monaco: Support to keep selection and cursor position - by @zqran in https://github.com/MQpeng/repl/issues/99 (db8c1)
- playground: Use a height of 100dvh with fallback to original 100vh - by @pdanpdan in https://github.com/MQpeng/repl/issues/182 (9e999)
- store: Return
setImportMapand addmergeparameter - by @wangcch (9f53b)
🐞 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 https://github.com/MQpeng/repl/issues/14 (8bcf7)
- Small screen error msg covered code button - by @wxsms in https://github.com/MQpeng/repl/issues/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 https://github.com/MQpeng/repl/issues/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 https://github.com/MQpeng/repl/issues/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 https://github.com/MQpeng/repl/issues/37 (0e467)
- Fix reason.message not existing case - by @btea in https://github.com/MQpeng/repl/issues/54 (25080)
- Process all files when dynamic import - by @sxzz in https://github.com/MQpeng/repl/issues/60 (7049a)
- Console logging for component instance proxies - by @skirtles-code in https://github.com/MQpeng/repl/issues/62 (bb0e1)
- Improve code with optional chain - by @edison1105 in https://github.com/MQpeng/repl/issues/72 (b8cae)
- Improve code gen when using cssVars in SSR - by @edison1105 in https://github.com/MQpeng/repl/issues/85 (7e2bc)
- Css update in ssr mode - by @yyx990803 (3b7e5)
- Prevent opening new tab for a tags with javascript href - by @Sight-wcg in https://github.com/MQpeng/repl/issues/94 (64906)
- Larger font size - by @sxzz in https://github.com/MQpeng/repl/issues/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)
- Set page height - by @sxzz (ee814)
- Don't dispose in-memory files - by @sxzz (5f543)
- Strip src prefix on dialog - by @sxzz (d29d1)
- Multiple style tags - by @sxzz in https://github.com/MQpeng/repl/issues/116 (f0f55)
- Change message toggle position - by @btea in https://github.com/MQpeng/repl/issues/120 (3f7e0)
- Cannot get ts module in prod env - by @johnsoncodehk (0cc22)
- Cdn file models were accidentally disposed - by @johnsoncodehk (4301d)
- Remove postinstall - by @sxzz (81672)
- Make reloadLanguageTools optional - by @sxzz (5ab1a)
- Filename index auto-increment - by @Sight-wcg in https://github.com/MQpeng/repl/issues/133 (4f558)
- Use dev version of compiler - by @sxzz in https://github.com/MQpeng/repl/issues/132 (bfc35)
- Replace NODE_ENV - by @sxzz (863f8)
- Remove preinstall - by @sxzz (8e410)
- Respect value from monaco editor props - by @sxzz (49fdc)
- Don't set editor value if not changed - by @sxzz (bd59e)
- New sfc file template - by @sxzz (79643)
- Worker plugins for vite 5 - by @sxzz (6e662)
- Handle main file src prefix when setting files + avoid infinite loop due to state.error push - by @yyx990803 (743b7)
- Make main repl styles lower specificity for easier override - by @yyx990803 (fbfaa)
- Ensure reuse AST in non-inline mode - by @yyx990803 (5e4c7)
- Remove onigasm dep - by @sxzz (e7a73)
- Pass sfc template options to sfc parse - by @yyx990803 (d72df)
- Serialize import maps - by @sxzz (e085e)
- Default to white color on dark theme - by @pdanpdan in https://github.com/MQpeng/repl/issues/202 (48103)
- Don't show tsconfig if not present - by @sxzz (ca548)
- Add corresponding black theme background - by @btea in https://github.com/MQpeng/repl/issues/206 (3921c)
- Don't overwrite
atag without href - by @woshichaorens and @sxzz in https://github.com/MQpeng/repl/issues/209 (c7fcf) - Don't re-create import map file - by @sxzz (9e6f0)
- Pass readonly in code mirror editor - by @sxzz (11001)
- Save version only when serialize - by @sxzz (d3ee1)
- Respect vue version at initialization - by @sxzz (ef220)
- Reload preview style error after switching theme - by @btea in https://github.com/MQpeng/repl/issues/214 (bc4c7)
- Add vue import maps for default import map - by @sxzz (c7467)
- Dynamic import - by @YouXam in https://github.com/MQpeng/repl/issues/213 (bb6f1)
- Fix file rename breaking - by @yyx990803 (caace)
- Refine dragging view area - by @btea and @sxzz in https://github.com/MQpeng/repl/issues/246 (df146)
- Specify unspported pre-processors lang - by @btea and @sxzz in https://github.com/MQpeng/repl/issues/212 (5cea9)
- Don't overwrite import map from initial state - by @sxzz (1410b)
- Alert if deserialization fails - by @sxzz (071b1)
- Move assert-plus to devDep - by @sxzz (dd9f1)
- Match source file - by @sxzz (4cf06)
- Rollback & pin volar version - by @sxzz (c6f58)
- No default value for object props - by @sxzz (d7866)
- Debounce reloadLanguageTools in monaco - by @sxzz (f9f65)
- Type error - by @sxzz (6653d)
- Cancel creating new file - by @btea and @sxzz in https://github.com/MQpeng/repl/issues/281 (7467f)
- Upgrade vue language tools - by @sxzz (ec393)
- Output toggle button - by @lecepin and @sxzz in https://github.com/MQpeng/repl/issues/279 (93051)
- Transform jsx for entire file - by @sxzz (48325)
- Apply builtin import map after deserialize - by @wangcch in https://github.com/MQpeng/repl/issues/315 (e62dd)
- Ts error - by @edison1105 (a9270)
- The line number offset in the DEV - by @edison1105 in https://github.com/MQpeng/repl/issues/344 (cc292)
- Handle Vue 3.6+ vapor runtime imports correctly - by @edison1105 in https://github.com/MQpeng/repl/issues/357 (c4bac)
- Preview:
- Fix style loading delay - by @Alfred-Skyblue in https://github.com/MQpeng/repl/issues/191 (ece44)
- codemirror:
- Fix codemirror editor showing nothing on start on small layouts when starting in ouput mode - by @pdanpdan in https://github.com/MQpeng/repl/issues/181 (6d759)
- messages:
- Place error messages in editor in front of bottom toggles - by @pdanpdan in https://github.com/MQpeng/repl/issues/183 (b1594)
- monaco:
- Enable
fixedOverflowWidgetsoption - by @Sight-wcg in https://github.com/MQpeng/repl/issues/110 (c7ddf)
- Enable
- split-pane:
- types:
- Make sfc options partial - by @yyx990803 (9916f)
- Fix editor generated dts - by @yyx990803 (e5705)
- Fix editor prop types - by @yyx990803 (828f2)
🏎 Performance
- Cache
ts.ScriptSnapshot.fromString- by @johnsoncodehk (6f34b) - Preset failed node_modules paths to speed up dts acquisition - by @johnsoncodehk (e93f0)
- Avoid parse repeatedly - by @sxzz (c6b73)