Commit Graph

8158 Commits

Author SHA1 Message Date
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
Shahed Nasser
cd66cdd2bb docs: generate OAS manually for 2.7.0 (#12158)
* original changes

* changes

* fixes for delete operations

* generate oas
2025-04-11 16:41:39 +03:00
Shahed Nasser
f8023f419e docs: more updates after 2.7.0 update (#12156)
* docs: more updates after 2.7.0 update

* add versions

* small fix

* add plugin keywords

* change to text
2025-04-11 15:55:52 +03:00
Frane Polić
9d0b6a136f fix(dashboard): display null sku (#12155) 2025-04-11 13:30:32 +02:00
github-actions[bot]
94e98190ff chore(docs): Generated References (automated) (#12154)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `cart_models`
- `core_flows`
- `currency`
- `customer`
- `event`
- `file_service`
- `fulfillment`
- `fulfillment_provider`
- `inventory_next`
- `js_sdk`
- `locking`
- `medusa`
- `modules`
- `modules_sdk`
- `notification_service`
- `order`
- `payment`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `utils`
- `workflows`

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 11:15:08 +00:00
valerioXplo
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 Chirdchai
ff9d1624b2 docs: Fix incorrect syntax in code snippets on Create Payment Provider page. (#12012) 2025-04-11 13:41:49 +03:00
Sai-Santhan-Dodda
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 Nasser
4283fa37b7 docs: fix schema of product category (#12145) 2025-04-11 12:48:53 +03:00
github-actions[bot]
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
github-actions[bot]
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 Nasser
18dc3cf9c9 docs: changes for next release (#12098)
* docs: changes for next release

* generate

* generate
2025-04-11 11:58:19 +03:00