Commit Graph
8243 Commits
Author SHA1 Message Date
Adrien de PerettiandGitHub 80007f3afd feat(workflows-*): Allow to re run non idempotent but stored workflow with the same transaction id if considered done (#12362) 2025-05-06 17:17:49 +02:00
Shahed NasserandGitHub 97dd520c64 docs: generate event references (#12378) 2025-05-06 16:59:30 +03:00
Edin AbaziandGitHub a16ffb83d9 fix: rename Macedonia FYROM to North Macedonia (#12375) 2025-05-06 15:44:17 +02:00
Shahed NasserandGitHub ecf3556589 docs-util: add events to workflows reference (#12376) 2025-05-06 16:04:12 +03:00
Oli JuhlandGitHub aba4cba373 fix(medusa): Support additional data on admin/collections (#12345)
* fix(medusa): Support additional data on admin/collections

* Create five-experts-wink.md

* add to validators
2025-05-06 14:00:18 +02:00
Shahed NasserandGitHub ea6faa8c82 docs: add missing details for tiered pricing (#12374)
* docs: add missing details for tiered pricing

* adjustments
2025-05-06 14:44:50 +03:00
Shahed NasserandGitHub f74586e772 fix(create-medusa-app): updates to text and prompts (#12360) 2025-05-06 14:23:54 +03:00
Shahed NasserandGitHub ffd323a2a9 chore(types): add note in TSDocs of list and retrieve methods (#12364) 2025-05-06 09:52:06 +03:00
Shahed NasserandGitHub 94b7ee99b7 docs: add troubleshooting for index.html error (#12365) 2025-05-05 19:26:36 +03:00
Oli JuhlandGitHub 77c3023200 fix(product): Return updated collections (#12354)
Collection updates without a `products` payload were not returned from the service layer due to an incorrect early return

Fixes SUP-1488
2025-05-05 14:41:45 +00:00
Shahed NasserandGitHub f25a4a5e34 docs: add script to catch bad redirects (#12361)
* docs: add script to catch bad redirects

* add missing dependency
2025-05-05 12:49:05 +03:00
Harminder VirkandGitHub e4d853185f fix: export ProductImage to allow for custom links to add alt text (#12357) 2025-05-05 14:24:25 +05:30
Shahed NasserandGitHub c35e9e5104 docs: fix local links in UI docs (#12359) 2025-05-05 11:50:01 +03:00
Shahed NasserandGitHub 47772b7593 docs: fix redirect on infrastructural modules (#12358)
* docs: fix redirect on infrastructural modules

* fix image
2025-05-05 11:37:31 +03:00
Oli JuhlandGitHub b463c7980a chore: Update teams.yml (#12355)
**What**
- Add Pedro to team
2025-05-05 07:16:48 +00:00
Harminder VirkandGitHub 84f58f9058 feat: implement direct upload (#12328)
* feat: implement direct upload

* feat: add direct-upload endpoint

* refactor: implement feedback

* refactor: have a dedicated endpoint for direct uploads

* refactor: convert responses to snakecase

* refactor: rename method to createImport

* test: add tests for the presigned-urls endpoint
2025-05-04 12:58:10 +02:00
Pedro GuzmanandGitHub ed55d17a36 fix: batch updates in upsertMany_ (#12333) 2025-05-02 08:36:33 +02:00
Shahed NasserandGitHub 70a99a2434 docs: generate events reference (#12341)
* docs: generate events reference

* change link in navbar

* fix redirect
2025-05-01 19:39:53 +03:00
Shahed NasserandGitHub 332e46d1db chore(utils): fixes to events TSDocs (#12342) 2025-05-01 19:23:50 +03:00
Shahed NasserandGitHub 91f5ac91a9 docs-util: add script to generate events info (#12340)
* docs-util: add script to generate events info

* add property and parent name to json
2025-05-01 14:44:24 +03:00
Shahed NasserandGitHub e3e02a1cc8 chore: add tsdocs for events (#12337) 2025-05-01 12:15:33 +03:00
Shahed NasserandGitHub a53d645f8a fix(core-flows,utils): move fulfillment workflow events (#12338)
Move fulfillment workflow events to be with other workflow events.

Could be considered a breaking change for users using the previously `FulfillmentEvents` variable
2025-05-01 09:11:17 +00:00
Shahed NasserandGitHub 2bfe936185 docs-util: support deprecated tag in OAS (#12339) 2025-05-01 11:59:48 +03:00
Obad ZafarandGitHub 393ac8d885 docs: fix TypeScript errors in marketplace vendor tutorial (#12302)
The index.ts code example in "Create Workflow" section of the Marketplace Vendor Tutorial contains TypeScript errors that prevent successful compilation:

Missing transform import: The tutorial uses the transform function on line 33, but it's not imported from "@medusajs/framework/workflows-sdk"

TypeScript union type complexity error: When working with the useQueryGraphStep function, TypeScript throws "Expression produces a union type that is too complex to represent" error

Incorrect export name: On line 67, the export is export default createVendorAdminWorkflow but the workflow is defined as createVendorWorkflow (line 24)

These errors make it impossible for developers to follow the tutorial successfully without debugging TypeScript errors.

Closes #12301
2025-05-01 06:58:13 +00:00
Shahed NasserandGitHub 7cb85ea123 docs-util: fix hook examples not showing in generated references (#12334) 2025-04-30 18:46:39 +03:00
Frane PolićandGitHub 8985998756 feat(core-flows, utils): add OrderEdit events (#12320)
* feat(core-flows, utils): add OrderEdit events

* fix: typo
2025-04-30 17:44:39 +02:00
Carlos R. L. RodriguesandGitHub 90c61d1898 fix(core-flows): add missing remove remote link (#12326)
* fix(core-flows): add missing remove remote link

* temp disable test
2025-04-30 17:43:37 +02:00
Shahed NasserandGitHub 4a9ac0d4be docs: localization with contentful guide (#12202) 2025-04-30 13:27:31 +03:00
Harminder VirkandGitHub ceb504db2c feat: add needed methods to the file module and providers (#12325) 2025-04-30 13:17:31 +05:30
3539066146 fix(dashboard): Admin Global Search broken for variants (#11877)
* fix(dashboard): Admin Global Search broken for variants

* Create small-nails-hang.md

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-30 09:35:29 +02:00
Obad ZafarandGitHub 4f7fcd7597 docs: fix missing quotation mark in marketplace vendor tutorial curl request (#12315) 2025-04-29 15:45:05 +03:00
Frane PolićandGitHub 4f6362b1cb fix(design-system): filter/sorting menu error (#12309) 2025-04-29 12:13:12 +02:00
b868a4ef4d feat(index): add filterable fields to link definition (#11898)
* feat(index): add filterable fields to link definition

* rm comment

* break recursion

* validate read only links

* validate filterable

* gql schema array

* link parents

* isInverse

* push id when not present

* Fix ciruclar relationships and add tests to ensure proper behaviour (part 1)

* log and fallback to entity.alias

* cleanup and fixes

* cleanup and fixes

* cleanup and fixes

* fix get attributes

* gql type

* unit test

* array inference

* rm only

* package.json

* pacvkage.json

* fix link retrieval on duplicated entity type and aliases + tests

* link parents as array

* Match only parent entity

* rm comment

* remove hard coded schema

* extend types

* unit test

* test

* types

* pagination type

* type

* fix integration tests

* Improve performance of in selection

* use @@ to filter property

* escape jsonPath

* add Event Bus by default

* changeset

* rm postgres analyze

* estimate count

* new query

* parent aliases

* inner query w/ filter and sort relations

* address comments

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-29 12:10:31 +02:00
Shahed NasserandGitHub 8a3f639f01 chore(core-flows): fix note usage in TSDocs (#12318) 2025-04-29 10:49:56 +03:00
Shahed NasserandGitHub f4fba0986c docs: fix incorrect note usage in some workflow references (#12317) 2025-04-29 10:49:28 +03:00
Shahed NasserandGitHub c1e6b81972 docs: improve installation documentation with diagrams (#12312) 2025-04-28 19:43:28 +03:00
LennarXandGitHub f31013104b docs(algolia): rename instructed filename to fit (#12300)
The instructed filename now is the same as in the code-block below (`algolia-sync.ts`) and the instructions don't have naming conflicts (see next step which is instructing to create a file named `product-sync.ts`).
2025-04-28 19:19:06 +03:00
Shahed NasserandGitHub 56ded19bf9 docs: fix module name in product review guide (#12310) 2025-04-28 19:17:10 +03:00
Harminder VirkandGitHub 552dc52228 test: use shared as integration-tests level (#12278) 2025-04-28 18:41:19 +05:30
LennarXandGitHub 5f4a859911 feat(apply-i18n-placeholders): extend schema, translate and use in .tsx (#12264)
This extends the `$schema.json` by the 4 placeholders, later used in `product-create-general-section.tsx`. The placeholders affected by this are for the title, subtitle, handle and description. Should be all on this page. There is no plain / hard-coded text left in there. The translations were made for each accordingly.
2025-04-28 10:31:03 +02:00
Shahed NasserandGitHub 05b43ecdb5 docs-util: add sidebar link validation in prep script (#12306) 2025-04-28 10:50:02 +03:00
Shahed NasserandGitHub 3c967e6753 docs: fix troubleshooting page (#12305) 2025-04-28 10:49:49 +03:00
d7a273ff2d fix(core-flows): handle inventory kit items in mark-as-shipped/delivered flows (#12269)
* fix(core-flows): handle invetory kit items in mark-as-shipped and mark-as-delivered flows

* fix: typo

* chore: more assertion

* chore: fix comment

* Update packages/core/core-flows/src/order/workflows/create-shipment.ts

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

* fix: undo comment

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-26 19:38:00 +02:00
Shahed NasserandGitHub 43d282da8b docs: general improvements and additions (#12296) 2025-04-25 19:00:45 +03:00
Alexander LindkjærandGitHub e2a7dbb61b Update 6.3. Using TypeScript Aliases - Alias should run after build, not before (#12272)
https://docs.medusajs.com/learn/configurations/ts-aliases

`npm run resolve:aliases` should run after `medusa build` to change out the aliases in the build output. 

So instead of the current guide
`"build": "npm run resolve:aliases && medusa build"`

I should be 
`"build": "medusa build && npm run resolve:aliases"`
2025-04-25 15:26:06 +00:00
Shahed NasserandGitHub cb92217d03 docs: improve resend guide (#12293)
* docs: improve resend guide

* fix lint error

* more improvements
2025-04-25 12:42:09 +03:00
Shahed NasserandGitHub 69df003968 docs-util: enable internal resolve for workflows sdk reference (#12292) 2025-04-25 10:11:32 +03:00
Shahed NasserandGitHub 13071172b3 docs: added mark fulfillment delivered step in digital products recipe (#12290)
* docs: add fulfillment delivered step to digital products recipe

* generate llms

* small change
2025-04-24 19:08:05 +03:00
Shahed NasserandGitHub 35d7c143ea docs: improve documetation around error handling in workflows (#12288)
* docs: improve documetation around error handling in workflows

* regenerate
2025-04-24 18:41:28 +03:00
Shahed NasserandGitHub 8aed57d453 docs: add note to s3 guide (#12289) 2025-04-24 18:15:30 +03:00