roots/bud
### [`v6.4.5`](https://togithub.com/roots/bud/releases/tag/v6.4.5)
[Compare Source](https://togithub.com/roots/bud/compare/v6.4.4...v6.4.5)
A bugfix release for bud 6.4.x. [Read release notes on bud.js.org](https://bud.js.org/releases/6.4.5)
##### ✨ [@roots/bud-preset-wordpress](https://bud.js.org/extensions/bud-preset-wordpress): improve handling of `WP_HOME`
`WP_HOME` is now automatically set as a *fallback* proxy value. This means that if you don't call [bud.proxy](https://bud.js.org/docs/bud.proxy) value in your `bud.config.js` file, the extension will attempt to use `WP_HOME` (if it is available and is a string value).
Previously, this value was set up front, which could cause errors if the value was malformed.
##### 🩹 [@roots/sage](https://bud.js.org/extensions/sage): `bud.wpjson.useTailwindFontSize` mutates config
This function no longer mutates the tailwind config. This caused tailwind to not generate css for font sizes.
##### ✨ [@roots/sage](https://bud.js.org/extensions/sage): filter theme.json values to those used in `theme.extend`
If you wish to limit generated values in `theme.json` to those included in `theme.extend`, you can now do so with an optional parameter passed to `useTailwindFontFamily`, `useTailwindColors`, and `useTailwindFontSize`.
```js
export default async bud => {
/**
* Limit generated values to those used in theme.extend
*/
bud.wpjson.useTailwindFontFamily(true)
}
```
If called with no arguments, the default behavior is to generate all values resolved by tailwindcss.
##### ⚠️ [@roots/bud-tailwindcss](https://bud.js.org/extensions/bud-tailwindcss): `bud.tailwindcss.resolveTailwindThemeValue` renamed to `bud.tailwindcss.resolveThemeValue`
This is an undocumented method but some of you may very well be using it. It's name changed.
##### 🩹 fix: `--browser` flag not working
Regression introduced in 6.4.0. Fixed (with added unit tests).
##### ℹ️ Release information
For more information [review the diff to see what's changed](https://togithub.com/roots/bud/compare/v6.4.4...v6.4.5).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
6.4.4
->6.4.5
6.4.4
->6.4.5
6.4.4
->6.4.5
Release Notes
roots/bud
### [`v6.4.5`](https://togithub.com/roots/bud/releases/tag/v6.4.5) [Compare Source](https://togithub.com/roots/bud/compare/v6.4.4...v6.4.5) A bugfix release for bud 6.4.x. [Read release notes on bud.js.org](https://bud.js.org/releases/6.4.5) ##### ✨ [@roots/bud-preset-wordpress](https://bud.js.org/extensions/bud-preset-wordpress): improve handling of `WP_HOME` `WP_HOME` is now automatically set as a *fallback* proxy value. This means that if you don't call [bud.proxy](https://bud.js.org/docs/bud.proxy) value in your `bud.config.js` file, the extension will attempt to use `WP_HOME` (if it is available and is a string value). Previously, this value was set up front, which could cause errors if the value was malformed. ##### 🩹 [@roots/sage](https://bud.js.org/extensions/sage): `bud.wpjson.useTailwindFontSize` mutates config This function no longer mutates the tailwind config. This caused tailwind to not generate css for font sizes. ##### ✨ [@roots/sage](https://bud.js.org/extensions/sage): filter theme.json values to those used in `theme.extend` If you wish to limit generated values in `theme.json` to those included in `theme.extend`, you can now do so with an optional parameter passed to `useTailwindFontFamily`, `useTailwindColors`, and `useTailwindFontSize`. ```js export default async bud => { /** * Limit generated values to those used in theme.extend */ bud.wpjson.useTailwindFontFamily(true) } ``` If called with no arguments, the default behavior is to generate all values resolved by tailwindcss. ##### ⚠️ [@roots/bud-tailwindcss](https://bud.js.org/extensions/bud-tailwindcss): `bud.tailwindcss.resolveTailwindThemeValue` renamed to `bud.tailwindcss.resolveThemeValue` This is an undocumented method but some of you may very well be using it. It's name changed. ##### 🩹 fix: `--browser` flag not working Regression introduced in 6.4.0. Fixed (with added unit tests). ##### ℹ️ Release information For more information [review the diff to see what's changed](https://togithub.com/roots/bud/compare/v6.4.4...v6.4.5).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.