Medusa won the Golden Kitty Award for Best Ecommerce Product ✨  Learn More

Medusa Logo
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
Company

Medusa 1.7: Performance Improvement, B2B Launch, and more!

Keep reading below to learn more about all the new changes in this release!

Medusa 1.7: Performance Improvement, B2B Launch, and more!

Share

Person photo
Shahed NasserDec. 16, 2022• 3 min.

Time for another release of Medusa!

Version 1.7 introduces a massive performance improvement, Module Resolution API, migrating the Medusa admin to Vite, and more!

Keep reading below to learn more about all the new changes in this release!

How to Update Medusa?

Medusa Server

You can update your Medusa server using the following command:

npm install @medusajs/medusa@latest @medusajs/medusa-cli@latest medusa-interfaces@latest

Make sure to update any other Medusa plugins or packages you use!

You can check out the upgrade guide for breaking changes in this version and how to resolve them.

Medusa Admin

You can also update the Medusa Admin by pulling changes from the GitHub repository.

You can check out the upgrade guide for breaking changes in this new update and how to resolve them.

Performance Improvement

Medusa servers that have large traffic and carts with a lot of products previously suffered from a decrease in performance. This is due to issues related to algorithm complexity, event loop bottleneck, and a large number of calls to external API during the checkout flow.

This version fixes all these issues and more, which leads to a huge performance improvement of the entire core engine! After updating your server, the checkout flow on your store will be much faster, providing your customers with a better user experience.

Allow Customers to Claim Orders

When a guest customer places an order, then registers, they can now claim the order they placed as a guest by providing the order ID.

An email is then sent to the email address associated with the order with a link to confirm the customer’s request to claim the order.

You can learn more about implementing this flow in our documentation:

  • How to Implement Claim Order Flow

  • How to Handle Order Claim Event

Introducing Module Resolution API

The Module Resolution API allows even more customization capabilities within Medusa. Modules represent function areas in the core engine, such as Inventory Management, Events system, Cache mechanism, etc…

This new API would allow developers to replace an entire domain to change how that domain works in Medusa.

The current version introduces the first steps in allowing customizations with Modules. Future versions would support replacing different function areas in the core.

Allow Regular Expressions in CORS Configurations

Starting from version 1.7, you can use regular expression patterns for admin and storefront CORS configurations.

For example, you can use *.example.com to allow all subdomains of example.com to send requests to the server.

You can learn more in this documentation.

Migrate Medusa Admin from Gatsby to Vite

Medusa Admin was previously built with Gatsby. Gatsby is a great choice for building storefronts and websites in general. However, for the Medusa Admin, we weren’t fully utilizing its super powers. This took a toll on developer experience due to slow build processes.

We’ve now migrated from using Gatsby to using Vite 3 with React. This reduced the local build time by more than 10x the original time.

You can check the upgrade guide for details on breaking changes after this update and how to resolve them.

Documentation Changes

Aside from the major redesign of our documentation website, we have added more documentation pages. Some of the important ones are:

  • Deploy Your Medusa Server to Railway

  • Discounts Architecture Overview

  • Manage Discounts using Admin APIs

  • Use Discounts in Checkout

  • How to Use CustomerGroup APIs

Use Medusa for B2B Ecommerce

This week, we heavily focused our content on showcasing Medusa as a B2B ecommerce platform. As Medusa supports all B2B essential ecommerce features, and as Medusa is currently the #1 Node.js ecommerce server, it is one of the top B2B ecommerce platforms currently available.

This week, we’ve shared:

  • B2B Perspective report

  • 2-series tutorial on how to create a B2B ecommerce platform with Medusa

  • Comparison between top 5 B2B ecommerce platforms

  • 9 UX tips from the best B2B ecommerce website (as crowned by HackerNews)

Next week we’ll be sharing more tips for B2B ecommerce businesses. Be sure to look out for our new content! You can also subscribe to our newsletter here.

Should you have any issues or questions related to Medusa, then feel free to reach out to the Medusa team via Discord.

Share

Medusa Newsletter

Stay up to date

In our Newsletter you get the most important Medusa news directly in your inbox

Up Next

Deploy a Medusa Server on AWS with Microtica

A Step-by-Step Tutorial on How to Deploy a Medusa Server on AWS

Learn how to deploy Medusa on AWS with Microtica

Person photo
Marija NaumovskaJan. 16, 2023• 3 min.

You may also like

Use ChatGPT to Automate Product Description Writing

Use ChatGPT to Automate Product Description Writing

Never think about product descriptions. Automate product description creation with ChatGPT and Medusa

Person photo
Ashutosh KrishnaJan. 19, 2023• 7 min.
Roadmap update - Jan 2023

Roadmap update - Jan 2023

Keep reading to learn about what’s in store for future versions of Medusa.

Oliver Juhl
Oliver JuhlJan. 17, 2023• 4 min.
Inspired by Git: How we Designed our Order-Editing Feature

Inspired by Git: How we Designed our Order-Editing Feature

This article covers how we adopted principles from the Git version control system and GitHub in our Order Editing API design.

Oliver Juhl
Oliver JuhlJan. 25, 2023• 4 min.
Order Edits and Payment Collections are now available

Order Edits and Payment Collections are now available

Learn more about Medusa’s new order-editing feature and how it works

Person photo
Sebastian RindomJan. 25, 2023• 2 min.
Ecommerce APIs: What they are and how they work

Ecommerce APIs: What they are and how they work

This article first discusses the basics of ecommerce APIs and an in-depth evaluation of an open source ecommerce API-first solution —Medusa.

Person photo
Esther ChristopherJan. 23, 2023• 7 min.
Use ChatGPT to Automate Product Description Writing

Use ChatGPT to Automate Product Description Writing

Never think about product descriptions. Automate product description creation with ChatGPT and Medusa

Person photo
Ashutosh KrishnaJan. 19, 2023• 7 min.
Roadmap update - Jan 2023

Roadmap update - Jan 2023

Keep reading to learn about what’s in store for future versions of Medusa.

Oliver Juhl
Oliver JuhlJan. 17, 2023• 4 min.
Inspired by Git: How we Designed our Order-Editing Feature

Inspired by Git: How we Designed our Order-Editing Feature

This article covers how we adopted principles from the Git version control system and GitHub in our Order Editing API design.

Oliver Juhl
Oliver JuhlJan. 25, 2023• 4 min.
Order Edits and Payment Collections are now available

Order Edits and Payment Collections are now available

Learn more about Medusa’s new order-editing feature and how it works

Person photo
Sebastian RindomJan. 25, 2023• 2 min.
Medusa Logo

Product

Medusa for B2BIntegrationsGet StartedCareers
We're hiring

Developers

DocsAPI ReferencesCommunityDiscussions

Medusa

BlogPricingAboutContact Us

Newsletter

Get a summary of what we’ve shipped during the last month, behind the scenes updates, and team picks. Unsubscribe any time.

© 2023 MedusaJS, Inc.