This release reverts the figures dependency to v4 to maintain compatibility with Node 16. We will do this upgrade when we release the next major version of bud.js, and recommend all users move on to Node 20 as soon as possible. Still, we didn’t intend to introduce this incompatibility in a minor release (v6.18.0).
This also fixes errors with inlined assets when using @roots/bud-vue. This required reordering some module rules (which is why this release is a minor release rather than a patch). If you are using the build.module.rules
hook (or any of its inner hooks, like build.module.rules.oneOf
), you may need to update code if you are relying on the rules being ordered in a particular way. Thanks to @rkaalma for the report.
There also corrects a sneaky issue where expanded environment variables were not always being overridden as designed.
Lastly, there have been improvements made to the handling of webpack plugin instances used directly with bud.extensions.add
or bud.use. Related tests have been improved along with the example config. You should also see these plugins in the bud doctor
listing in a more easily identifiable way.
Related issues
- #2508 [bug] @roots/bud-support 6.18.0 now makes Bud require Node 18+
- #2518 [bug] @roots/bud-vue: ?inline query parameter breaks build
What’s Changed
- fix(patch): revert upgrade of figures to 5.0.0 by @kellymears in 🩹 fix(patch): revert upgrade of figures to 5.0.0 by kellymears · Pull Request #2510 · roots/bud · GitHub
- improve(patch): improve @roots/bud-vue by @kellymears in https://github.com/roots/bud/pull/2509
- deps(patch): upgrade dependencies by @kellymears in https://github.com/roots/bud/pull/2511
- improve(patch): improve webpack plugin api by @kellymears in https://github.com/roots/bud/pull/2515
- fix(patch): fix expanded env overrides by @kellymears in https://github.com/roots/bud/pull/2516
- fix(minor): fix #2518 by @kellymears in https://github.com/roots/bud/pull/2519
Full Changelog: https://github.com/roots/bud/compare/v6.18.0...v6.19.0