pull/644/head v1.22.4
Rich Harris 7 years ago
parent ba822bd60c
commit cae565bece

@ -1,5 +1,11 @@
# Svelte changelog
## 1.23.0
* Include `ast` in `svelte.compile` return value ([#632](https://github.com/sveltejs/svelte/issues/632))
* Set initial value of `<select>` binding, if unspecified ([#639](https://github.com/sveltejs/svelte/issues/639))
* Mark indirect dependencies of `<select>` bindings (i.e. the dependencies of their `<option>` values) ([#639](https://github.com/sveltejs/svelte/issues/639))
## 1.22.3
* Fix nested component unmounting bug ([#625](https://github.com/sveltejs/svelte/issues/625))

@ -62,7 +62,7 @@ const { code, map } = svelte.compile( source, {
The Svelte compiler exposes the following API:
* `compile( source [, options ] ) => { code, map }` - Compile the component with the given options (see below). Returns an object containing the compiled JavaScript and a sourcemap.
* `compile( source [, options ] ) => { code, map, ast, css }` - Compile the component with the given options (see below). Returns an object containing the compiled JavaScript, a sourcemap, an AST and transformed CSS.
* `create( source [, options ] ) => function` - Compile the component and return the component itself.
* `VERSION` - The version of this copy of the Svelte compiler as a string, `'x.x.x'`.

@ -1,6 +1,6 @@
{
"name": "svelte",
"version": "1.22.3",
"version": "1.22.4",
"description": "The magical disappearing UI framework",
"main": "compiler/svelte.js",
"files": [

Loading…
Cancel
Save