Skip to content

Latest commit

 

History

History
272 lines (126 loc) · 11.1 KB

CHANGELOG.md

File metadata and controls

272 lines (126 loc) · 11.1 KB

2.1.3 (2023-06-22)

Bug Fixes

  • actually fix editor type (95ab2ab)

2.1.2 (2023-06-22)

Bug Fixes

  • ensure imported editor can be passed as prop without type error (414b0e6)

2.1.1 (2023-06-22)

Bug Fixes

  • types: fix editor generated dts (e5705df)

2.1.0 (2023-06-22)

Features

  • support custom file go to difinition (#102) (519b0cc)

2.0.0 (2023-06-22)

Features

  • Support using Monaco Editor + Volar (#34)

BREAKING CHANGES

  • The main Repl component now requires passing in the editor to be used via the editor prop. This is necessary so that the unused editor can be tree-shaken.

    Example using Monaco:

    <script setup>
    import { Repl } from '@vue/repl'
    import Monaco from '@vue/repl/monaco-editor'
    import '@vue/repl/style.css'
    </script>
    
    <template>
      <Repl :editor="Monaco" />
    </template>

    Example using CodeMirror:

    <script setup>
    import { Repl } from '@vue/repl'
    import CodeMirror from '@vue/repl/codemirror-editor'
    import '@vue/repl/style.css'
    </script>
    
    <template>
      <Repl :editor="CodeMirror" />
    </template>

1.5.0 (2023-06-14)

Bug Fixes

  • add ts and json mode (#37) (0e467af)
  • console logging for component instance proxies (#62) (bb0e143)
  • css update in ssr mode (3b7e511), closes #91 #92
  • Fix reason.message not existing case (#54) (2508030)
  • improve code gen when using cssVars in SSR (#85) (7e2bcc8)
  • improve code with optional chain (#72) (b8caeae)
  • prevent opening new tab for a tags with javascript href (#94) (64906a5)
  • process all files when dynamic import (#60) (7049ae0)

Features

1.4.1 (2023-04-21)

1.4.0 (2023-04-13)

Features

  • provide fs option to support 3.3 external type resolving (f0e826a)

1.3.6 (2023-04-13)

Bug Fixes

  • types: make sfc options partial (9916f28)

1.3.5 (2023-04-06)

Bug Fixes

  • avoid including vue in import map if using default URLs (37ce32b)

1.3.4 (2023-04-06)

Bug Fixes

  • fix legacy domain in import maps (7e7c7f9)

1.3.3 (2023-03-17)

Bug Fixes

  • ignore polyfill error in Safari (39f4ab1)

1.3.2 (2022-09-27)

Bug Fixes

1.3.1 (2022-09-27)

1.3.0 (2022-06-26)

1.2.4 (2022-06-26)

Bug Fixes

Features

1.2.3 (2022-05-25)

Bug Fixes

  • also reset import map when resetting to defauilt vue version (5e89f07)
  • improve new filename logic (9647666)
  • warn versions that do not support in browser SSR (01cb5b2)

1.2.2 (2022-05-25)

Bug Fixes

  • do not start compiling until sfc options are set (b6f86d9)

1.2.1 (2022-05-25)

Bug Fixes

  • fix html initialization in ssr mode (152f2fa)

1.2.0 (2022-05-25)

Bug Fixes

Features

  • FileSelector: add an increment counter for new files (#36) (63b8f22)
  • support ssr + hydration (098aa89)

1.1.2 (2022-05-20)

Bug Fixes

  • apply TS transform to template when inine is disabled (ec2ae81)

1.1.1 (2022-05-17)

Bug Fixes

  • adding file using enter emits error (#23) (918de7f)

1.1.0 (2022-05-17)

1.0.1 (2022-05-17)

Bug Fixes

  • also generate render function if inline mode is disabled (9a325bb)
  • avoid reloading the iframe when switching output tabs (20bde55)
  • css double # (#14) (8bcf7f0)
  • fix module instantiation order (879f084)
  • fix rewriteDefault TS edge case (d277d7f)
  • fix setFiles with multi files cross imports (424e00d)
  • force app name (18863af)
  • small screen error msg covered code button (#18) (02da79d)
  • toggler should be absolute (f8bb46f)
  • update import map when setting vue versions (15cc696)

Features