Shahed Nasser
e82645ba55
docs: typo fixes in execute workflow section ( #10911 )
2025-01-10 18:20:13 +02:00
Carlos R. L. Rodrigues
01acf9e700
fix(orchestration): avoid retry when finished ( #10913 )
2025-01-10 13:12:08 -03:00
Shahed Nasser
a126f40bbe
docs: DX improvements to a workflow / step reference page ( #10906 )
2025-01-10 13:47:08 +02:00
Harminder Virk
428fce5313
chore: move build utilities to Compiler class ( #10904 )
...
Fixes: FRMW-2866
2025-01-10 11:30:48 +00:00
Harminder Virk
c1930bd656
feat: Merge plugin modules ( #10895 )
...
Fixes: FRMW-2858
This PR merge the modules exported by the plugins with the modules defined within the user config. As a result, all modules get loaded without changing the internals of the loader.
However, you cannot disable the module of a plugin by re-adding it to the `modules` array. That is something we should handle separately.
We've added the breaking change label because of the following fix:
We did broke the ability to completely disable modules in the past pr's, in this pr we re add the ability to disable a module and that this modules does not get loaded at all. ([here](6dd164f783 ))
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2025-01-10 10:02:09 +00:00
Shahed Nasser
a607b8e800
docs-util: fix hook input type showing as __type ( #10905 )
2025-01-10 10:25:17 +02:00
Shahed Nasser
ff725090bb
fix(types): add missing inventory_items to input of createProductsWorkflow ( #10892 )
...
The `createProductsWorkflow` allows passing an `inventory_items` property to assign the inventory items of a product variant, and we even pass it in the `/admin/products` API route when creating a variant, but the workflow's input type doesn't include that property. This PR adds it to the workflow's input type.
2025-01-10 01:23:29 +00:00
Adrien de Peretti
c490e08142
fix(modules): Fix miss leading provider resolution error ( #10900 )
...
FIXES SUP-560
**What**
Currently, no matter the error when looking for a provider to exists in the container we are throwing a normalized error stating that the provider does not exists in the container. The issue is that the first initialization of the provider occurs the first time we resolve it, and the error can be that the provider failed to be instanciated for any reason.
In this pr, we are explicitly checking for the error to be an awilix resolution error to throw the classic error and otherwise we provide the issue why the provider failed to be resolved.
2025-01-10 01:16:33 +00:00
Shahed Nasser
44706ef03b
docs: add workflow and js sdk reference pages for commerce modules ( #10898 )
...
* docs: add workflow and js sdk reference pages for commerce modules
* resolve build errors
2025-01-09 18:19:40 +02:00
Riqwan Thamir
3fec01ab49
fix(pricing): add null conditions for deleted at during price calculations ( #10896 )
2025-01-09 15:32:57 +01:00
Sze-Chi Wang
6747a1564b
fix: event-bus-redis processor execute event before subscriber are loaded ( #10823 )
...
* fix(worker): run worker after application start
* test(event-bus-redis): worker should initiate with autorun:false
---------
Co-authored-by: Suki Wang <suki.wang@shoplineapp.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-01-09 14:32:15 +01:00
gharbi-mohamed-dev
635d026f7f
docs: fix typo ( #10894 )
2025-01-09 14:05:33 +02:00
Shahed Nasser
1ade80c375
docs: fix colon in api key header ( #10893 )
2025-01-09 13:38:24 +02:00
Kasper Fabricius Kristensen
a625bce7b0
fix(pricing): PriceLists of type Sale should not override lower prices ( #10882 )
...
Resolves CMRC-840
2025-01-09 10:07:15 +00:00
Shahed Nasser
3ee15f3b85
docs: add inventory kit conceptual guide ( #10891 )
2025-01-09 11:59:52 +02:00
Harminder Virk
28febfc643
feat: remove dead code and refactor the logic of resolving plugins ( #10874 )
2025-01-09 14:52:10 +05:30
Harminder Virk
67782350a9
feat: add default retry strategy for redis ( #10880 )
...
Fixes: FRMW-2861
2025-01-09 05:26:08 +00:00
Shahed Nasser
bd73716bb6
docs-util: add warning on request body change ( #10881 )
2025-01-08 21:40:46 +02:00
Shahed Nasser
46f987e351
docs-util: fix parsing when function if it has three parameters ( #10878 )
...
* docs-util: fix parsing when step when it has three parameters
* fix condition
2025-01-08 16:48:20 +02:00
Shahed Nasser
a0e944a7a8
docs: general fixes and additions ( #10876 )
2025-01-08 16:09:48 +02:00
Shahed Nasser
9427f1e4af
docs: added llms.txt ( #10873 )
2025-01-08 12:27:55 +02:00
gharbi-mohamed-dev
ef78a04263
docs: fix typo ( #10870 )
2025-01-08 08:07:43 +00:00
Ehtisham Afzal
2734dd6f20
docs: added Cloudflare R2 guide for Object Storage ( #10497 )
...
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2025-01-08 08:06:50 +00:00
Shahed Nasser
8e7d895aa2
docs: update recipes following 2.2 release ( #10868 )
2025-01-07 17:07:51 +02:00
Shahed Nasser
60fd1cbc6c
docs: document dependencies for auth provider ( #10865 )
...
* docs: document dependencies for auth provider
* fixes
* document overriding callback url
2025-01-07 16:42:45 +02:00
Shahed Nasser
edcff0ed16
docs-util: fixes to OAS generator + generate OAS ( #10867 )
2025-01-07 16:35:55 +02:00
Adrien de Peretti
899b1fba4a
chore(medusa): Add handler path to the http tracing to be able to group by ( #10835 )
...
RESOLVES FRMW-2835
In this PR, we trace HTTP requests using the route pattern and not the request URL. This allows us to aggregate all HTTP requests under a single route.
In terms of implementation, we have to self find the route for a given request, since there is no API in express to do the same and we begin tracing even before the request is handed over to Express.
Since, the route matching happens via RegExp matches, we ensure that this does not add much performance overhead. The matching takes between 0.8ms-1.5ms for various different routes
Co-authored-by: Harminder Virk <1706381+thetutlage@users.noreply.github.com >
2025-01-07 13:16:20 +00:00
github-actions[bot]
5216ad2f15
chore(docs): Generated References (automated) ( #10866 )
...
Generated the following references:
- `auth`
- `auth_provider`
- `core_flows`
- `fulfillment`
- `fulfillment_provider`
- `js_sdk`
- `medusa`
- `modules`
- `modules_sdk`
- `order`
- `payment`
- `stock_location_next`
- `stock_location_next_models`
- `types`
- `utils`
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-01-07 13:14:10 +00:00
Shahed Nasser
ff3df907ce
docs: document create-medusa-app new project name argument ( #10834 )
2025-01-07 15:02:55 +02:00
Shahed Nasser
936954e0b4
docs: fix divider in API reference + clean up layout ( #10861 )
...
* docs: fix divider in API reference + clean up layout
* fix build error
2025-01-07 14:59:39 +02:00
github-actions[bot]
54a3db79a1
chore(docs): Update version in documentation (automated) ( #10864 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2025-01-07 14:58:44 +02:00
Shahed Nasser
38223e5104
docs: rename remoteLink and remoteQueryConfig ( #10836 )
...
* docs: rename remoteLink and remoteQueryConfig
* change version number
2025-01-07 14:43:12 +02:00
olivermrbl
f5f4d417c0
chore: Release
2025-01-07 13:32:34 +01:00
olivermrbl
3919b26eb6
chore: Version packages
2025-01-07 13:31:40 +01:00
Frane Polić
37aa804620
fix(dashboard): cancel order notifications ( #10858 )
...
* fix: cancel order notifications
* fix: label
2025-01-07 13:01:41 +01:00
Harminder Virk
e40878d9f3
chore: rename remote-query-entry-points.d.ts to query-entry-points.d.ts ( #10831 )
2025-01-07 16:44:49 +05:30
Shahed Nasser
f8c20e5ee4
docs: document registering user with existing email ( #10859 )
2025-01-07 12:39:16 +02:00
Shahed Nasser
632600ee11
fix(create-medusa-app): add default storefront url to auth CORS ( #10853 )
...
* fix(create-medusa-app): add default storefront url to auth CORS
* add docs cors to store / admin
2025-01-07 11:01:37 +02:00
Shahed Nasser
a989c50051
chore: fix version number in tsdocs ( #10856 )
2025-01-07 10:52:44 +02:00
olivermrbl
4f897661eb
chore: Add missing changeset
2025-01-07 09:14:51 +01:00
Frane Polić
16b0672f8a
feat(core-flows,fulfillment, fulfillment-manual, types): make fulfillment typings more specific ( #10677 )
...
**What**
- attempt to add more specific type definitions around fulfillment provider APIs
---
CLOSES CMRC-814
CLOSES CMRC-816
CLOSES CMRC-817
2025-01-07 08:08:45 +00:00
Dalton Ponder
333ed538f5
Update page.mdx ( #10847 )
...
Updated the if-else example condition for when input.is_active is false.
2025-01-07 07:25:44 +00:00
Shahed Nasser
4c0546a8e9
docs: update storefront development snippets for next.js 15 compatibility ( #10843 )
2025-01-07 09:02:18 +02:00
Riqwan Thamir
47594192b7
feat(dashboard,core-flows,types,utils,medusa): Order cancelations will refund payments ( #10667 )
...
* feat(order, types): Add Credit Line to order module
* chore: add action to inject credit lines
* WIP
* chore: add fixes + observe
* chore: fix balances
* chore: add canceled badge
* chore: fix i18n schema
* chore: remove redunddant query
* chore: add changeset
* chore: add credit lines for all cancel cases
* chore: add accounting total
* chore: address review & cleanup
2025-01-07 07:56:28 +01:00
Riqwan Thamir
99a06102a2
fix(stock-location,core-flows,types): updates existing address when updating stock location ( #10832 )
...
* fix(stock-location,core-flows,types): updates existing address when updating stock location address
* chore: use hasOne instead of hasMany
2025-01-07 07:55:28 +01:00
Stevche Radevski
fde73dbfae
feat(auth-google,auth-github): Allow passing a custom callbackUrl to … ( #10829 )
...
* feat(auth-google,auth-github): Allow passing a custom callbackUrl to oauth providers
* feat: Add state management in auth providers
* chore: Changes based on PR review
2025-01-06 17:33:29 +01:00
Shahed Nasser
9490c265b2
docs: update next.js storefront snippets ( #10840 )
2025-01-06 16:35:56 +02:00
Shahed Nasser
3253e19b36
chore(ui): general updates and fixes to TSDocs and types ( #10753 )
2025-01-06 14:22:27 +02:00
Shahed Nasser
c440068d49
chore: small tsdoc changes for remoteLink and remoteQueryConfig ( #10837 )
2025-01-06 14:01:46 +02:00
Shahed Nasser
8224466dd7
docs: fix storefront sections in digital product recipe ( #10833 )
2025-01-06 13:12:12 +02:00