Skip to content

Commit

Permalink
Updates to 6.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Woo committed Nov 14, 2024
1 parent e4ed22f commit 088b019
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 19 deletions.
8 changes: 4 additions & 4 deletions automatewoo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
* Plugin Name: AutomateWoo
* Plugin URI: https://automatewoo.com
* Description: Powerful marketing automation for your WooCommerce store.
* Version: 6.1.0
* Version: 6.1.1
* Author: WooCommerce
* Author URI: https://woocommerce.com
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0
* Text Domain: automatewoo
* Domain Path: /languages
* Tested up to: 6.6
* Tested up to: 6.7
* Requires Plugins: woocommerce
* WC requires at least: 7.9
* WC tested up to: 9.3.0
* WC tested up to: 9.4
* Woo: 4652610:f6f1f8a56a16a3715b30b21fb557e78f
*
* This program is free software: you can redistribute it and/or modify
Expand All @@ -37,7 +37,7 @@
defined( 'ABSPATH' ) || exit;

define( 'AUTOMATEWOO_SLUG', 'automatewoo' );
define( 'AUTOMATEWOO_VERSION', '6.1.0' ); // WRCS: DEFINED_VERSION.
define( 'AUTOMATEWOO_VERSION', '6.1.1' ); // WRCS: DEFINED_VERSION.
define( 'AUTOMATEWOO_FILE', __FILE__ );
define( 'AUTOMATEWOO_PATH', __DIR__ );
define( 'AUTOMATEWOO_MIN_PHP_VER', '7.4.0' );
Expand Down
8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
*** AutomateWoo Changelog ***

2024-11-14 - version 6.1.1
* Dev - Fix missing blueprint dependency.
* Dev - WordPress 6.7 Compatibility: Fix the issue that E2E test.
* Tweak - WC 9.4 compatibility.
* Tweak - WP 6.7 compatibility.
* Tweak - WordPress 6.7 Compatibility: Avoid errors in the database where a LONGTEXT type can't have a default value.
* Tweak - Write a log message when the required data of the queued event was not found.

2024-09-05 - version 6.1.0
* Break - Remove WooCommerce Navigation integration.
* Tweak - WC 9.3.0 compatibility.
Expand Down
6 changes: 3 additions & 3 deletions includes/DatabaseTables/Carts.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ function get_install_query() {
guest_id bigint(20) NOT NULL default 0,
last_modified datetime NULL,
created datetime NULL,
items longtext NOT NULL default '',
coupons longtext NOT NULL default '',
fees longtext NOT NULL default '',
items longtext NOT NULL,
coupons longtext NOT NULL,
fees longtext NOT NULL,
shipping_tax_total double DEFAULT 0 NOT NULL,
shipping_total double DEFAULT 0 NOT NULL,
total double DEFAULT 0 NOT NULL,
Expand Down
15 changes: 14 additions & 1 deletion includes/Queued_Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,20 @@ public function get_data_layer() {
foreach ( $compressed_data_layer as $data_type_id => $compressed_item ) {
$data_type = DataTypes::get( $data_type_id );
if ( $data_type ) {
$uncompressed_data_layer[ $data_type_id ] = $data_type->decompress( $compressed_item, $compressed_data_layer );
$decompressed_data = $data_type->decompress( $compressed_item, $compressed_data_layer );
if ( ! $decompressed_data && $this->id ) {
$message = sprintf(
'Some of the required data was not found. Queued event ID: %s. The missing "%s" data\'s ID: %d.',
$this->id,
$data_type_id,
Clean::id( $compressed_item )
);
if ( 'subscription' === $data_type_id ) {
$message .= ' For example, the order or subscription order could have been deleted. This issue may occur when a subscription order initially fails due to payment issues, but later succeeds. In such cases, the subscription order with the failed payment is deleted, but its workflow remains intact.';
}
Logger::info( 'queued-event', $message );
}
$uncompressed_data_layer[ $data_type_id ] = $decompressed_data;
}
}
}
Expand Down
8 changes: 3 additions & 5 deletions languages/automatewoo.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPLv3.
msgid ""
msgstr ""
"Project-Id-Version: AutomateWoo 6.1.0\n"
"Project-Id-Version: AutomateWoo 6.1.1\n"
"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/contact-support/\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-09-05T13:24:19+00:00\n"
"POT-Creation-Date: 2024-11-14T07:14:24+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Domain: automatewoo\n"
Expand Down Expand Up @@ -3823,7 +3823,6 @@ msgid_plural "Disabled <span class=\"count\">(%s)</span>"
msgstr[0] ""
msgstr[1] ""

#. translators: placeholder is previous workflow title
#: includes/Post_Types.php:90
#: includes/Post_Types.php:93
#: includes/Post_Types.php:96
Expand Down Expand Up @@ -3863,7 +3862,6 @@ msgctxt "used in \"Workflow scheduled for <date>\""
msgid "M j, Y @ G:i"
msgstr ""

#. translators: php date string, see http://php.net/date
#: includes/Post_Types.php:101
msgid "Workflow draft updated."
msgstr ""
Expand Down Expand Up @@ -4248,7 +4246,7 @@ msgstr ""
msgid "Cancelled"
msgstr ""

#: includes/Queued_Event.php:310
#: includes/Queued_Event.php:323
msgid "Queued Workflow: Run failed as requirements are no longer met for this workflow."
msgstr ""

Expand Down
12 changes: 6 additions & 6 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php return array(
'root' => array(
'name' => 'woocommerce/automatewoo',
'pretty_version' => 'dev-release/6.1.0',
'version' => 'dev-release/6.1.0',
'reference' => '6da258e42b000e8721d6b0e370d96e4da32d57dd',
'pretty_version' => 'dev-release/6.1.1',
'version' => 'dev-release/6.1.1',
'reference' => '87454899359ffd782f18c0789f824031b7c42ec3',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev' => false,
),
'versions' => array(
'woocommerce/automatewoo' => array(
'pretty_version' => 'dev-release/6.1.0',
'version' => 'dev-release/6.1.0',
'reference' => '6da258e42b000e8721d6b0e370d96e4da32d57dd',
'pretty_version' => 'dev-release/6.1.1',
'version' => 'dev-release/6.1.1',
'reference' => '87454899359ffd782f18c0789f824031b7c42ec3',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down

0 comments on commit 088b019

Please sign in to comment.