Skip to content

Commit

Permalink
Prepare release v7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Jan 30, 2024
1 parent 9f66e1b commit 28e8d60
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
RECENT CHANGES
==============

7.3.0-dev
---------
7.3.0
-----

- Imp: #1367: Filter non action classes in route:list output (by Christian Münch)
- Add: #1301: Config Search Command (by Christian Münch)
Expand All @@ -11,7 +11,7 @@ RECENT CHANGES
- Imp: Allow to place and n98-magerun2.phar directly in a Magento installation without --root-dir option (Reported by Kostadin A.)
- Fix: #1396: Escape shell command before processing by Symfony StringInput (Reported by
Denis Mir)

- Fix: #1389: TypeError (Reported by thecodecook14)

7.2.0
-----
Expand Down
6 changes: 6 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,12 @@ commands:
backend-frontname: admin
admin-email: [email protected]
encryption_key:
use_elasticsearch: 1
use_opensearch: 0
elasticsearch-host: localhost
elasticsearch-port: 9200
opensearch-host: localhost
opensearch-port: 9200

N98\Magento\Command\Developer\ConsoleCommand:
commands:
Expand Down
28 changes: 15 additions & 13 deletions src/N98/Magento/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use BadMethodCallException;
use Composer\Autoload\ClassLoader;
use Exception;
use Magento\Framework\Exception\FileSystemException;
use Magento\Framework\ObjectManagerInterface;
use N98\Magento\Application\ApplicationAwareInterface;
use N98\Magento\Application\Config;
Expand All @@ -29,6 +30,7 @@
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Throwable;
use UnexpectedValueException;

/**
Expand All @@ -45,7 +47,7 @@ class Application extends BaseApplication
/**
* @var string
*/
const APP_VERSION = '7.3.0-dev';
const APP_VERSION = '7.3.0';

/**
* @var int
Expand Down Expand Up @@ -99,7 +101,7 @@ class Application extends BaseApplication
protected $_objectManager;

/**
* @see \N98\Magento\Application::setConfigurationLoader()
* @see Application::setConfigurationLoader
* @var ConfigurationLoader
*/
private $configurationLoaderInjected;
Expand Down Expand Up @@ -240,9 +242,9 @@ public function setIsInitialized(bool $isInitialized): void
* @param OutputInterface $output An Output instance
*
* @return int 0 if everything went fine, or an error code
* @throws \Magento\Framework\Exception\FileSystemException
* @throws \Exception
* @throws \Throwable
* @throws FileSystemException
* @throws Exception
* @throws Throwable
*/
public function doRun(InputInterface $input, OutputInterface $output)
{
Expand All @@ -260,7 +262,7 @@ public function doRun(InputInterface $input, OutputInterface $output)
* @param bool $soft
*
* @return bool false if magento root folder is not set, true otherwise
* @throws \Exception
* @throws Exception
*/
public function initMagento($soft = false)
{
Expand Down Expand Up @@ -328,7 +330,7 @@ public function setAutoloader(ClassLoader $autoloader)
* @param OutputInterface $output [optional]
*
* @return int
* @throws \Exception
* @throws Exception
*/
public function run(InputInterface $input = null, OutputInterface $output = null)
{
Expand Down Expand Up @@ -384,7 +386,7 @@ protected function _addOutputStyles(OutputInterface $output)
* @param OutputInterface $output [optional]
*
* @return void
* @throws \Exception
* @throws Exception
*/
public function init(
array $initConfig = [],
Expand Down Expand Up @@ -474,7 +476,7 @@ public function isPharMode(): bool
* @param InputInterface $input [optional]
* @param OutputInterface $output [optional]
* @return void
* @throws \Exception
* @throws Exception
*/
public function detectMagento(InputInterface $input = null, OutputInterface $output = null)
{
Expand Down Expand Up @@ -503,7 +505,7 @@ public function detectMagento(InputInterface $input = null, OutputInterface $out
}

/**
* @param \Symfony\Component\Console\Input\InputInterface $input
* @param InputInterface $input
* @return bool
*/
protected function _checkSkipMagento2CoreCommandsOption(InputInterface $input): bool
Expand Down Expand Up @@ -531,7 +533,7 @@ public function registerMagentoCoreCommands(OutputInterface $output): void
new MagentoCoreProxyCommandFactory()
);
$coreCommands = $provider->getCommands();
} catch (\Exception $e) {
} catch (Exception $e) {
if (OutputInterface::VERBOSITY_DEBUG <= $output->getVerbosity()) {
$output->writeln(
sprintf('<debug>Exception: %s</debug>', $e->getMessage())
Expand Down Expand Up @@ -636,7 +638,7 @@ protected function registerHelpers()
* @param array $initConfig [optional]
* @param InputInterface $input [optional]
* @param OutputInterface $output [optional]
* @throws \Exception
* @throws Exception
*/
public function reinit($initConfig = [], InputInterface $input = null, OutputInterface $output = null)
{
Expand All @@ -655,7 +657,7 @@ public function setConfigurationLoader(ConfigurationLoader $configurationLoader)
$this->config->setLoader($configurationLoader);
} else {
/* inject loader to be used later when config is created in */
/* @see \N98\Magento\Application::init() */
/* @see Application::init */
$this->configurationLoaderInjected = $configurationLoader;
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0-dev
7.3.0

0 comments on commit 28e8d60

Please sign in to comment.