Commit Graph

8169 Commits

Author SHA1 Message Date
Ezequiel Schejtman
c8e8a39e6a docs: Fix typo "documenation" in env vars page.mdx (#12247) 2025-04-21 07:18:05 +00:00
Adrien de Peretti
49c526399e fix(medusa): sales_channel_id middleware manipulation (#12234)
* fix(medusa): sales_channel_id middleware manipulation leading to lost of the sc

* fix(medusa): sales_channel_id middleware manipulation leading to lost of the sc

* add unit tests

* add unit tests

* improve

* integration tests
2025-04-20 17:42:59 +02:00
Shahed Nasser
a8a7af46a6 docs: fix revalidate cache guide (#12243) 2025-04-18 19:21:38 +03:00
Shahed Nasser
f3cb8f2e03 docs: fix index.html.md causing 404 (#12241)
* docs: fix index.html.md causing 404

* update next.js

* test

* test

* test

* test

* fix revalidate

* test

* test

* test

* test

* test

* test

* test

* test

* clean up
2025-04-18 18:08:54 +03:00
Shahed Nasser
2e65f7ffc0 chore(types): small tsdoc change to file service (#12240) 2025-04-18 14:41:39 +03:00
Shahed Nasser
750b1e9bbf docs: improvements to admin, query, and read-only link docs (#12239)
* improve admin page

* improvemens to query and read-only link docs

* fix build error
2025-04-18 14:41:25 +03:00
Shahed Nasser
9167352778 docs: fix redirect infrastructure modules (#12238)
* docs: fix redirect infrastructure modules

* change middleware
2025-04-18 14:19:55 +03:00
Shahed Nasser
db0fe0fc91 docs: add LLM dropdown menu to documentation pages (#12235)
* docs: add LLM dropdown menu to documentation pages

* fix build errors
2025-04-18 13:18:27 +03:00
Harminder Virk
24af8f2d8e fix: expose beforeRefreshingPaymentCollection hook (#12232)
Fixes: FRMW-2942
Fixes: #12228
2025-04-18 09:31:19 +00:00
Shahed Nasser
a3aa5d7a66 dos: add docs on overriding allowed fields in routes (#12233) 2025-04-18 11:38:36 +03:00
Adrien de Peretti
28958b2e26 Chore/orchestration storage improvements (#12178)
**What**
Cleanup and improve workflow storage utility
2025-04-18 08:35:23 +00:00
Oli Juhl
fe74e77a7a chore: Pass more data to fulfillment provider (#12186)
* fix(core-flows): Add more fulfillment data

* fix(core-flows): Add more fulfillment data

* add more fields

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2025-04-18 10:24:46 +02:00
Stevche Radevski
c4a0b63778 feat: Add support for uploading a file directly to the file provider from the client (#12224)
* feat: Add support for uploading a file directly to the file provider from the client

* fix: Add missing types and add a couple of module tests

* fix: Allow nested routes, add test for it
2025-04-18 10:22:00 +02:00
Shahed Nasser
6b1d8cd3d4 docs: add some redirects from v1 to v2 docs (#12229)
* docs: add some redirects from v1 to v2 docs

* remove comment
2025-04-18 10:34:11 +03:00
Shahed Nasser
c8ec59e323 docs: updates to link to other modules docs (#12225) 2025-04-18 09:28:39 +03:00
Vallabh-Mahanta
6a9417a1bb docs: fix step name in long-running workflow documentation (#12215)
* docs: fix step name in long-running workflow documentation

Fixed inconsistency in the step name - updated 'set-step-failure-step' to 'setStepFailureStep' to match the exported function name.

Fixes #12143

* docs: fix step name in long-running workflow documentation

Changed the step ID from "setStepFailureStep" to "set-step-failure-step" as requested to follow kebab-case naming convention for step IDs.

Fixes #12143

* Update page.mdx

I think this is done. Sorry for inconvenience caused by me.

* Update page.mdx

Sorry for the inconvenience.

* Update page.mdx

Sorry for the inconvenience.

* Update page.mdx

---------

Co-authored-by: Your Name <your-email@example.com>
2025-04-17 19:08:52 +03:00
Shahed Nasser
8b5b96a83d docs-util: fix examples in workflow reference that have multiple code (#12223) 2025-04-17 18:47:09 +03:00
Shahed Nasser
f492a1a475 docs: expand on promotion rules (#12218)
* docs: expand on promotion rules

* generate txt
2025-04-17 18:29:57 +03:00
Shahed Nasser
6f83dbc019 chore: fixes and updates to promotion and shipping option TSDocs (#12222) 2025-04-17 18:29:39 +03:00
Shahed Nasser
19d71fdc63 fix(core-flows): export registerOrderDeliveryStep (#12221)
Export registerOrderDeliveryStep to ensure devs can use it and to show it in the docs
2025-04-17 15:08:26 +00:00
Shahed Nasser
5fe8e2ec04 docs: fix links in submenu navigation (#12220) 2025-04-17 18:06:46 +03:00
Shahed Nasser
c9fd0422c8 docs: document conditional shipping option prices + expand on price rules (#12217)
* docs: document conditional shipping option prices + expand on price rules

* fix errors
2025-04-17 17:52:10 +03:00
Carlos R. L. Rodrigues
e180253d60 feat(orchestration): skip on permanent failure (#12027)
What:
 - Added step config `skipOnPermanentFailure`. Skip all the next steps when the current step fails. If a string is used, the workflow will resume from the given step.
 - Fix `continueOnPermanentFailure` to continue the execution of the flow when a step fails.
 
```ts
createWorkflow("some-workflow", () => {
  errorStep().config({
    skipOnPermanentFailure: true,
  })
  nextStep1() // skipped
  nextStep2() // skipped
})


createWorkflow("some-workflow", () => {
  errorStep().config({
    skipOnPermanentFailure: "resume-from-here",
  });
  nextStep1(); // skipped
  nextStep2(); // skipped
  nextStep3().config({ name: "resume-from-here" }); // executed
  nextStep4(); // executed
});
```
2025-04-17 12:49:58 +00:00
Shahed Nasser
1c5e82af51 chore(core-flows,types): fix links in TSDocs pointing to architectural modules (#12213) 2025-04-17 15:01:28 +03:00
Shahed Nasser
9d27c0c194 docs: add new troubleshooting guides for Query and middlewares (#12214) 2025-04-17 14:18:07 +03:00
Ionut
191965bbfe fix: Ensure shipment includes tracking numbers from fulfillment (#11775)
What: Added existing tracking numbers during shipment creation from the admin dashboard

Bug details: See #11160
2025-04-17 10:42:45 +00:00
Shahed Nasser
eb73bdb478 docs: rename Architectural Modules to Infrastructure Modules (#12212)
* docs: rename Architectural Modules to Infrastructure Modules

* generate again
2025-04-17 13:20:43 +03:00
Adrien de Peretti
8618e6ee38 fix(): Properly handle workflow as step now that events are fixed entirely (#12196)
**What**
Now that all events management are fixed in the workflows life cycle, the run as step needs to leverage the workflow engine if present (which should always be the case for async workflows) in order to ensure the continuation and the ability to mark parent step in parent workflow as success or failure

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-04-17 09:34:19 +00:00
Shahed Nasser
9abcf7a83a docs: update introduction and homepage following Framework changes (#12211) 2025-04-17 11:40:56 +03:00
Shahed Nasser
42262d41a1 docs: capitalize use of Framework across docs (#12207)
* docs: capitalize use of Framework across docs

* generate llm
2025-04-17 10:40:26 +03:00
Frane Polić
f6b20a943e fix(dashboard): properly register settings custom routes (#12198)
**What**
- custom setting routes were registered under `/settings/settings/custom-route` instead of `/settings/custom-route`

---

CLOSES SUP-1384

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-16 18:11:36 +00:00
Shahed Nasser
b182bbb9a9 docs: add framework to navbar (#12206)
* support link submenu

* updated navbar

* small fix
2025-04-16 18:34:14 +03:00
Shahed Nasser
757ba6cd7f docs: add framework page (#12162)
* initial draft

* finalize page

* fix vale error

* changes to intro

* small fix

* added features list
2025-04-16 17:58:27 +03:00
Shahed Nasser
6c59d3fe6f docs: hide colon when a note's title has a punctuation (#12205) 2025-04-16 17:23:10 +03:00
Shahed Nasser
d98b560f26 docs: add a note to loyalty points guide (#12201) 2025-04-16 14:39:00 +03:00
Harminder Virk
ee35f3ce90 fix: apply additional data validator using a global middleware (#12194) 2025-04-16 16:26:44 +05:30
Harminder Virk
b890263725 feature: add support for dynamoDB for storing sessions and some types cleanup (#12140) 2025-04-16 14:55:14 +05:30
Shahed Nasser
fe48f825f8 docs: add loyalty points guide (#12130)
* docs: add loyalty points guide

* remove og
2025-04-16 10:58:27 +03:00
Frane Polić
9851598dae fix(payment): properly delete refund (#12193)
**What**
- properly delete the refund record if refunding with the provider fails

---

CLOSES SUP-1398
2025-04-16 07:57:39 +00:00
Frane Polić
01542f6973 feat(core-flows, js-sdk, medusa): draft order shipping removal (#12124)
**What**
- allow removal of a shipping method

---

CLOSES CMRC-1013
2025-04-16 06:10:24 +00:00
Shahed Nasser
a12b5f7456 docs: changes to plugins page (#12190)
* docs: changes to plugins page

* text fix
2025-04-15 10:09:04 +03:00
Rohan
a29214c44d Update page.mdx (#12188)
while returning CartContext.Provider component, unsetCard was missing in the value object
2025-04-15 10:08:49 +03:00
Adrien de Peretti
2f6963a5fb fix(): Event group id propagation and event managements (#12157) 2025-04-14 15:57:52 -03:00
Gergo Vandor
3a481290ea added hungarian admin translation (#12176)
* added hungarian admin translation

* added missing keys
2025-04-14 14:45:17 +02:00
Adrien de Peretti
4ea1a2e09f fix(index): Default schema typings (#12183)
**What**
Fix wrongly type is_giftcard property
2025-04-14 12:00:53 +00:00
harmvdhorst
bbe7389d30 added dutch translation (#12167) 2025-04-14 09:51:51 +02:00
Frane Polić
413a0da26c fix(core-flows): draft order reservations (#12115)
* fix: draft order reservations

* feat: add test case

* fix: assert item ids
2025-04-13 17:40:16 +02:00
Shahed Nasser
1f73281ab8 fix(types): fix type of application_method_type filter (#12160)
The `application_method_type` filter has a `string` type in the HTTP types. This PR accurately sets the type. This is useful for the generated OAS to show the possible filter values.
2025-04-13 13:16:57 +00:00
Shahed Nasser
734f4fecbc docs: generate JS SDK reference with fixes (#12161) 2025-04-11 16:42:09 +03:00
Shahed Nasser
90f9149735 chore: fixes to JS SDK TSDocs (#12159) 2025-04-11 16:41:52 +03:00