Skip to content

Commit

Permalink
Ready to release 3.0.1 on wp.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed May 8, 2024
1 parent 70d7696 commit 0a04f75
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to **MailArchiver** are documented in this *changelog*.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **MailArchiver** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.1] - 2024-05-08

### Fixed
- There's some typos in the admin UI.
- All translations are not available.

## [3.0.0] - 2024-05-08

### Added
Expand Down
1 change: 0 additions & 1 deletion includes/libraries/elastic/elasticsearch/ClientBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
use Elastic\Transport\NodePool\NodePoolInterface;
use Elastic\Transport\Transport;
use Elastic\Transport\TransportBuilder;
use GuzzleHttp\Client as GuzzleHttpClient;
use Http\Client\HttpAsyncClient;
use Psr\Http\Client\ClientInterface;
use Psr\Log\LoggerInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace Elastic\Elasticsearch\Transport\Adapter;

use Elastic\Elasticsearch\Transport\RequestOptions;
use GuzzleHttp\RequestOptions As GuzzleOptions;
use MAGuzzleHttp\RequestOptions As GuzzleOptions;
use Psr\Http\Client\ClientInterface;

class Guzzle implements AdapterInterface
Expand Down
2 changes: 1 addition & 1 deletion includes/libraries/elastic/transport/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ private function getOSVersion(): string
/**
* Returns the name and the version of the Client HTTP library used
* Here a list of supported libraries:
* gu => guzzlehttp/guzzle
* gu => MAGuzzleHttp/guzzle
* sy => symfony/http-client
*/
private function getClientLibraryInfo(): array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Http\Client\Common\Plugin;

use GuzzleHttp\Psr7\Utils;
use MAGuzzleHttp\Psr7\Utils;
use Http\Client\Common\Exception\CircularRedirectionException;
use Http\Client\Common\Exception\MultipleRedirectionException;
use Http\Client\Common\Plugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Http\Discovery\Strategy;

use MAGuzzleHttp\Client as GuzzleHttp;
use MAGuzzleHttp\Client as MAGuzzleHttp;
use MAGuzzleHttp\Promise\Promise;
use MAGuzzleHttp\Psr7\Request as GuzzleRequest;
use Http\Adapter\Artax\Client as Artax;
Expand Down Expand Up @@ -99,7 +99,7 @@ final class CommonClassesStrategy implements DiscoveryStrategy
'condition' => [SymfonyPsr18::class, Psr17RequestFactory::class],
],
[
'class' => GuzzleHttp::class,
'class' => MAGuzzleHttp::class,
'condition' => [self::class, 'isGuzzleImplementingPsr18'],
],
[
Expand Down
5 changes: 3 additions & 2 deletions includes/libraries/monolog/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ public static function getLevels(): array
/**
* Gets the name of the logging level.
*
* @throws \Psr\Log\InvalidArgumentException If level is not defined
* @throws \InvalidArgumentException If level is not defined
*
* @phpstan-param Level $level
* @phpstan-return LevelName
Expand All @@ -492,7 +492,8 @@ public static function getLevelName(int $level): string
* Converts PSR-3 levels to Monolog ones if necessary
*
* @param string|int $level Level number (monolog) or name (PSR-3)
* @throws \Psr\Log\InvalidArgumentException If level is not defined
*
* @throws \InvalidArgumentException If level is not defined
*
* @phpstan-param Level|LevelName|LogLevel::* $level
* @phpstan-return Level
Expand Down
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
define( 'MAILARCHIVER_PRODUCT_SHORTNAME', 'MailArchiver' );
define( 'MAILARCHIVER_PRODUCT_ABBREVIATION', 'mailarchiver' );
define( 'MAILARCHIVER_SLUG', 'mailarchiver' );
define( 'MAILARCHIVER_VERSION', '3.0.0' );
define( 'MAILARCHIVER_VERSION', '3.0.1' );
define( 'MAILARCHIVER_MONOLOG_VERSION', '2.9.3' );
define( 'MAILARCHIVER_CODENAME', '"-"' );
define( 'MAILARCHIVER_CRON_NAME', 'mailarchiver_clean_database' );
Expand Down
2 changes: 1 addition & 1 deletion mailarchiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: MailArchiver
* Plugin URI: https://perfops.one/mailarchiver
* Description: Automatically archive and store all emails sent from your site.
* Version: 3.0.0
* Version: 3.0.1
* Requires at least: 6.2
* Requires PHP: 8.1
* Author: Pierre Lannoy / PerfOps One
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: archive, email, email log, log, mail
Requires at least: 6.2
Requires PHP: 8.1
Tested up to: 6.5
Stable tag: 3.0.0
Stable tag: 3.0.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down

0 comments on commit 0a04f75

Please sign in to comment.