A Break from Summer Break to Bring You Bridgetown 0.21.1
Things have been a bit quiet here lately due to the hot, lazy days of summer (in the Northern Hemisphere at least). But we’re taking a break from popsicles, river floats, and jazz festivals to bring you our latest release, v0.21.1.
It may be a small point release, but it nevertheless has some cool enhancements!
- Webpack 5 support. Yes indeed! If you’re ready to hop aboard the latest version of Webpack, we’ve got you covered. To upgrade an existing site, just run
bundle exec bridgetown webpack update. This only works if your site is fairly new, or if you’ve run
bundle exec bridgetown webpack setuponce before (make sure your files are committed before running setup as it will overwrite your Webpack config!). One other note: if you’re still using
package.jsondependencies, you might want to consider switching to the newer
sass(aka Dart Sass) package as well.
- Resource Extension API. If you’ve ever wondered what it’d be like to add your own methods to resource objects, wonder no more! This is now possible, either in local plugins you write or via third-party gems. The API also forms the basis of our new extension point for “summarization” services. You can read more about this in the docs here.
- Heads up! The configuration option
baseurlhas changed to
base_pathso it’s less confusing. Bridgetown will continue to support
baseurlin your config file for now but it is marked deprecated.
That’s all folks. Feel free to hop in our Discord chat if you have any questions. We’ve got some massive features in development for later this year so stick around! 😎