Skip to content

Releases: BeaconCMS/beacon

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