From bfd380b3885da8def45c5bda00de227dca684608 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 19 Apr 2018 09:01:57 -0400 Subject: [PATCH] -> v2.0.0 --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99370f696d..02585ffbd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Svelte changelog +## 2.0.0 + +*See [the blog post](https://svelte.technology/blog/version-2) for information on how to upgrade your apps* + +* New template syntax ([#1318](https://github.com/sveltejs/svelte/issues/1318)) +* Emit ES2015 code, not ES5 ([#1348](https://github.com/sveltejs/svelte/pull/1348)) +* Add `onstate` and `onupdate` hooks, remove `component.observe` method ([#1197](https://github.com/sveltejs/svelte/issues/1197)) +* Use destructuring syntax for computed properties ([#1069](https://github.com/sveltejs/svelte/issues/1069) +* Change signature of `svelte.compile` ([#1298](https://github.com/sveltejs/svelte/pull/1298)) +* Remove `validate` and `Stylesheet` from public API ([#1348](https://github.com/sveltejs/svelte/pull/1348)) +* Don't typecast numeric attributes ([#657](https://github.com/sveltejs/svelte/issues/657)) +* Always compile with `Store` support, and cascading disabled ([#1348](https://github.com/sveltejs/svelte/pull/1348)) +* Remove unused `hash` property from AST ([#1348](https://github.com/sveltejs/svelte/pull/1348)) +* Rename `loc` property to `start` in warnings and errors ([#1348](https://github.com/sveltejs/svelte/pull/1348)) + ## 1.64.1 * Fix computed properties in SSR renderer ([#1349](https://github.com/sveltejs/svelte/issues/1349)) diff --git a/package.json b/package.json index 866b3e4b07..be38717532 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "1.64.1", + "version": "2.0.0", "description": "The magical disappearing UI framework", "main": "compiler/svelte.js", "files": [