Bridgetown Versions Save

A next-generation progressive site generator & fullstack framework, powered by Ruby

v1.2.0.beta3

1 year ago

[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 of resource.data or even site.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

Fixed

v1.1.0

1 year ago

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's indifferent_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 the src/_components folder) will now be ignored by the build process watcher, thus allowing the frontend bundling refresh to trigger a dev reload
  • 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. Use site.ssr? if you want to bypass code in SSR mode.
  • Fix bug where sidecar aux process wasn't requiring bundler groups #532 (jaredcwhite)

v1.1.0.beta3

1 year ago

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's indifferent_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

1 year ago

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 the src/_components folder) will now be ignored by the build process watcher, thus allowing the frontend bundling refresh to trigger a dev reload
  • 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. Use site.ssr? if you want to bypass code in SSR mode.
  • Fix bug where sidecar aux process wasn't requiring bundler groups #532 (jaredcwhite)

v1.0.0

2 years ago

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

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.
  • 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

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

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 to bin/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

1.0.0.alpha5 - 2021-10-22

  • The deprecated include and include_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 the bin/rails secret to generate a long randomized hex token.

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 any file like foo.js.txt.bat.png #399 (nachoal)

Changed

  • Change single quotes in script folder #406 (JuanVqz)
  • Return ordered results for belongs_to array #390 (jaredcwhite)
  • Bumped minimum recommended Node requirement to v12 and updated the docs for Homebrew installation on macOS.

Removed

  • Remove pry and use binding.irb in dev console script
  • Remove incremental generation #388 (jaredcwhite)

v1.0.0.beta3

2 years ago

Changes since beta2:

v1.0.0.beta2

2 years ago

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

2 years ago

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.
  • 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)

v1.0.0.alpha11

2 years ago

Changes since alpha10:

  • 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

and since alpha 9:

v1.0.0.alpha9

2 years ago

Changes since alpha8:

  • 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