Skip to content

Releases: lookbook-hq/lookbook

Release 2.0.0-rc.1

03 Apr 23:50
Compare
Choose a tag to compare
Release 2.0.0-rc.1 Pre-release
Pre-release

New

  • Add config options for setting nav collection labels (docs)
  • Add compatability for Zeitwerk collapsed previews paths (#375)

Fixed

  • Ensure file watchers are not created when config.reload_on_change is false (#397)
  • Don't hijack browser-shortcut keystrokes to focus the preview filter input (#388)
  • Fix flakey datepicker input behaviour (#385)
  • Fix mobile nav z-index issue

Release 2.0.0-beta.9

30 Mar 23:24
Compare
Choose a tag to compare
Release 2.0.0-beta.9 Pre-release
Pre-release

New

  • Add @after_render tag for post-processing of preview HTML (#373 - thanks @fusion2004!)

Fixed

  • Fix ASCII-8BIT transliteration bug when using Passenger (#381)
  • Fix error thrown when using the @param tag for arguments with variables as default values (#383)

Release 2.0.0-beta.8

21 Mar 23:49
Compare
Choose a tag to compare
Release 2.0.0-beta.8 Pre-release
Pre-release

Fixed

  • Fixed escaping issue with single quotes in @param default values (#363 - thanks @fusion2004!)
  • Fixed HTML output tab scrollbar dragging (#361)
  • Fixed page height issue when page has tabs (#352 - thanks @leighhalliday!)
  • Ensure assets paths respect the relative_url_root Rails config option (#362)

Improved

  • ViewComponent previews now respect preview_controller and preview_layout set via Lookbook config (as well as via VC config)
  • Content pages styling improvements

Release 2.0.0-beta.7

17 Mar 18:17
Compare
Choose a tag to compare
Release 2.0.0-beta.7 Pre-release
Pre-release

Fixed

  • Add assets dir to list of gem files - fixes icon bug introduced in beta.6 (see #360)

Release 2.0.0-beta.6

17 Mar 16:20
Compare
Choose a tag to compare
Release 2.0.0-beta.6 Pre-release
Pre-release

Fixed

  • move assets out of Rails asset pipeline path (see #360)

Release 2.0.0-beta.5

16 Mar 00:48
Compare
Choose a tag to compare
Release 2.0.0-beta.5 Pre-release
Pre-release

Added

  • Add support for favicon customisation (docs)
  • Add support for header logo customisation (docs)

Fixed

  • Prevent unintentional full reload of UI when loading preview with an error
  • Fix ordering of scenarios and scenario groups in nav
  • Fix intermittent preview iframe reloading failures
  • Ensure preview_paths are autoloaded

Improved

  • Remove problematic sidebar caching
  • Filter system-defined extensions out of debug data
  • Use inline SVGs instead of huge icon sprite

Release 2.0.0-beta.4

01 Mar 08:26
Compare
Choose a tag to compare
Release 2.0.0-beta.4 Pre-release
Pre-release

Added

  • Added live_updates config option (details)

Fixed

  • Fixed ActionView::PathRegistry error when running Rails edge (#345, thanks @charlesobrien!)
  • Fixed initial embed initialization in content pages
  • Fixed noisy mutation observer error
  • Fixed param duplication for grouped scenarios

Improved

  • Typography improvements for UI controls and code (now using Inter and Source Code Pro)
  • Added Entities API documentation
  • Docs layout improvements
  • Better error handling in controllers, less mysterious failures
  • Nicer looking blank slate messaging
  • Improved contrast of debug menu icon
  • New favicon and mini header logo
  • Allow preview_paths array to be completely overridden (#343)

Release 2.0.0-beta.3

19 Feb 03:06
Compare
Choose a tag to compare
Release 2.0.0-beta.3 Pre-release
Pre-release

Fixed

  • Fixed all_view_paths error preventing the beta working with Rails 7.1 alpha (#334)
  • Fixed overriding of certain config properties in test env (#332)

Other

Release 2.0.0-beta.2

14 Feb 23:03
Compare
Choose a tag to compare
Release 2.0.0-beta.2 Pre-release
Pre-release

New

  • Add preview_embeds.enabled config option to allow preview embeds to be complete disabled (#319 - thanks @agrobbin!)

Fixed

  • url_for route resolving in previews (#328)
  • Dynamic display option value output when defined as [label, value] arrays (#329)
  • X-Frame-Options header for embedded previews
  • Component path listening
  • Expire fragment cache after changes (port of #308 to v2)

Release 1.5.3

14 Feb 19:58
Compare
Choose a tag to compare

Fixed

  • Expire fragment cache after changes (#308)
  • Fix dynamic display option value output when defined as [label, value] arrays (#329)