Stevche Radevski and GitHub
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 and GitHub
9490c265b2
docs: update next.js storefront snippets ( #10840 )
2025-01-06 16:35:56 +02:00
Shahed Nasser and GitHub
3253e19b36
chore(ui): general updates and fixes to TSDocs and types ( #10753 )
2025-01-06 14:22:27 +02:00
Shahed Nasser and GitHub
c440068d49
chore: small tsdoc changes for remoteLink and remoteQueryConfig ( #10837 )
2025-01-06 14:01:46 +02:00
Shahed Nasser and GitHub
8224466dd7
docs: fix storefront sections in digital product recipe ( #10833 )
2025-01-06 13:12:12 +02:00
Riqwan Thamir and GitHub
f7ffa3540f
fix(promotion): don't evaluate rule condition if conditions to evaluate is empty ( #10795 )
2025-01-06 09:31:58 +01:00
Nicklas Gellner and GitHub
95b61bf2da
Update README.md ( #10825 )
...
- Renewed the description of What is Medusa
- Removed Roadmap link as this seem out-of-date
2025-01-06 08:23:36 +00:00
Anuchit and GitHub
79c87c09de
fix(core-flow): invalid update quantity in update line item in cart workflow ( #10405 )
...
* fix: invalid update quantity in update line item in cart workflow
* test: update cart workflow test
* fix: rm shallow copy in transform
2025-01-05 14:39:29 +01:00
Adrien de Peretti and GitHub
7d8f6cf39f
fix(): Workflow cancellation + gracefully handle non serializable state ( #10674 )
...
FIXES FRMW-2852
**What**
A workflow distributed transaction expect any response and error to be serializable. When it is not the case, the distributed transaction might fail during the save checkpoint that occurs for async steps. This can lead to unexpected behaviour.
With this pr, we introduce a way to handle non serialazable object in a more sustainable manner, this means the following:
- If a workflow throw any non serialazable error (e.g AWS error that contains full IncomingMessage object that related to network communication, think of req/res) then we identify that this object is not serialzable and we clean up the object to make it serializable without loosing the main information, add a new error to the workflow to informed of this issue and can be handled by the user.
- If a response is not serializable (which should not happen at this point because it is handled before by the value resolver), in that case, we wont be able to reuse that response to continue the workflow which means that the workflow is in a non runnable state. In that case we throw a specific error stating that a non serializable context is being provided
**second what**
This pr refactor the `runAsStep` to add better support for workflow cancelation, especially async ones
2025-01-05 13:30:17 +00:00
Shahed Nasser and GitHub
152a94e1e1
feat(create-medusa-app): improve by adding depth to clone commands ( #10812 )
...
Improve command by passing `--depth 1` to decrease download size + improve for slow speed.
Closes TRI-742
2025-01-05 13:24:57 +00:00
Shahed Nasser and GitHub
18b385aff7
docs: handle product deletion in digital products recipe ( #10811 )
2025-01-03 17:02:56 +02:00
Harminder Virk and GitHub
988931a551
Fix/product variants filter ( #10808 )
...
Fixes: FRMW-2854
2025-01-03 14:00:02 +00:00
Harminder Virk and GitHub
ecc09fd77d
feat: generate modules mappings at runtime ( #10791 )
2025-01-03 15:49:47 +05:30
Harminder Virk and GitHub
5e9d86d75d
feat: deprecate remoteQueryConfig in favor of queryConfig ( #10773 )
...
Fixes: FRMW-2783
2025-01-03 08:46:23 +00:00
Shahed Nasser and GitHub
54e1e70d78
docs: fix cross-project link for Card components ( #10794 )
2025-01-02 12:51:53 +02:00
Shahed Nasser and GitHub
0594f37d59
docs: fix highlights in checkout storefront guide ( #10793 )
2025-01-02 11:37:15 +02:00
Riqwan Thamir and GitHub
6d989bc8cd
fix(pricing): pricing context calculations only takes into account existing rule attributes ( #10771 )
...
* fix(pricing): pricing context calculations only takes into account existing rule attributes
* chore: add changeset
2025-01-02 10:17:09 +01:00
Shahed Nasser and GitHub
36019b7242
chore: fix links to contribution guidelines ( #10792 )
2025-01-02 10:45:38 +02:00
Shahed Nasser and GitHub
8e27af552f
docs: fix selected variant in storefront guide ( #10785 )
2025-01-02 09:37:23 +02:00
Shahed Nasser and GitHub
a0a94d5030
docs: fix code tabs in production ( #10784 )
2024-12-31 16:08:04 +02:00
Ranjith kumar and GitHub
1ef3e4b8de
docs: update fulfillment provider module docs to reflect CalculatedShippingOptionPrice ( #10778 )
...
The return value below the example for the `calculatePrice` method is shown correctly as `CalculatedShippingOptionPrice` but the example is not updated in the guide "How to Create a Fulfillment Provider Module"
This PR updates the example in the guide and the TS doc
2024-12-31 11:44:17 +00:00
Shahed Nasser and GitHub
6780ea9f13
docs: document missing events in reference ( #10779 )
2024-12-31 12:44:38 +02:00
ahrbil and GitHub
0e2f608db8
docs: update desktop nav menu item title ( #10125 )
...
Update menu item title to reflect current state of the desktop sidebar
2024-12-31 11:05:00 +02:00
Ranjith kumar and GitHub
5ca4b0bb00
docs: use correct env variable for medusa admin in server mode deployment ( #10764 )
2024-12-31 10:26:01 +02:00
bbf790ea44
feat: deprecate remote link ( #10768 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-12-30 14:57:43 +05:30
Shahed Nasser and GitHub
1e6d56bc18
feat(create-medusa-app): allow passing project name on command line ( #10755 )
...
Allow passing the project name on the command line:
```bash
npx create-medusa-app@latest my-project
```
2024-12-29 09:41:15 +00:00
Shahed Nasser and GitHub
1c355dac36
docs: update and fix UI props docs ( #10754 )
2024-12-27 14:53:46 +02:00
Shahed Nasser and GitHub
8839970295
docs: allow scroll with keys ( #10752 )
2024-12-27 11:12:23 +02:00
Shahed Nasser and GitHub
65d0a300ce
docs: document how to calculate shipping prices in storefront ( #10748 )
2024-12-27 09:22:35 +02:00
Shahed Nasser and GitHub
91ebf6d61c
docs-util: add publishable api key header parameter to store routes OAS ( #10747 )
...
* docs-util: add publishable api key header parameter to store routes OAS
* fix oas
2024-12-26 16:27:55 +02:00
Shahed Nasser and GitHub
b9e7090842
docs: fix and improve details on sending authenticated requests with API token ( #10744 )
...
* docs: fix and improve details on sending authenticated requests with API token
* fix security schema
2024-12-26 14:26:57 +02:00
Shahed Nasser and GitHub
ce51c36ecf
chore: improve payment provider tsdocs + generate reference ( #10742 )
2024-12-26 14:11:52 +02:00
Shahed Nasser and GitHub
ee50e67a96
docs: add JS SDK to commerce modules sidebars ( #10740 )
2024-12-26 13:33:33 +02:00
Shahed Nasser and GitHub
688e1e60a5
chore(js-sdk): add tags to js-sdk ( #10739 )
2024-12-26 11:18:02 +02:00
Shahed Nasser and GitHub
ebca8fed28
docs: revise commerce modules overview pages ( #10738 )
...
* revise API Key Module overview
* revise auth module
* support ref sidebar items
* remove examples
* revise cart module
* revise currency
* revise customer module
* revise fulfillment module
* revise inventory module
* revise order module
* revise payment
* revise pricing module
* revise product module
* revise promotion module
* revise region module
* revise sales channel module
* revise stock location module
* revise store module
* revise tax module
* revise user module
* lint content + fix snippets
2024-12-26 10:32:16 +02:00
Stevche Radevski and GitHub
c8f9938865
feat(medusa): Add health endpoint for all running modes of medusa ( #10737 )
2024-12-26 13:53:12 +08:00
Shahed Nasser and GitHub
699bb6dc24
fix(core-flows): export updateTaxRegionsStep ( #10732 )
...
Export `updateTaxRegionsStep` to ensure it's included in generated references
2024-12-25 09:08:09 +00:00
Shahed Nasser and GitHub
97baa56d71
docs: add workflow / step tags ( #10731 )
2024-12-25 11:04:55 +02:00
Shahed Nasser and GitHub
bff031ba8f
docs: fix multiple typos in customization chapters ( #10727 )
2024-12-24 17:29:07 +02:00
Shahed Nasser and GitHub
8441d2ab9d
docs: improve link docs for commerce modules ( #10726 )
2024-12-24 17:19:39 +02:00
Ranjith kumar and GitHub
83925f5c7a
fix(medusa-cli): fix medusa develop command crashing on file change on windows ( #10717 )
...
* fix(medusa-cli): fix medusa develop command crashing on file change on windows
* chore: update changeset to patch
2024-12-24 20:00:46 +08:00
Shahed Nasser and GitHub
041baafd38
docs: split admin widget zone to pages ( #10719 )
2024-12-24 12:29:41 +02:00
Shahed Nasser and GitHub
fd1afa8bc9
docs: split events reference across modules ( #10711 )
...
* docs: split events reference across modules
* add lint exceptions
2024-12-24 09:54:51 +02:00
Shahed Nasser and GitHub
a4335f2a47
docs: fix typo in extend core flow ( #10709 )
...
* docs: fix typo in extend core flow
* small fixes
2024-12-23 18:10:31 +02:00
Shahed Nasser and GitHub
13ddf27c68
fix(medusa,types,js-sdk): fix request query parameter types for store product routes ( #10707 )
...
* fix(medusa,types): fix request query parameter types for store product routes
* fix test errors
2024-12-23 18:10:08 +02:00
Shahed Nasser and GitHub
be9b19eb0f
docs: split commerce modules sidebars ( #10705 )
2024-12-23 18:09:53 +02:00
Shahed Nasser and GitHub
9a05888538
docs-util: fix query params not retrieved correctly for some routes ( #10708 )
2024-12-23 17:43:28 +02:00
Shahed Nasser and GitHub
c804ae575b
docs-util: fix links in references to current page ( #10703 )
2024-12-23 16:27:01 +02:00
Shahed Nasser and GitHub
c2c24f40f2
docs: fix typo in CmsModuleService ( #10702 )
2024-12-23 16:26:47 +02:00
Shahed Nasser and GitHub
870cb6e88c
docs: update typedoc, convert packages to esm, generate references ( #10699 )
2024-12-23 15:20:09 +02:00