Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@APB9785 APB9785 released this 13 Feb 16:58
· 5 commits to main since this release
bbc6de2

0.4.0 (2025-02-12)

Enhancements

  • Added support for user-defined JS Hooks
  • Added Beacon.ProxyEndpoint for serving multiple domains within a single app
  • mix beacon.gen.site now creates a new Endpoint per site
  • Added --host option for mix beacon.gen.site to serve your site at an alternative domain
  • Beacon will now automatically generate a robots.txt for each domain served by your app
  • Beacon will now automatically generate a sitemap_index.txt for each domain, and sitemap.txt for each site

Fixes

  • Fixed a bug where MediaLibrary could check for file contents on the wrong node in multi-node deployments
  • Fixed a missing function error when using Beacon with LiveView 1.0.0
  • Visual Editor no longer crashes when attempting to edit a new page before saving
  • Asset requests now properly follow accept-encoding headers
  • Prevent app Endpoints from accepting requests before Beacon is ready to serve them
  • Beacon.Config now falls back to the default value when a nil option is provided
  • Live Data query_params now defauls to %{}

Docs

  • Setup Tailwind v3
  • Updated Deploy to Fly.io guides to properly install tailwind and esbuild
  • Updated Install guides to use igniter.install instead of manually adding deps
  • Recipe on how to use external JS libraries in JS hooks

Chores

  • Relax :oembed to ~> 0.4
  • Make :igniter optional

Breaking Changes

  • Require esbuild binary in releases
  • Require minimum :igniter v0.5
  • beacon.install - removed command aliases -s and -p
  • beacon.gen.site - removed command aliases -s and -p
  • beacon.gen.tailwind_config - removed command alias -s