Skip to content

Releases: VanOns/laraberg

v2.0.4

24 Jan 09:28
bdc23df
Compare
Choose a tag to compare

What's Changed

  • [Fix] Prevent fetching if endpoint was not found by @dnwjn in #175

Full Changelog: v2.0.3...v2.0.4

v2.0.3

03 Jan 10:51
26d1dd2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

25 Oct 06:55
3efbadd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

28 Jul 06:55
5b95e11
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

24 May 12:30
Compare
Choose a tag to compare

Updating from v1 to v2

There are some big changes in Laraberg v2.

  • Content is now stored in a column of the model's table
  • WordPress packages are available in Javascript, this means we can use a lot of the functionality, like hooks, that's already available in Gutenberg.
  • @van-ons/block-editor is used to render the editor, this makes it a lot easier to keep up with the latest Gutenberg versions.
  • Server side rendered blocks are now supported

Unfortunately this means that updating to v2 is not a straight-forward as we would like it to be.

  • Gutenbergable is no longer used, instead use RendersContent.
    • Rendered content is no longer stored in a table, so to migrate to v2 you have to move all content from the raw_content column in the lb_contents table to a column on your model's table.
  • Laraberg.registerBlock was renamed to Laraberg.registerBlockType
  • Laraberg.registerCategory was removed, you can use the wordpress exports to register categories.
  • The configurable sidebar was removed.
  • Laravel File Manager is no longer supported.
    • This can be solved by implementing your own mediaUpload function and passing it as an editor setting.

v1.1.1

27 May 13:59
Compare
Choose a tag to compare

In this release;

  • Update Gutenberg to v.8.1.0
  • Add ability to change the default placeholder
  • Bugfixes

V1.1.0

25 Mar 17:05
Compare
Choose a tag to compare

In this release:

  • Update to Gutenberg v7.7.1
  • Support for Laravel Filemanager 2.x
  • Minor bugfixes

v1.0.3

14 Oct 15:17
Compare
Choose a tag to compare

In this release:

  • Update Gutenberg to v6.6.0
  • Fix bug where reusable blocks were not showing anymore
  • Implement a temporary fix for the image block crashing when editing a page that got saved without an image selected

v1.0.2

30 Sep 13:23
Compare
Choose a tag to compare

In this release:

  • Update Gutenberg to v6.5.0
  • More future-proof fix for certain Gutenberg button's missing the button type 'button' (Fixes #53)

v1.0.1

19 Aug 07:47
Compare
Choose a tag to compare

In this release:

  • IMPORTANT: laraberg_content now gets saved when it's parent model gets saved, this means we have to set the the lb_content attribute BEFORE saving the parent model.
  • Fix issue where the laraberg_content wasn't deleted when the parent model was
  • Refactored method names to follow the Laravel convention names.

Big thanks to @IsraelOrtuno !