Releases: liip/bootstrap-blocks-wordpress-plugin
Releases · liip/bootstrap-blocks-wordpress-plugin
2.4.2
Changelog
- [FIX] Fix loading of translations.
- [TRANSLATION] Add Swiss-German translation.
2.4.1
Changelog
- [FIX] Fix documentation of
wp_bootstrap_blocks_column_default_attributes
filter (see: https://github.com/liip/bootstrap-blocks-wordpress-plugin#wp_bootstrap_blocks_column_default_attributes).sizeXY
attributes have been defined asstring
values instead ofint
values in example. If you're using this filter please check if you pass the values correctly. Passingstring
values toint
attributes will stop working in WordPress 5.5.
2.4.0
Changelog
- [FEATURE] Possibility to enable stacked layout for column blocks in editor to enhance readability of block content. This feature can be enabled by default by setting the
editorStackColumns
value totrue
in thewp_bootstrap_blocks_row_default_attributes
PHP filter.
2.3.1
Changelog
- [FIX] Regression in built assets which was introduced by the
@wordpress/scripts
package. Using multiple plugins which were built with the@wordpress/scripts
build
-script resulted in a JavaScript error.
2.3.0
Changelog
- [FEATURE] Visually show all column background colors in editor (not only preconfigured).
- [DEVELOPMENT] Switch from
@wordpress/scripts
to@wordpress/env
for local dev environment. - [DEVELOPMENT] Use official webpack config from
@wordpress/scripts
to compile scss files.
2.2.0
Changelog
- [IMPROVEMENT] Improve visibility of row, column and container blocks in editor.
- [IMPROVEMENT] Do not automatically insert default block in wrapper blocks (column and container) [WordPress >=5.3].
- [FIX] Replace usage of deprecated packages.
2.1.0
Changelog
- Breaking Change [CHANGE] Do not render empty content
<div>
incolumn
template. This is a rather small change but it could break your current design (if it relies on this<div>
). Please verify that this isn't the case before updating. - [FIX] Fix styling issues of column block with WordPress 5.4.
Modified templates
The following templates were modified in this release. Please think about updating your own templates if you have overwritten one of those:
column.php
2.0.1
Changelog
- [IMPROVEMENT] Do not run version check on every request.
- [FIX] Fix styling issues with Gutenberg plugin v7.2.
- [FIX] Fix loading of translation files.
- [FIX] Fix compatibility issues with WordPress <= v5.1.
2.0.0
This is a major update of the plugin. Please check if the mentioned breaking changes affect your code before updating to this version.
Changelog
- Breaking Change [REMOVE] Old object template structure for row templates is not supported anymore! Please update your templates to the new array structure (see filter documentation).
- Breaking Change [REMOVE] Removed unused
wpBootstrapBlocks.row.useOldObjectTemplateStructure
filter. - Breaking Change [REMOVE] Removed
wpBootstrapBlocks.container.useFluidContainerPerDefault
filter. Please usewp_bootstrap_blocks_container_default_attributes
filter instead. - Breaking Change [CHANGE] Removed unused wrapper-div from
row
template. Thealignfull
class now gets added directly to the row. - Breaking Change [CHANGE] Renamed
wpBootstrapBlocks.container.customMarginOptions
filter towpBootstrapBlocks.container.marginAfterOptions
. - [FEATURE] Support for responsive containers which were introduced in Bootstrap 4.4. Use them by setting the
Fluid Breakpoint
option in the container block. - [FIX] Reset
centerContent
attribute of column block if background-color gets removed. - [FIX] Check if className attribute isn't empty before adding it to template to avoid empty strings in classes array.
- [FIX] Fix
filemtime()
warning if asset version couldn't be found.
Modified templates
The following templates were modified in this release. Please think about updating your own templates if you have overwritten one of those:
container.php
row.php
column.php
button.php
1.4.0
Changelog
- [CHANGE] Decrease loading priority of block editor assets to ensure that custom block filters are executed.
- [CHANGE] Add custom classes of row block to row-div instead of wrapper-div.
- [FEATURE] Added possibility to define equal-width columns.
- [IMPROVEMENT] Improve template selection button styling when using a custom icon.
- [IMPROVEMENT] Optimized editor styling of grid.
- [IMPROVEMENT] Do not limit the width of child blocks inside the container block.
Modified templates
The following templates were modified in this release. Please think about updating your own templates if you have overwritten one of those:
column.php
row.php