Frane Polić
6e806942c7
fix:(dasboard, order): set return status on cancel ( #13578 )
2025-09-24 08:48:00 +02:00
Adrien de Peretti
12a96a7c70
chore(): Move peer deps into a single package and re export from framework ( #13439 )
...
* chore(): Move peer deps into a single package and re export from framework
* WIP
* update core packages
* update cli and deps
* update medusa
* update exports path
* remove analyze
* update modules deps
* finalise changes
* fix yarn
* fix import
* Refactor peer dependencies into a single package
Consolidate peer dependencies into one package and re-export from the framework.
* update changeset
* Update .changeset/brown-cows-sleep.md
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* rm deps
* fix deps
* increase timeout
* upgrade version
* update versions
* update versions
* fixes
* update lock
* fix missing import
* fix missing import
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-09-22 18:36:22 +02:00
Shahed Nasser
3758303a1d
fix(order): save return's location ID from input ( #13567 )
2025-09-22 13:59:58 +03:00
Adrien de Peretti
8ece06d8ed
chore(): upgrade mikro orm ( #13450 )
2025-09-19 21:39:18 +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
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
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
github-actions[bot]
6525ac5c1c
chore: Version Packages ( #13354 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 15:42:43 +02:00
Adrien de Peretti
823a5c75ff
chore(): order module index and some impl details ( #13462 )
...
* order module fixes
* order module fixes
* fixes
* revert big number
* Create wet-wombats-rule.md
2025-09-11 09:02:38 +02:00
Adrien de Peretti
e8822f3e69
chore(): Module Internal Events ( #13296 )
...
* chore(): Ensure the product module emits all necessary events
* chore(): Ensure the product module emits all necessary events
* Update events tests
* more events and fixes
* more tests and category fixes
* more tests and category fixes
* Add todo
* update updateProduct_ event emitting and adjust test
* Adjust update products implementation to rely on already computed events
* rm unnecessary update variants events
* Fix formatting in changeset for product events
* refactor: Manage event emitting automatically (WIP)
* refactor: Manage event emitting automatically (WIP)
* chore(api-key): Add missing emit events and refactoring
* chore(cart): Add missing emit events and refactoring
* chore(customer): Add missing emit events and refactoring
* chore(fufillment, utils): Add missing emit events and refactoring
* chore(fufillment, utils): Add missing emit events and refactoring
* chore(inventory): Add missing emit events and refactoring
* chore(notification): Add missing emit events and refactoring
* chore(utils): Remove medusa service event handling legacy
* chore(product): Add missing emit events and refactoring
* chore(order): Add missing emit events and refactoring
* chore(payment): Add missing emit events and refactoring
* chore(pricing, util): Add missing emit events and refactoring, fix internal service upsertWithReplace event dispatching
* chore(promotions): Add missing emit events and refactoring
* chore(region): Add missing emit events and refactoring
* chore(sales-channel): Add missing emit events and refactoring
* chore(settings): Add missing emit events and refactoring
* chore(stock-location): Add missing emit events and refactoring
* chore(store): Add missing emit events and refactoring
* chore(taxes): Add missing emit events and refactoring
* chore(user): Add missing emit events and refactoring
* fix unit tests
* rm changeset for regeneration
* Create changeset for Medusa.js patch updates
Add a changeset for patch updates to multiple Medusa.js modules.
* rm unused product event builders
* address feedback
* remove old changeset
* fix event action for token generated
* fix user module events
* fix import
* fix promotion events
* add new module integration tests shard
* fix medusa service
* revert shard
* fix event action
* fix pipeline
* fix pipeline
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-09-10 14:37:38 +02:00
Adrien de Peretti
0b55295fc7
Revert "chore(): Upgrade mikro orm ( #13390 )" ( #13449 )
...
This reverts commit a095245d71 .
2025-09-09 20:06:31 +02:00
Adrien de Peretti
a095245d71
chore(): Upgrade mikro orm ( #13390 )
...
* chore(): Upgrade mikro orm
* handle 'null' value for big number props
* 6.5.2
* remove only
* fix pricing module rule value
* switch select in strategy for balances
* revert to select in strategy for order module
* fix defining DML ManyToOne
* fix define relationship
* test fix
* more fixes
* change order strategy to balanced
* change order strategy to balanced
* prevent unnecessary manager fork
* revert generated www changes
* remove unnecessary changes
* Create real-cobras-deny.md
* address feedback
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-09-08 21:10:44 +02:00
github-actions[bot]
6dca59d0a5
chore: Version Packages ( #13338 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 22:58:13 +02:00
github-actions[bot]
08ec3ed9f2
chore: Version Packages ( #13209 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 17:25:32 +02:00
github-actions[bot]
01fa17d2ad
chore: Version Packages ( #13045 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-14 13:23:45 +02:00
github-actions[bot]
137ea0883d
chore: Version Packages ( #12924 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-24 09:41:35 +02:00
github-actions[bot]
b7aa719540
chore: Version Packages ( #12883 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-08 19:49:15 +02:00
Oli Juhl
a7700f116f
fix(order, core-flows): Tax inclusive order line item adjustments ( #12875 )
...
* fix(order, core-flows): Tax inclusive order line item adjustments
* fix test
2025-07-06 22:32:17 +02:00
Adrien de Peretti
2f70f13351
fix(): Order constraint and receive return ( #12889 )
...
**What**
- Fix missing `ON DELETE CASCADE` constraint on order credit lines
- Fix `receiveReturn` miss usage
- Make all order integration tests to run and rename them all to `*.spec.ts`
- Fix package.json typo
2025-07-04 12:59:50 +00:00
github-actions[bot]
22396134b3
chore: Version Packages ( #12832 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-30 16:16:24 +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
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
Oli Juhl
b79215dd5c
fix(utils): Typecasting non-text fields in FTS ( #12729 )
2025-06-13 13:18:50 +02:00
github-actions[bot]
68a796d300
chore: Version Packages ( #12583 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-05 20:33:53 +02:00
Frane Polić
9866baa852
feat(core-flows,js-sdk,medusa,types): draft order delete ( #12172 )
2025-05-28 14:37:00 +02:00
github-actions[bot]
5ad3615830
chore: Version Packages ( #12576 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-22 14:04:27 +02:00
olivermrbl
8c0b49fed4
chore: Version packages
2025-05-16 11:04:39 +02:00
olivermrbl
d2dd2e7c72
chore: Version packages
2025-05-15 09:49:09 +02:00
olivermrbl
d3a5868e8b
chore: Version packages
2025-05-13 12:56:07 +02:00
Harminder Virk
552dc52228
test: use shared as integration-tests level ( #12278 )
2025-04-28 18:41:19 +05:30
olivermrbl
2fec5f4aa0
chore: Version packages
2025-04-23 09:27:02 +02:00
olivermrbl
d61694385d
chore: Version packages
2025-04-11 10:25:36 +02:00
Frane Polić
9bf1e52d25
fix(order): update add item unit price ( #12072 )
2025-04-04 12:47:00 +02:00
Kasper Fabricius Kristensen
f441362f4a
feat(medusa,core-flows,types,js-sdk): Draft Order workflows and API endpoints ( #11805 )
2025-04-02 10:23:33 +02:00
Riqwan Thamir
1f8fab3636
feat(core-flows,types,order,cart): assign tax lines only to regular products ( #11994 )
...
what:
- assign tax lines only to regular products
2025-03-26 22:26:34 +00:00
Frane Polić
d0d2ea4f20
fix(order): caculate received total for pending difference ( #11919 )
...
**What**
- use the return received total to compute pending difference with return requested total
**Why**
- this would show incorrect outstanding amount when receiving a return and also, the outstanding amount after the return is received would be incorrect
2025-03-25 18:14:44 +00:00
Riqwan Thamir
cb6249320e
fix(types,order,medusa): Create credit lines + hooks ( #11569 )
...
what:
- api/workflows to create credit lines
- hooks to enable extending credit lines
2025-03-17 15:20:59 +00:00
olivermrbl
f1cac99316
chore: Version packages
2025-03-10 15:44:09 +01:00
Oli Juhl
3b470f4142
chore: remove ranges on medusa packages ( #11738 )
2025-03-06 14:17:05 +01:00
olivermrbl
5d74ac3cc3
chore: Version packages
2025-03-04 14:11:37 +01:00
Carlos R. L. Rodrigues
7dbec10b3b
fix(order): summary raw totals ( #11712 )
2025-03-04 11:01:12 +00:00
Riqwan Thamir
fb2e86484a
feat(core-flows,types,cart): add credit lines to cart ( #11419 )
...
* feat(core-flows,types,cart): add credit lines to cart
* chore: fix specs
* chore: credit lines hook
* chore: update types
* chore: added credit line totals
* chore: add totals fields to query config
* chore: add complete cart hook
* chore: add credit lines creation to order
* chore: pr ready for review
* chore: fix tests
* Apply suggestions from code review
* chore: fix types
* chore: adjust summary calculations with new totals
2025-02-24 14:34:36 +01:00
olivermrbl
3f7470022c
chore: Version packages
2025-02-24 11:36:46 +01:00
Carlos R. L. Rodrigues
0c957350a6
fix(order): calculate taxes on order edit flows ( #11518 )
...
* fix(order): calcualte taxes on order edit flows
* merge summary
* tests
* fix pending difference
* comments
* claim test
* revert method
2025-02-21 15:27:40 +01:00
olivermrbl
682dcf6507
chore: Version packages
2025-02-11 12:00:43 +01:00
Oli Juhl
db03738b5f
chore: Revert version range to ^ ( #11390 )
2025-02-11 11:35:25 +01:00
Harminder Virk
016e332e9b
feat: make AbstractModuleService create method type-safe ( #11216 )
2025-02-03 21:25:01 +05:30
Shahed Nasser
16fe43f214
fix(order): add data model name in define schema ( #11181 )
...
Add missing data model name in `model.define` in the Order Module where missing, as we need to infer the names in the references we generate
Closes DX-1305
2025-01-29 10:53:13 +00:00
olivermrbl
986ee8008e
chore: Version packages
2025-01-27 09:35:06 +01:00
Adrien de Peretti
9321920227
fix: Medusa package version should use ~ instead of ^ ( #11077 )
...
RESOLVES FRMW-2859
2025-01-22 15:15:30 +00:00