Skip to content

Latest commit

 

History

History
136 lines (98 loc) · 9.58 KB

CHANGELOG.md

File metadata and controls

136 lines (98 loc) · 9.58 KB

Release Notes

1.8.0 - November 15, 2024

✨ 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

1.7.0 - October 16, 2024

✨ 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.

💎 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 - October 2, 2024

✨ 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.

1.6.0 - September 24, 2024

✨ 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