From c7dda9ff79f5588cce6e77edbb9ff243f2db43f5 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 24 Aug 2017 13:21:49 -0400 Subject: [PATCH] -> v1.31.0 --- CHANGELOG.md | 4 ++++ README.md | 1 + package.json | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddcdd63e33..ff8c867d9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Svelte changelog +## 1.31.0 + +* Add `legacy` compile option, which adds IE9 compatibility ([#773](https://github.com/sveltejs/svelte/issues/773)) + ## 1.30.0 * Update all component bindings simultaneously ([#760](https://github.com/sveltejs/svelte/issues/760)) diff --git a/README.md b/README.md index 7c48de50a9..a800a90f19 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ The Svelte compiler optionally takes a second argument, an object of configurati | `dev` | `true`, `false` | Whether to enable run-time checks in the compiled component. These are helpful during development, but slow your component down. | `false` | | `css` | `true`, `false` | Whether to include code to inject your component's styles into the DOM. | `true` | | `globals` | `object`, `function` | When outputting to the `'umd'`, `'iife'` or `'eval'` formats, an object or function mapping the names of imported dependencies to the names of global variables. | `{}` | +| `legacy` | `boolean` | Ensures compatibility with very old browsers, at the cost of some extra code | | `onerror` | `function` | Specify a callback for when Svelte encounters an error while compiling the component. | (exception is thrown) | | `onwarn` | `function` | Specify a callback for when Svelte encounters a non-fatal warning while compiling the component. | (warning is logged to console) | diff --git a/package.json b/package.json index 951c28b855..bfe7e70de0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "1.30.0", + "version": "1.31.0", "description": "The magical disappearing UI framework", "main": "compiler/svelte.js", "files": [