I am really excited about this PR that @AmanVirk1 landed in the @medusajs preview - things are gonna get technical in this post but stay with me.
With Medusa we are building the world’s most flexible commerce platform without compromising upgradability.
One of the big architectural changes in Medusa 2.0 is the usage of workflows. A workflow is a set of steps that our durable execution engine runs to complete a task. Adding a line item to a cart, for example, is a workflow which gets product data, constructs a line item and updates a cart. If a step fails in a workflow we will retry it, if it continues to fail we will roll back previous steps, to ensure data consistency.
You can write your own workflows which is especially great when building integrations or automating complex operational tasks.
With 2.0 all of Medusa’s APIs call core workflows that we have pre-built. In our default API we have a `POST /admin/products`, for example, which calls a `createProductsWorkflow`. With the introduction of hooks we now make it possible to extend Medusa’s core functionality in an easy way that doesn’t take you off the upgrade path. Here’s an example that extends the product creation workflow with a step to add the product to @sanity_io.
This is a really powerful pattern that joins all the other framework tools available in Medusa to build specialized commerce applications.
You can try the v2 preview now with `npx create-medusa-app@preview`!
Something we see more and more:
Enterprise businesses are choosing Medusa for its seamless incremental adoption.
You can use our commerce modules standalone OR replace them with custom implementations (e.g., an integration with an external service).
We published the first preview release of Medusa 2.0 a month ago.
Reception was incredible and it's been great to follow so many cases already in development.
Now, it's summer, but our team hasn't slowed down, so I thought I'd share what we've shipped the past month:
Medusa is a great fit for unconventional enterprise commerce projects.
This is why companies like @Cloudflightio opt for us when their enterprise clients have more custom requirements for their commerce projects.
Read the article on @medusajs below.
ecommerce.cloudflight.io/blo…
As we make our way towards a stable @medusajs 2.0 release, I find myself working in different parts of Medusa's features.
Today, I worked on enabling capturing an already authorized payment from the admin dashboard for an order.
Workflow Hooks will soon be available in the preview release of Medusa 2.0.
Hooks provide an injection point for custom functionality in Medusa's core flows, such as when adding to a cart or creating a product.
Below is the API for defining and consuming Workflow Hooks:
We're hiring for our platform team.
Medusa provides developers with tools to create and scale bespoke commerce applications.
Join us in building the platform powering the next generation of digital commerce:
medusajs.com/careers/softwar…
A European fashion company w. +15M customers is testing out @medusajs.
Within their first week, they familiarized themselves with Medusa 2.0 and added two custom modules, incl. one for wishlist configurations.
Excited to see all the custom modules Medusa 2.0 will unlock 💪
Last week, we put out a Marketplace recipe example with @medusajs v2 in our documentation. We're following a new format for recipe examples to make them easier to follow and build.
Check it out:
docs.medusajs.com/v2/resourc…
Mission impossible? Read how 4 billion $ company Viessmann Climate Solutions partnered with Agilo to accomplish their vision of creating the booking . com of mobile heating and cooling solutions.
Built on @medusajs 🚀
agilo.co/work/mobileheating-…
Learn how @Agilo built a custom booking platform for mobile heating solutions w. @Viessmann:
✓ Multi-vendor marketplace
✓ Vendor management system
✓ Flexible pricing based on booking timing & duration
✓ Real-time availability
Powered by @medusajsagilo.co/work/mobileheating/
First stab at @medusajs docs v2 - Wdyt? 🤪 Stole the in page navigation to the right from Notion. I think the reading experience is superb! Teaser for the milestones and reading list features down to the bottom left.
New marketing page on @medusajs from Medusa Experts, Lambda Curry.
Great implementation partner for North American cases looking to use Medusa.
Reach out if you want an intro!
Dove into #MedusaJS for 4 days now, and it's incredible! 🛠️ The open-source flexibility and features are outstanding. 🚀 Looking for hosting tips and best practices. Any insights? 🙌 Shoutout to @medusajs for this amazing tool! 💡
#WebDev#Ecommerce#OpenSource#JavaScript
Being open-source opens up all kinds of collaborations.
Shout out to @QACometOfficial for supporting our Medusa community by setting up a comprehensive testing suite for our @nextjs Storefront Starter.
Learn more about the project below.
qacomet.com/case-studies/med…
The preview release of Medusa 2.0 was released last week, and the reception has been incredible.
We are reacting to feedback, bug reports, and questions as fast as we can.
Here's what's new since last week: github.com/medusajs/medusa/r…