Commit Graph
9222 Commits
Author SHA1 Message Date
Shahed NasserandGitHub 42b270ed2d fix(types, medusa): fixes to http types and validators (#13928)
## Summary

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

- Fix validators of delete item action for exchanges and claims to not include filter fields (their routes don't use these filters, and it doesn't make sense to have them)
- Fix query parameter type argument of the create reservation route to the correct HTTP type.
- Fix the HTTP type used for listing products and shipping options in the storefront to not include the `with_deleted` (It's also not supported by their validators)

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

*Please provide answer here*

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

*Please provide answer here*

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

*Please provide answer here*

---

## 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
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [ ] 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
- [ ] The changes are covered by relevant **tests**
- [ ] 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-11-04 07:39:42 +00:00
Oli JuhlandGitHub 42abe32b9d chore: Update teams.yml 2025-11-04 08:34:24 +01:00
Pedro GuzmanandGitHub 28c3ea68f5 chore: fix opentelemetry-resources dependency typo (#13948) 2025-11-04 08:22:41 +01:00
Shahed NasserandGitHub aa2368e382 docs: add keywords to Cloud sign up guide (#13950) 2025-11-04 09:15:09 +02:00
Nicolas GorgaandGitHub 792185647b docs: include expected Sentry opentelemetry 1.x peer deps (#13947) 2025-11-04 08:47:15 +02:00
Adrien de PerettiandGitHub afb40d437b chore(): Cleanup and organize deps (#13940)
* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* Create lucky-poets-scream.md

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* dedupe snapshot this build

* split into 4 shard

* re configure packages integration tests

* re configure packages integration tests

* re configure packages integration tests

* re configure packages integration tests

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* reduce shard for packages
2025-11-03 19:06:37 +01:00
Shahed NasserandGitHub cdbb4b925b docs: fixes to recipes and examples following latest update (#13933) 2025-11-03 17:22:59 +02:00
Shahed NasserandGitHub b30dda3eda docs: fix broken image in billing docs + clarify billing details (#13944) 2025-11-03 17:20:59 +02:00
juanzgcandGitHub 516e217dbb fix: Update type Providers (#13927)
**What**
Update Providers type to accept both types simultaneously
2025-11-03 08:30:00 -05:00
Shahed NasserandGitHub 6ed88141ef docs: fix deployment error (#13942) 2025-11-03 13:09:56 +02:00
Pedro GuzmanandGitHub e4f8e3d6cc Inject config module in tests (#13937)
* add failing test

* inject configModule in module test runner

* changeset

* fix injected configModule
2025-11-03 11:22:51 +01:00
Pedro GuzmanandGitHub e66f7cf59e Quote column names in indexes (#13938)
* quote column names in indexes

* quote column names in created indexes

* fix tests
2025-11-03 10:58:40 +01:00
Adrien de PerettiandGitHub 37563987b8 chore(): Fix dependencies (#13932) 2025-11-02 17:46:46 +01:00
Carlos R. L. RodriguesandGitHub 990691e78a chore(medusa): do not use transaction id on cart operations (#13931) 2025-10-31 15:09:35 -03:00
224ab39a81 chore(): Update dependencies usage (#13910)
* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* fix for wxios 1.6

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* push scripts

* update build concurrency

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* chore(): Update dependencies usage

* fixes

* update yarn

* fixes

* fix script

* Create heavy-suns-tickle.md

* update changeset

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-10-31 16:44:14 +01:00
Adrien de PerettiandGitHub 4e5b318583 fix(): update Integration test enabling index when not necessary (#13904)
* fix(): update Integration test enabling index when not necessary

* fix
2025-10-31 15:51:26 +01:00
Shahed NasserandGitHub 0fd9f27ca5 chore: add missing since and featureFlag tags (#13926) 2025-10-31 16:17:19 +02:00
Shahed NasserandGitHub 604ff55a5b docs: generate OAS for 2.11.2 (#13925) 2025-10-31 16:15:46 +02:00
Carlos R. L. RodriguesandGitHub 13d7d15be5 chore(modules-sdk): parallel migrations (#13898) 2025-10-31 11:05:53 -03:00
fffc1be1e7 chore(docs): Generated References (automated) (#13921)
* chore(docs): Generated References (automated)

* fix error + generate references

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-10-31 15:32:21 +02:00
3518ba1694 docs: clarify prices are stored in major units (#13897)
* update package

* docs: clarify prices are stored in major units

* revert change

* revert change

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
2025-10-31 13:29:37 +02:00
Shahed NasserandGitHub 38d486bec0 docs: document asymmetric encryption (#13922) 2025-10-31 12:55:22 +02:00
Stevche RadevskiandGitHub 7c72e7bae9 fix: Updates to medusa payments provider (#13914) 2025-10-31 11:45:00 +01:00
0928ded5d3 chore(docs): Generated DML JSON files (automated) (#13919)
* chore(docs): Generated DML JSON files (automated)

* update comments + add since

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-10-31 12:35:17 +02:00
d9bd5b867b chore(docs): Generated + Updated UI Reference (automated) (#13920)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-10-31 12:33:13 +02:00
3efcb58e34 chore(docs): Update version in documentation (automated) (#13918)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-10-31 11:46:15 +02:00
Shahed NasserandGitHub 7975d8522e docs: docs for next release (#13907) 2025-10-31 11:28:42 +02:00
olivermrbl 9d3e199c71 chore: Release 2025-10-31 10:17:15 +01:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
31b9ae3d28 chore: Version Packages (#13853)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-31 10:11:18 +01:00
Shahed NasserandGitHub 0da22a8a13 docs: fix rewrites for markdown and plain content (#13916) 2025-10-31 08:54:51 +02:00
4dac80a320 docs: updated user stories in /learn (#13866)
* docs(learn): updated user stories

* Correct case in title for Advanced Fulfillment use case

* Update href for Advanced Fulfillment use case

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-10-30 18:00:01 +02:00
Shahed NasserandGitHub b1b6960147 docs: serve markdown to agents (#13915) 2025-10-30 17:59:22 +02:00
Adrien de PerettiandGitHub 66bbe39a8e chore(): Throw on migration up/down fail (#13911)
* chore(): Throw on migration up/down fail

* Create nine-ways-teach.md
2025-10-30 16:50:13 +01:00
Carlos R. L. RodriguesandGitHub c9701c70da fix(utils): db migration big number default value (#13913)
## Summary

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

Generate db migrations with big number default values

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



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



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



---

## 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
// Example usage
```

---

## 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-30 15:37:17 +00:00
Frane PolićandGitHub d5fc46b222 feat(dashboard): variant images list thumbnail + refactor form state management (#13905)
## Summary

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

- show thumbnail on the product variant list
- refactor variant image editor state management
- await revalidation before rendering form

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

Manual testing

---

## 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
- [ ] 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
2025-10-30 14:21:27 +00:00
Sebastian RindomandGitHub 6d6856552a fix: allow controlling hmr bind host (#13692)
trick to make it easier to control where the hmr server binds. usefuly when running medusa dev through proxies, docker containers, etc.
2025-10-30 12:16:07 +00:00
Shahed NasserandGitHub 2e7c65528a docs: fix category images guide (#13908)
* docs: fix category images guide

* fix vale errors
2025-10-30 14:11:49 +02:00
Shahed NasserandGitHub bbfe39607a docs: category images guide (#13755)
* docs: category images guide

* added openapi spec
2025-10-30 12:59:19 +02:00
Adrien de PerettiandGitHub 6d7ba778f5 chore(): Generate migrations with correct mikro orm import path (#13893)
* chore(): Generate migrations with correct mikro orm import path

* Create shy-melons-jog.md
2025-10-30 09:04:36 +01:00
0f79f22ebc fix(pricing): price list prices perf issues (#13899)
* update package

* fix(pricing): update price list prices perf issues

* Create lemon-clocks-sing.md

* fix(pricing): update price list prices perf issues

* fix(pricing): update price list prices perf issues

* update package

* update package

* improvements

* remove unnecessary comments

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-10-29 19:50:33 +01:00
Oli JuhlandGitHub 01ee437926 chore(types,notification): Make template nullable on emails (#13889)
* chore: Make template nullable on emails

* Create curvy-lamps-float.md
2025-10-29 18:36:06 +01:00
ef7b9b9375 feat: Implement medusa payments provider (#13772)
* feat: Implement medusa payments provider

* chore: Improvements after testing

* chore: Add typings to medusa payments

* fix: Final changes to complete medusa payment provider

* update package

* fix: Final changes to complete medusa payment provider

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-10-29 15:07:33 +01:00
Oli JuhlandGitHub 1defb3c29b chore: Inject sandbox handle in cloud config (#13879)
* chore: Inject sandbox handle in cloud config

* Create wet-seas-lie.md

* chore: rename medusaCloudOptions to cloud

* fix tests
2025-10-29 10:02:37 +01:00
Adrien de PerettiandGitHub 85b1f3d43a feat(index): Add http/module api to interact with the index engine (#13869)
* feat(index): Add support to trigger sync manually

* feat(index): Add API route to interact with

* feat(index): Add API route to interact with

* feat(index): Add API route to interact with

* test(): Add http integration tests

* Create weak-elephants-reply.md
2025-10-28 20:31:39 +01:00
Shahed NasserandGitHub 540ae996ff docs: fix mikro-orm imports from framework (#13885) 2025-10-28 18:27:34 +02:00
Leonardo BeniniandGitHub 0244f029aa feat(dashboard): type-safe i18n for UI extensions (#13851)
## Summary

**What** 

Exports the type of medusa's i18n keys from the dashboard package, for autocomplete support.

**Why** 

Currently i18next is not able to provide proper ts autocomplete support when adding translations to projects or plugins.   
For example when adding a data table or form, I have to go back multiple times to the source i18n files in the medusa repo and search for the exact key name(is it "actions.confirm" or "general.confirm"? etc) and I forget it right after every single time.

Even if all medusa components were provided already translated, it's still very convinient to use keys from medusa(if context appropriate) for some custom components, since they are already translated into many languages(eg "yes", "no" and other very basic strings). Hence why ts support for the base keys would be very helpful

**How** 

Modified the generateTypes script to also copy the `en.json` file to the dist folder, and export a `Resources` type with the inferred keys in index.d.ts.
This allows users to define their own i18next type definitions including the base "translation" namespace, example below.

**Testing** 

Manual testing

---

## Examples

```ts
// In src/admin/i18next.d.ts
import type enTranslation from "./i18n/en.json"         // custom keys
import type { Resources } from "@medusajs/dashboard"    // medusa keys
declare module "i18next" {
    interface CustomTypeOptions {
        fallbackNS: "translation"
        resources: {
            translation: Resources["translation"]                     
            // all custom namespaces need to merge Resources["translation"] as well
            // otherwise when falling back to "translation", strings will have type "never"
            myCustomNs: typeof enTranslation & Resources["translation"]  
        }
    }
}

```

Then, both `useTranslation()` and `useTranslation("myCustomNs")` will have proper autocomplete support

---

## 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
- [x] I have linked the related issue(s) if applicable
2025-10-28 14:52:36 +00:00
Frane PolićandGitHub 1594c13962 fix(dashboard): preserve old image ids when deleting a product image (#13881) 2025-10-28 15:18:36 +01:00
Radek NaporaandGitHub c1c0e1490a fix(dashboard) Standardize heading levels for consistent hierarchy (#13861)
## Summary

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

This PR standardizes heading levels across dashboard components to maintain proper semantic HTML hierarchy.

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

*Please provide answer here*

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

- Added optional `headingLevel` prop `"h1" | "h2" | "h3"` to `DataTable` component with default value of `"h1"`

- Modified `Heading` component usage to explicitly specify the appropriate level based on context

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

*Please provide answer here*

---

## 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
- [ ] 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
2025-10-28 12:11:50 +00:00
0b202cc509 feat(product): build variant images when retrieving product (#13731)
**What**
-  build variant images when retrieving product

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-10-28 09:35:55 +00:00
ac6754f008 feat(admin): change admin order list default sort (#13874)
*  Change admin order list default sort

* Create hot-laws-give.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-10-28 10:23:16 +01:00