Apple Pay & Google Pay support for Stripe, Akamai Image Manager and first alpha versions of Front-Commerce Remixed
Front-Commerce 2.24 is out. As usual, it contains features requested by customers and continuous improvements. The key features of this release are Akamai Image Manager and payment wallets support for our Stripe connector.
We've also been busy working on Front-Commerce Remixed, and are excited to share this progress with you!
☕ Read on to learn more about these updates and as always, should you have any requests regarding the product roadmap, do not hesitate to contact us 👋
Stripe update: Apple Pay & Google Pay support
In this release, we added support for Apple Pay and Google Pay wallets in our Stripe payment integration.
Users can now easily pay for their purchases using their preferred mobile payment method. This feature is seamlessly integrated into the payment process, providing a smooth and efficient transaction experience.
We also took this as an opportunity to update Stripe dependencies to their latest version.
Akamai Image Manager support
After Cloudinary and TwicPics, we ensured our Front-Commerce component could be used with Akamai Image Manager.
Akamai Image Manager optimizes website images for faster delivery and improved website performance. Images are cached on Akamai's global network of servers and optimized automatically for every user and any device.
Image Manager chooses the optimal format based on the user device and bandwidth and compresses images without degrading quality.
As for other image adapters, using Akamai Image Manager doesn't require any code change. Follow our documentation to configure it in your application.
About Front-Commerce Cloud: Image Manager isn't enabled by default for Front-Commerce Cloud customers using the AkamaiCDN. Please contact us if you want to use this service in your project.
Front-Commerce Remixed saw its first (technical) alpha versions
in our previous changelog entry,
main branch is now active with work on the Front-Commerce Remixed upcoming
We tagged 3
alpha versions as we made progress on core features and repository
reorganization. It still isn't ready for you to play with, but we're getting
Here are the highlights of these versions if you want to stay in the loop.
Deprecated code in
2.x versions was removed
we've finalized the removal of all deprecated code since our
(almost 4 years ago!).
More than 7K lines were removed across more than 250 files! 😅
Notable removals include the legacy analytics implementation and components. For an exhaustive list, please refer to our migration guide.
We've also taken this as an opportunity to
rename Magento environment variables prefix
to include the platform version number:
A new repository layout was introduced
Front-Commerce is composed of several parts. In versions
installed everything at once, as a single dependency.
In FC Remixed, we've decided to switch to a monorepo layout (using
workspaces) and split the
front-commerce dependency into discrete packages
that could be distributed through an NPM registry (e.g:
The Front-Commerce skeleton is also back into our main repository, and will be distributed as a Remix Stack so you could start a Front-Commerce project with a single command! It is a standard Remix/TypeScript/Express application with Front-Commerce core and tooling already configured.
@front-commerce/compat: our promise to Front-Commerce projects
This package will contain all the code needed to progressively migrate a project
started on Front-Commerce
2.x to Front-Commerce Remixed, and then benefit from
all the improvements it brings!
In these releases, we've added an initial version of our Codemods scripts which will allow us to automate every migration step that can be automated (import changes, conventions…).
We've also added
@front-commerce/compat/recompose utility functions to replace
recompose library we heavily used in our components before
hooks were announced. This package is compatible with React 18 (which isn't the
case of other forks).
Front-Commerce as Remix extensions
We want Front-Commerce projects to be Remix projects. For this reason, we've
decided to build Front-Commerce Remixed as Remix extensions.
we implemented the fundamental pieces of this integration:
- A new
FrontCommerceAppclass that will be the main way to interact with the Front-Commerce application domain, mostly through GraphQL. This class should be constructed in each Remix
action, and allows developers to run GraphQL requests and mutations and access information about the current context (user, configurations etc…).
- It is a core component of our
@front-commerce/remixpackage, containing all the glue between the agnostic
@front-commerce/*packages and the Remix framework.
@front-commerce/remixpackage also serves a GraphQL playground in development mode. It is based on the latest GraphiQL version (bye-bye GraphQL playground 👋). For the most curious: Front-Commerce Remixed GraphQL server stack is now based on
More is coming in the next weeks, with the introduction of the Front-Commerce CLI, Front-Commerce Extensions, GraphQL Codegen and of course… the first modules! Stay tuned.
- csp: we added support for more CSP directives in CSP configurations
- image: image adapters can now customize extension types generated in each element. It allows to adapt to each service image delivery and supported image types
- external-logins: improved redirection URLs generation to prevent double slashes in their path
- image: ensured Image adapters are registered with a predictable name to prevent having different adapters used between SSR and hydration
- magento1: the "use buildBuckets() method instead" deprecation warnings is not incorrectly displayed anymore on category layer when the cache is enabled
- prismic: avoided cache corruption edge cases by removing Prismic reference TTL
- search: search results are now resilient to incorrect page identifiers returned by search datasources. Not found pages are ignored to prevent crashes.