Skip to content

Commit da849db

Browse files
committed
Merge branch 'release/4.1.2'
2 parents 8ae29cb + bd840e0 commit da849db

File tree

31 files changed

+508
-366
lines changed

31 files changed

+508
-366
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# v4.1.2
2+
## 01/06/2025
3+
4+
1. [](#improved)
5+
* Updated to latest symfony libraries (`v5.4.45`)
6+
* Added a note about Google App Passwords for authentication in the README.md
7+
18
# v4.1.1
29
## 10/28/2024
310

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ More plugins will be released soon to support `Gmail`, `Mailgun`, `Mailjet`, `Oh
7272

7373
A popular option for sending email is to simply use your Google Accounts SMTP server. To set this up you will need to do 2 things first:
7474

75-
As Gmail no longer supports the "allow less secure apps" option, you now need to have 2FA enabled on the account and setup an "App Password" to create a specific password rather than your general account password. Follow these instructions: [https://support.google.com/accounts/answer/185833](https://support.google.com/accounts/answer/185833)
75+
As Gmail no longer supports the "allow less secure apps" option, you now need to have 2FA enabled on the account and setup an "App Password" to create a specific password rather than your general account password. Follow these instructions: [https://support.google.com/accounts/answer/185833](https://support.google.com/accounts/answer/185833).
76+
77+
!! Important: When Google creates an app password for you it will look something like `pxzl vkxd xdap fomb`, you should make sure to remove the spaces when you store your password so it looks like `pxzlvkxdxdapfomb`. Also make sure you are sending from the same email address as the one you are using to authenticate with.
7678

7779
Then configure the Email plugin:
7880

blueprints.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Email
22
slug: email
33
type: plugin
4-
version: 4.1.1
4+
version: 4.1.2
55
testing: false
66
description: Enables the emailing system for Grav
77
icon: envelope

composer.lock

Lines changed: 113 additions & 116 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/composer/InstalledVersions.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ private static function getInstalled()
322322
}
323323

324324
$installed = array();
325+
$copiedLocalDir = false;
325326

326327
if (self::$canGetVendors) {
327328
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
@@ -330,9 +331,11 @@ private static function getInstalled()
330331
} elseif (is_file($vendorDir.'/composer/installed.php')) {
331332
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
332333
$required = require $vendorDir.'/composer/installed.php';
333-
$installed[] = self::$installedByVendor[$vendorDir] = $required;
334-
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
335-
self::$installed = $installed[count($installed) - 1];
334+
self::$installedByVendor[$vendorDir] = $required;
335+
$installed[] = $required;
336+
if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
337+
self::$installed = $required;
338+
$copiedLocalDir = true;
336339
}
337340
}
338341
}
@@ -350,7 +353,7 @@ private static function getInstalled()
350353
}
351354
}
352355

353-
if (self::$installed !== array()) {
356+
if (self::$installed !== array() && !$copiedLocalDir) {
354357
$installed[] = self::$installed;
355358
}
356359

vendor/composer/autoload_psr4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
'Grav\\Plugin\\Email\\' => array($baseDir . '/classes'),
2525
'Grav\\Plugin\\Console\\' => array($baseDir . '/cli'),
2626
'Egulias\\EmailValidator\\' => array($vendorDir . '/egulias/email-validator/src'),
27-
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/lib/Doctrine/Deprecations'),
27+
'Doctrine\\Deprecations\\' => array($vendorDir . '/doctrine/deprecations/src'),
2828
'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/src'),
2929
);

vendor/composer/autoload_static.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ComposerStaticInit73924571ea6ee98bb12d10ff20aff2ab
126126
),
127127
'Doctrine\\Deprecations\\' =>
128128
array (
129-
0 => __DIR__ . '/..' . '/doctrine/deprecations/lib/Doctrine/Deprecations',
129+
0 => __DIR__ . '/..' . '/doctrine/deprecations/src',
130130
),
131131
'Doctrine\\Common\\Lexer\\' =>
132132
array (

0 commit comments

Comments
 (0)