Commit Graph
8115 Commits
Author SHA1 Message Date
valerioXploandGitHub df5d410be2 docs: fixed POST request in code snippet for quotation acceptance (#11983)
docs: fixed POST request in code snippet for quotation acceptance
2025-04-11 13:42:11 +03:00
Kunut Mix ChirdchaiandGitHub ff9d1624b2 docs: Fix incorrect syntax in code snippets on Create Payment Provider page. (#12012) 2025-04-11 13:41:49 +03:00
Sai-Santhan-DoddaandGitHub 7ae02194f4 docs: fix path in algolia guide (#12141)
Converted "src/api/store/search/route.ts" to "src/api/store/products/search/route.ts"
2025-04-11 13:40:56 +03:00
Shahed NasserandGitHub 4283fa37b7 docs: fix schema of product category (#12145) 2025-04-11 12:48:53 +03:00
46952e9fa5 chore(docs): Generated DML JSON files (automated) (#12153)
This PR holds all generated DML JSON files for the upcoming release.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-04-11 09:21:20 +00:00
e0bbe85f18 chore(docs): Update version in documentation (automated) (#12152)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-11 12:02:02 +03:00
Shahed NasserandGitHub 18dc3cf9c9 docs: changes for next release (#12098)
* docs: changes for next release

* generate

* generate
2025-04-11 11:58:19 +03:00
olivermrbl af5918d03f chore: Release 2025-04-11 10:27:27 +02:00
olivermrbl d61694385d chore: Version packages 2025-04-11 10:25:36 +02:00
Adrien de PerettiandGitHub 6015dcc16d chore(product): Missing index in migration (#12150)
* chore(product): Missing index in migration

* Create silent-parrots-tickle.md
2025-04-11 10:18:58 +02:00
Oli JuhlandGitHub 40b08f7325 chore: Patch changesets to avoid major bumps (#12151) 2025-04-11 10:18:31 +02:00
Frane PolićandGitHub 95a8c7b57e fix(dashboard): product type metadata form (#12149) 2025-04-11 09:14:32 +02:00
Adrien de PerettiandGitHub 3a1cf2212a chore: Cache available price rule attributes (#12144)
**What**
We found out that the pricing context from the cart always contains the entire cart, even though it is kind of wrong. The issue is that even though we improve the performances of the query, it will cost a lot to have hundreds of constraint for nothing potentially. For that reason, we cache the attributes in memory with the best possible query we can do to gather them and we renew them when we perform a calculate prices if it has been reset. That way, we ensure we don't have unnecessary checks on attributes that does not have rules.

Since we don't have the type table anymore which was doing that for us and until we have a proper caching layer it would do IMO. But the rules type table was very useful for these attributes findings
2025-04-10 15:55:35 +00:00
Adrien de PerettiandGitHub d87b25203c chore(promotion): Improve performances [1] (#12129)
**What**
Reduce database queries when possible and use proper data structure and aggregation when possible in order to reduce performance decrease overall
2025-04-10 15:53:39 +00:00
Carlos R. L. RodriguesandGitHub 31abba8cde fix(orchestrator): save checkpoint before async step (#12138) 2025-04-10 15:36:36 +00:00
Adrien de PerettiandGitHub 07252691c5 chore(pricing): Pricing retrieval improvements (#12128)
**What**
I have removed the check for the context key where it was fetching all attributes available and then stripping out the one that does not exists.. On big dataset these would remove multiple hundreds of ms of query execution
2025-04-10 09:39:21 +00:00
Adrien de PerettiandGitHub 6ae1e7b708 chore(medusa-test-utils): Prevent waiting for event indefinately (#12137)
**What**
Currently the util await for event infinitely, this can lead to chain crashes in the jest tests suites leading to too much noise to investigate proper issues.
We now have a default time out raced against the promise that is configurable to prevent from waiting for an excessive amount of time
2025-04-10 09:09:29 +00:00
Pedro GuzmanandGitHub 8804ca2f9c fix: allow backorder variants to be added to cart even if no locations (#12083)
* fix: allow backorder variants to be added to cart even if no locations

* document and unit test prepareConfirmInventoryInput
2025-04-09 19:15:42 +02:00
Carlos R. L. RodriguesandGitHub f615ebb7e8 chore: retry util on tests (#12126) 2025-04-09 16:07:05 +00:00
Adrien de PerettiandGitHub cb26c224ea chore(pricing): improve calculate prices performances (#12120)
* chore(pricing): Try to improve performances

* chore(pricing): new indexes

* chore(pricing): new indexes

* fix orderr

* Create olive-horses-judge.md

* feedback
2025-04-09 13:21:33 +02:00
13e159d8ad fix(workflow-engine-*): Prevent passing shared context reference (#11873)
* fix(workflow-engine-*): Prevent passing shared context reference

* fix(workflow-engine-*): Prevent passing shared context reference

* prevent tests from hanging

* fix event handling

* add integration tests

* use interval for scheduled in tests

* skip tests for now

* Create silent-glasses-enjoy.md

* fix cancel

* changeset

* push multiple aliases

* test multiple field alias

* increase wait time to index on test

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
2025-04-09 10:39:29 +02:00
Adrien de PerettiandGitHub 2a18a75353 chore(framework): slightly improve maybe apply link filter middleware (#12113)
**What**
- Use the resource id filtering when possible instead of relying on programmatic intersection checks over potential hundreds thousands of resources from the link when in fact it is not necessary to fetch everything to check in memory but instead check in the db 
- Also fix normalizeDataForContext middlewares
2025-04-09 04:03:10 +00:00
Adrien de PerettiandGitHub 74381addc3 chore(): Emit events in batch and index process event ids in batch (#12097)
**What**
First iteration to prevent events from overwhelming the systems.
- Group emitted event ids when possible instead of creating a message per id which leads to reduced amount of events to process massively in cases of import for example
- Update the index engine to process event data in batches of 100
- Update event handling by the index engine to be able to upsert by batch as well
- Fix index engine build config for intermediate listeners inferrence
2025-04-08 16:57:08 +00:00
b05807bfc1 feat(inventory): Add quantity across locations translation and formatting (#11564)
Co-authored-by: Stevche Radevski <sradevski@live.com>
2025-04-08 15:31:18 +02:00
Shahed NasserandGitHub 78ee2e3063 docs: remove start-cluster command + update start options (#12116) 2025-04-08 15:47:10 +03:00
9ac74eead4 feat(core-flows,types): export fetchShippingOptionForOrderWorkflow (#12103)
* feat(core-flows,types): export fetchShippingOptionForOrderWorkflow

* revert change

* change to tsdoc

* fix errors

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-08 13:05:03 +03:00
Muhammad Abdullah HaiderandGitHub 65b5beb59c Fixed typo (#12107) 2025-04-07 16:47:59 +00:00
Shahed NasserandGitHub 6c6c3dec9f docs: added missing information on plugin migrations (#12108) 2025-04-07 18:12:25 +03:00
Shahed NasserandGitHub 83d29c2e79 chore(js-sdk, types): add TSDocs for plugin methods in JS SDK (#12106)
* chore(js-sdk, types): add TSDocs for plugin methods in JS SDK

* tsdocs for draft orders
2025-04-07 18:11:33 +03:00
Carlos R. L. RodriguesandGitHub 92c7baa561 fix(orchestration): handle multiple shortcuts with same name (#12066) 2025-04-07 11:59:28 -03:00
Shahed NasserandGitHub cc71dc2620 docs: update bulk editor user guide + add redirect from old v1 next js (#12104)
* docs: update bulk editor user guide + add redirect from old v1 next js

* update page titles
2025-04-07 17:27:45 +03:00
Shahed NasserandGitHub 9ece840027 docs: fixes to content and UI (#12101) 2025-04-07 16:10:12 +03:00
Shahed NasserandGitHub 2be03d0d39 chore(types,utils): fixes to TSDocs for HTTP types and payment provider (#12102) 2025-04-07 16:08:39 +03:00
PauseBandGitHub 1377eaadcd Added Korean translation (#12076) 2025-04-07 14:09:13 +02:00
Shahed NasserandGitHub 4780226145 chore(core-flows): added TSDocs for setPricingContext hooks (#12100) 2025-04-07 14:49:24 +03:00
Shahed NasserandGitHub fde85888bd docs-util: handle workflows with intersection hook types (#12099) 2025-04-07 14:00:08 +03:00
SteelRazor47andGitHub 5b5fea29c7 add missing "filters" IT translations (#12069) 2025-04-07 09:58:29 +02:00
Philipp EckelandGitHub 20c55f1e2c fix: fix German translation for 'captured' (#12008)
While 'gefangen' is a correct German word, using it here is not correct.

'Erhalten' is more like 'received'.
2025-04-07 09:57:09 +02:00
d2b29465ef Add Vietnamese Language (#11969)
Co-authored-by: sonvt <dev@titando.com>
2025-04-07 09:56:01 +02:00
Karl HofmannandGitHub 8d737ef9c2 Minor Translation Corrections (German / DE) 2025-04-07 09:38:37 +02:00
olivermrbl 386205d0f4 chore: Add missing changeset for #11803 2025-04-06 18:41:13 +02:00
Frane PolićandGitHub f01e0868bd fix(dashboard): product create discountable flag (#12073)
* fix(dashboard): product create discountable flag

* chore: changeset
2025-04-06 17:32:27 +02:00
Frane PolićandGitHub 9bf1e52d25 fix(order): update add item unit price (#12072) 2025-04-04 12:47:00 +02:00
Frane PolićandGitHub a8513019db fix(core-flows,dashboard): handling authorized payment collection on OE (#11958)
* wip: handling authorized payment collection on OE

* fix: update condition

* fix: condition for creation

* chore: remove commented code

* chore: changeset, refactor

* chore: typo, comments

* fix: add a test case

* fix: reorg workflows, partially captured

* fix: status enum type
2025-04-02 13:57:44 +02:00
Carlos R. L. RodriguesandGitHub 2270f29ec5 chore(link-modules): backward compatible links (#12062)
What:
 * Add `hasMany` for links that accepted that in the past. That way we don't block marketplaces to link 1 cart to multiple orders and carts with split payment.
2025-04-02 11:56:48 +00:00
d3e725a907 feat: add hasMany flag to enforce in app link uniqueness (#12039)
* feat: add createMultiple flag to enforce inApp link uniqueness

* changes

* mocks

* default

* many to many

---------

Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com>
2025-04-02 10:46:51 +02:00
Kasper Fabricius KristensenandGitHub f441362f4a feat(medusa,core-flows,types,js-sdk): Draft Order workflows and API endpoints (#11805) 2025-04-02 10:23:33 +02:00
5f3a82f5c3 fix(core-flows): applying product type promotion (#12051)
* fix: applying porduct type promotion

* Create fair-terms-tell.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-02 09:35:25 +02:00
Shahed NasserandGitHub 5a1f2db542 docs: added a routes summary section in API reference (#12035)
* docs: added routes summary

* added sorting
2025-03-28 19:29:57 +02:00
Harminder VirkandGitHub 2f7eb0ee03 fix: validate module names to disallow unallowed characters (#12025) 2025-03-28 22:39:39 +05:30