Releases: tschortsch/bootstrap-blocks-wordpress-plugin
Releases · tschortsch/bootstrap-blocks-wordpress-plugin
2.4.3
Changelog
- [FIX] Import dependencies from
@wordpressnpm-packages instead of relying on the globalwpnamespace during development. - [FIX] Fix visibility of row, column and container blocks in WP 5.5.
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_attributesfilter (see: https://github.com/liip/bootstrap-blocks-wordpress-plugin#wp_bootstrap_blocks_column_default_attributes).sizeXYattributes have been defined asstringvalues instead ofintvalues in example. If you're using this filter please check if you pass the values correctly. Passingstringvalues tointattributes 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
editorStackColumnsvalue totruein thewp_bootstrap_blocks_row_default_attributesPHP filter.
2.3.1
Changelog
- [FIX] Regression in built assets which was introduced by the
@wordpress/scriptspackage. Using multiple plugins which were built with the@wordpress/scriptsbuild-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/scriptsto@wordpress/envfor local dev environment. - [DEVELOPMENT] Use official webpack config from
@wordpress/scriptsto 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>incolumntemplate. 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.useOldObjectTemplateStructurefilter. - Breaking Change [REMOVE] Removed
wpBootstrapBlocks.container.useFluidContainerPerDefaultfilter. Please usewp_bootstrap_blocks_container_default_attributesfilter instead. - Breaking Change [CHANGE] Removed unused wrapper-div from
rowtemplate. Thealignfullclass now gets added directly to the row. - Breaking Change [CHANGE] Renamed
wpBootstrapBlocks.container.customMarginOptionsfilter towpBootstrapBlocks.container.marginAfterOptions. - [FEATURE] Support for responsive containers which were introduced in Bootstrap 4.4. Use them by setting the
Fluid Breakpointoption in the container block. - [FIX] Reset
centerContentattribute 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.phprow.phpcolumn.phpbutton.php