Skip to content

Releases: sveltejs/svelte-hmr

v0.10.2

09 Aug 21:53
Compare
Choose a tag to compare
  • fix: update proxy to include $$set that was added in svelte 3.24.1 (fix #17) (thanks @dominikg)

rixo/svelte-hmr@v0.10.1...v0.10.2

v0.10.0

16 Jul 11:26
Compare
Choose a tag to compare
v0.10.0

v0.10.0-0

30 Jun 21:48
Compare
Choose a tag to compare
v0.10.0-0 Pre-release
Pre-release
  • better document HMR behaviour 175e57e
  • BREAKING noPreserveState don't preserve internal state of props either anymore 6c61ddf
  • expose adapter path (for vite + pnpm) b4fb87c

rixo/svelte-hmr@v0.9.0...v0.10.0-0

v0.9.0

22 Jun 00:42
Compare
Choose a tag to compare
  • update readme: add what is hmr and mention svite d24f163

rixo/svelte-hmr@v0.9.0-1...v0.9.0

v0.9.0-0

16 Jun 23:49
Compare
Choose a tag to compare
v0.9.0-0 Pre-release
Pre-release

v0.7.0

23 Apr 21:32
Compare
Choose a tag to compare
  • add injectCss option to avoid recreating components when only css changes (only with rollup-plugin-hot for now) c3b9863

rixo/svelte-hmr@v0.6.0...v0.7.0

v0.6.0

08 Apr 00:07
Compare
Choose a tag to compare
  • better Svelte CSS support: remove CSS of previous version of the component on HMR update

v0.5.1

01 Mar 13:27
Compare
Choose a tag to compare
  • add link to sapper#rollup

v0.3.0

25 Feb 15:58
Compare
Choose a tag to compare
  • support for accessors and named exports (from context="module")
  • add options acceptNamedExports and acceptAccessors

By default, modules of components with accessors (accessors compile option or <svelte:options accessors={true} /> are not accepted anymore. This means that an HMR update will bubble to all the modules importing such a component when it changes (hence consumer modules will be reloaded too). Without this, changes to accessible props or named exports wouldn't be reflected in consumer (especially consumer Svelte components).

acceptNamedExports and acceptAccessors have been added to bypass this behaviour (but many edge cases can't be properly handed by HMR).

v0.2.0

24 Feb 02:14
Compare
Choose a tag to compare
  • real support for preservation of local state & reactive expressions (thanks to svelte#3822)