Skip to content

Latest commit

 

History

History
129 lines (78 loc) · 3.04 KB

CHANGELOG.md

File metadata and controls

129 lines (78 loc) · 3.04 KB

Changelog

Unreleased

0.5.11 - 2022-02-13

Added

  • Support for Laravel 9 #29
  • Better support for PHP 8.1 #30

0.5.10 - 2022-02-01

Added

  • Added the ability to define multiple themes for e.g. dark mode.
  • Cache time is now configurable.

0.5.9 - 2022-01-19

Fixed

  • Fix cosmetic trailing space issue

0.5.8 - 2022-01-19

Added

  • Attributes from the API will now be passed on to the code component. (The API now returns 'data-lang' as an attribute.)

0.5.7 - 2021-11-02

Added

  • Block is now Macroable

0.5.6 - 2021-11-01

Added

  • Added the ability to run post-processors per block rather than globally. (#20)

0.5.5 - 2021-09-06

Changed

  • Changed the signature of the file processor.

0.5.4 - 2021-09-06

Added

  • Added the ability to configure the directories where Torchlight looks for snippets.

0.5.3 - 2021-08-14

Changed

  • Post-processors don't run if Laravel is compiling views.

Added

  • You can set tab_width to false to output literal tabs into the rendered HTML.

Fixed

  • Livewire middleware won't be registered for V1 of Livewire, since it's not possible.

0.5.2 - 2021-08-02

Fixed

  • Replace tabs with spaces in code before it's sent to the API.

0.5.1 - 2021-08-01

Added

  • Added support for Laravel Livewire (#10)
  • Added post-processors to allow your app to hook into the rendered response before it's sent to the browser.

0.5.0 - 2021-07-31

Changed

  • Changed the signature for the Manager class. Remove the requirement for the container to be passed in.

0.4.6 - 2021-07-28

Added

  • Added the ability to send options from the config file to the API.

0.4.5 - 2021-07-18

Changed

  • The default response (used if a request fails) now includes the <div class='line'> wrappers.

0.4.4 - 2021-06-16

Fixed

  • Catch ConnectionExceptions in addition to exceptions from the Torchlight API.

0.4.3 - 2021-05-25

Added

  • getConfigUsing now accepts a plain array in addition to a callback.

0.4.2 - 2021-05-24

Fixed

  • Cover a bug in Laravel pre 8.23.0.

0.4.1 - 2021-05-23

Added

  • Ability to override the environment.

0.4.0 - 2021-05-23

Added

  • Torchlight::findTorchlightIds method to search a string and return all Torchlight placeholders.
  • BladeManager::getBlocks
  • BladeManager::clearBlocks

Changed

  • Added square brackets around the Torchlight ID in the Block placeholder.
  • The BladeManager no longer clears the blocks while rendering. Needed for Jigsaw.

0.3.0 - 2021-05-22

  • Add Torchlight facade
  • Add ability to set the cache implementation.
  • Add ability to abstract config from Laravel's config helper.
  • Changed package name from torchlight/laravel to torchlight/torchlight-laravel

0.2.1 - 2021-05-20

  • Add Block::generateIdsUsing