Skip to content

Releases: BeaconCMS/beacon

v0.5.1

01 Apr 11:30
9702475

Choose a tag to compare

Enhancements

  • [Install] Cleaner design for the home page

Fixes

  • [Install] Fix responsive aspects of the default home page
  • [Deps] Replace :oembed with :req_embed to avoid compilation issues
  • [Components] Update dynamic_tag to use attr :tag_name on recent LiveView
  • Fix MDEx options in the Markdown template compiler

Chores

  • Use fully-qualified module names in runtime layout
  • [Tests] Don't depend on DB on Igniter/Tasks tests

v0.5.0

18 Mar 14:57
824a38b

Choose a tag to compare

Enhancements

  • [Router] Add option :session in beacon_site
  • [Media Library] Add customizable asset delete callbacks - @ddink
  • [Visual Editor] Include assigns defined by on_mount in the page context
  • [Tasks] Move beacon_site to the end of the router (mount it after other routes)
  • [Tasks] Rename default Phoenix route when adding a site at root "/" to avoid conflicts

Fixes

  • [Migrations] Hardcode inserted_at and updated_at - @sltong
  • [Media Library] Don't crash on invalid search query
  • [Proxy Endpoint] Check when host/port doesn't match

Chores

  • [CI] Organize workflows and run Igniter tasks separately

Docs

  • Clean up and fix typos

v0.4.2

26 Feb 23:37
6475092

Choose a tag to compare

Fixes

  • Fix the select router prompt on gen.site when multiple routers are found

Docs

  • Add @doc type for :event_handlers
  • Add Beacon.Web.ErrorHTML and Beacon.Web.Layouts to web docs
  • Hide Beacon.Web.RobotsTxt and Beacon.Web.SitemapXML from docs (private modules)

v0.4.1

26 Feb 23:36
dca8551

Choose a tag to compare

Enhancements

  • Added new lifecycle stage :after_unpublish_page to execute hooks after a page is unpublished
  • Added MediaLibrary.url_for_asset/2 to return URL of an asset given the site and the file name
  • gen.site added option --endpoint to overwrite the generated site endpoint module name

Fixes

  • gen.site doesn't fail on pre-existing endpoint module
  • gen.site doesn't remove existing beacon runtime config
  • gen.proxy_endpoint add missing :render_errors config for ProxyEndpoint
  • Do not call compile-time endpoint functions during boot
  • Pin esbuild version up to 0.8.x on OTP v24 and below (esbuild 0.0 requires OTP v25)
  • Do not crash url_for/1, url_for/2, or urls_for/1 when provider is invalid
  • Fix rendering mermaid blocks on docs

v0.4.0

13 Feb 16:58
bbc6de2

Choose a tag to compare

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

v0.3.3

14 Dec 01:19
b433819

Choose a tag to compare

0.3.3 (2024-12-13)

Fixes

  • Support LiveView v1.0.1
  • Fix variant roll changing when fetching assets

v0.3.2

11 Dec 20:24
95033ab

Choose a tag to compare

0.3.2 (2024-12-11)

Fixes

  • Make the logic to find reachable sites less strict
  • Prevent components module reloading in manual mode

Doc

  • Add missing instructions on Upgrade Guide v0.3.0 where to place the Beacon tuple

Chore

  • Exclude Dialyzer files from package

v0.3.1

10 Dec 16:48
9341f31

Choose a tag to compare

0.3.1 (2024-12-10)

Fixes

  • Avoid unloading imported dynamic Components modules without a replacement

v0.3.0

05 Dec 17:12
d16dc34

Choose a tag to compare

0.3.0 (2024-12-05)

Enhancements

  • Support Phoenix LiveView 1.0
  • Add Beacon.Plug in the :beacon pipeline
  • Generate sites in the main host app alias to allow mixing routes
  • Introduce global process lock for Loader Workers, preventing multiple workers from
    attempting to compile the same module simultaneously
  • Page Warming - Beacon will now eagerly load a small number of pages (default 10) at boot time for SEO
  • Beacon.Config option :page_warming can change the number of pages to warm, specify which pages, or disable warming per site
  • Only start reachable sites on boot to save resources
  • Warn when a site defined in the router is not reachable
  • Add Beacon.Plug for consistent rendering when using Page Variants
  • mix beacon.install now adds Beacon.Plug to host app Router

Fixes

  • Rename arg from name to tag_name in dynamic_tag component
  • Remove self dependency on ErrorPage module
  • Allow :admin source for BeaconAssigns in unpublished Pages

Chores

  • Isolate dynamic function calls

Documentation

  • Add Deployment Topologies guide

v0.2.2

17 Nov 17:38
f02dfb5

Choose a tag to compare

0.2.2 (2024-11-17)

Fixes

  • Do not duplicate default beacon.webp media asset
  • Load resources on dev.exs script

Chores

  • Improve Beacon.apply_mfa/4 error output