Skip to content

Releases: preactjs/preact-cli

v3.0.0-rc.0

11 Apr 22:03
Compare
Choose a tag to compare
v3.0.0-rc.0 Pre-release
Pre-release

Had to re release due to accidentally publishing under the npm latest tag

v3.0.0-next.5

13 May 18:43
Compare
Choose a tag to compare
v3.0.0-next.5 Pre-release
Pre-release

Minor Changes

  • Add --analyzer flag to preact build (#569): cb70701
    Starts interactive treemap to inspect production output.

Patches

  • Fix preact create argument handling by bumping sade dep: ff85102

  • Inject NODE_ENV value once again: bb8aa34

v3.0.0-next.4

30 Apr 17:48
Compare
Choose a tag to compare
v3.0.0-next.4 Pre-release
Pre-release

Major

Patch

  • Update other dependencies: 19a1f54

v3.0.0-next.3

28 Apr 19:07
Compare
Choose a tag to compare
v3.0.0-next.3 Pre-release
Pre-release

Minor

  • Update browserlist default config value: 9c04eba

    See Reference

    // previous
    ["> 1%", "last 2 versions", "IE >= 9"]
    
    // current
    ["> 0.25%", "IE >= 9"]

Patches

  • Fix broken babel requirement: 60bfeb1
  • Fix create command so that target directory name is used as the --name fallback: 84432d7

Chores

  • Rework tests to use puppeteer instead of chrome-launcher: 5b93303

v3.0.0-next.2

10 Apr 05:43
Compare
Choose a tag to compare
v3.0.0-next.2 Pre-release
Pre-release

Minor Changes

  • Removed the redundant https:// protocol check before registering sw.js: (33b6672)
    This is redundant because this is what ServiceWorker does, as defined by its spec.

    Removing this allows easy testing of your sw.js (aka, offline) capabilities because SW also allows the http protocol for localhost and 127.x.x.x servers (source).

    # Test your Service Worker~
    
    # Install any server, eg "zeit/serve"
    $ npm install --save-dev serve
    # Build your app for production, including sw.js
    $ preact build
    # Use "zeit/serve" in SPA-mode on "build" dir
    $ serve build --single

Chores

  • Converted project into monorepo (using lerna) in preparation for sub-packages
  • Rearranged / shuffled dependencies for TravisCI + monorepo compat

v3.0.0-next.1

09 Apr 03:19
Compare
Choose a tag to compare
v3.0.0-next.1 Pre-release
Pre-release

This is one of many pre-release versions, made available on npm via preact-cli@next πŸŽ‰

First next-tagged release that stems from #445. The shortlist of changes in this version (compared to master/v2.2.1) is the following:

Breaking

  • Require Node 8.x as a minimum runtime
  • Remove serve command from the CLI
    It will be made available as its own package in the near future.
  • Remove watch command's custom SSL handling
    Use webpack-style CLI flags instead:
    $ preact watch --https --key <foo> --cert <bar>
    
  • Rename --service-worker flag to --sw

Chores / Refactors

  • Replace yargs with sade 😎
  • Remove Preact CLI hero/logo
  • Refactor commands' setup
  • Update & fix all tests πŸŽ‰
    • Tests now complete in 30s (down from 7m)
    • TravisCI suite completes in 2m (down from 30m)
  • Move check.js into the main CLI binary
    Performs the check before loading any async code

There's still lots to be done~! But publishing this is a good start & allows (all of) us to test each step.

v2.2.1

19 Feb 23:47
Compare
Choose a tag to compare

Patches

  • Fix Async transition in complex apps with deep/multiple chunks per route (#504): c5bd3d8

v2.2.0

19 Feb 23:46
Compare
Choose a tag to compare

Features

Patches

v2.1.1

13 Jan 06:05
Compare
Choose a tag to compare

The release fixes the bundle hash values and replaces babel-stage-1-presets with plugins.

Huge thanks to @lukeed for his work πŸ˜„

New & Shiny πŸŽ‰πŸŽ‰

Bugs Fixed

v2.1.0

07 Nov 19:52
Compare
Choose a tag to compare

The release fixes the HMR bug for dev server, exposes CLI's babel config as a preset

New & Shiny πŸŽ‰ πŸŽ‰

  • Exposes CLI's babel config as a preset (#405, thanks @zouhir)

Bugs Fixed