Releases: VanOns/laraberg
Releases · VanOns/laraberg
v2.0.4
v2.0.3
What's Changed
- Debug - fix #174 by @arman-arif in #177
New Contributors
- @arman-arif made their first contribution in #177
Full Changelog: v2.0.2...v2.0.3
v2.0.2
v2.0.1
What's Changed
- Bug Fix for Embed by @shaunluedeke in #163
New Contributors
- @shaunluedeke made their first contribution in #163
Full Changelog: v2.0.0...v2.0.1
v2.0.0
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 useRendersContent
.- 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 thelb_contents
table to a column on your model's table.
- Rendered content is no longer stored in a table, so to migrate to v2 you have to move all content from the
Laraberg.registerBlock
was renamed toLaraberg.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.
- This can be solved by implementing your own
v1.1.1
In this release;
- Update Gutenberg to v.8.1.0
- Add ability to change the default placeholder
- Bugfixes
V1.1.0
In this release:
- Update to Gutenberg v7.7.1
- Support for Laravel Filemanager 2.x
- Minor bugfixes
v1.0.3
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
v1.0.1
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 !