diff --git a/projects/packages/sync/changelog/update-sync-hpos-checksum-fields-to-consider b/projects/packages/sync/changelog/update-sync-hpos-checksum-fields-to-consider new file mode 100644 index 0000000000000..4268b727bb631 --- /dev/null +++ b/projects/packages/sync/changelog/update-sync-hpos-checksum-fields-to-consider @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +Sync: Change fields for HPOS checksums diff --git a/projects/packages/sync/composer.json b/projects/packages/sync/composer.json index 8799ba2a01ed2..3b23c37b2007b 100644 --- a/projects/packages/sync/composer.json +++ b/projects/packages/sync/composer.json @@ -59,7 +59,7 @@ "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "3.4.x-dev" + "dev-trunk": "3.5.x-dev" }, "dependencies": { "test-only": [ diff --git a/projects/packages/sync/src/class-package-version.php b/projects/packages/sync/src/class-package-version.php index 909d809a44d0a..ceaa8233b467c 100644 --- a/projects/packages/sync/src/class-package-version.php +++ b/projects/packages/sync/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '3.4.1'; + const PACKAGE_VERSION = '3.5.0-alpha'; const PACKAGE_SLUG = 'sync'; diff --git a/projects/packages/sync/src/replicastore/class-table-checksum.php b/projects/packages/sync/src/replicastore/class-table-checksum.php index 02aec42a2904e..2413a5e9f8014 100644 --- a/projects/packages/sync/src/replicastore/class-table-checksum.php +++ b/projects/packages/sync/src/replicastore/class-table-checksum.php @@ -312,7 +312,8 @@ protected function get_default_tables() { 'table' => "{$wpdb->prefix}wc_orders", 'range_field' => 'id', 'key_fields' => array( 'id' ), - 'checksum_text_fields' => array( 'type', 'status', 'payment_method_title' ), + 'checksum_fields' => array( 'date_updated_gmt', 'total_amount' ), + 'checksum_text_fields' => array( 'type', 'status' ), 'filter_values' => array( 'type' => array( 'operator' => 'IN', @@ -336,7 +337,8 @@ protected function get_default_tables() { 'table' => "{$wpdb->prefix}wc_order_operational_data", 'range_field' => 'order_id', 'key_fields' => array( 'order_id' ), - 'checksum_text_fields' => array( 'order_key', 'cart_hash' ), + 'checksum_fields' => array( 'date_paid_gmt', 'date_completed_gmt' ), + 'checksum_text_fields' => array( 'order_key' ), 'parent_table' => 'wc_orders', 'parent_join_field' => 'id', 'table_join_field' => 'order_id', diff --git a/projects/plugins/jetpack/changelog/update-sync-hpos-checksum-fields-to-consider b/projects/plugins/jetpack/changelog/update-sync-hpos-checksum-fields-to-consider new file mode 100644 index 0000000000000..a1c1831fa1ef7 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-sync-hpos-checksum-fields-to-consider @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Updated composer.lock. + +