- Added support for
organization
inProjectOptions
- Moved the StackBlitz SDK to a dedicated repository: https://github.com/stackblitz/sdk.
- Added support for new options:
startScript
,sidebarView
andzenMode
. (#4) - Changed
project.description
to be optional. (#5)
- Fixed using the characters
[]
in file paths with theembedProject
andopenProject
methods. (stackblitz/core#2295)
- Fixed the case of the URL query parameters for the
hideDevTools
anddevToolsHeight
options, for backwards compatibility with StackBlitz EE. (stackblitz/core#2154)
- Added a
terminalHeight
option, 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
,OpenOptions
andVM
. 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.openFile
method. (stackblitz/core#1810) - Added new methods to the
VM
class 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
showSidebar
option. (stackblitz/core#1837) - Added source maps to the published bundle files. (stackblitz/core#1776)
- Fixed the default value of the
forceEmbedLayout
option. (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
tags
option when creating new projects. (stackblitz/core#1714)
- Fix: correct type for
EmbedOptions['view']
. (stackblitz/core#1655) - Fix: set the
EmbedOptions
’shideNavigation
UI option correctly. (stackblitz/core#1654)
No known changes.
- Add
template: 'vue'
to the allowed project templates. (stackblitz/core#1307)
- Add a
theme
option toProjectOptions
to set the editor’s color theme. (stackblitz/core#1269)
- Add
origin
option toProjectOptions
to 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:
hideDevTools
anddevToolsHeight
. - Add support for project compilation settings in
ProjectOptions
.