Commit Graph
100 Commits
Author SHA1 Message Date
Shahed Nasser a540256137 docs: change Medusa Cache setup information (#13802) 2025-10-21 17:31:56 +03:00
Shahed Nasser 0d83918348 docs: fixes to type errors in guides (#13797) 2025-10-21 16:12:35 +03:00
Shahed Nasser d9249be6e6 chore: fixes to refund reasons tsdocs (#13796) 2025-10-21 15:05:30 +03:00
Shahed Nasser c6e58e5144 docs: fixes to API and JS SDK references (#13795) 2025-10-21 13:32:25 +03:00
Shahed Nasser 33f788be42 docs: fix name of caching redis module (#13788) 2025-10-21 10:41:32 +03:00
Shahed Nasser 76f9da5ef4 docs: Caching Module (#13701)
* standard docs for caching module + deprecated cache module

* added guides for creating + using, and overall changes from cache to caching

* fix details related to redis provider

* fix build errors

* fix build error

* fixes

* add guides to sidebar

* add sidebar util

* document query + index

* moved cache tag conventions

* fix build errors

* added migration guide

* added memcached guide

* fixes

* general fixes and updates

* updated reference

* document medusa cache

* small fix

* fixes

* remove cloud cache

* revert edit dates changes

* revert edit dates

* small update
2025-10-21 10:34:27 +03:00
Shahed Nasser eefda0edce docs: cache in cloud (#13719)
* docs: cache in cloud

* fix build

* information updates

* add opt out info

* fix vale error
2025-10-21 10:33:25 +03:00
Shahed Nasser ed715813a5 docs: docs for next release (#13621)
* docs: docs for next release

* changes to opentelemetry dependencies

* document plugin env variables

* document admin changes

* fix vale error

* add version notes

* document campaign budget updates

* document campaign changes in user guide

* document chages in cluster mode cli

* documented once promotion allocation

* document multiple API keys support
2025-10-21 10:32:08 +03:00
Shahed Nasser 20bfdac06d docs: document migrations on Cloud (#13785) 2025-10-20 19:24:30 +03:00
Shahed Nasser 150aa50397 feat(tax,types): Add method to retrieve a Tax Module Provider's service (#13784)
## Summary

**What** — What changes are introduced in this PR?

Add a method in the Tax Module's servie to retrieve a provider by its ID.

**Why** — Why are these changes relevant or necessary?  

The Tax Module Provider could be used for use cases other than calculating tax lines. For example, Avalara supports importing products to manage product-specific taxes. However, it's not possible right now to listen to the `product.created` event and create the product in Avalara with its provider. Instead, you'll have to create a separate module that also connects to Avalara and resolve it in the subsriber.

This also matches the pattern in the Analytics Module, which allows retrieving the underlying provider.

**How** — How have these changes been implemented?

Add a `getProvider` method to the Tax Module's service and its interface.

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

Added integration test for the method.

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
const avalaraProvider = taxModuleService.getProvider("tp_avalara_avalara")
```

---

## Checklist

Please ensure the following before requesting a review:

- [x] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [x] The changes are covered by relevant **tests**
- [x] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.
2025-10-20 16:18:48 +00:00
Shahed Nasser d97a60d3c1 docs: document build output + Cloud troubleshooting (#13774) 2025-10-20 15:45:11 +03:00
Shahed Nasser 441e5e4710 docs: add deep thinking to AI assistant (#13770)
* docs: add deep thinking to AI assistant

* add disabled styling
2025-10-17 12:07:10 +03:00
Shahed Nasser 415d13091d docs: fix content shift in references (#13765) 2025-10-17 08:12:15 +03:00
Shahed Nasser ee2734c23d docs: add troubleshooting for middlewares (#13764) 2025-10-16 14:43:21 +03:00
Shahed Nasser e36c054780 docs: improve references loading (#13761)
* docs: improve references loading

* remove comment

* try remove generate metadata

* improvements and fixes
2025-10-16 14:25:01 +03:00
Shahed Nasser 4eb9628514 docs: add troubleshooting for subscribers + scheduled jobs not working (#13762) 2025-10-16 13:07:37 +03:00
Shahed Nasser 1ca329d9b3 docs: clarify relation name for read-only links (#13758)
* docs: clarify relation name for read-only links

* small fix

* fix vale error
2025-10-16 10:27:14 +03:00
Shahed Nasser 26d497f285 docs: clarify how to use token in Auth Provider guide (#13759)
* docs: clarify how to use token in Auth Provider guide

* small fix
2025-10-16 08:27:42 +03:00
Shahed Nasser a5df43cde7 docs: fix limit text length code (#13752) 2025-10-16 08:23:29 +03:00
Shahed Nasser 8bb036457c docs: improve headings and context in Cloud docs (#13757) 2025-10-15 18:49:48 +03:00
Shahed Nasser 379d763e50 chore: general TSDoc updates (#13742) 2025-10-13 14:27:19 +03:00
Shahed Nasser 9a5ca86b76 docs: support since, deprecated, and feature flag tags in dml reference (#13741) 2025-10-13 13:31:48 +03:00
Shahed Nasser 958b003a11 chore: add since tags for latest release (#13739) 2025-10-13 11:24:51 +03:00
Shahed Nasser fc2ded4b10 fix(core-flows): fix warning for when usage in updateOrderTaxLinesWorkflow (#13738)
When starting the Medusa application i see the following in the console:

```
update-order-tax-lines: "when" name should be defined. A random one will be assigned to it, which is not recommended for production.
 ({ input }) => {
        return input.item_ids?.length > 0;
    }
update-order-tax-lines: "when" name should be defined. A random one will be assigned to it, which is not recommended for production.
 ({ input }) => {
        return input.shipping_method_ids?.length > 0;
    }
```

This PR fixes the issue by passing a step name as a first parameter to the `when` usages in `updateOrderTaxLinesWorkflow`
2025-10-13 08:22:22 +00:00
Shahed Nasser a48ee395ed chore: added TSDocs to refund reason HTTP type (#13717) 2025-10-13 11:17:36 +03:00
Shahed Nasser 2cfd0dfc6e docs: add note to tutorials related to types (#13720) 2025-10-09 14:52:23 +03:00
Shahed Nasser 85f543e01d chore: fixes to Caching Module's TSDocs (#13709) 2025-10-09 13:09:51 +03:00
Shahed Nasser 87a66ff37e docs: separate Billing + Plans guide and add note for Indian cards (#13710) 2025-10-09 08:53:40 +03:00
Shahed Nasser c75a76636a docs: meilisearch integration tutorial (#13532)
* docs: meilisearch integration tutorial

* generate llms
2025-10-08 11:23:43 +03:00
Shahed Nasser f85df8fcdc chore: updated TSDocs of the Caching Module service + provider (#13696) 2025-10-06 18:06:46 +03:00
Shahed Nasser 54cf8811af docs: show badge for community integrations (#13691) 2025-10-06 11:18:51 +03:00
Shahed Nasser 80371a4344 docs: fix client error in UI docs (#13686) 2025-10-03 21:42:09 +03:00
Shahed Nasser 74fcc367c0 docs: add guide on storefront production optimization tips (#13682)
* docs: add guide on storefront production optimization tips

* add vale exception
2025-10-03 17:24:10 +03:00
Shahed Nasser ad46a86a8f docs: fix error when translating page (#13681) 2025-10-03 16:03:33 +03:00
Shahed Nasser fcb977a989 docs: remove mention of base64 requirement for api keys (#13679) 2025-10-03 14:10:16 +03:00
Shahed Nasser dd4b3315f3 docs: added refund details related to transactions (#13677) 2025-10-03 14:09:59 +03:00
Shahed Nasser a4757d462d docs: fixes to github solutions componen (#13676)
* docs: fixes to github solutions componen

* remove octokit dependency
2025-10-03 14:09:43 +03:00
Shahed Nasser 6ea97443de docs: improved analytics and tracking (#13671)
* docs: improved analytics and tracking

* remove detailed feedback component

* remove ignore build script for api reference

* improvements

* fix pathname
2025-10-03 13:33:48 +03:00
Shahed Nasser 50c1417378 docs: improve troubleshooting guide for pnpm (#13673)
* docs: improve troubleshooting guide for pnpm

* added pnpm link to installation guide
2025-10-03 13:09:01 +03:00
Shahed Nasser 1789f3e257 docs: agentic commerce guide (#13657) 2025-10-03 08:54:39 +03:00
Shahed Nasser d29c2abbba docs: fix cursor MCP link (#13664)
* docs: fix cursor MCP link

* fix error

* fix vale error
2025-10-03 08:54:12 +03:00
Shahed Nasser 4717ad9a59 docs: document preview limits in Cloud + general updates (#13661) 2025-10-02 19:17:50 +03:00
Shahed Nasser 762cd445e0 docs: setup PostHog (#13659) 2025-10-02 14:45:10 +03:00
Shahed Nasser be651dd708 docs: fix typo in product feed guide (#13658) 2025-10-02 14:17:50 +03:00
Shahed Nasser d1bbd8a7c1 docs: fix typo (#13643) 2025-10-01 17:41:18 +03:00
Shahed Nasser 01ac822e6b docs: update Cloud sign up link (#13648) 2025-10-01 17:29:17 +03:00
Shahed Nasser 30215e7292 docs: fix details about maximum quantity for promotions (#13642) 2025-10-01 13:37:28 +03:00
Shahed Nasser 05af008911 docs: add details about updating index module's data source (#13637)
* docs: add details about updating index module's data source

* small change
2025-10-01 10:26:11 +03:00
Shahed Nasser 0c7cbfb2e7 feat(payment-stripe): Allow passing shared payment token in Stripe (#13632)
* feat(@medusajs/payment-stripe): Allow passing shared payment token in Stripe

* fix changeset
2025-09-30 18:40:36 +03:00
Shahed Nasser a1dd2de0de docs: general changes to Cloud docs (#13616)
* docs: document self serve

* docs: Cloud docs changes

* vale fixes

* vale error fix

* fixes

* added new sections

* generate
2025-09-30 18:37:04 +03:00
Shahed Nasser bd9ecd5e66 docs: updates to custom columns and build guides (#13624) 2025-09-30 10:01:58 +03:00
Shahed Nasser f970e1355a docs: general updates and fixes (#13620) 2025-09-30 08:45:30 +03:00
Shahed Nasser dda756dfaa docs: fix search not highlighting subheaders (#13619) 2025-09-29 15:24:39 +03:00
Shahed Nasser 4bbec480a9 docs: fix mobile menu not closing when clicking a link (#13618) 2025-09-29 15:23:50 +03:00
Shahed Nasser 97cc8fdc15 docs: fix pricing page on small devices (#13617) 2025-09-29 15:22:22 +03:00
Shahed Nasser da411e351a add missing generated files (#13609) 2025-09-29 09:46:18 +03:00
Shahed Nasser cbfe0a4e95 docs: improve docs contribution guidelines (#13605)
* docs: improve docs contribution guidelines

* fix build error

* fix build errors

* fix build

* fix build
2025-09-26 16:18:35 +03:00
Shahed Nasser c4c2231a31 docs: create returns from storefront tutorial (#13522)
* docs: create returns from storefront tutorial

* small change

* generate llms

* add location ID
2025-09-24 12:06:26 +03:00
Shahed Nasser 6a91f79f44 feat(js-sdk): allow passing a query parameter to deleteLineItem (#13581) 2025-09-23 11:47:10 +00:00
Shahed Nasser bcc30ccc39 docs: fix @medusajs/ui version in docs (#13577) 2025-09-23 09:29:57 +03:00
Shahed Nasser 3758303a1d fix(order): save return's location ID from input (#13567) 2025-09-22 13:59:58 +03:00
Shahed Nasser 730d73306d chore(medusa): remove empty object type for set cart's customer route (#13549) 2025-09-22 06:22:12 +00:00
Shahed Nasser 5b7187c261 docs: disable retrieving Cloud pricing data on preview + other changes (#13552)
* docs: disable retrieving Cloud pricing data on preview + other changes

* fixes
2025-09-19 12:40:17 +03:00
Shahed Nasser 2f990a14e6 docs: generate API reference for 2.10.3 (#13548)
* docs: generate API reference for 2.10.3

* fix curl example
2025-09-19 11:40:52 +03:00
Shahed Nasser 0e45249b30 docs: regenerate reference for views changes (#13551) 2025-09-19 10:45:55 +03:00
Shahed Nasser 0fd479f9d6 chore: add since and feature flag TSDocs for setting workflows (#13550) 2025-09-19 10:44:22 +03:00
Shahed Nasser aa7ea4d9a6 chore: add tsdocs for latest changes (#13539) 2025-09-18 18:04:24 +03:00
Shahed Nasser def722d8ee docs: improve third-party auth in storefront guide (#13534) 2025-09-17 18:13:54 +03:00
Shahed Nasser ba9a30757b docs: general improvements (#13530) 2025-09-17 08:48:18 +03:00
Shahed Nasser 1c4f7bd53a docs: fixes to JS SDK + auth provider guides (#13526)
* docs: fixes to JS SDK + auth provider guides

* more fixes

* fix lint error
2025-09-16 18:39:56 +03:00
Shahed Nasser 92102dcafb docs: add Next.js starter guides to llms-full.txt (#13523) 2025-09-16 16:17:07 +03:00
Shahed Nasser b6d96a1b03 docs: small update to invoice generator introduction (#13519) 2025-09-16 09:54:35 +03:00
Shahed Nasser d4891381fc docs: general improvements and fixes (#13515) 2025-09-16 08:48:27 +03:00
Shahed Nasser 4af1815c5b chore: add a link to the storefront docs for cart item totals type (#13514) 2025-09-15 16:18:20 +00:00
Shahed Nasser 8c21243f42 docs: add section on retrieve totals for cart items and shipping methods in storefront (#13513)
* docs: add section on retrieve totals for cart items and shipping methods in storefront

* change return type

* update OAS
2025-09-15 19:11:17 +03:00
Shahed Nasser 040fbf3220 chore(core-flows): use directory convention for locking steps (#13501) 2025-09-15 14:46:08 +03:00
Shahed Nasser b1d068197b chore: update TSDocs of JS SDK store methods to clarify required auth (#13507) 2025-09-15 14:33:11 +03:00
Shahed Nasser 9f7df88c84 docs: add clarification for set cart's customer API route (#13506) 2025-09-15 14:32:36 +03:00
Shahed Nasser 2ceed66b4d docs: fix issues in product builder tutorial (#13505) 2025-09-15 14:06:56 +03:00
Shahed Nasser 5589b7351a docs: documentation updates for v2.10.2 (#13500) 2025-09-15 13:56:50 +03:00
Shahed Nasser 21c6e8600f chore(js-sdk): add ignore tag to views (#13503) 2025-09-15 13:30:11 +03:00
Shahed Nasser 55cf7a7b97 docs: regenerate core-flows reference to pick up locking steps (#13502) 2025-09-15 13:29:03 +03:00
Shahed Nasser e90dcedcd7 docs: general improvements and updates (#13485)
* docs: general improvements and updates

* fix vale error
2025-09-15 12:30:59 +03:00
Shahed Nasser b35b1b41a4 chore: update API reference for 2.10.2 (#13499) 2025-09-15 12:30:09 +03:00
Shahed Nasser 2657f9c196 docs: add manage promotions in cart storefront guide (#13483)
* docs: add manage promotions in cart storefront guide

* fix incorrect cURL example
2025-09-15 12:29:55 +03:00
Shahed Nasser 9b65078c64 docs: ticket booking system guide (#13471)
* docs: ticket booking system guide

* fix vale error
2025-09-12 13:01:38 +03:00
Shahed Nasser 3a7a2571a6 docs: add cloud plans & pricing page (#13420)
* docs: add cloud plans & pricing page

* fix buttons

* simplify condition

* remove test frontmatter

* design fixes and changes

* styling fixes

* change node version for tests

* fix build error

* fix tests

* fix github pipeline
2025-09-11 18:18:12 +03:00
Shahed Nasser 69b92681b9 docs: fix same page link not resolved correctly (#13481) 2025-09-11 17:27:18 +03:00
Shahed Nasser e4d0e51ec3 docs: fix saved payment method guide (#13480) 2025-09-11 16:28:16 +03:00
Shahed Nasser 191fe6f451 docs: improvements to Cloud homepage (#13479) 2025-09-11 14:49:43 +03:00
Shahed Nasser d8c65a7310 docs: add section on multi-currency and region support 2025-09-11 14:41:43 +03:00
Shahed Nasser d73591aafd docs: fix relations missing from data model reference diagrams (#13474) 2025-09-11 13:31:03 +03:00
Shahed Nasser d724f079a8 docs: fix cancel order information in user guide (#13447) 2025-09-09 16:46:28 +03:00
Shahed Nasser 8a654eba93 docs: add product feed tutorial (#13366) 2025-09-09 11:17:14 +03:00
Shahed Nasser 5e1523a206 docs: add graphql dependency to payload guide (#13440) 2025-09-08 19:02:21 +03:00
Shahed Nasser c01e17a3ef docs: update project creation steps (#13436) 2025-09-08 17:44:32 +03:00
Shahed Nasser ac5e23b96c docs: fixes and improvements to price calculation guide (#13419) 2025-09-08 09:47:54 +03:00
Shahed Nasser 1fcec15ef5 docs: add plan cancelation details (#13416)
* docs: add plan cancelation details

* fix link

* fix link
2025-09-04 19:39:27 +03:00
Shahed Nasser 8785fb4e1a docs: general fixes and improvements (#13417) 2025-09-04 19:27:34 +03:00
Shahed Nasser 21c31a2ab2 docs: added a note about payload version (#13410) 2025-09-04 14:25:09 +03:00