This repository was archived by the owner on Mar 1, 2023. It is now read-only.
Releases: tivac/svelte-translator
Releases Β· tivac/svelte-translator
Release list
v3.1.3
v3.1.2
v3.1.0
v3.0.0
3.0.0 (2019-05-03)
Features
- 3in2: No object spread, and no
<div>wrapper (ddb2795) - 3in2: pass props along transparently (371a370)
BREAKING CHANGES
- 3in2: Instead of inserting a
<div>that contaiins the svelte3 component now a<span>will be injected and used as an anchor point so that the svelte3 component is in the correct place in the DOM hierarchy without an extra wrapping element. - 3in2: Previously props to be passed to the svelte3 component would be set in a
propsobject, now they live alongside the specialcomponentandattrsproperties. This facilitates easier porting of code since the wrapper component can be instantiated & have updated props passed to it exactly like the svelte2 component did previously.
v2.1.0
v2.0.0 - Svelte3 is out! π
π https://twitter.com/Rich_Harris/status/1120342713843507201 π
So updated installation instructions and usage to represent the new reality.
BREAKING CHANGES
Now instead of expecting svelte v3 to be installed as svelte3 it expects it to just be svelte, since npm i svelte will now install v3 by default.