Skip to content

Releases: FredKSchott/snowpack

v1.5.1

01 Mar 18:25
Compare
Choose a tag to compare
  • fix import scanner RegEx, which was missing multi-line imports (#231) 7f239d3

v1.5.0...v1.5.1

v1.5.0

27 Feb 16:31
Compare
Choose a tag to compare

New: Improved --stat Output

Slice2

Thanks to @rajasegar, we now have Brotli & Gzip size info in our --stat output! With some new cleanup on top of that, this may become the new default output mode for Snowpack in a future version.

New: Plugin Suggestions

74787343-322d5a00-526c-11ea-9dbd-335e3a42df33

Thanks to @DangoDev's added Rollup plugin support in v1.4.0, we can now recommend plugins when one of your dependencies attempts to import a non-standard file type (like, for example, import 'styles.css').

New: WASM-Powered Parser

Screen Shot 2020-02-27 at 8 28 01 AM

Thanks to @alex-saunders for replacing our initial Babel-powered import scanner with the WASM-powered es-module-lexer for some pretty impressive speed improvements. Running Snowpack in production (with all optimizations turned on) on www.pika.dev is now down from 24 seconds -> 16 seconds!

  • Replace babel parse with es-module-lexer (#208) fac12fc

Small Fixes

v1.4.0...v1.5.0

v1.4.0

16 Feb 21:55
Compare
Choose a tag to compare

🆕 Custom install plugins (via Rollup)

You might encounter non-JS npm packages that can only run with additional parsing/processing. Svelte packages, for example, commonly include .svelte files that will require additional tooling to parse and install for the browser.

In these rare cases, you can now add custom Rollup plugins to your Snowpack config to handle these special files:

// snowpack.config.js
module.exports = {
  rollup: {
    plugins: [require('rollup-plugin-svelte')()]
  }
};

Thanks to @DangoDev for identifying the problem, proposing the solution, and implementing the PR.

Other fixes and improvements

v1.3.1...v1.4.0

v1.3.1

14 Feb 06:55
Compare
Choose a tag to compare
  • Fix bad rev issue by adding "--hash" and making it opt-in e2d8963
  • add error location logging aad5676

v1.3.0...v1.3.1

v1.3.0

13 Feb 22:56
Compare
Choose a tag to compare

stat

🆕 --stat output details mode

We now have detailed output for installs, including size change information when a package is added/removed. Great for CI, and may even become our default output mode in the future.

Huge thanks to @alex-saunders for tackling this one!




Screen Shot 2020-02-13 at 2 13 28 PM

🆕 Configuration file support

Say goodbye to CLI flags... or don't! We now support all CLI flags as config thanks to our new snowpack.config.json, snowpack.config.js, and package.json config parser (powered by cosmiconfig. Mix and match static config with ad-hoc CLI flags as you need.

Huge thanks to @DangoDev for owning this (very overdue!) project from start to finish!




🆕 Bug fixes and documentation improvements!

  • New "Who's using Snowpack?" section of the docs
  • deep entrypoint import support (#197)
  • package manifest resolution improvements (#199) ba70b4a6c
  • Fixed issue where CLI would stay open instead of exit on error

v1.2.0...v1.3.0

v1.2.0

07 Feb 19:04
Compare
Choose a tag to compare

Note: This is an important update for Node v13 users that adds support for export maps, a new feature that some packages are beginning to adopt. For node <=v12, this update is encouraged but not required.

Thanks to collaborators @DangoDev & @monchi for their help with this release!

Notable Changes

  • Add export map support for node v13 (#193) eae89aa
  • Allow importing of packages not explicitly mentioned in package.json (#192) f825df7
  • Fix pika-treeshake on Windows (#178) 2ce922d
  • Change babel plugin to use import map as its source of truth (#189) 090ac06
  • update react error message (#188) 47f9b97
  • update deps 72b9d09
  • Update docs

v1.1.4...v1.2.0

v1.1.4

04 Feb 09:15
Compare
Choose a tag to compare
  • Redo the dedupe fix from v1.1.3, which didn't catch all errors 2db3ca0

v1.1.3...v1.1.4

v1.1.3

03 Feb 18:44
Compare
Choose a tag to compare

Important Fix

  • Fix a "dedupe" regression in our internal Rollup engine (#186) b29c0c6
    • Unless you're using a package-lock/yarn.lock, you'll need to update Snowpack to fix an issue with how we pass our dedupe config property to our internal Rollup engine
  • updated docs

v1.1.2...v1.1.3

v1.1.0

22 Jan 20:52
Compare
Choose a tag to compare

NEW: --nomodule Support

carbon (7)

Other changes

  • Added a test suite for our Babel plugin (@monchi)
  • Added @monchi as a project contributor
  • Bug fixes
  • Docs updates

v1.0.5...v1.1.0

v1.0.5

15 Jan 06:32
Compare
Choose a tag to compare
  • improve missing package error message 9dde404
  • Update docs
  • [Babel plugin] Implement addVersion opt for babel plugin (@monchi)

v1.0.4...v1.0.5