Skip to main content

6.6.6

ยท 2 min read
kellymears

bud@6.6.6 features bug fixes, performance improvements and a new ?inline query parameter for inlining static assets.

Updates available

There are patches available for this release. Please update to 6.6.10.

๐Ÿšจ heads up: --verbose replaces -vvvvโ€‹

It should be aliased but update it anyway

๐Ÿšจ heads up: bud.template deprecated in favor of bud.htmlโ€‹

You'll get feedback in your IDE about this. bud.template will be removed in a future major release.

๐ŸŽ‰ feature: Inlining static assets as base64-encoded stringsโ€‹

You can inline static assets with the ?inline query parameter.

body {
background: url(@src/test.svg?inline)
}

๐Ÿฉน fix: default portโ€‹

If left unspecified the default port value should be 3000.

๐ŸŽ‰ jsconfig and tsconfig base configurationsโ€‹

Base configurations now provided by @roots/bud and @roots/sage for you to extend from:

  • @roots/bud/config/jsconfig.json
  • @roots/bud/config/tsconfig.json
  • @roots/sage/config/jsconfig.json
  • @roots/sage/config/tsconfig.json
{
"extends": "@roots/bud/config/jsconfig.json"
}

โœจ improve: handling of version inconsistencies and package manager conflictsโ€‹

Most bud cli subcommands will do some basic checks on what you have installed and provide feedback if you have multiple lockfiles, mismatched versions of @roots/* packages, and other common project problems.

โœจ๐Ÿฉน improve: bud upgrade subcommandโ€‹

bud upgrade will now install packages for you (no need to run yarn/npm install as a second step). So, upgrading in the future should be as simple as running that command.

You can also pass in a specific command if you want to use a specific version:

yarn bud upgrade <version>

This release also fixes a bug related to running bud upgrade in projects with both yarn and npm lockfiles.

โœจ improve: bud repl subcommandโ€‹

bud repl is pretty stable now and has improved UI to make it easier to get started using it. Really helpful for confirming issues with your configuration.

๐Ÿ”ฅ performanceโ€‹

Everything should be much faster now!