v1.6.0
✨ Added
- Added the Internationalization support for the ReactJS app and blocks.
- Added the Core Classes documentation.
- Added the Core Plugin Files documentation.
- Added the FAQs documentation.
- Added the npm script
make-pot
to generate the.pot
file for the ReactJS app and blocks. - Added the npm script
make-json
to generate the.json
file for the ReactJS app and blocks. - Added the npm script
package-update
. - Added the npm script
check-engines
. - Added the npm script
check-licenses
. - Added the npm script
format
to format the code. - Added the
wp_set_script_translations()
support for the ReactJS app and blocks. - Added a new
dev
branch for the development. - Added
withInlineScript()
fluent method in theView Class
- Added
withInlineStyle()
fluent method in theView Class
- Added CHANGELOG.md file.
- Added new WP Bones API Boilerplate example plugin.
- Added new WP Bones Internationalization Boilerplate example plugin.
- Added new WP Bones Mantine Boilerplate example plugin.
- Added new WP Bones ReactJS Boilerplate example plugin.
- Added new WP Bones Routes Boilerplate example plugin.
- Added a new Flags Package to manage the static feature flags in your plugin.
💎 Changed and Improved
- The
bones
command displays the WP-CLI version. - Minor fixes and improvements in the
bones
command. - Updated and improved the Documentation.
- Updated the WPBones demo plugin.
- Updated the WPBones Boilerplate plugin
- Update the Help Functions documentation.
🐛 Fixed
- Fixed an issue where admin scripts and styles were always being loaded in the
View Class
, even on the theme side. - Fixed Compatibility with macOS
.DS_Store
files (#47)
💥 Breaking Changes
- Deprecated
withAdminScripts()
andwithAdminStyles()
fluent methods in theView Class
- usewithAdminScript()
andwithAdminStyle()
instead. - Deprecated
withLocalizeScripts()
fluent methods in theView Class
- usewithLocalizeScript()
instead. - Deprecated
withAdminAppsScripts()
fluent methods in theView Class
- usewithAdminAppsScript()
instead. - Deprecated
getBasePath()
andgetBaseUri()
methods in thePlugin Class
- usebasePath
andbaseUri
properties instead. - In the WPBones demo plugin and WPBones Boilerplate plugin we have renamed the
localization
folder tolanguages
.
🤝 Suggestions
- To use the new npm scripts for the localization, you need to install WP-CLI.