Commit Graph
8510 Commits
Author SHA1 Message Date
Carlos R. L. RodriguesandGitHub ba1e6595b7 fix(payment): round curency precision (#12803) 2025-06-24 18:41:14 +02:00
Shahed NasserandGitHub 93cf79cb0f docs: add loyalty plugin routes to OAS (#12811)
* generated OAS

* remove unused schemas

* generated specs

* add cloud badge for routes

* add to loyalty plugin page

* allow clicking the tooltip
2025-06-24 19:17:55 +03:00
juanzgcandGitHub 3826bde591 fix(medusa): Query Config update Order By filter (#12781)
**What**
Fixed a bug in the prepareListQuery function where nested field ordering was not properly building the expected nested object structure. The function was returning flat objects like { "employee.first_name": "ASC" } instead of the correct nested structure { "employee": { "first_name": "ASC" } }.

**Why**
The buildOrder function is designed to create nested objects from dot-notation field paths, which is essential for proper query building in the Medusa framework. When this functionality was broken, it prevented correct ordering of related fields and caused queries to fail or return unexpected results.

**How**
- Root cause: The `prepareListQuery` function was not properly utilizing the `buildOrder` utility function to transform dot-notation field paths into nested objects
- Before: order = "employee.first_name" → { "employee.first_name": "ASC" }
- After: order = "employee.first_name" → { "employee": { "first_name": "ASC" } }
- Added comprehensive tests: Created detailed unit tests for the prepareListQuery function focusing on buildOrder functionality, covering various scenarios including:
  - Simple ascending/descending order
  - Nested field ordering (e.g., product.title)
  - Deeply nested ordering (e.g., product.variants.prices.amount)
  - Multiple nesting levels (up to 5 levels deep)
- Added integration tests: Created integration tests in `product.spec.ts` to verify the full end-to-end functionality of nested ordering with variant titles

The fix ensures that the buildOrder function properly transforms dot-notation field paths into the expected nested object structure, enabling correct query building for related field ordering throughout the Medusa framework.

Resolves SUP-1868
2025-06-24 15:45:54 +00:00
Shahed NasserandGitHub 490695a83a docs: added malchimp integration guide (#12807)
* docs: added malchimp integration guide

* add edit date
2025-06-24 16:48:14 +03:00
Shahed NasserandGitHub ffdec55cc6 docs: added list of restricted envs and subdomains (#12810) 2025-06-24 14:53:18 +03:00
Adrien de PerettiandGitHub 316a325b63 fix(workflow-engine-*): Cleanup expired executions and reduce redis storage usage (#12795) 2025-06-24 13:32:10 +02:00
Stevche RadevskiandGitHub c0807f5496 fix: Allow setting the status of a payment session when updating (#12809) 2025-06-24 13:15:10 +02:00
Shahed NasserandGitHub 474e97c9be docs: added sentry guide (#12744)
* docs: added sentry guide

* added error capturing

* generate
2025-06-24 12:05:37 +03:00
Shahed NasserandGitHub 85bc396e03 docs: fix recaptcha messing up page layout (#12799)
* docs: fix recaptcha messing up page layout

* add comment
2025-06-23 18:23:04 +03:00
Stevche RadevskiandGitHub b116f75fbf fix(payment): Return and set the correct status when a session is created with stripe (#12769) 2025-06-21 20:36:58 +02:00
Oli JuhlandGitHub a263d8818d chore: Update teams.yml 2025-06-20 21:03:41 +02:00
Shahed NasserandGitHub ab21ac57ca docs: use Kapa React SDK (#12792) 2025-06-20 18:24:14 +03:00
Shahed NasserandGitHub 77d0f00929 docs: fix padding when AI assistant is open on some screens (#12786) 2025-06-20 13:28:29 +03:00
Shahed NasserandGitHub 5122ced9f6 docs: prepare cloud docs (#12784)
* initial

* fixes

* docs: prepare cloud docs
2025-06-20 12:59:38 +03:00
Pedro GuzmanandGitHub c2f91c8a8a Merge pull request #12735 from medusajs/fix/graph-query-operators-typing
fix: add operators to RemoteQueryFilters
2025-06-20 11:11:11 +02:00
Shahed NasserandGitHub 03fb24af8d docs: added cloud infrastructure guide (#12783)
* docs: added cloud infrastructure guide

* added md route

* fixes
2025-06-20 11:40:59 +03:00
Oli JuhlandGitHub 1c987540aa fix(workflow-engine-redis): Ensure PK is set without errors (#12775)
* fix(workflow-engine-redis): Align naming of migration

* change approach
2025-06-19 20:19:01 +02:00
Shahed NasserandGitHub b92bdfe7e1 docs: add re-use error handler section + clarify allowUnregistered (#12780)
* docs: add re-use error handler section + clarify allowUnregistered

* fixes
2025-06-19 19:37:26 +03:00
Shahed NasserandGitHub 0b9819a7e2 docs: added cloud connect storefront guide (#12779)
* docs: added cloud connect storefront guide

* fixes

* add section
2025-06-19 18:01:47 +03:00
Shahed NasserandGitHub b110457647 docs: add cloud update guide (#12778)
* docs: add cloud update guide

* fixes
2025-06-19 16:55:58 +03:00
Shahed NasserandGitHub 1bf8d53608 docs: added cloud support guide (#12777)
* docs: added cloud support guide

* fixes
2025-06-19 14:17:56 +03:00
502f90fb32 fix(dashboard): fix subtitle for tax inclusive fields in promotions (#12776)
* fix(dashboard): fix subtitle for tax inclusive fields in promotions

* Update packages/admin/dashboard/src/i18n/translations/en.json

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-06-19 14:15:59 +03:00
Shahed NasserandGitHub 7d09981440 chore: remove ignore tag for import function + update version tag (#12774) 2025-06-19 13:08:34 +03:00
Shahed NasserandGitHub 2b220120cd docs: added cloud logs guide (#12772)
* docs: added cloud logs guide

* fixes

* fixes
2025-06-19 13:06:25 +03:00
Harminder VirkandGitHub 94b62c6724 fix: initiate request container before other express middleware (#12761) 2025-06-19 07:23:15 +00:00
Shahed NasserandGitHub ffa611b546 docs: add cloud billing docs (#12766)
* docs: add cloud billing docs

* fixes
2025-06-19 09:56:08 +03:00
Frane PolićandGitHub 52becfdb90 fix(dashboard,types): loyalty UI changes (#12764) 2025-06-18 20:38:36 +02:00
Stevche RadevskiandGitHub a7a264b13c fix: Add missing partially funded event handler for Stripe (#12763) 2025-06-18 16:23:13 +02:00
Pedro Guzman 9043e534ce make operators deep 2025-06-18 15:37:26 +02:00
Pedro Guzman ebe02a3836 simplify RemoteQueryFilterOperators 2025-06-18 13:31:56 +02:00
Shahed NasserandGitHub 4c0ae51a59 docs: added cloud plugins documentation (#12765)
* docs: added cloud plugins documentation

* fixes
2025-06-18 12:30:41 +03:00
Shahed NasserandGitHub 863861e307 docs: added cloud s3 documentation (#12762)
* docs: added cloud s3 documentation

* fixes
2025-06-18 11:28:59 +03:00
Shahed NasserandGitHub 97d5f52ffa docs: added cloud redis documentation (#12760)
* docs: added cloud redis documentation

* small fix

* add diagram

* small fixes
2025-06-18 10:42:09 +03:00
Stevche RadevskiandGitHub 5856963e0b feat: Normalize payment method data and options when passed to Stripe (#12757) 2025-06-18 09:23:42 +02:00
Adrien de PerettiandGitHub 9bdd5429af fix(core, medusa-test-utils): Fix medusa test runner plugin modules loading (#12753) 2025-06-17 19:43:31 +02:00
Shahed NasserandGitHub 5317f16d54 docs: add cloud database guides (#12758)
* docs: add cloud database guides

* fixes

* fixes

* small fix
2025-06-17 18:54:27 +03:00
Shahed NasserandGitHub 4443d74b61 docs: added cloud notifications guide (#12756)
* docs: added cloud notifications guide

* fixes
2025-06-17 17:23:27 +03:00
Shahed NasserandGitHub f12fb7dfad docs: added cloud deployments guide (#12755)
* docs: added cloud deployments guide

* fixes

* fixes

* fixes
2025-06-17 15:57:41 +03:00
Harminder VirkandGitHub 00505b4f8e chore: upgrade to use glob 10 (#12754)
Glob 7 uses the `inflight` module, which leaks memory. Also, all other Medusa packages are using glob 10+. So upgraded the one used by the framework too.

Fixes: FRMW-2972
2025-06-17 12:52:27 +00:00
Frane PolićandGitHub 7a8f639b38 fix(payment): add account holder methods to the manual provider (#12751) 2025-06-17 09:10:05 +02:00
Stevche RadevskiandGitHub 4e26e1ab3e chore: Remove source maps for icons (#12752) 2025-06-17 09:09:35 +02:00
Shahed NasserandGitHub 0823deb25f docs: added cloud environments documentation (#12750)
* initial

* finished environments page

* fixes

* fixes

* fix to introduction
2025-06-16 19:03:58 +03:00
Shahed NasserandGitHub 6a95c1a0a5 docs: add index module to framework dropdown (#12748) 2025-06-16 17:39:44 +03:00
Shahed NasserandGitHub f4b3528fb1 docs: add a section on heavy operations in loaders (#12749) 2025-06-16 17:38:45 +03:00
Shahed NasserandGitHub 48810faa96 docs: fix collapsed navbar overlapping release notification (#12745) 2025-06-16 16:22:58 +03:00
Shahed NasserandGitHub 2e861a9449 fix(create-medusa-app): ensure the same package manager is used consistently (#12714)
* fix(create-medusa-app): ensure the same package manager is used consistently

* fix verbose not working as expected

* improvements

* remove legacy peer deps

* format
2025-06-16 14:07:35 +03:00
Shahed NasserandGitHub 6dc65201f6 docs: fix route matcher in brands guide (#12741) 2025-06-16 13:04:59 +03:00
Shahed NasserandGitHub e1dcb12800 docs: fix URLs to OpenTelemetry docs (#12742) 2025-06-16 13:03:58 +03:00
Shahed NasserandGitHub ab4358de7d docs: document index module (#12594)
Closes DX-1638
2025-06-16 07:25:45 +00:00
Pedro Guzman 6e8b7c6262 remove depth limitation from OperatorsOnlyFilters to make it compatible with BaseFilterable 2025-06-14 02:38:31 +02:00