Skip to content

Releases: wpbones/WPBones

v1.9.0

22 Dec 12:42
Compare
Choose a tag to compare

✨ Added

  • Added new registerPlaceholderTitle overwritten method in WordPressCustomPostTypeServiceProvider to set the placeholder title for the custom post type.
  • Added new registerAfterTitleView overwritten method in WordPressCustomPostTypeServiceProvider to set the after title view for the custom post type.
  • Added new registerColumns overwritten method in WordPressCustomPostTypeServiceProvider to set the columns for the custom post type.
  • Added new registerPostMeta overwritten method in WordPressCustomPostTypeServiceProvider to register the post meta for the custom post type.
  • Added new registerMetaBoxes overwritten method in WordPressCustomPostTypeServiceProvider to register the post meta for the custom post type.
  • Added new registerLabels overwritten method in WordPressCustomPostTypeServiceProvider to set the labels for the custom post type.
  • Added new columnContent overwritten method in WordPressCustomPostTypeServiceProvider to handle the column content for the custom post type.
  • Added new wpbones_console_deploy_dont_skip_files_folders filters to exclude specific files from deployment
  • Added new wpbones_console_deploy_default_skip_files_folders filters the default list of the files and folder to skip during deployment
  • Added new wpbones_console_deploy_build_assets filters to skip asset building during deployment

πŸ› Fixed

πŸ’Ž Changed and Improved

  • Updated the Custom Post Type documentation to reflect the new changes
  • Added the Custom Post Type core class documentation
  • Improved documentation header generation to provide concise page content summaries
  • Enhance package manager handling within the php bones command for improved reliability and performance
  • Enhance php bones install command with comprehensive package installation support (#54)
  • Minor fixes and improvements to the php bones command.

πŸ’₯ Breaking Changes

  • The registerMetaBoxCallback property in the WordPressCustomPostTypeServiceProvider is deprecated, use registerMetaBoxes overwritten method instead.

v1.8.1

30 Nov 19:20
Compare
Choose a tag to compare
  • 🚨 minor fixes to remove warning and php 7.4+ notices

v1.8.0

15 Nov 12:44
Compare
Choose a tag to compare

✨ Added

πŸ› Fixed

πŸ’Ž Changed and Improved

  • Reorganized the command list in php bones for better readability.
  • Updated the Service Providers documentation to reflect the new changes
  • Completely rewrote all boilerplates using the new wpkirk-helpers package, enhancing project structure and maintainability
  • Improved documentation for Boilerplate, addressing minor bug fixes and enhancing overall clarity

v1.7.0

22 Oct 14:48
Compare
Choose a tag to compare

✨ Added

  • Added new entry logging in config/plugin.php file to configure Logging behavior.
  • Added new DB::tableWithoutPrefix() method to query the database table without the table prefix.
  • Added new $usePrefix params in the DB::table() method to query the database table with or without the table prefix.
  • Added new $usePrefixproperty in the Model class to query the database table with or without the table prefix.
  • Added new $usePrefixproperty in the Migration class to query the database table with or without the table prefix.
  • Added new $usePrefixproperty in the Seeder class to query the database table with or without the table prefix.
  • Added new WPKirk-Database-Boilerplate example plugin.
  • Added new Templates section in the documentation.

πŸ’Ž Changed and Improved

πŸ› Fixed

  • Resolved an issue with the Log provider that prevented logs from being written to the file and displayed in the console.
  • Fixed the Model and Eloquent model path created by bones command.

πŸ’₯ Breaking Changes

  • The "log" entry in the config/plugin.php file is deprecated. Use the new setting logging instead.
  • The "log_level" entry in the config/plugin.php file is deprecated as it is no longer used.

1.6.5

02 Oct 05:08
Compare
Choose a tag to compare

✨ Added

  • Added a new WP Bones helper function wpbones_flatten_and_uniquify() to flatten and uniquify the array.
  • Added a new php bones plugin command to display the plugin header and perform plugin related operations.
  • Added a new php bones plugin --check-header command to check the plugin header.

πŸ’Ž Changed and Improved

  • Revamped the php bones command intro message.
  • Removed verbose file listing during the php bones update command.
  • Improved documentation for enhanced clarity and usability

πŸ› Fixed

  • Fixed the select() fluent method in the HTML::select() component to work with the multiple attribute. Now you can pass a comma separated string to the selected attribute as well as an array.
  • Fixed the Eloquent documentation.
  • Fixed an issue with the php bones update command where it was incorrectly searching for the hardcoded localization folder instead of using the Domain Path value from the plugin header.
  • Fixed an issue in the View Class class that prevent that correct enqueueing of the inline scripts and inline styles.

πŸ’₯ Breaking Changes

  • Deprecated withScripts() and withStyles() fluent methods in the View Class - use withScript() and withStyle() instead.

v1.6.0

26 Sep 11:18
Compare
Choose a tag to compare

✨ Added

πŸ’Ž Changed and Improved

πŸ› 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() and withAdminStyles() fluent methods in the View Class - use withAdminScript() and withAdminStyle() instead.
  • Deprecated withLocalizeScripts() fluent methods in the View Class - use withLocalizeScript() instead.
  • Deprecated withAdminAppsScripts() fluent methods in the View Class - use withAdminAppsScript() instead.
  • Deprecated getBasePath()and getBaseUri() methods in the Plugin Class - use basePath and baseUri properties instead.
  • In the WPBones demo plugin and WPBones Boilerplate plugin we have renamed the localization folder to languages.

🀝 Suggestions

  • To use the new npm scripts for the localization, you need to install WP-CLI.

πŸ§‘β€πŸ’»πŸ‘©β€πŸ’» New Contributors

v1.5.0

26 Jul 10:36
Compare
Choose a tag to compare

✨ New

  • Added --wp option to the php bones deploy command to create a WordPress plugin folder structure in accordance with the WordPress Plugin Handbook.
  • Updated the documentation about the php bones deploy command.
  • updated the documentation and the Demo plugin about the ability to handle the null values in the options.
  • Added useful information on Before submitting your plugin to the WordPress repository in the documentation.
  • Updated the Demo plugin to the latest version of WP Bones.
  • Updated the WP Kirk Boilerplate to the latest version of WP Bones.

1.4.15

18 Jul 12:50
Compare
Choose a tag to compare
  • 🌟 support symlink inside wp-content/plugins

1.4.14

18 Jul 05:57
Compare
Choose a tag to compare
  • 🚨 fix warning on β€œCreation of dynamic property” #41
  • πŸ› Add missing do_action call
  • πŸ—‘οΈ Cleanup

1.4.13

16 Jul 08:51
Compare
Choose a tag to compare
  • 🌟 Remove undefined checks from upgrader_post_install: the $hook_extra['type'] and $hook_extra['action'] variables doesn't exist in most cases, causing the hook to never run. By checking for the plugin name instead, we ensure the hook executes correctly.

  • 🌟 Allow null as option default value. Currently, if you set a default value of null for an option in your config/option.php file, every time you activate the plugin, the value of that option is reset to null, regardless of the current value.