Skip to content

Releases: BeaconCMS/beacon

v0.2.1

14 Nov 14:46
fd96d11
Compare
Choose a tag to compare

Fixes

  • Fix site scoping for media asset path/url
  • Serve media library assets inside aliased scopes
  • Only reset cache and route table for published pages

Documentation

  • Fix identation on install guide
  • Add upgrade guide from pre-rc to v0.1

Chores

  • Rename asset URL from __beacon_assets__ to __beacon_media__ to avoid conflicts
  • Expose option :root_layout in beacon_site

v0.2.0

08 Nov 20:52
f815ea6
Compare
Choose a tag to compare

Enhancements

  • Introduce Beacon.ErrorHandler to load resources and dependencies
  • Add beacon.gen.tailwind_config task to generate a custom Tailwind config
  • Add beacon.gen.site task to generate new sites
  • Rework beacon.install with Igniter to be composable
  • Introduce config :tailwind_css

Documentation

  • Create recipe Protect Pages with Basic Auth
  • Update docs to use the new tasks created with Igniter
  • Update Deploy to Fly.io guide to use a release step to copy files into the release
  • Create recipe Reuse app.css

Chore

  • Only subscribe to page changes on :live sites

v0.1.4

31 Oct 21:41
ef0f894
Compare
Choose a tag to compare

Full Changelog: v0.1.3...v0.1.4

Fixes

  • Fix Page and Layout publish on cluster environments
  • Skip dependency :vix v0.31.0 due to a bug to open files
  • Fix page title not updating on page patch

Chores

  • TailwindCompiler - increase timeout to 4 minutes when waiting to generate template files

v0.1.3

29 Oct 12:48
a8330d3
Compare
Choose a tag to compare

Enhancements

  • Auto populate Media beacon.webp to be used on components

Fixes

  • Exclude the node modules from Tailwind content - #622 by @anu788
  • Allow to patch (navigate patching the content) to another site

v0.1.2

23 Oct 18:43
303861c
Compare
Choose a tag to compare

Fixes

  • [Content/Component] - Validate attr opts and slot opts to avoid invalid state and compilation errors

v0.1.1

22 Oct 22:04
0c9de05
Compare
Choose a tag to compare

Enhancements

  • Support Phoenix LiveView v1.0.0-rc.7

Documentation

  • Link to latest version
  • Guide for on_mount and handle_info #599 by @djcarpe

v0.1.0

09 Oct 18:13
9e5d24e
Compare
Choose a tag to compare

Breaking Changes

  • Require minimum Elixir v1.14.0
  • Require minimun :mdex v0.2.0
  • Removed config :skip_boot? in favor of :mode which can be :live, :testing, and :manual (defaults to :live) - the major difference between then is that live loads all modules and broadcasts all messages, testing only does that when it makes sense for tests (for example it does reload modules on fixtures), and manual does pretty much nothing, it's useful to seed data or to test specific scenarios where you need total control over Beacon.Loader

Enhancements

  • Add Beacon.Test that provides testing utilities to use on host apps
  • Add Beacon.Test.Fixtures to expose fixtures to seed test data, the same used by Beacon itself
  • Reload modules synchronously on testing mode
  • Leverage :manual mode during boot to avoid unnecessary calls to Tailwind compiler, speeding up the whole process to start sites
  • Enable Markdown options: :footnotes, :multiline_block_quotes, :shortcodes (emojis), :underline, :relaxed_tasklist_matching, and :relaxed_autolinks.
    See https://docs.rs/comrak/latest/comrak/struct.ExtensionOptions.html and https://docs.rs/comrak/latest/comrak/struct.ParseOptions.html for more info.
  • Added Shared Info Handlers (info_handle callbacks) - #578 by @ddink

Fixes

  • Remove unnecessary :plug_cowboy dependency - #594
  • [Heroicons] Namespace the vendorized module as Beacon.Heroicons to avoid conflicts

Documentation

  • Added "Testing" recipe to demonstrate usage of Beacon.Test
  • Added guide to customize the Markdown options
  • Added guide on how to embed tweets using the Twitter JS api

v0.1.0-rc.2

20 Sep 22:08
6e2218a
Compare
Choose a tag to compare

Breaking Changes

  • Renamed component .icon to .heroicon to make it explicit that it's rendering Heroicons and also to avoid future conflicts
  • Require minimum Gettext v0.26 to use the new backend module
  • Default :sort option value in Content.list_pages/2 changed from :title to :path

Fixes

  • [Components] Bring back the .icon (heroicon) component using https://hex.pm/packages/heroicons instead of a Tailwind plugin that depends on the unavailable fs API
  • [Media Library] Guard against invalid values for :sort option in MediaLibrary.list_assets/2
  • [Content] Guard against invalid values for :sort option in Content.list_layouts/2
  • [Content] Guard against invalid values for :sort option in Content.list_pages/2
  • [HEEx Decoder] Handle attr values with nil values, for example the defer in script tags

Documentation

  • Updated Heroicons recipes to reflect changes on configuration and naming