Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Latest commit

 

History

History
140 lines (117 loc) · 9.64 KB

CHANGELOG.md

File metadata and controls

140 lines (117 loc) · 9.64 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Note: Based on our compatibility policy, this plugin now requires WooCommerce 3.7 or higher. As such, PHP 5.6 or newer is also required.

Added

  • Enable the migration WP-CLI commands to accept --batch-size=0, which disables batching (#152, props @AlchemyUnited, @mfs-mindsize).

Fixed

  • Change the plugin's display name from "WooCommerce - Custom Orders Table" to "WooCommerce Custom Orders Table" (#138, props @jb510).
  • Add a method_exists() check to the wildcard set_{$column} method (#139, props @blohbaugh).
  • Rewrite the way that WooCommerce core is installed in test environments (#154).
  • Use offsets to avoid infinite loops during migration (#157, props @mfs-mindsize).
  • Only register the hooks for WC_Customer_Data_Store_Custom_Table once (#164).
  • Ensure the orders query is adjusted as late as possible (#126).
  • Update the plugin license to GPLv3+ to match WooCommerce core (#123).
  • Define the compatibility policy for the plugin with regards to WordPress, WooCommerce, and PHP versions (#120, #127).
  • Introduce PHPStan for static code analysis (#116, #117, props @szepeviktor).
  • Refresh and update Composer configuration and dependencies (#121, #124).
  • Reduced overhead of PHP autoloader (#86, props @schlessera).
  • Converted the customer_user_agent column from varchar(200) to text (#91).
  • Fixed an issue where empty() was being called on a non-variable, which causes a fatal error in PHP < 5.5 (#94).
  • Prevented empty strings from being saved to the order_key column, which causes issues with the column's uniqueness constraint (#101, props @crstauf).
  • Fixed an issue where existing invalid emails in the system were causing migration errors as they were re-saved (#104).
  • Updated Travis CI testing matrix to include WordPress 5.0 (#103).
  • Repaired the generation of code coverage reports for Coveralls (#87, #88).
  • Major refactoring of the WP-CLI migration commands (#61, #79, #81).
  • Database table optimizations (#65, props @raunak-gupta).
  • Prevent duplicate IDs when saving orders and refunds (#64).
  • Ensure that order refunds are also stored in the custom orders table (#52).
  • Ensure the custom orders table is registered within WooCommerce (#50).
  • Resolve issue in CLI importer where a false value from wc_get_order() could cause a fatal error (#43 & #46, props @zacscott).
  • Fix bug where orders with the same post date could be handled in the wrong order during migration (#84).
  • Prevent customer notes from being deleted during migration (#82).
  • Bump the "WC tested up to" version to 3.5.0 (#80).
  • Major refactoring within the plugin test suite (#51, #53, #60, #72, #78).
  • Prevent Travis CI from using PHPUnit 7.0 until the WordPress core test suite can support it, too.

This release also restores the repo development history prior to Version 1.0.0 (Beta 1), ensuring that the team @Mindsize is credited appropriately for their work.

  • Plugin test suite now extends the WooCommerce core test suite, ensuring WooCommerce behaves as expected when the plugin is active (#26).
  • The custom data store now extends the WC_Order_Data_Store_CPT class, eliminating a lot of code duplication in the process (#28).
    • Includes areas that were previously missing, including reporting.
    • Plugin should now have 100% compatibility with default WooCommerce functionality.
  • Removed the dependency on a Composer-generated autoloader (#36).
  • Revert database columns to use VARCHAR types for compatibility with WordPress post meta tables.
  • Add table indexes on the order_key, customer_id, and order_total columns in the orders table (#15).
  • Refactor the WP-CLI command, including some changes to accepted arguments (#35)
  • Normalize the plugin name around "WooCommerce Custom Orders Table" (#38)
  • Added changelog and contributing documents (#12).
  • Massive improvements to test coverage and general WooCommerce compatibility.
  • Clean up codebase to adhere to the WordPress coding standards, and introduce an .editorconfig to make this kind of change less likely in the future (#8)
  • Introduced automated unit tests via the WordPress core test suite (#9)
  • Fixed bug where custom database table was not being created upon plugin activation (#5, #9)
  • General documentation updates (#2)
  • Initial public release of the plugin in a beta state.