- fix: allow cross-origin-isolation for the run endpoint (#39)
- Added support for
organizationinProjectOptions
- Moved the StackBlitz SDK to a dedicated repository: https://github.com/stackblitz/sdk.
- Added support for new options:
startScript,sidebarViewandzenMode. (#4) - Changed
project.descriptionto be optional. (#5)
- Fixed using the characters
[]in file paths with theembedProjectandopenProjectmethods. (stackblitz/core#2295)
- Fixed the case of the URL query parameters for the
hideDevToolsanddevToolsHeightoptions, for backwards compatibility with StackBlitz EE. (stackblitz/core#2154)
- Added a
terminalHeightoption, used to set a preferred height for the Terminal in WebContainers-based projects. (stackblitz/core#1891)
- TypeScript: improved the precision and inline documentation of types such as
Project,EmbedOptions,OpenOptionsandVM. Made those types directly importable withimport type { Project } from '@stackblitz/sdk'. (stackblitz/core#1775, stackblitz/core#1779, stackblitz/core#1837) - Added support for opening multiple files in an embedded projects with the
vm.editor.openFilemethod. (stackblitz/core#1810) - Added new methods to the
VMclass for controlling the embedded editor’s UI:vm.editor.setCurrentFile,vm.editor.setTheme,vm.editor.setView,vm.editor.showSidebar,vm.preview.getUrl,vm.preview.setUrl. (stackblitz/core#1810, stackblitz/core#1837) - Added new
showSidebaroption. (stackblitz/core#1837) - Added source maps to the published bundle files. (stackblitz/core#1776)
- Fixed the default value of the
forceEmbedLayoutoption. (stackblitz/core#1817)
- Add support for opening multiple files with the openFile parameter, with support for multiple tabs (
openFile: 'index.html,src/index.js') and split editor panes (openFile: ['index.html', 'src/index.js]). (stackblitz/core#1758)
- Add
template: 'html'to the allowed project templates. (stackblitz/core#1728)
- Fix broken type declarations in previous v1.5.4. (stackblitz/core#1722)
- Add
template: 'node'to the allowed project templates. (stackblitz/core#1714) - Remove support for the
tagsoption when creating new projects. (stackblitz/core#1714)
- Fix: correct type for
EmbedOptions['view']. (stackblitz/core#1655) - Fix: set the
EmbedOptions’shideNavigationUI option correctly. (stackblitz/core#1654)
No known changes.
- Add
template: 'vue'to the allowed project templates. (stackblitz/core#1307)
- Add a
themeoption toProjectOptionsto set the editor’s color theme. (stackblitz/core#1269)
- Add
originoption toProjectOptionsto allow embedding projects from StackBlitz Enterprise Edition. (stackblitz/core#1236)
- Add
template: 'polymer'to the allowed project templates. (stackblitz/core#859)
- Add support for editor UI options:
hideDevToolsanddevToolsHeight. - Add support for project compilation settings in
ProjectOptions.