Commit Graph

7275 Commits

Author SHA1 Message Date
Shahed Nasser
01aba4b3c0 Merge branch 'develop' into docs/revise-recipe-examples 2024-12-11 12:41:02 +02:00
Shahed Nasser
588d6f9157 fix broken links 2024-12-11 12:40:32 +02:00
Shahed Nasser
6eb3798510 Merge pull request #10546 from medusajs/docs/fix-module-isolation-typo 2024-12-11 12:35:46 +02:00
Stevche Radevski
3626118eef feat(file-s3): Add support for IAM role authentication to file-s3 provider (#10528) 2024-12-11 18:30:37 +08:00
Shahed Nasser
1e04f90d93 docs: fix typo in code in module isolation documentation 2024-12-11 12:10:24 +02:00
Shahed Nasser
3cc1b99830 docs: revise recipe examples 2024-12-11 12:07:31 +02:00
Shahed Nasser
fd77809158 Merge pull request #10543 from medusajs/docs/when-then-name
* docs: document when-then name

* update when-then blocks across docs

* fix lint errors
2024-12-11 12:06:36 +02:00
Shahed Nasser
35a8224497 fix lint errors 2024-12-11 11:20:07 +02:00
Shahed Nasser
3522c0f0e0 update when-then blocks across docs 2024-12-11 11:08:52 +02:00
Harminder Virk
16d27ea6e4 feat: Migrate customer module to DML (#10499) 2024-12-11 14:37:27 +05:30
Shahed Nasser
fd23f13cfd docs: document when-then name 2024-12-11 11:00:25 +02:00
Frane Polić
d8a92dbb2d feat(core-flows, dashboard, fulfillment, fulfillment-manual, utils, types): create shipping options with calculated prices (#10495)
**What**
- support creating SO with calculated price
- support updating SO for both types of pricing
- update `validateShippingOptionPricesStep` to handle both SO price_types
- add the `validateShippingOptionsForPriceCalculation` method to `FulfillementModule`
- add `canCalculate` and `calculatePrice` to fulfillment provider service service / interface / manual provider
- disable SO pricing edit on Admin if SO price type is calculated

---

CLOSES CMRC-776
2024-12-11 08:38:44 +00:00
Harminder Virk
fad85a9d29 refactor: migrate promotion module (#10410) 2024-12-11 13:12:39 +05:30
Avia-Code
777582ac43 feat: added Ukrainian translations (#10536)
This pull request adds support for the Ukraine language in the MedusaJS Admin Dashboard.
Full translation, and json schema tests passed successfully
2024-12-10 22:17:00 +00:00
Shahed Nasser
376b9e85bc docs: regenerate references for core flows (#10538) 2024-12-10 19:28:35 +02:00
github-actions[bot]
a5ed061d6c chore(docs): Updated API Reference (automated) (#10531)
* chore(docs): Generated API Reference (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-12-10 17:57:32 +01:00
Kasper Fabricius Kristensen
16192d9b30 fix(product): Only apply default order to products if user has not specified one (#10535) 2024-12-10 16:57:11 +00:00
Shahed Nasser
ab1bfb966d docs: generate references manually for 2.1.1 (#10534)
* docs: generate references manually for 2.1.1

* re-generate for core-flows

* Revert "re-generate for core-flows"

This reverts commit ff785c80214dc6125e2da4c6e8a674a87b03e9dd.
2024-12-10 18:49:30 +02:00
Shahed Nasser
482929f74d docs: fix page title in reference pagesnot showing + refactor workflows reference (#10537)
* docs: fix references title + refactor workflow reference generation

* update references sidebar
2024-12-10 18:19:03 +02:00
Harminder Virk
4ad9ac1e5f refactor: migration stock location module (#10471)
Fixes: FRMW-2831
2024-12-10 16:08:48 +00:00
Shahed Nasser
e41ab50f59 docs: added restock notification guide (#10413)
* docs: added restock notification guide

* changes

* lint fixes

* fixes

* more changes

* remove get email step

* add og image

* update sendRestockNotificationsWorkflow

* updates

* fix links
2024-12-10 16:50:40 +02:00
github-actions[bot]
4b384eaf05 chore(docs): Generated DML JSON files (automated) (#10530)
* chore(docs): Generated DML JSON files (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-12-10 16:38:09 +02:00
Shahed Nasser
9e3cca4b18 docs: documented fetchCredentials options of JS SDK (#10510) 2024-12-10 16:16:10 +02:00
github-actions[bot]
27a34a15a2 chore(docs): Update version in documentation (automated) (#10529)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2024-12-10 16:09:29 +02:00
olivermrbl
0c28ca4bda chore: Release 2024-12-10 14:04:53 +01:00
olivermrbl
0e342b491d chore: Version packages 2024-12-10 14:01:50 +01:00
Shahed Nasser
0c1bbbac2a docs: integrate google analytics (#10526) 2024-12-10 13:16:12 +02:00
Kasper Fabricius Kristensen
de81187929 fix(dashboard): Add FE validation for conditional prices (#10523)
* fix(dashboard): Add FE validation for conditional prices

* fix(dashboard): Add FE validation for conditional prices

* lint

* only set error on one field

* fix which field shows error
2024-12-10 11:57:10 +01:00
Carlos R. L. Rodrigues
69f4c4f4e0 chore(index): index dml (#10482)
What:
- DML - `autoincrement` property
- Index `type` option (GIN)
- Index module - DML
2024-12-10 10:55:12 +00:00
Shahed Nasser
096f1c2a9b docs: revise storefront development guide (#10522) 2024-12-10 12:33:52 +02:00
Shahed Nasser
ed9bc1f1c4 docs: revise next.js starter docs (#10520)
* docs: revised next.js starter

* update next.js starter in main docs
2024-12-10 11:58:19 +02:00
Shahed Nasser
ce70782608 docs: revise integrations page (#10518) 2024-12-10 10:56:58 +02:00
Shahed Nasser
212b37c2fe docs: fix file path in CMS integration example (#10516) 2024-12-10 09:59:08 +02:00
Oli Juhl
e5e5a34108 fix(core-flows): Refresh cart when items are deleted (#10513) 2024-12-09 19:21:32 +01:00
Kasper Fabricius Kristensen
c9a66b19af fix(dashboard,ui): ConditionBlock styling (#10481)
**What**
- Resolves CMRC-58
- Also fixes some other issues, TS errors, Eslint warnings etc. in the Promotion domain. There are still several TS errors as the return types from `@medusajs/types` don't seem to match how they are used here, but I have left that as is, as I am not super familiar with the Promotion module.
2024-12-09 17:42:19 +00:00
Shahed Nasser
3409953c4f docs: use tooling convention across docs (#10512) 2024-12-09 19:15:29 +02:00
Shahed Nasser
7c76ee24cb chore: fix documentation links in TSDocs (#10511) 2024-12-09 18:52:02 +02:00
Riqwan Thamir
a04238a7f1 fix(payment): ensure that payment error is captured in logger (#10506)
what:

- when an error occurs upon retrieving a provider, log the original error through the logger

Helps https://github.com/medusajs/medusa/issues/10500 in debugging.
2024-12-09 16:44:32 +00:00
Riqwan Thamir
f8f5d57c7c chore(types): add price types for shipping option endpoints (#10509)
what:

- adds missing price types for shipping options
2024-12-09 16:30:31 +00:00
github-actions[bot]
9534751b5c chore(docs): Generated References (automated) (#10508)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2024-12-09 15:27:01 +02:00
Shahed Nasser
866cabf384 docs-util: normalize RelationNullableModifier in model references (#10505) 2024-12-09 15:11:45 +02:00
Shahed Nasser
f4b45b8080 docs: fix imports across docs 2024-12-09 15:10:38 +02:00
Shahed Nasser
8dedb97e40 docs: fix links to steps in workflow references (#10503) 2024-12-09 14:55:35 +02:00
Shahed Nasser
0ae98c51eb docs: revise main docs outline (#10502) 2024-12-09 13:54:42 +02:00
Shahed Nasser
c8cb9b5c1a fix(medusa): add query type argument to RequestWithContext (#10469) 2024-12-09 11:43:52 +02:00
Kasper Fabricius Kristensen
a1a1e0e789 feat(dashboard): SO cart item total rules UI (#10386) 2024-12-09 09:44:11 +01:00
Riqwan Thamir
9e797dc3d2 feat(core-flows, types): update shipping methods upon cart ops (#10382)
* feat(core-flows,framework,medusa): list shipping options pass in cart as pricing context

* chore: add test for shipping options returning free shipping

* feat(core-flows, types): update shipping methods upon cart ops

* chore: fix specs

* chore: fix bugs + specs

* Update update-shipping-methods.ts

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update mutations.ts

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* chore: undo refresh changes

* chore: merge with latest

* chore: address PR comments

* chore: fix conflicts

* chore: fix specs

* chore: address reviews

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-12-08 14:06:50 +01:00
Riqwan Thamir
f95c4e240c fix(promotion, core-flows): updating cart with removed promotion removes adjustments (#10489) 2024-12-08 13:13:31 +01:00
Kasper Fabricius Kristensen
864f53011b fix(dashboard,types): Fix TS errors (#10457)
**What**
- Fixes TS erros in dashboard project
- Updates incorrect HTTP Invite types
- Fixes incorrectly formatted dates in dashboard
2024-12-08 11:51:13 +00:00
Hirotaka Mizutani
55f5ce4690 feat: added Japanese translation (#10379)
* feat: add Japanese language support

* feat: add missing required keys for Japanese translation
2024-12-07 21:52:15 +08:00