Releases: BeaconCMS/beacon
Releases · BeaconCMS/beacon
v0.1.1
v0.1.0
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
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 inContent.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 unavailablefs
API - [Media Library] Guard against invalid values for
:sort
option inMediaLibrary.list_assets/2
- [Content] Guard against invalid values for
:sort
option inContent.list_layouts/2
- [Content] Guard against invalid values for
:sort
option inContent.list_pages/2
- [HEEx Decoder] Handle attr values with
nil
values, for example thedefer
in script tags
Documentation
- Updated Heroicons recipes to reflect changes on configuration and naming