Commit Graph

8189 Commits

Author SHA1 Message Date
Shahed Nasser 71a5dc448d chore(core-flows, types): add tsdocs for draft orders workflows (#12279) 2025-04-24 11:31:28 +03:00
Shahed Nasser 7d498227d1 docs: fix core flows reference not generating (#12274) 2025-04-23 19:46:54 +03:00
Shahed Nasser 54bae210b8 docs: improve database operations docs + added data model repository reference (#12273)
* some changes

* docs: improve database operations docs + add data model repository reference

* regenerate
2025-04-23 19:22:50 +03:00
Shahed Nasser 876a14eb98 chore(js-sdk): fix TSDocs of draft orders in JS SDK (#12270) 2025-04-23 12:48:13 +03:00
Shahed Nasser d9fcf8a621 docs: fix reference of draft orders JS SDK methods (#12271)
* docs: fix reference of draft orders JS SDK methods

* generate
2025-04-23 12:47:46 +03:00
github-actions[bot] c7065fcd2b chore(docs): Updated API Reference (automated) (#12268)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-04-23 08:50:17 +00:00
Harminder Virk cb53b8a529 feat: upgrade opentelemetry packages to support the latest release (#12266)
Fixes: FRMW-2947
2025-04-23 08:26:03 +00:00
github-actions[bot] acff7887a2 chore(docs): Generated References (automated) (#12267)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 11:02:29 +03:00
github-actions[bot] 3a9c19d3c2 chore(docs): Update version in documentation (automated) (#12265)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 10:46:06 +03:00
olivermrbl c53d25e442 chore: Release 2025-04-23 09:30:11 +02:00
olivermrbl 2fec5f4aa0 chore: Version packages 2025-04-23 09:27:02 +02:00
Shahed Nasser 39523ba798 docs: fix badges and tables not showing in code tabs (#12261) 2025-04-23 09:59:08 +03:00
Shahed Nasser dcb4788af9 docs: fix no lines code block example (#12259) 2025-04-22 19:03:44 +03:00
Shahed Nasser 567d7607cd docs: added a section on loader execution (#12260) 2025-04-22 18:56:01 +03:00
Harminder Virk 71a9a7210c fix: oas CLI to convert Windows paths to unix (#12254)
* fix: oas CLI to convert Windows paths to unix

* Create tidy-pigs-heal.md

* refactor: revert to isolate the issue

* refactor: add back the change with logs

* fix: remove external dependency
2025-04-22 14:41:58 +02:00
Frane Polić ad74ba2ca4 fix(core-flows, link-modules): return fulfillment creation (#12227)
* fix: return fulfillment creation

* chore: changeset

* fix: link

* fix: cancel claim flow

* chore: test fulfillment creation as a part of return lifecycle test

* fix: exchanges cancle flow

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-22 14:33:46 +02:00
Bastien d2dde19b73 feat(core-flows): emit updated event in update line item workflow (#12119)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-22 14:05:29 +02:00
Harminder Virk c2fe3f1520 fix: steps to return undefined and still chain the config method (#12255)
Fixes: FRMW-2946
2025-04-22 10:57:15 +00:00
Rick Gao 38710c116e docs: Replace api_key_id with publishable_key_id (#12242)
<img width="1000" alt="image" src="https://github.com/user-attachments/assets/885395f0-0c74-4cf3-a39b-8d6d97ed0a9c" />
2025-04-21 13:32:03 +00:00
Shahed Nasser 4b55c4fb57 docs: fix messy layout bug (#12248) 2025-04-21 11:01:41 +03:00
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