Skip to content

Latest commit

 

History

History
462 lines (217 loc) · 21.3 KB

CHANGELOG.md

File metadata and controls

462 lines (217 loc) · 21.3 KB

0.14.2 (2020-05-11)

0.14.1 (2020-05-11)

Bug Fixes

  • stop spinner before logging writes (3d16951)

Features

0.14.0 (2020-05-10)

Bug Fixes

  • do not rewrite external scripts in index.html (fix #116) (06e51cc)
  • fix loading ts config (b85de93)
  • run all transforms that pass particular test (#113) (ed5b9e7)
  • types: fix hmr hot.on callback type (a4524b4)

Features

Performance Improvements

  • hmr: avoid re-fetching files not in the direct import chain (2ac7469)
  • lazy load all compiler-sfc imports (d6dd2f0)

BREAKING CHANGES

  • JSX support has been adjusted

    • Default JSX support is now configured for Vue 3 JSX
    • jsx option now accepts string presets ('vue' | 'preact' | 'react') e.g. to Use Preact with Vite, use vite --jsx preact. In addition, when using the Preact preset, Vite auto injects h import in .jsx and .tsx files so the user no longer need to import it.
  • in resolvers, idToRequest has been renamed to alias

0.13.2 (2020-05-09)

Bug Fixes

Features

  • improve cli output looks like vue-cli (#98) (e00bf3a)
  • cva: support multiple templates (decbfc2)

0.13.1 (2020-05-09)

Bug Fixes

  • hmr: fix hot.accept() module resolution (#97) (7ffa9c0)
  • fix snowpack common chunk resolving + warn jsx in non jsx files (3653793), closes #94

Features

  • build: log brotli-compressed size of outputs (#95) (b7f5ad2)

0.13.0 (2020-05-08)

Features

  • hmr: change hmr API path to vite/hmr and provide typing (eab49a4), closes #92
  • cli help message (a882aa4)
  • hmr: support hot.dispose (e5cf447)
  • support --debug flag from cli (12a5d47)
  • support asset path import from js + special treatment of /public dir (9061e44)

Breaking Changes

  • HMR API import path has changed from @hmr to vite/hmr so that it can enjoy type support.

0.12.0 (2020-05-07)

Bug Fixes

  • fix index resolving double append (4c5a31e)
  • fix vue resolving without local install (29099ae)
  • only bust vue cache on non-vue file change if it is a src import (cd8794c)

0.11.5 (2020-05-07)

Bug Fixes

0.11.4 (2020-05-07)

Bug Fixes

Features

  • create-vite-app: use valid html file (#76) (f3265c1)
  • improve sfc compilation error output (44a8250)
  • src import support (ffd1fee)
  • support build sourcemap (6b63b34)

0.11.3 (2020-05-07)

Bug Fixes

  • fix module rewrite resolution with base paths (fix #61) (ca421cd)

Features

  • improve build error output (b1d6be7)

0.11.2 (2020-05-07)

Bug Fixes

  • avoid mutating esbuild options (bd58858)
  • fix web_modules resolving for build (fc75323)
  • skip asset processing for data uri in css (e01e26d), closes #66
  • warn non wrapped hot.accept calls (7aaf458)

Features

0.11.1 (2020-05-06)

Bug Fixes

  • fix rewrite when encountering external url (e78c9f7)

0.11.0 (2020-05-06)

Bug Fixes

  • fix direct index script src hmr (73d94b9)

Features

  • dev support for ts (7cbaf5d)
  • support minification with esbuild (b87ba7e)
  • ts build support for vue files (8262108)
  • tsx? support for build (81ffbc5)

0.10.3 (2020-05-05)

Bug Fixes

  • fix module entry redirect on Windows (fix #55) (01135fa)
  • only log target exist when error says so (59b8638)

Features

  • add asset options into build options (#53) (a5c608d)
  • public base path support (c82a597)
  • support ssrBuild (4808f41)
  • support template pre-processors (b6cafee), closes #17

0.10.2 (2020-05-04)

Bug Fixes

  • fix build index asset injection (ccce482)
  • properly handle absolute asset urls (5ca0ec4), closes #45
  • moduleResolve: do not rewrite external imports (dd7af0a), closes #42

Features

  • support CSS modules for *.module.css (1782f83)

0.10.1 (2020-05-04)

Bug Fixes

  • crash when importing component with no script tag (#46) (586626f)
  • should not write assets when buildOptions.write is false (#49) (ef28ee4)

0.10.0 (2020-05-04)

Bug Fixes

  • fix isImportRequest check on request with queies (348a7e8)
  • fix vue style hmr (d0b896f), closes #37

Features

  • load custom postcss config (#41) (d271e59)
  • support json hmr (634a432)
  • support postcss config in js css imports as well (0187d3f)
  • support postcss in build (c9ffb45)
  • vue source map (c9c9c87)

Performance Improvements

  • lazy load postcss-load-config (1e8b584)

0.9.1 (2020-05-03)

Bug Fixes

  • readBody can return null (a83637e)

0.9.0 (2020-05-03)

Bug Fixes

  • disable trasnformAssetUrls for now (2677c93)
  • fix resolver ensurejs check (7b126af)

Features

  • handle <script src> in index.html (63b4de6)
  • handle js css import hmr (538198c)
  • handle relative asset paths (5d7ac46)
  • resolve css relative urls + base64 inline (f29037d)
  • support importing css from js (a3bb973)
  • support importing json (97dc7ba)
  • support passing --flag=false via cli (3ff579c)
  • support string literal dynamic imports (8ef6d4d)
  • ws protocol based on location protocol (#31) (9af9ec1)

0.8.1 (2020-04-30)

Bug Fixes

  • fix resolver ensurejs check (3a3442f)

0.8.0 (2020-04-30)

Features

  • allow passing rollupPluginVueOptions for build (a0053a0)
  • support process.env.NODE_ENV (d4ccd15)
  • support self-accepting hmr (30ab444)

0.7.0 (2020-04-29)

Bug Fixes

  • support deep file paths on write (48f2459)

Features

  • support __DEV__ flag
  • allow adjusting cssFileName in build (d9a0798)
  • allow customizing build via options (1b0b4ba)
  • allow plugins to send custom hmr events (a22472d)
  • support omitting .js extension (d00523f)

0.6.1 (2020-04-28)

Bug Fixes

  • rewrite should only serve cache if upstream is 304 (c3a7a96)
  • tag -> etag (43fe56f)

0.6.0 (2020-04-27)

Bug Fixes

  • fix hmr for windows
  • only set 304 if etag matches (e0c7354)
  • fix resolving scoped packages and relative imports inside node_modules (#15) (78ae1b7)

Features

  • http caching for vue requests (ecc7219)

0.5.3 (2020-04-26)

Bug Fixes

  • hmr: fix template + style update hmr (cdcb930), closes #13
  • fix <style module> hmr (6cef3fe)

Features

0.5.1 (2020-04-24)

0.5.0 (2020-04-24)

Features

0.4.0 (2020-04-23)

Features

0.3.2 (2020-04-22)

0.3.1 (2020-04-22)

Bug Fixes

  • do not attempt rewrite on 304 (7b75253)

0.3.0 (2020-04-22)

0.2.0 (2020-04-21)

Features

  • support import rewriting in index.html (4ed433a)

0.1.2 (2020-04-21)

Bug Fixes

  • use correct vue & compiler-sfc (0d5a2a4)
  • use dependency vue if user has no local installation (bb9baa2)

0.1.1 (2020-04-21)

Features