v2.3.1

medusajs/medusav2.3.1Jan 20, 2025by olivermrbl

AI Summary

This release resolves a dependency issue in production environments that prevented the server from running due to a missing `glob` package.

Key Highlights

  • Added missing `glob` dependency to `@medusajs/framework`.
  • Fixed cart validation for sales channels.
  • Fixed CLI command descriptions.

Full Release Notes

<!-- 
![image](https://github.com/user-attachments/assets/c7c7d293-726e-42d4-9788-daaa57ba4175)

# v2.3.1

This release resolves an issue with dependencies in production environments.

CMS_BREAK -->

## Highlights

### Add missing dependency in `@medusajs/framework`

In `@medusajs/framework` uninstalled dependencies are directly imported and resolved through transitive dependencies. However, the `glob` package is not a transitive dependency of any production dependency and hence it fails running the server with `NODE_ENV=production`. 

## Bugs
* fix(core-flows): cart validate sales channel by @fPolic in https://github.com/medusajs/medusa/pull/11024
* fix(cli): fix command description for plugin:db:generate by @shahednasser in https://github.com/medusajs/medusa/pull/11022
* fix(dashboard): invite UI tweaks by @fPolic in https://github.com/medusajs/medusa/pull/10999
* fix: missing dependencies in the framework package by @thetutlage in https://github.com/medusajs/medusa/pull/11049

## Documentation
* docs: update payment docs after removing fields by @shahednasser in https://github.com/medusajs/medusa/pull/10992
* docs: document new migration script option for db:migrate by @shahednasser in https://github.com/medusajs/medusa/pull/10986
* chore: generate core-flows reference for 2.3.0 by @shahednasser in https://github.com/medusajs/medusa/pull/11028
* chore: generate types docs reference manually for 2.3.0 by @shahednasser in https://github.com/medusajs/medusa/pull/11034
* docs: generate references for v2.3.0 by @shahednasser in https://github.com/medusajs/medusa/pull/11035
* docs: improve content of workflows reference overview page by @shahednasser in https://github.com/medusajs/medusa/pull/11045

## Chores
* chore(framework): update the TSDocs for a plugin in the medusa config by @shahednasser in https://github.com/medusajs/medusa/pull/10991
* chore(core-flows): general fixes to core-flows TSDocs by @shahednasser in https://github.com/medusajs/medusa/pull/11046

### Other Changes
* docs: fix typo by @gharbi-mohamed-dev in https://github.com/medusajs/medusa/pull/11043

**Full Changelog**: https://github.com/medusajs/medusa/compare/v2.3.0...v2.3.1