npm @medusajs/medusa 1.9.0
v1.9.0

latest releases: 1.20.6-preview-20240918180312, 1.20.6-preview-20240918150256, 1.20.6-snapshot-20240918131323...
17 months ago

Breaking changes

A minor breaking change has been introduced to the events system. The EventBusModule interface has been updated with a new method, retrieveSubscribers. The method is used in the core EventBusService to fetch subscribers to a given event upon emitting one or multiple events. If no subscribers exist to an event, we do not insert a staged job in the database which means the event will not be sent for processing in the event bus module.

Features

  • feat(medusa): Add purchasable prop on variants when setting availability by @pKorsholm in #3811
  • feat(admin-ui): Implement allocations on draft orders by @StephixOne in #3753
  • feat(medusa-file-s3,medusa-file-minio): Upgrade to TypeScript by @dwene in #3740
  • feat(medusa, medusa-plugin-brightpearl): Inventory management for Brightpearl by @pKorsholm in #3192
  • feat(medusa-plugin-meilisearch): Update meilisearch library dependency by @pevey in #3898
  • feat(admin-ui): Add Sales Channel filter by @olivermrbl in #3897
  • feat(medusa): Middleware to add default SC on query if no SC already exist on it by @StephixOne in #3694

Bugs

  • fix(admin-ui): password reset flip rendering condition by @nowseemee in #3864
  • fix(inventory): Add missing context arguments by @olivermrbl in #3863
  • fix(medusa): Add missing relations when creating return by @olivermrbl in #3870
  • fix(medusa): Bulk create variant + pass transaction to the inventory service context methods by @adrien2p in #3835
  • fix(medusa): Correct inventory quantity calculation by @pKorsholm in #3881
  • fix(medusa-plugin-ip-lookup): Remove outdated Typeorm usage by @olivermrbl in #3884
  • fix(admin-ui): Check for undefined categories by @olivermrbl in #3886
  • fix(inventory): Minor fixes to upserting inventory items by @olivermrbl in #3883
  • fix(medusa,medusa-fulfillment-webshipper): Add default values in Webshipper service by @olivermrbl in #3879
  • fix(admin-ui): Add guard for null product_id by @pKorsholm in #3894
  • fix(medusa,utils): Searching indexing product subscriber by @olivermrbl in #3905
  • fix(admin): display correct items in the timeline after OE by @fPolic in #3895
  • fix(medusa): category list api bug where limit skews results by @riqwan in #3914
  • fix(medusa): Reduce joins in cart retrieval by @olivermrbl in #3909

Chores

  • chore: Bump package versions to address security vulnerabilities by @pevey in #3845

New Contributors

Full Changelog: v1.8.2...v1.9.0

Don't miss a new medusa release

NewReleases is sending notifications on new releases.