Skip to content

Latest commit

 

History

History
207 lines (111 loc) · 6.39 KB

CHANGELOG.md

File metadata and controls

207 lines (111 loc) · 6.39 KB

svelte-loader changelog

3.2.0

  • Compile .svelte.js/ts files when using Svelte 5

3.1.9

  • Handle emitCSS to css option transformation correctly for Svelte 4

3.1.8

  • Get ready for Svelte 4

3.1.7

  • More robust conditionNames: ['svelte'] detection (#226)

3.1.6

  • Detect missing conditionNames: ['svelte'] (#225)

3.1.5

  • Bump loader-utils dependency

3.1.4

  • Bump loader-utils dependency

3.1.3

  • Prevent webpack process crashing on undefined dependencies (#197)

3.1.2

  • Update to latest svelte-hmr package fixing Webpack 4 support
  • Fix sourcemap breakpoints (#183)

3.1.1

  • Fix empty sourcesContent (#177)

3.1.0

  • Pass preprocessor source maps to compiler (#172)
  • Recompile style imports after an error (#173)

3.0.0

  • Breaking: compiler options must now be specified under compilerOptions (#159)
  • Breaking: removed support for deprecated style, script, and markup options, which are now located under the preprocess configuration (#158)
  • Breaking: dropped Svelte 2 support (#150)
  • Breaking: dropped Node 8 support (#157)
  • Add Webpack 5 support (#151)
    • Webpack 5 requires an additional rule in webpack.config.js to load the Svelte runtime correctly
  • Replace broken Svelte 2 HMR with the implementation from rixo/svelte-loader-hot (#156)
  • Add Node 14 support and remove virtual modules implementation (fixes #125, #131)

Thanks to @non25, @Smittyvb, @rixo, and the numerous others who contributed to this major release!

2.13.6

  • Check whether the filesystem implements purge before calling it (#81)

2.13.5

  • Fix onwarn with Svelte 3 (#104)

2.13.4

  • Fix webpack 3 bug (#89)

2.13.2

  • Fix compileOptions.filename (#79)

2.13.1

  • v3 fixes (#78)

2.13.0

  • Handle dependencies returned from preprocess (#75)

2.12.0

  • Support Svelte 3

2.11.0

  • Resolve svelte/shared.js before injecting import declaration (#65)

2.10.1

  • Support for older webpack versions (#63)

2.10.0

  • Add options.externalDependencies (#66)

2.9.1

  • Posixify CSS paths on Windows (#64)

2.9.0

  • Fix peer dependency to squelch version mismatch warnings (#57)
  • Fix CSS filenames (#45, #56)
  • Use virtual filesystem to preserve relative paths in CSS (#45

2.8.1

  • Fix HMR on Windows (#52)

2.8.0

  • Deprecate options.markup, options.style and options.script in favour of options.preprocess.* (#41)

2.7.0

  • Use resolved path for hot-api.js, to allowed linked components (#49)

2.6.0

  • Prevent future post-1.60 deprecation warnings (#48)

2.5.1

  • Wrap components with proxies when hot reloading (#44)

2.5.0

  • Emit warnings to webpack (#35)

2.4.0

  • Component-level hot reloading support (#40)

2.3.3

  • Posixify paths to tmp CSS files (#34)

2.3.2

  • Use bare identifier for shared helpers (#33)
  • Use forward-slashes for generated CSS imports (#34)

2.3.1

  • Coerce utimes arguments to dates (#32)

2.3.0

  • Add preprocess support (#31)

2.2.2

  • Deterministic filenames for CSS output (#30)

2.2.1

  • Fix git fail

2.2.0

  • Add emitCss option (#28)

2.1.0

  • Include code frame in error message (#26)

2.0.1

  • Resolve shared helpers path (#19)

2.0.0

  • Pass through all options, overriding format and shared (#17)
  • Auto-generate best configuration for detected webpack version

1.3.1

  • Update loader-utils dependency

1.3.0

  • Pass through options.generate (#10)

1.2.0

  • Add option to specify shared output (svelte#218)

1.1.0

  • Add option to control CSS output (#6)

  • Add option to control output format and name (#4)

  • Fix parse/validation error context display (#5)

1.0.1

  • Add svelte as peerDependency

1.0.0

  • First release