Commit Graph

8957 Commits

Author SHA1 Message Date
Adrien de Peretti
4c1c1dd4c0 chore(): Further improve promotions computation (#13556)
* chore(): Further improve promotions

* chore(): Further improve promotions

* chore(): Further improve promotions

* chore(): Further improve promotions

* chore(): Further improve promotions

* Create lazy-lemons-occur.md

* chore(): Further improve promotions

* WIP

* fix

* improve:

* fix attribute tests

* fix tests

* union
2025-09-19 21:34:35 +02:00
Adrien de Peretti
cb716856b6 fix(engine): Always create cleaner job (#13557)
RESOLVES CORE-1206

**What**
Instead of removing cleaner repeatable job and risk to remove it while other instances are still up, we always create it, since the id of a job is unique and we give one to the job, if already present it wont get added
2025-09-19 14:38:14 +00:00
William Bouchard
e5a82518f1 fix(types): pluralize settings (#13558) 2025-09-19 14:35:23 +00:00
Bastien
bb6cc586f7 feat: Add metadata to shipping options endpoints (#13554) 2025-09-19 12:28:20 +02:00
Shahed Nasser
5b7187c261 docs: disable retrieving Cloud pricing data on preview + other changes (#13552)
* docs: disable retrieving Cloud pricing data on preview + other changes

* fixes
2025-09-19 12:40:17 +03:00
Shahed Nasser
2f990a14e6 docs: generate API reference for 2.10.3 (#13548)
* docs: generate API reference for 2.10.3

* fix curl example
2025-09-19 11:40:52 +03:00
Shahed Nasser
0e45249b30 docs: regenerate reference for views changes (#13551) 2025-09-19 10:45:55 +03:00
Shahed Nasser
0fd479f9d6 chore: add since and feature flag TSDocs for setting workflows (#13550) 2025-09-19 10:44:22 +03:00
github-actions[bot]
138e340917 chore(docs): Generated References (automated) (#13544)
Generated the following references:
- `api_key_models`
- `auth_models`
- `cart_models`
- `core_flows`
- `currency_models`
- `customer_models`
- `fulfillment_models`
- `inventory_next_models`
- `js_sdk`
- `modules`
- `order`
- `order_models`
- `payment_models`
- `pricing_models`
- `product_models`
- `promotion_models`
- `region_models`
- `sales_channel_models`
- `stock_location_next_models`
- `store_models`
- `tax_models`
- `types`
- `user_models`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-09-19 06:21:46 +00:00
William Bouchard
1fd439e321 fix(medusa-test-utils): add health endpoint in test server (#13546)
* fix(medusa-test-utils): add health endpoint in test server

* Create neat-pumas-promise.md

* comment
2025-09-18 15:17:48 -04:00
github-actions[bot]
c506985737 chore(docs): Update version in documentation (automated) (#13543)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-09-18 19:22:24 +02:00
github-actions[bot]
6866ba963d chore(docs): Generated + Updated UI Reference (automated) (#13542)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-09-18 19:22:09 +02:00
William Bouchard
0695c5844f fix(auth-emailpass): better handle identity with same email error (#13537)
* fix(auth-emailpass): better handle identity with same email error

* add test

* Create blue-laws-argue.md

* check for empty object

* trueeee

* nit

* flip condition
2025-09-18 13:05:54 -04:00
olivermrbl
a503bbe596 chore: Release 2025-09-18 18:42:29 +02:00
github-actions[bot]
174b5b1cb7 chore: Version Packages (#13494)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-18 18:38:07 +02:00
Sebastian Rindom
41047b3854 feat(dashboard): configurable product views (#13408)
* feat: add a reusable configurable data table

* fix: cleanup

* fix: cleanup

* fix: cache invalidation

* fix: test

* fix: add configurable products

* feat: add configurable product table

* fix: build errors+table style

* fix: sticky header column

* add translations

* fix: cleanup counterenderer

* fix: formatting

* fix: client still skips nulls

* fix: test

* fix: cleanup

* fix: revert client bracket format

* fix: better typing

* fix: add placeholder data to product list
2025-09-18 18:27:17 +02:00
Carlos R. L. Rodrigues
9563ee446f fix(utils,core-flows): subtotal calculation and returns location (#13497)
* fix(utils,core-flows): subtotal calculation and returns location

* changeset

* fix test

* var

* rm extra field from test

* fix original total

* fix partial refunds and pending difference

* fix test

* fix test

* test

* extract to util

* original total and update payment when receive return

* original_subtotal

* default fields

* test

* calculate pending difference

* revert claims test

* pending difference

* creadit line fix

* if
2025-09-18 17:50:40 +02:00
Adrien de Peretti
4736c58da5 fix: Prevent promotion filtering to exceed psql limits (#13540)
* fix(): Prevent promotion filtering to exceed psql limits

* Create sour-rockets-grin.md
2025-09-18 17:50:10 +02:00
Shahed Nasser
aa7ea4d9a6 chore: add tsdocs for latest changes (#13539) 2025-09-18 18:04:24 +03:00
Adrien de Peretti
57897c232e feat(): prefilter top level promotion rules in db (#13524)
* feat(): promotion pre filtering rule from db

* wip

* feat(): promotion pre filtering rule from db

* improve test readability

* resolve conflict

* fix automatic flag

* add index on attribute and operator

* add index on attribute and operator

* finalize

* cleanup

* cleanup

* cleanup

* cleanup

* Create purple-cars-design.md

* fixes

* fixes

* simplify filters

* fix filter

* fix filter

* further improvements

* fixes

* fixes

* fixes

* fix exclusion

* fix comment

* fix comment
2025-09-18 14:34:03 +02:00
Oli Juhl
76497fd40a fix(core-flows): Lock cart on shipping update (#13535) 2025-09-17 21:29:45 +02:00
Adrien de Peretti
c847f7d8bf test(): Try to reproduce automatic promotion adjustments being applied twice (#13533)
**What**
Check that cart update will remove adjustment before creating a new one

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-09-17 18:24:27 +00:00
tehaulp
dcca42ec51 fix(dashboard): added missing currencies (#13214)
Related to #13086, #12440 and #12668

Currencies were added in the migrations, but not in the admin dashboard list, causing admin display errors.

This mod should fix that

Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
2025-09-17 17:34:19 +00:00
William Bouchard
1071296236 feat(core-flows): hook to set shipping opt context when listing (#13468)
* feat(core-flows): add hook to set shipping option context when listing them

* changeset

* add integration test

* add it to other workflow

* missing hook in workflow response

* rework workflow

* rework workflow

* typing issue

* comment from oli

* cursor the goat

* tests

* save lines

* move code around

* missing additional params in many places

* smal fix

* smal fix
2025-09-17 19:20:02 +02:00
Shahed Nasser
def722d8ee docs: improve third-party auth in storefront guide (#13534) 2025-09-17 18:13:54 +03:00
Adrien de Peretti
7de42a69a5 chore(): Shard unit tests jobs (#13525)
* chore(): Shard unit tests jobs

* pass with no tests

* try artifacts

* Revert "try artifacts"

This reverts commit 43663b46ea1fb2d3131182b733ab6e202ea83f1d.
2025-09-17 09:52:58 +02:00
Shahed Nasser
ba9a30757b docs: general improvements (#13530) 2025-09-17 08:48:18 +03:00
Shahed Nasser
1c4f7bd53a docs: fixes to JS SDK + auth provider guides (#13526)
* docs: fixes to JS SDK + auth provider guides

* more fixes

* fix lint error
2025-09-16 18:39:56 +03:00
Shahed Nasser
92102dcafb docs: add Next.js starter guides to llms-full.txt (#13523) 2025-09-16 16:17:07 +03:00
Frane Polić
8565dcfc46 fix(core-flows, medusa): don't allow negative line item quantity (#13508)
* fix(core-flows,medusa): don't allow negative line item quantity

* fix: greater than 0

* feat: add test

* wip: update update item flow to remove item when qty is 0

* fix: paralelize

* fix: when argument

* fix: emit event
2025-09-16 11:54:20 +02:00
Adrien de Peretti
25634b0382 test(): test dynamic max workers and improve CI (#13516)
* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* Clarify test description and improve CI
2025-09-16 11:11:03 +02:00
Shahed Nasser
b6d96a1b03 docs: small update to invoice generator introduction (#13519) 2025-09-16 09:54:35 +03:00
Shahed Nasser
d4891381fc docs: general improvements and fixes (#13515) 2025-09-16 08:48:27 +03:00
Adrien de Peretti
d9b11b9784 fix(medusa): Use the correct boolean validator (#13510) 2025-09-15 19:17:08 +02:00
Shahed Nasser
4af1815c5b chore: add a link to the storefront docs for cart item totals type (#13514) 2025-09-15 16:18:20 +00:00
Shahed Nasser
8c21243f42 docs: add section on retrieve totals for cart items and shipping methods in storefront (#13513)
* docs: add section on retrieve totals for cart items and shipping methods in storefront

* change return type

* update OAS
2025-09-15 19:11:17 +03:00
William Bouchard
88748ba09d fix(types): pluralize words ending in s like status (#13461)
* fix(types): pluralize words ending in s like status

* changeset
2025-09-15 11:27:13 -04:00
William Bouchard
2a29c6f82c fix(types): cart item totals optional (#13509)
Totals are not returned by default, so they should be marked as optional
2025-09-15 13:28:34 +00:00
Shahed Nasser
040fbf3220 chore(core-flows): use directory convention for locking steps (#13501) 2025-09-15 14:46:08 +03:00
Shahed Nasser
b1d068197b chore: update TSDocs of JS SDK store methods to clarify required auth (#13507) 2025-09-15 14:33:11 +03:00
Shahed Nasser
9f7df88c84 docs: add clarification for set cart's customer API route (#13506) 2025-09-15 14:32:36 +03:00
Shahed Nasser
2ceed66b4d docs: fix issues in product builder tutorial (#13505) 2025-09-15 14:06:56 +03:00
Shahed Nasser
5589b7351a docs: documentation updates for v2.10.2 (#13500) 2025-09-15 13:56:50 +03:00
Adrien de Peretti
ebf33bea43 fix(): pipeline missing suites (#13457)
* fix(): pipeline missing suites

* fix tax integration tests

* fix tax integration tests

* fix pipeline

* fix link integration tests

* remove old tests and move current one

* fix workflow execution integration tests

* fix tests and orchestrator

* Fix missing suites in pipeline

Remove integration-tests-modules from patch list.
2025-09-15 12:54:57 +02:00
Shahed Nasser
21c6e8600f chore(js-sdk): add ignore tag to views (#13503) 2025-09-15 13:30:11 +03:00
Shahed Nasser
55cf7a7b97 docs: regenerate core-flows reference to pick up locking steps (#13502) 2025-09-15 13:29:03 +03:00
Shahed Nasser
e90dcedcd7 docs: general improvements and updates (#13485)
* docs: general improvements and updates

* fix vale error
2025-09-15 12:30:59 +03:00
Shahed Nasser
b35b1b41a4 chore: update API reference for 2.10.2 (#13499) 2025-09-15 12:30:09 +03:00
Shahed Nasser
2657f9c196 docs: add manage promotions in cart storefront guide (#13483)
* docs: add manage promotions in cart storefront guide

* fix incorrect cURL example
2025-09-15 12:29:55 +03:00
Sebastian Rindom
23d5a902b1 feat(dashboard): reusable config datatable (#13389)
* feat: add a reusable configurable data table

* fix: cleanup

* fix: cleanup

* fix: cache invalidation

* fix: test

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-09-15 10:59:00 +02:00