Commit Graph

8547 Commits

Author SHA1 Message Date
Pedro Guzman
4b224d5eff fix: fix onScroll in Select.Content (#12855)
Radix' `Select.Content` is not the scrollable div. It's `Select.Viewport`, which we don't expose. onScroll is useful when the elements in the select are loaded in infinite loading style.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-06-30 13:40:54 +00:00
Adrien de Peretti
95d282e8ef fix: test utils events + workflow storage (#12834)
* feat(test-utils): Make event subscriber waiter robust and concurrent

* feat(test-utils): Make event subscriber waiter robust and concurrent

* fix workflows storage

* remove timeout

* Create gentle-teachers-doubt.md

* revert timestamp

* update changeset

* fix execution loop

* exit if no steps to await

* typo

* check next

* check next

* changeset

* skip when async steps

* wait workflow executions utils

* wait workflow executions utils

* wait workflow executions utils

* increase timeout

* break loop

---------

Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-06-30 13:34:08 +02:00
Shahed Nasser
1e16fa6f57 docs: document tax-inclusive promotions concept (#12849) 2025-06-27 19:05:24 +03:00
Shahed Nasser
0bcde275bc docs: add build with AI & LLMs doc (#12848) 2025-06-27 16:40:02 +03:00
Shahed Nasser
e58eb5ef90 docs: remove empty storefront guides (#12844) 2025-06-27 15:26:46 +03:00
Vojtech Dolezal
d1b1ce2885 feat: Admin translation update for czech language (#12837)
* Admin translation update for czech language

* typo fix
2025-06-27 14:08:39 +02:00
Shahed Nasser
a23bbc1cbb docs-util: throw when schema parsing fails (#12846) 2025-06-27 12:52:30 +03:00
Shahed Nasser
fcfd35a157 docs: sort events in reference alphabetically (#12845) 2025-06-27 11:56:36 +03:00
Shahed Nasser
f614d86332 docs: added gift message guide (#12833) 2025-06-27 10:36:15 +03:00
Shahed Nasser
98de6b6ca3 docs: design fixes to toc and related elements (#12747)
* docs: design fixes to toc and related elements

* change header styling

* fix heading styles

* design fixes

* fix showing badges in toc
2025-06-27 10:34:15 +03:00
Shahed Nasser
f77696e14b docs: documet withDeleted (#12841)
* docs: documet withDeleted

* fixes

* small fix
2025-06-26 19:35:53 +03:00
Shahed Nasser
035ef9e4c9 docs: small typo fix (#12843) 2025-06-26 19:35:27 +03:00
Shahed Nasser
bf1ed331be chore: improve description of findOrCreateCustomerStep (#12840) 2025-06-26 19:02:52 +03:00
Shahed Nasser
2005188192 docs: fix step detection of useQueryGraphStep (#12842) 2025-06-26 19:02:27 +03:00
Shahed Nasser
f7e4a80c30 docs: remove usages of ts-ignore in examples (#12839) 2025-06-26 17:51:49 +03:00
Shahed Nasser
7d95eb73d3 docs: update OAS for loyalty plugin (#12836)
* updates

* cleanup

* generate OAS

* update links
2025-06-26 17:22:18 +03:00
Shahed Nasser
2983c7c3a5 chore: add missing types in TSDocs example (#12835) 2025-06-26 14:54:00 +03:00
Riqwan Thamir
9a62f359f1 fix(core-flows,workflows-sdk): compensate account holders only when its created (#12825)
* fix(core-flows,workflows-sdk): compensate account holders only when its created

* chore: remove only
2025-06-26 12:30:08 +02:00
Harminder Virk
10dff3e266 fix: do not apply prefix when getting file contents as buffer or stream (#12831)
* fix: do not apply prefix when getting file contents as buffer or stream

* Create spotty-mayflies-bathe.md
2025-06-26 13:58:17 +05:30
Shahed Nasser
94920c3f6d chore: add version and deprecated tags to import routes and methods (#12829) 2025-06-26 09:54:50 +03:00
Shahed Nasser
e3a7af4331 docs: added first-purchase promotion guide (#12828) 2025-06-26 09:54:30 +03:00
scherddel
2a92b7037c doc: Updated cloudflare R2 description (#12598)
* doc: Updated cloudflare R2 description

* Apply suggestions from code review

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Update www/apps/resources/app/infrastructure-modules/file/s3/page.mdx

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-06-26 09:50:13 +03:00
github-actions[bot]
7ac734ca21 chore(docs): Updated API Reference (automated) (#12826)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-06-25 12:18:41 +00:00
github-actions[bot]
441334abf4 chore(docs): Generated + Updated UI Reference (automated) (#12823)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-06-25 15:13:53 +03:00
github-actions[bot]
2b0c8c6662 chore(docs): Generated References (automated) (#12824)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-25 13:51:49 +03:00
github-actions[bot]
e698a09be7 chore(docs): Update version in documentation (automated) (#12822)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-06-25 13:13:06 +03:00
Shahed Nasser
d5259d6ebe docs: documentation changes for next release (#12773)
* docs: documentation changes for next release

* add tax inclusive promotion field
2025-06-25 13:00:16 +03:00
olivermrbl
e0b5bb0b22 chore: Release 2025-06-25 11:47:49 +02:00
github-actions[bot]
628e8d22ee chore: Version Packages (#12691)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-25 11:41:13 +02:00
Stevche Radevski
95c3f4933a fix: Add missing migration for payment statuses (#12821) 2025-06-25 11:28:33 +02:00
Shahed Nasser
91f6cfad5d docs: wording and structural changes to cloud (#12820)
* docs: wording and structural changes to cloud

* Fix vale error

* Fix faq title

* Fix heading levels

* Small change to previews
2025-06-25 12:20:02 +03:00
Riqwan Thamir
820a936b98 feat: add cookie options (#12720)
* feat: add cookie options

* feat: allow configuring hmr server port via the HMR_PORT env var

* support configuring HMR host and proto

* allow configuring the hmr client_port

* cleanup

* cleanup

---------

Co-authored-by: Harminder Virk <virk.officials@gmail.com>
Co-authored-by: Salvador Gironès <salvadorgirones@gmail.com>
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
2025-06-25 11:18:28 +02:00
Adrien de Peretti
d517dbd66a feat(): Add support for jwt asymetric keys (#12813)
* feat(): Add support for jwt asymetric keys

* Create early-chefs-chew.md

* fix unit tests

* Add verify options support

* feedback

* fix unit tests
2025-06-25 10:29:32 +02:00
Adrien de Peretti
a833c3c98c fix(utils): build query withDeleted remove auto detection (#12788)
**What**
Currently, filtering data providing a `deleted_at` value will automatically apply the `withDeleted` flag which in turns remove the default constraint apply to all queries `deleted_at: null`. The problem is that it does not account for the value assign to `deleted_at` leading to inconsistent behaviour depending on the value. e.g filtering with `deleted_at: { $eq: null }` where the expectation is to only filter the non deleted record will end up returning deleted record as well by applying the `withDeleted` filters.

This pr revert this auto detection if favor of the user providing `withDeleted` explicitly, as it is already supported , plus the filters.

Further more, some integration tests demonstrate how to filter deleted records (e.g product) from the api. While the api did not properly support it, this pr adds support to pass with_deleted flags to the query and being handled accordingly to our api support. Validators have been updated and product list end point benefit from it. Also, the list config type was already accepting such value which I have translated to the remote query config.

Also, since the previous pr was adjusting the product types, I ve adjusted them to match the expectation
2025-06-25 07:51:37 +00:00
Frane Polić
9d61bb7e71 fix(dashboard): fix currency input locale formatting (#12812)
* fix: refund forms and format currency util

* fix: claim form

* fix: return form

* fix: exchange form
2025-06-25 09:23:49 +02:00
Ante Primorac
6ca755ede7 feat: Enable filtering admin products by variant EAN, UPC, and barcode (#12815)
* Add filters for variant ean, upc, and barcode in product queries and validators

* fix: Omit 'q' field from variants in product list and validation parameters

* Add tests for admin products filtering by variants ean, upc, and barcode

* Add changeset for filter admin products api by variant ean, upc, and barcode

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-06-25 09:17:01 +02:00
juanzgc
fbf33885f5 feat: Search by billing_address and shipping_address on Order model (#12814)
* feat: Search by billing_address and shipping_address on Order model

**What**
Added `.searchable()` method to the `shipping_address` and `billing_address` relationships in the `Order` model, enabling search functionality.

**Why**
Previously searching via `shipping_address` and `billing_address` was not supported, limiting the ability to find orders based on shipping or billing address information.

Resolves SUP-1838

* Update integration tests to include billing_address and non-existing addresses.
2025-06-25 09:16:40 +02:00
Carlos R. L. Rodrigues
ba1e6595b7 fix(payment): round curency precision (#12803) 2025-06-24 18:41:14 +02:00
Shahed Nasser
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
juanzgc
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 Nasser
490695a83a docs: added malchimp integration guide (#12807)
* docs: added malchimp integration guide

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

* added error capturing

* generate
2025-06-24 12:05:37 +03:00
Shahed Nasser
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 Radevski
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 Juhl
a263d8818d chore: Update teams.yml 2025-06-20 21:03:41 +02:00
Shahed Nasser
ab21ac57ca docs: use Kapa React SDK (#12792) 2025-06-20 18:24:14 +03:00
Shahed Nasser
77d0f00929 docs: fix padding when AI assistant is open on some screens (#12786) 2025-06-20 13:28:29 +03:00