Skip to content

Releases: unjs/webpackbar

v6.0.1

19 Feb 10:37
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Node 14 compatibility (#138)

❤️ Contributors

v6.0.0

15 Dec 12:12
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Automatically add profile reporter when profile option enabled (#94)

💅 Refactors

  • Repository updated (e7d217c)
  • deps: ⚠️ Upgrade consola to v3 and minimum node version ([#128])

📦 Build

  • Add types export conditions (#108)
  • Downgrade cjs-incompatible dependencies (e24d1cd)

❤️ Contributors

v3.0.0

07 Nov 22:50
@pi0 pi0
Compare
Choose a tag to compare

We are really excited to see notable projects including Next.js, Razzle and Vuepress are using Webpackbar 😍 Until now, Webpackbar was mostly a fancy wrapper over Webpack ProgressPlugin. With V3 a major rewrite decoupled all display stuff into Reporters. Built-in supported ones are basic, fancy, profile and stats. But nothing stops you from adding your own. We also carefully studied and inspected Webpack's behavior to make everything faster and more stable.

New Features

  • Custom Reporters Support
  • Automatically pause Consola logs during build to prevent glitches
  • Stats reporter
  • Watch hook

Enhancenments

  • Call progress hook on 100%
  • Cleanup all webpack references after build to prevent any memory leak
  • Rewrite log-update for more stability and performance.
  • Handle compile errors for styling
  • Siginificant stability improvements
  • Cleaner source-code

Breaking changes

  • Webpackbar no longer clears screen. If you need to preserve old behaviour, use reporter option:
new Webpackbar({
  reporter: {
    allDone() { /* clear screen */ }
  }
})
  • stream option no longer supported. process.stderr is being used.

  • minimal option deprecated in favor of reporter options. By default env will be detected and basic fallback will be used for CI and Tests.

  • compiledIn option deprecated. Both Fancy and Basic show it in a better way.

  • done callback is deprecated. You can use reporter.allDone hook.