Skip to content

Releases: FranckFreiburger/vue3-sfc-loader

v0.9.5

06 Feb 09:45
Compare
Choose a tag to compare

Notable changes:

  • handle resource path containing a query string
  • update docs generation tools

for more details, see CHANGELOG.md

Full Changelog: v0.9.4...v0.9.5

v0.9.4

29 Jan 09:24
Compare
Choose a tag to compare

Notable changes:

  • add support for asynchronous style processors (like sass)
  • set package exports to support nodejs, vitejs, webpack and CDN

for more details, see CHANGELOG.md

Full Changelog: v0.9.3...v0.9.4

v0.9.3

22 Jan 20:01
Compare
Choose a tag to compare

Notable changes:

  • add browser field to package.json

for more details, see CHANGELOG.md

Full Changelog: v0.9.2...v0.9.3

v0.9.2

22 Jan 08:51
Compare
Choose a tag to compare

Notable changes:

  • add nodejs bundles

for more details, see CHANGELOG.md

Full Changelog: v0.9.1...v0.9.2

v0.9.1

17 Jan 09:58
Compare
Choose a tag to compare

Notable changes:

  • fix compiledCache management
  • update browserslist to support 90% browser global audience coverage
  • update compiler-sfc to v3.4.13

for more details, see CHANGELOG.md

Full Changelog: v0.9.0...v0.9.1

v0.9.0

11 Jan 16:10
Compare
Choose a tag to compare

Notable changes:

  • remove IE11 support
  • handle .ts files and lang="ts" in .vue files
  • add isCustomElement option
  • add devMode option
  • fix support of export * from ...

for more details, see CHANGELOG.md

enhanced non-ES6 browsers support

08 Jul 06:56
Compare
Choose a tag to compare

Notable changes:

  • enhanced non-ES6 browsers support (including IE 11, only through vue2-sfc-loader.js)
  • allow core-js to pollute global namespace

for more details, see CHANGELOG.md

non-polluting polyfills + better IE11 support

29 Jun 18:58
Compare
Choose a tag to compare

Notable changes:

  • Avoid polluting global namespace using babel-polyfills
  • Further increase IE 11 support (for vue2-sfc-loader only)

for more details, see CHANGELOG.md

IE 11

28 Jun 11:33
Compare
Choose a tag to compare

Notable changes:

  • Increase IE 11 support (for vue2-sfc-loader only)

for more details, see CHANGELOG.md

v0.8.0

31 May 10:51
Compare
Choose a tag to compare

breaking changes:

getFile() will continue to support a simple string as return value but the object form is now { type, getContentData } instead of { type, content }

This mean that, since v0.8.0, and only if your options.getFile returns an object, then you have to use :

      async getFile(url) {
        
        const res = await fetch(url);
        if ( !res.ok )
          throw Object.assign(new Error(res.statusText + ' ' + url), { res });

        return {
          getContentData: asBinary => asBinary ? res.arrayBuffer() : res.text(),
        }
      },

instead of

      async getFile(url) {
        
        const res = await fetch(url);
        if ( !res.ok )
          throw Object.assign(new Error(res.statusText + ' ' + url), { res });

        return await res.text();
      },

for more details, see CHANGELOG.md