Medusa v1.3.3: BatchJob API, Advanced Next.js Storefront, Feature Flags, and More!

Shahed Nasser
4 min readJul 7, 2022

--

This week we released a new version of Medusa!

Version 1.3.3 brings new features and enhancements including BatchJob API, Import API, Feature Flags, and more!

Along with this new release, we have released a new version of the Medusa Admin, released an advanced Next.js Starter, and further updated and enhanced our documentation.

This post includes a short version of the release details. You can read the full release in this post.

Features

BatchJob API

The purpose of this API is to allow users to upload and export batches of data in Medusa asynchronously. For example, users can export products as CSV files or import products from CSV files.

Each Batch Job type is handled through strategies implemented in Medusa’s core. Developers can also override these strategies to use a custom implementation.

Product & Order Export

Using the BatchJob and Import/Export APIs, you can export products and orders into a CSV file.

Feature Flags

Feature flags are used to disable features that are still under development and testing. This will help us increase the frequency of releases of Medusa’s core as we’ll be able to disable any features that are still not ready for use in a production environment.

How to Update Your Medusa Server?

To update your Medusa server, first, update the Medusa packages in your dependencies:

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

Then, run migrations with Medusa’s CLI tool:

medusa migrations run

Medusa Admin New Features

Product/Order Export

You can create a new export by clicking the “Export Products” button on the Products page, or the “Export Orders” button on the Orders page. This will create a new export batch job to export your products or orders into CSV files.

In upcoming releases, we’ll add the UI to filter the products and orders to export.

Activity Drawer

Clicking the notification bell icon in the top right of the navigation bar now opens an Activity Drawer. This Activity Drawer will contain important notifications for the admin user.

In this release, only the list of batch jobs will be available in the Activity Drawer where users can track the status of export jobs they started or download finished batch jobs.

How to Update Medusa Admin

You can update your Medusa admin by pulling new changes from the Medusa Admin repository into your Medusa Admin.

New Next.js Storefront

We previously had a starter Next.js storefront with limited functionalities to help developers interested in using Next.js for their storefront get a head start.

This week, we’ve released a new Next.js storefront with advanced features and a sleek, modern design. The new Next.js storefront includes features that were previously implemented including product listing and a checkout flow.

Additionally, this storefront includes full implementation of customer profile, support for payment Stripe and PayPal payment providers, and support for search with either MeiliSearch or Algolia.

Upcoming Features

Sales Channels

In the 1.3.1 release newsletter, we mentioned that we are planning the Sales Channel API feature. In this quarter, we have kickstarted the development of the Sales Channels API.

Sales Channels will allow merchants to sell across multiple channels such as mobile apps or the Amazon marketplace. In the first iteration of the feature, we’ll simply allow merchants to group products in channel. Additionally, carts are assigned a channel upon creation which is reflected on the subsequent order created from said cart allowing you to group order as well.

Product Import

After implementing the export feature for this release, we’ll work on the import feature. This will allow users to import products stored in CSV files into their Medusa server. With both Import and Export functionalities available, migrating data from one Medusa server to another will be much easier.

Did you miss out on?

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

--

--

No responses yet