v1.19
Version 1.19 of Medusa ships performance improvements, bug fixes, and some breaking changes.
Check the release notes for all changes.
Breaking Changes
Change in Cart-Completion Strategy Response
In previous versions, if you attempt to complete a cart that's already completed, you will receive a response with status code409
, indicating a conflict.
In v1.19 of the Medusa backend, the order or swap associated with the completed cart is returned instead with status code 200:
Replaced node-redis with ioredis
In previous versions, the Medusa backend used node-redis
to manage the Express session store.
In v1.19, node-redis
is replaced with ioredis
for higher configurability of the Redis client used for session management, and to make Redis configurations consistent with Redis modules (such as the Redis Event or Cache modules) which use ioredis
.
How to Update
Run the following command in your project:
To avoid unexpected issues with dependencies, it's also recommended to update all other Medusa plugins or packages you have installed.