Compare commits

...

3 Commits

Author SHA1 Message Date
c26f6eff84 Release 3.92.1 2022-07-20 10:40:44 +03:00
ea19d4afb0 Shorten the max tag name from 255 to 191 chars
MySQL has maximum key lengths for indexes, and the number can vary based
 on storage engine and MySQL version. Using utf8mb4, the index would be
 255 * 4 = 1020 bytes long, exceeding the MyISAM maximum of 1000 bytes
 and the MySQL 5.6 maximum of 767 bytes.

 See Column Prefix Key Parts in the MySQL reference:
 https://dev.mysql.com/doc/refman/8.0/en/create-index.html

 By reducing this length to 191, we ensure that the maximum likely index
 length will be less than the 767 lower bound (191 * 4 = 764).

 MAILPOET-4489
2022-07-20 10:15:33 +03:00
81207b0a2b Release 3.92.0 2022-07-19 11:43:03 +03:00
3 changed files with 14 additions and 4 deletions

View File

@ -642,7 +642,7 @@ class Migrator {
public function tags(): string {
$attributes = [
'id int(11) unsigned NOT NULL AUTO_INCREMENT,',
'name varchar(255) NOT NULL,',
'name varchar(191) NOT NULL,',
'description text NOT NULL DEFAULT "",',
'created_at timestamp NULL,', // must be NULL, see comment at the top
'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',

View File

@ -2,7 +2,7 @@
/*
* Plugin Name: MailPoet 3 (New)
* Version: 3.91.1
* Version: 3.92.1
* Plugin URI: http://www.mailpoet.com
* Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
* Author: MailPoet
@ -17,7 +17,7 @@
*/
$mailpoetPlugin = [
'version' => '3.91.1',
'version' => '3.92.1',
'filename' => __FILE__,
'path' => dirname(__FILE__),
'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',

View File

@ -3,7 +3,7 @@ Contributors: mailpoet
Tags: email, email marketing, post notification, woocommerce emails, email automation, newsletter, newsletter builder, newsletter subscribers
Requires at least: 5.6
Tested up to: 6.0
Stable tag: 3.91.1
Stable tag: 3.92.1
Requires PHP: 7.2
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -219,6 +219,16 @@ Check our [Knowledge Base](https://kb.mailpoet.com) or contact us through our [s
== Changelog ==
= 3.92.1 - 2022-07-20 =
* Fixed: A database table could not be created in some installations.
= 3.92.0 - 2022-07-19 =
* Added: show tags on Subscribers listing page;
* Added: tagging subscribers on the edit page;
* Added: the ability to authorise the email address in the plugin;
* Improved: when sending with MailPoet Sending Service, show a warning when unauthorized email is used immediately before sending an email;
* Improved: don't load 3rd-party libraries on new installations unless an active consent is given.
= 3.91.1 - 2022-07-11 =
* Updated: npm and composer dependencies;
* Improved: small UI changes to unify spacing and colors;