Aimeos Long Term Support Version 2023.10 is Released - What's New?

By: Skynet Technologies USA LLC
Oct 27, 23
Oct 27, 23
Aimeos 2023.10 LTS released

Aimeos released its 2023.10 LTS version for Laravel and TYPO3 on October 25, 2023. 这个版本简化了开发人员的工作,它完全支持可扩展的云设置,如Kubernetes原生. 2023年版本有无数值得注意的变化,以及旧的错误修复和新的安全补丁. 此外,2023 LTS版本将在未来4年获得扩展支持(ELTS)的支持。.

让我们进一步了解Aimeos长期支持版本2023.10.

Latest enhancements in Aimeos LTS 2023.10!

  • Laravel 10 distributions

    Aimeos LTS 2023.10支持2023年2月发布的最新版本Laravel 10. 这里需要注意的一点是Aimeos电子商务无头和全栈发行(2023年).04) is based on Laravel 10. 控件快速引导Aimeos应用程序 Aimeos 2023.04 拥有一个功能齐全的Laravel 10应用程序. 该特性还包括全栈和无头发行版的预配置身份验证设置.

  • Kubernetes/Serverless support

    Aimeos 2023.10 is the first cloud-native ecommerce version of Laravel. 文件导入和所有其他数据可以安全地分布在云环境(如Google cloud)中, Azure, AWS, Kubernetes, and other serverless environments. Aimeos for Laravel is cloud-ready; previously it used to offer the facility to store images/CSS/JS files in S3 or similar cloud storage services. 但是,这些文件在本地文件系统中以只读格式可用. 现在,存储用于导入产品、类别、用户等的文件. 无论文件的格式(CSV或XML)如何,都可以从任何远程服务器获取。. Aimeos还将其服务器基础设施从传统托管转移到私有Kubernetes云.

  • TYPO3 12 support

    The latest Aimeos 2023.10 supports the TYPO3 12.4 version as well. TYPO3 version 12 has many changes compared to version 11. 已弃用的代码已在TYPO3 12中删除,并且因为它是更新版本,所以Aimeos 2023.10 supports it fully.

  • Readily creates managers

    Earlier, 开发人员需要编写大量的样板代码来为数据域创建新的管理器. But now in Aimeos 2023.创建新的管理器和扩展现有的管理器一样简单.

    Create a setup task for the database migration:

    namespace Aimeos\Upscheme\Task;
    
    class Test extends Base {
      public function up() {
        $this->info('Creating test schema', 'v');
        $this->db('db-test')->table($name, function($table) {
          $table->engine = 'InnoDB';
          $table->id()->primary('pk_mstes_id');
          $table->string('siteid');
          $table->string('label')->default('');
          $table->int('position')->default(0);
          $table->smallint('status')->default(1);
          $table->meta();
        });
      }
    }
    

    之后,为新域名“test”创建管理器:

    namespace Aimeos\MShop\Test\Manager;
    
    类标准扩展\Aimeos\MShop\Common\Manager\Base实现\Aimeos\MShop\Common\Manager\Iface {
      public function getSaveAttributes(): array {
        return $this->createAttributes([
          'label' => [],
          'status' => [
            'type' => 'int',
          ],
          'position' => [
            'type' => 'int',
            'label' => 'Position for sorting',
          ],
        ]);
      }
    }
    

    And the new manager creation is done. 你可以开始使用新的管理器,它将像Aimeos核心中的任何其他管理器一样执行:

    $manager = \Aimeos\MShop::create($this->context(), 'test');
    $item = $manager->create()
        ->set('label', 'test label')
        ->set('position', 2)
        ->set('status', 1);
    $item = $manager->save($item);
    $label = $item->label;
    
    // or using get() with default value
    $label = $item->get('label', 'default value');
    

    If you want to know more about manager creation, read Aimeos documentation.

  • Merged order and order base

    新版本的Aimeos专注于简化平台,这是最大的架构变化. 订单数据域合并了订单和订单基表/管理器/项.

    Initially, when the order and order base segment was created, 其背后的想法是,平台应该能够为每个存储的订单基础项目(=购物篮)管理多个发票/退款条目。. 然而,它并没有很好地工作,复杂的订单管理. Therefore, now in Aimeos LTS 2023.10, the data will be stored in the order record.

    This change is not backward compatible. Thus, it may cause some trouble for the JSON: API. 不让它向后兼容的原因是,开发者希望这个版本能够在更长的时间内保持稳定,并使用JSON: API, 它只能在一段时间内保持向后兼容.

    Also, 使用JSON: API的应用程序不需要使用订单端点来创建订单项,因为购物篮端点必须已经这样做了. 此外,篮子中的属性名称也发生了变化,并且.base” has been removed.

  • DB-based translations for type names

    With previous versions of Aimeos, 属性类型的翻译只有在Gettext翻译文件或Aimeos配置中进行静态翻译才能实现. Thereby, 只有开发人员才能做这些翻译,如果翻译是由ERP系统交付的,则很难更新.

    Whereas, now with Aimeos 2023.类型翻译与类型一起保存在数据库中. 这可以在管理后端进行编辑,并由ERP系统更新. 此外,该更改可用于所有类型,而不仅仅是属性类型.

  • Stored basket panel

    The predecessor of Aimeos 2023.10 had customer baskets stored in the database. But now, the admin backend contains a new panel of “Sales > Baskets”. Thus, 现在,管理员和编辑可以很容易地检查保存和丢弃的购物篮,并向第三方应用程序发送电子邮件,提醒客户他们丢弃的购物篮.

  • VueJS and GraphQL in the backend

    Aimeos 2023.10在管理后端有许多重写的面板,以使用VueJS组件. 这是为了提高代码质量,并在下一个版本中删除所有jQuery代码.

    旧的VueJS组件已经被支持更好的Vue Multiselect组合框选择组件所取代. 这个更改将有助于在下一个版本中升级到VueJS 3.

    此外,对JSON管理API的请求已经被对新的GraphQL API的请求所取代. 开发者表示,他们将继续扩展GraphQL API,并替换现有的JSON管理API,直到完全忽略它们. It is expected that Aimeos 2024.x will deprecate the entire JSON admin API. However, 前端JSON: API不会被替换,这将是前端与Aimeos服务器交互的唯一方式. 因为GraphQL不适合读量大的应用程序,比如电子商务应用程序.

YOU MAY ALSO LIKE: Choose Aimeos Laravel for Ecommerce Store

Wrapping up

It is recommended to use stable releases for production. Thus, upgrade your system to Aimeos LTS 2023.10 to maintain its efficiency.

我们是Aimeos的官方国际电子商务专家合作伙伴.

We provide complete Aimeos ecommerce development services including store design, development, customization, content management, upgrades, migration, multi-channel multi-vendor marketplace, multi-tenant SaaS (Software as a Service) solutions, maintenance, and support. 我们的专家Laravel开发人员在处理各种规模的多学科和多技术项目方面经验丰富. 如果您有任何需求,请随时与我们分享您的所有需求 requesting a quote or email us at [email protected].

Website
69