Skip to content

Latest commit

 

History

History
449 lines (251 loc) · 16.5 KB

CHANGELOG.md

File metadata and controls

449 lines (251 loc) · 16.5 KB

0.8.0 (2020-10-20)

0.8.0-beta.1 (2020-10-20)

0.8.0-beta.0 (2020-10-03)

⚠ BREAKING CHANGES

  • required config updates for typescript projects

include the following compiler options in tsconfig.json

{
  "compilerOptions": {
    "module": "esnext",
    "types": ["svelte", "vite/dist/importMeta"]
  }
}

update svelte.config.js typescript preprocessor setup to your preferred way. eg. full auto mode

const sveltePreprocess = require('svelte-preprocess');
module.exports = {
  preprocess: sveltePreprocess(),
};

Features

  • improved typescript support (827f2e9)

0.7.2 (2020-09-30)

Features

  • update svelte to 3.28.0 (95c0fa6)
  • update svelte to 3.29.0 and svelte-hmr to 0.11.1 (da1396c)

0.7.1 (2020-09-23)

0.7.1-beta.1 (2020-09-23)

Features

  • update svelte to 3.26.0 and svelte-hmr to 0.11.0 (667175c)

Bug Fixes

  • don't try to gracefully close http server on Ctrl-C (fixes #57) (8cf095c)
  • downgrade postcss to 7 in postcss-tailwind examples (0cd4bf1)

0.7.1-beta.0 (2020-09-20)

Bug Fixes

  • absolute import resolver incorrectly declined all ids as existing modules (fixes #56) (85168cb)

0.7.0 (2020-09-17)

0.7.0-beta.1 (2020-09-16)

Features

  • update svelte to 3.25.1 (7e1bb60)

0.7.0-beta.0 (2020-09-14)

⚠ BREAKING CHANGES

  • move svelte and svelte-hmr to devDependencies

Features

  • more checks to not alias existing modules, convert alias to use forward slashes (a452f94)
  • move svelte and svelte-hmr to devDependencies (42a692b)
  • update svelte to 3.25.0 (38af713)

Bug Fixes

  • do not create aliases for absolute paths into node_modules (5310ef6)

0.6.1 (2020-09-08)

0.6.1-beta.2 (2020-09-08)

Bug Fixes

  • convert cli option values to their default type (fixes #45) (0b08deb)
  • turn off resolveSvelteExtensions by default. (fixes #44) (2adb55a)

0.6.1-beta.1 (2020-09-06)

Features

  • add --mode option to svite dev command (d515a55)

0.6.1-beta.0 (2020-09-01)

Features

  • options for root directory and resolving of absolute imports inside root (b9192a0)
  • update routify-mdsvex example with an mdsvex layout (d413141)

0.6.0 (2020-08-30)

0.6.0-beta.1 (2020-08-23)

Features

  • remove additional rollup-plugin-node-resolve and configure rollupDedupe via cli (97f9f01)

0.6.0-beta.0 (2020-08-23)

⚠ BREAKING CHANGES

  • svite now declares supported engines in package.json if you are using older versions it's time to update
  "engines": {
    "node": "^12||^14",
    "npm": "^6.14",
    "yarn": "^1.22 || ^2",
    "pnpm": "^5.5"
  }

Features

  • add tests for other package managers: install,dev,build with yarn,yarn2,pnpm (06334f3)
  • declare supported engines: node 12,14 with modern package managers (153f28d)

0.5.1-beta.1 (2020-08-17)

Features

  • add packageManager option to create command (c9f44b5)

0.5.1-beta.0 (2020-08-16)

Features

Bug Fixes

  • always pass mode option to vite and make sure process.env.NODE_ENV is set (151bbf5)

0.5.0 (2020-08-13)

0.5.0-beta.1 (2020-08-13)

⚠ BREAKING CHANGES

  • new major version of rollup-pluginutils changes filter behavior

Bug Fixes

  • update depdendencies, svelte-preprocess as optional dependency (4853116)

0.5.0-beta.0 (2020-08-10)

⚠ BREAKING CHANGES

  • vite moved from peer dependency to dependency
  • dependencies that caused issues after updating them have been set to exact version
  • svelte-hmr is a peer-dependency. add as dependency to project

Features

  • add option to resolve via svelte field during dev (06505ba)
  • change dependency setup (2c5d6ad)

Bug Fixes

  • navigation links in routify examples work in dev (ef9cda6)

0.4.1 (2020-08-02)

Bug Fixes

  • hmr: disable template cache by default and expose svite dev options on cli (fix #17)(fix #33) (61a93f1)

0.4.0 (2020-08-01)

Features

  • typescript: update benchmark to use svite binary, add typescript option (a25dc2e)

0.4.0-beta.0 (2020-07-31)

⚠ BREAKING CHANGES

  • svite dev -sw,--serviceworker option removed

Features

  • update to vite-1.0.0-rc.4 (b24cebd)
  • typescript: rewrite typescript support use first preprocessor convention (fe2b583)
  • enable use of import.meta.hot in typescript (15a4b5e)

Bug Fixes

  • create: remove quotes from initial commit message (083fffd)

0.3.3-beta.2 (2020-07-26)

Bug Fixes

  • create -ts option ate targetDir arg, remove value from option (9d8385b)

0.3.3-beta.1 (2020-07-26)

Features

  • add typescript option for all examples available as create template (10cf32c)
  • create: add vscode svelte plugin recommendation (2211d85)
  • improve .gitignore in examples (87b5fee)

0.3.3-beta.0 (2020-07-25)

Features

0.3.2 (2020-07-23)

Bug Fixes

  • pin vite to 1.0.0-beta.12 to avoid buggy behavior described in #17 (681722b)

0.3.1 (2020-07-22)

Bug Fixes

  • log helpful output on dev transform error (fix #15) (99d66d3)

0.3.0 (2020-07-21)

⚠ BREAKING CHANGES

  • if you use svelte and vue together, you can no longer use the svite binary.

You can however add svite as plugin in vite.config.js and use vite cli.

Features

  • update to vite-1.0.0-rc.3 and disable vue plugin in svite cli (2338671)

Bug Fixes

  • don't override vite.config.js values with cli defaults (fix #13) (601ecae)

0.2.4 (2020-07-20)

Bug Fixes

  • invalid formatting in nested stylus and pug (16c25ec)
  • make sure deferred rollup plugins have a name right away (fix #12) (6c3eb16)

0.2.3 (2020-07-14)

Bug Fixes

  • don't remove rollup plugins provided in vite.config.js (4dd91ec)

0.2.2 (2020-07-14)

0.2.2-beta.6 (2020-07-14)

Features

  • cli: add --stat option to build (8d908cf)

0.2.2-beta.5 (2020-07-13)

Bug Fixes

  • cli: use vite defaults for build --ssr {outputDir: 'dist-ssr', assetsDir: '.'} (5928c49)

0.2.2-beta.4 (2020-07-12)

Features

  • cli: add optimize command (f18e12a)

0.2.2-beta.3 (2020-07-12)

Bug Fixes

0.2.2-beta.2 (2020-07-12)

Bug Fixes

0.2.2-beta.1 (2020-07-12)

Features

  • cli: add create command (d10292b)

0.2.2-beta.0 (2020-07-11)

Features

  • use same debug output method as vite and allow configuration through --debug cli option (37e63b9)
  • cli: graceful exit on SIGTERM and SIGINT (519c759)
  • add svite binary (d3ddee0)
  • use svite bin in minimal example (e35bc93)

Bug Fixes

  • async handling for commands in bin (2e1e698)

0.2.1 (2020-07-06)

Features

  • use standard-version to manage releases (21fa0a5)

0.2.0

BREAKING

  • removed cosmiconfig support for svelte config
    • svelte.config.js is now the only file where you may specify svelte options (besides plugin initialization)

Added

  • support proposed compilerOptions in svelte.config.js
  • testsuite that ensures examples are working

Changed

  • bumped vite to 1.0.0-beta.10

0.1.0

BREAKING

  • update to rollup-plugin-svelte-hot/svelte-hmr 0.10.0
    • hmr updates behave differently (less buggy) with noPreserveState=true

Added

  • new hmr-showcase example with guided demonstration
  • hmr-benchmark with cool gif output

Other improvements

  • cut down test execution time

0.0.10

BREAKING

  • default to noPreserveState: true in svelte-hmr options. Custom stores can be used for preservable state

Added

  • Initial work on testsuite based on vite's test.js
  • prevent purging when using dynamic class bindings like class:p-4={true} in tailwind example

0.0.9

Added

  • upated changelog

0.0.8

Changed

  • fixed default svelte extensions list

0.0.7

Added

  • deferred initialization of rollup plugin
  • improved log output

0.0.6

Added

  • tiny logo
  • correct evaluation of vite mode for build

0.0.5

Added

  • logLevel option
  • debug log output
  • useTransformCache option

Changed

  • reenabled overriding svelte config for dev and build

Removed

  • workaround for emitCss

0.0.4

Added

  • updated dependencies of examples

Fixed

  • optimizeDeps were not built correctly in 0.0.3

0.0.3

Added

  • logging util with colors and more helpful output

Changed

  • use vite transform instead of middleware in dev mode
  • workaround for emitCss

0.0.2

Added

  • force removal of .html extension from svelte config
  • linting for svite and examples

0.0.1 Initial Release

Added

  • initial support for vite and vite build commands
  • read svelte configruation with cosmiconfig
  • svelte preprocessor support
  • hot module reloading thanks to svelte-hmr
  • drop-in installation as vite plugin