Composer doesn’t allow me to install the latest update of the module. Is there a solution for it?
There are two possible reasons why the composer is not fetching the latest version of the module. The first one is that the module package is loaded from caches - composer cannot see the latest available version, so it loads the latest that is available in the cache:
A simple workaround for this is to specify the exact version you need to be installed:
composer require amasty/module-name:^x.x.x
Still, the composer might throw another error, stating that the required version doesn’t match your minimum stability or that your requirements couldn’t be resolved to an installable set of packages:
The issue occurs because the package version you’re trying to install requires an update of other dependent packages. An easy fix is to update the dependent packages to the latest available or latest required version, in our case this is amasty/base that needs to be updated to version 1.12.
Another solution to it is to require the main package (amasty/module-elastic-search) and specify that it should be updated together with all dependencies:
composer require amasty/module-name:^x.x.x --update-with-dependencies
Announcements
Already Done in Q1'23
Brand new extensions We launched a coming soon page for the new Back Forward Cache extension. It restores the recently visited page when the customer clicks 'Back' or 'Forward' browser options, thus ensuring faster page load speed. Subscribe to the release
Roadmap | What to expect in Q1'23
New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
Already Done in Q4'22
New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
Roadmap | What to expect in Q4'22
New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
Already done in Q3'22
New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility