Releases: bridgetownrb/bridgetown
1.2.0.beta5
Changes since the release of beta4:
- Add some DX improvements to StaticFile #677 (jaredcwhite)
- Restore localhost URL in development when using initializers config #686 (jaredcwhite)
- Note View Component oddities #687 (joemasilotti)
- Fix: dynamic route sorting #690 (jaredcwhite)
- Fix: Enture
resource.data.locale
consistently return symbols #682 (vvveebs) - Filter
Bridgetown::Localizable#all_locales
under the source's parent directory #671 (vvveebs) - Website: Fix the readability of namespaces in dark mode #674 (michaelherold)
- Add support for alternative gemfile
gems.rb
to core #658 (svoop)
v1.2.0.beta4
Changes since the release of beta3:
- Provide an option for the file watcher to watch additional paths #668 (jaredcwhite)
- Localize file-based dynamic routes #654 (tommasongr)
- Dark mode #620 (vvveebs)
- Fix typo in collections.md #664 (fbuys)
- Update GitHub Pages configuration to use new method of deploying websites. #657 (tombruijn)
- Bump up esbuild version in new template and on the BT site #646 (jaredcwhite)
- fix: ensure Rake tasks can be run directly, and no crashes when Rake isn't available #656 (jaredcwhite)
- Parse using JSON.parse for more resilient parsing #662 (rickychilcott)
- Resolve Rubocop offenses #644 (vvveebs)
- docs: Fix link to Liquid Template Engine #659 (KorbsStudio)
- Specify locales in "multi locale" mode #651 (rickychilcott)
- Change from master to main in additional places throughout the code #648 (Dynnammo)
- fix Lint/ConstantDefinitionInBlock and Style/StructInheritance #640 (lxxxvi)
- docs: Correct Typo in _docs/template-engines.md #649 (jacobdaddario)
- fix: update broken initializers documentation link #652 (andrewmcodes)
- extend url_for helper to accept other link types #633 (alexanderadam)
- extend link_to helper to accept blocks #632 (alexanderadam)
- docs: Fix typo in confirmation prompt #645 (brandoncc)
- docs: typo: mergable => mergeable #635 (alexanderadam)
- docs: fix typo: delimeters => delimiters #634 (alexanderadam)
- Add ability to specify locales in "multi locale" mode #651 (rickychilcott)
v.1.2.0.beta3 "Bonny Slope"
[1.2.0.beta3] - 2022-10-09
- Updates to Lit and Tailwind configurations
- Add new automation actions for v1.2 configurations
- Fix issues around Roda processing of form submissions
[1.2.0.beta2] - 2022-10-07
- Fix bug with builder registration in config DSL
[1.2.0.beta1] "Bonny Slope" - 2022-10-02
Don't let yourself get distracted by the moonshine!
https://cedarmillnews.com/legacy/archive/706/bonny_slope_bootleggers.html
General
- Add gemspec metadata for all gems (#619)
Added
- Major refactor to add new configuration & initializer DSLs #618 (jaredcwhite)
- All-new Ruby-based config file format
- New Dotenv support
- Refactor to setup Bundler without automatic requires
- Relocate Roda plugins to their own files and use new init functionality
- Add permalink placeholder to Builder DSL
- Improve helper scope for methods, add resource extension to Builder DSL
- Deprecate TOML,
_config
, and.yaml
files for configurations (.yml
preferred)
- Slot content feature for templates and components #629 (jaredcwhite)
- Allow templates to use
data
directly instead ofresource.data
or evensite.data
#622 (jaredcwhite and johlym) - Add Dockerfile to deployment options #626 (stephendolan)
- Add hash attributes functionality to view tag helpers #589 (DRBragg)
- Provide esbuild config typing via JSDoc #604 (jaredcwhite)
Changed
- Update postcss-load-config to 4.x and address synchronization issues #596 (stefanvermaas)
Possible breaking change — see: #596 (comment) - Tailwind automation has been relocated to a separate repository — see: https://github.com/bridgetownrb/tailwindcss-automation
- Include subdirectories of
src/_locales
in I18n loader #606 (lux-shaun)
Fixed
v1.1.0 "Belmont"
Full changelog since v1.0.0. Many thanks to @das-g, @jaredlt, @andrewmcodes, @katafrakt, @jeremyevans, and @jaredcwhite for contributing to this release!
1.1.0 (stable release) — 2022-07-18
- Add better error message for YAML parse error around Symbols
- Remove unnecessary
excerpt_separator
configuration default - New docs: a guide how to migrate from Jekyll #594 (jaredcwhite)
- Improved default Liquid layout
- Fix PurgeCSS configuration so it works with esbuild
1.1.0.beta3 — 2022-06-28
- Provide URL helpers to Roda #583 (jaredcwhite)
- Support kwargs-only method calls for
partial
#582 (jaredcwhite) - Switch from
rack-indifferent
to Roda'sindifferent_params
plugin #586 (jaredcwhite) with thanks to @jeremyevans - Thanks to work-leonid for docs improvements
- Fix: apply Inspectors to Generated Pages as well
- Breaking change from beta2
- Update Gemfile template with nokogiri commented out (helps with the Inspectors API) #574 (andrewmcodes)
- Fix migrate-from-webpack process #573 (katafrakt)
- Ensure gem-based Builders are part of priority sorting #567 (jaredcwhite)
- Add
fill: "forwards"
to improve Turbo transition states
1.1.0.beta2 — 2022-06-01
- Update Webpack 5 default config to switch to native asset loaders (no more
file-loader
needed)
1.1.0.beta1 — 2022-06-01
- New bundled configurations: Lit, Shoelace, Ruby2JS, Open Props #553 (jaredcwhite)
- NOTE: "frontend component files" (aka
.js
/.css
files within thesrc/_components
folder) will now be ignored by the build process watcher, thus allowing the frontend bundling refresh to trigger a dev reload
- NOTE: "frontend component files" (aka
- Improve Roda error handling and update static error pages #565 (jaredcwhite)
- Always make sure
:en
is at the end of the I18n fallback chain - Support
.rb
and.json
for translation files - Support front matter defaults for multi locale
- Update
in_locale
to support filtering resources - Add
t
Liquid filter, allow I18n fallbacks - Allow
.multi
suffix on files names for multi locales - feat: add rb files to the Tailwind content glob #564 (andrewmcodes)
- Fix default custom collection permalink so it includes the locale prefix
- Add link to configuration options documentation in the default
bridgetown.config.yml
#563 (andrewmcodes) - Simplify the Roda boot process, add more route tests #562 (jaredcwhite)
- Add Sass support for esbuild, update frontend dependency versions #542 (jaredcwhite)
- Add ability to configure file filter for PostCSS plugin
- Fix PostCSS esbuild watch bug & remove easy-import
- Update Tailwind config so jit-refresh.css is git ignored #559 (jaredcwhite)
- Ensure future-dated resources import only when expected #558 (jaredcwhite)
- Inherit generator priority from builder
- BREAKING CHANGE: (maybe) The exact order multiple generators will run in may be subtly different than before. Use Builder priorities to resolve
- Add HTML & XML Inspectors API using Nokogiri #546 (jaredcwhite) & (andrewmcodes)
- Add default locale prefixing config option,
in_locale
template filter/helper #540 (jaredcwhite) - Add Markdown support to convert
==
/::
to<mark>
#551 (jaredcwhite) - Apply default theme for syntax highlighting #516 (jaredlt)
- Add site
server_shutdown
hook via Puma - Allow route classes to be prioritized to adjust run order #538 (jaredcwhite)
- Fix: ensure capturing helpers use dedicated component context
- Fix typo in "Core Principles": focsued → focused #541 (das-g)
- Allow finding and linking to alternate locale pages #522 (jaredcwhite)
- Issue warning when a Rails-style extension is used (like .html.erb) #523 (jaredcwhite)
- Fix Roda serving bug when index.html is missing
- Re-run SSR setup block on live reload
- Trigger pre/post-read hooks on SSR reload
- BREAKING CHANGE: (maybe) If you had long-running code in a plugin
build
method or a hook, this might surprise you when you live reload in dev using dynamic routes. Usesite.ssr?
if you want to bypass code in SSR mode.
- BREAKING CHANGE: (maybe) If you had long-running code in a plugin
- Fix bug where sidecar aux process wasn't requiring bundler groups #532 (jaredcwhite)
1.1.0.beta3
Changes since beta2:
- Provide URL helpers to Roda #583 (jaredcwhite)
- Support kwargs-only method calls for
partial
#582 (jaredcwhite) - Switch from
rack-indifferent
to Roda'sindifferent_params
plugin #586 (jaredcwhite) with thanks to @jeremyevans - Thanks to work-leonid for docs improvements
- Fix: apply Inspectors to Generated Pages as well
- Breaking change from beta2
- Update Gemfile template with nokogiri commented out (helps with the Inspectors API) #574 (andrewmcodes)
- Fix migrate-from-webpack process #573 (katafrakt)
- Ensure gem-based Builders are part of priority sorting #567 (jaredcwhite)
- Add
fill: "forwards"
to improve Turbo transition states
v1.1.0.beta2
Changes since Bridgetown 1.0:
- Update Webpack 5 default config to switch to native asset loaders (no more
file-loader
needed) - New bundled configurations: Lit, Shoelace, Ruby2JS, Open Props #553 (jaredcwhite)
- NOTE: "frontend component files" (aka
.js
/.css
files within thesrc/_components
folder) will now be ignored by the build process watcher, thus allowing the frontend bundling refresh to trigger a dev reload
- NOTE: "frontend component files" (aka
- Improve Roda error handling and update static error pages #565 (jaredcwhite)
- Always make sure
:en
is at the end of the I18n fallback chain - Support
.rb
and.json
for translation files - Support front matter defaults for multi locale
- Update
in_locale
to support filtering resources - Add
t
Liquid filter, allow I18n fallbacks - Allow
.multi
suffix on files names for multi locales - feat: add rb files to the Tailwind content glob #564 (andrewmcodes)
- Fix default custom collection permalink so it includes the locale prefix
- Add link to configuration options documentation in the default
bridgetown.config.yml
#563 (andrewmcodes) - Simplify the Roda boot process, add more route tests #562 (jaredcwhite)
- Add Sass support for esbuild, update frontend dependency versions #542 (jaredcwhite)
- Add ability to configure file filter for PostCSS plugin
- Fix PostCSS esbuild watch bug & remove easy-import
- Update Tailwind config so jit-refresh.css is git ignored #559 (jaredcwhite)
- Ensure future-dated resources import only when expected #558 (jaredcwhite)
- Inherit generator priority from builder
- BREAKING CHANGE: (maybe) The exact order multiple generators will run in may be subtly different than before. Use Builder priorities to resolve
- Add HTML & XML Inspectors API using Nokogiri #546 (jaredcwhite) & (andrewmcodes)
- Add default locale prefixing config option,
in_locale
template filter/helper #540 (jaredcwhite) - Add Markdown support to convert
==
/::
to<mark>
#551 (jaredcwhite) - Apply default theme for syntax highlighting #516 (jaredlt)
- Add site
server_shutdown
hook via Puma - Allow route classes to be prioritized to adjust run order #538 (jaredcwhite)
- Fix: ensure capturing helpers use dedicated component context
- Fix typo in "Core Principles": focsued → focused #541 (das-g)
- Allow finding and linking to alternate locale pages #522 (jaredcwhite)
- Issue warning when a Rails-style extension is used (like .html.erb) #523 (jaredcwhite)
- Fix Roda serving bug when index.html is missing
- Re-run SSR setup block on live reload
- Trigger pre/post-read hooks on SSR reload
- BREAKING CHANGE: (maybe) If you had long-running code in a plugin
build
method or a hook, this might surprise you when you live reload in dev using dynamic routes. Usesite.ssr?
if you want to bypass code in SSR mode.
- BREAKING CHANGE: (maybe) If you had long-running code in a plugin
- Fix bug where sidecar aux process wasn't requiring bundler groups #532 (jaredcwhite)
v1.0.0 "Pearl"
Full changelog since v0.21. Many thanks to @ayushn21, @subsevenx, @fpsvogel, @andrewmcodes, @adrianvalenz, @Eric-Guo, @jacobherrington, @deivid-rodriguez, @JuanVqz, and @nachoal for contributing to this release!
1.0.0 (stable release) — 2022-03-07
- Add bundled configuration for GH pages #503 (ayushn21)
- Fix
base_path
issues with Roda and site templates #510 (jaredcwhite) - Many documentation tweaks
1.0.0.beta3 — 2022-02-18
- Project repo Gemfile cleanup
- Remove the Renderer class by merging into GeneratedPage #492 (jaredcwhite)
- Cleaner paginated page URL #491 (jaredcwhite)
- Documentation updates by fpsvogel and subsevenx
1.0.0.beta2 — 2022-01-26
- Partials rendering speedup by nearly 8x (!) #489 (jaredcwhite)
- Map Stimulus controller filenames to identifiers as in the Stimulus docs #486 (fpsvogel)
- Fix for issue #482: don't load front matter defaults for data collection (jaredcwhite)
- Add bundled configuration for Vercel #483 (andrewmcodes)
- Descendants tracker fix for issue #484 (jaredcwhite)
1.0.0.beta1 — 2022-01-13
General
- Brand new website and refreshed documentation. Yowza! Special thanks to @adrianvalenz for contributing refreshed branding and content enhancements and to Whitefusion for overall design & development of the new site.
Added
- Native esbuild integration, default site template switched to use esbuild + postcss #461 (jaredcwhite)
- BREAKING CHANGE: you will need to run
bin/bridgetown webpack update
so the build process can find the relocated assets manifest file.
- BREAKING CHANGE: you will need to run
- New site template design along with ERB and Serbea support via CLI flags #475 (jaredcwhite)
Changed
- Refactor how Rake tasks are loaded or displayed (jaredcwhite)
- Clean up listener and watcher, resolves #467 (jaredcwhite)
- Update Stimulus and Turbo configurations to latest versions (jaredcwhite)
- Permit Rails 7 versions of Active Support & Active Model (jaredcwhite)
- Improve the display of build errors #479 (jaredcwhite)
- Remove the Swup bundled configuration and enhance Turbo instead #471 (jaredcwhite)
Fixed
- Switch routes to path from absolute_path for Ruby 3.1 compatibility (jaredcwhite)
- Fix origins autoload issue in #472 (jaredcwhite)
- Add
.ruby-version
file to new sites (jaredcwhite)
1.0.0.alpha11 - 2021-11-29
- Allow saving of models with repo origin #452 (jaredcwhite)
- Normalize previous/next resource API between Ruby and Liquid #466 (jaredcwhite)
- Docs: Add a nginx section in deployment #447 (Eric-Guo)
- Switch to streaming/event source mechanism for live reload #458 (jaredcwhite)
- Hooks refactor & cleaning up SSR reload hook #457 (jaredcwhite)
- Add
BRIDGETOWN_ENV
to render config #460 (ayushn21) - Fix production ENV issue with Roda file-based routes
- Move
Collection#sort_resources!
to a public method
1.0.0.alpha10 - 2021-11-15
- Fix class duplication bug with reloads and
ActiveSupport::DescendantsTracker
#450 (jaredcwhite) - Remove extra space from plugins command output #449 (jacobherrington)
1.0.0.alpha9 - 2021-11-11
- Remove the Liquid Component gem dependency
- Add support for environment CLI flags (
-e production
or--environment=production
) - Integrate Serbea 1.0 into Bridgetown #440 (jaredcwhite)
- Add new console commands via ConsoleMethods mixin #439 (jaredcwhite
- Support long version form in CLI (
--version
) #445 (Eric-Guo)
Documentation
- Skip the archived state in plugins. #443 (Eric-Guo)
- Update ruby2js as required by webpack loader #442 (Eric-Guo)
1.0.0.alpha8 - 2021-11-05
- Refactor builder DSL for Ruby 2.7 & 3.0 compatibility
1.0.0.alpha7 - 2021-11-05
- Update minimum Ruby requirement to 2.7
- Copy
bin/bridgetown
tobin/bt
after binstubs generation - Ensure Webpack error messages only display once
- Add bundled configuration for Cypress #339 (ayushn21)
- Use Zeitwerk for autoload/eager load paths (including plugins) #434 (jaredcwhite & ayushn21)
- Don't mutate bundler dependencies in place #433 (deivid-rodriguez)
- Add bundled configuration for Render #431 (ayushn21)
1.0.0.alpha6 - 2021-10-26
- Detect the presence of Puma a different way #430 (jaredcwhite)
- Fix netlify config to use native deploy command #429 (ayushn21)
1.0.0.alpha5 - 2021-10-22
- The deprecated
include
andinclude_relative
tags have been removed.
1.0.0.alpha4 - 2021-10-18
- Refactor and cleanup of routing gem for better maintainability #424 (jaredcwhite)
- Also adds
bin/bridgetown secret
which functions much like thebin/rails secret
to generate a long randomized hex token.
- Also adds
1.0.0.alpha3 - 2021-10-17
- Allow template engines to accept symbols via Ruby front matter #396 (JuanVqz)
- Add build callbacks to Builder plugins and allow arbitrary instantiation #422 (jaredcwhite)
1.0.0.alpha2 - 2021-10-15
- Upgrade the codebase to Rubocop 1.22 and use config from
rubocop-bridgetown
gem
1.0.0.alpha1 - 2021-10-15
NOTE: this is still considered experimental and largely undocumented.
It's fine to use...just not recommended for production. =)
General
-
Strip out all of the legacy content engine #415 (jaredcwhite)
- Transition Page to GeneratedPage
- Resource content from plugins now supported
-
SSR & file-based dynamic routes in src/_routes #383 (jaredcwhite)
- includes adding Puma, Rack, Roda, and Rake!
- the previous WEBrick-based dev server is deprecated
- nearly all past Yarn commands are now available through
bin/bridgetown
Added
add_resource
DSL now available for builders #419 (jaredcwhite)- Improve locale routing based on filenames or special front matter #414 (jaredcwhite)
- Enhance front matter DSL with nesting and lambda value eval #398 (jaredcwhite)
- Add debug message when saving static files
Fixed
- Improve resource engine compatibility in link tag and url_for helper #389 (jaredcwhite)
- Prevent
.js
matches with an...
v1.0.0.beta3
Changes since beta2:
- Project repo Gemfile cleanup
- Remove the Renderer class by merging into GeneratedPage #492 (jaredcwhite)
- Cleaner paginated page URL #491 (jaredcwhite)
- Documentation updates by fpsvogel and subsevenx
v1.0.0.beta2
Changes since beta1:
- Partials rendering speedup by nearly 8x (!) #489 (jaredcwhite)
- Map Stimulus controller filenames to identifiers as in the Stimulus docs #486 (fpsvogel)
- Fix for issue #482: don't load front matter defaults for data collection (jaredcwhite)
- Add bundled configuration for Vercel #483 (andrewmcodes)
- Descendants tracker fix for issue #484 (jaredcwhite)
v1.0.0.beta1
Changes since v1.0.0.alpha11:
General
- Brand new website and refreshed documentation. Yowza! Special thanks to @adrianvalenz for contributing refreshed branding and content enhancements and to Whitefusion for overall design & development of the new site.
Added
- Native esbuild integration, default site template switched to use esbuild + postcss #461 (jaredcwhite)
- BREAKING CHANGE: for sites using Webpack, you will need to run
bin/bridgetown webpack update
so the build process can find the relocated assets manifest file.
- BREAKING CHANGE: for sites using Webpack, you will need to run
- New site template design along with ERB and Serbea support via CLI flags #475 (jaredcwhite)
Changed
- Refactor how Rake tasks are loaded or displayed (jaredcwhite)
- Clean up listener and watcher, resolves #467 (jaredcwhite)
- Update Stimulus and Turbo configurations to latest versions (jaredcwhite)
- Permit Rails 7 versions of Active Support & Active Model (jaredcwhite)
- Improve the display of build errors #479 (jaredcwhite)
- Remove the Swup bundled configuration and enhance Turbo instead #471 (jaredcwhite)
Fixed
- Switch routes to path from absolute_path for Ruby 3.1 compatibility (jaredcwhite)
- Fix origins autoload issue in #472 (jaredcwhite)
- Add
.ruby-version
file to new sites (jaredcwhite)