Skip to content

Releases: bridgetownrb/bridgetown

1.2.0.beta5

02 Jan 17:33
Compare
Choose a tag to compare
1.2.0.beta5 Pre-release
Pre-release

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

07 Dec 21:01
Compare
Choose a tag to compare
v1.2.0.beta4 Pre-release
Pre-release

Changes since the release of beta3:

v.1.2.0.beta3 "Bonny Slope"

11 Oct 17:10
Compare
Choose a tag to compare
Pre-release

[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 "Belmont"

18 Jul 15:42
Compare
Choose a tag to compare

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)

1.1.0.beta3

28 Jun 16:07
Compare
Choose a tag to compare
1.1.0.beta3 Pre-release
Pre-release

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

02 Jun 16:07
Compare
Choose a tag to compare
v1.1.0.beta2 Pre-release
Pre-release

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 "Pearl"

07 Mar 19:04
Compare
Choose a tag to compare

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

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

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 an...
Read more

v1.0.0.beta3

18 Feb 17:38
Compare
Choose a tag to compare

Changes since beta2:

v1.0.0.beta2

26 Jan 17:49
Compare
Choose a tag to compare

Changes since beta1:

v1.0.0.beta1

13 Jan 19:13
Compare
Choose a tag to compare

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