Commit Graph

7914 Commits

Author SHA1 Message Date
Shahed Nasser 4f23901fcf docs: change link to cloud pricing (#11753)
* docs: change link to cloud pricing

* generate
2025-03-06 13:06:12 +02:00
Shahed Nasser 08ce70a368 docs-util: add exceptions for routes with custom auth middleware (#11755) 2025-03-06 13:05:50 +02:00
Shahed Nasser 3616003145 docs: add sidebar sorting logic (#11751)
* docs: add sidebar sorting logic

* generate sidebar
2025-03-06 12:20:03 +02:00
Shahed Nasser ecc3deb362 docs: changes to main docs sidebar (#11750)
* docs: changes to main docs sidebar

* fix links

* fix vale test

* fix vale errors
2025-03-06 11:55:56 +02:00
Nicklas Gellner eba3172d88 Merge pull request #11752 from medusajs/MedusaNick-patch-2
Update page.mdx
2025-03-06 09:55:04 +01:00
Nicklas Gellner a50ab4c341 Update page.mdx 2025-03-06 09:54:49 +01:00
Shahed Nasser 3256a1f740 chore(js-sdk): fix tsdocs for properties and methods (#11748) 2025-03-06 09:12:05 +02:00
Shahed Nasser 9194385999 docs: fix tag for JS SDK draft order + other fixes (#11747) 2025-03-06 09:11:47 +02:00
Carlos R. L. Rodrigues 16d7294de8 fix(pricing): events (#11742) 2025-03-05 15:35:23 -03:00
Adrien de Peretti cc1309d370 chore(product): Improve product normalization and fix http router with tracing (#11724)
**What**
- Improve product normalization and prevent over fetching data
- Fix HTTP router wrap handler with tracing enabled
2025-03-05 13:04:25 +00:00
Shahed Nasser e81deb49f8 docs-util: fix freshness check script (#11737)
* docs-util: fix freshness check script

* Update freshness-check.ts
2025-03-05 13:35:28 +02:00
github-actions[bot] af613bbc4e chore(docs): Generated References (automated) (#11718)
Generated the following references:
- `cart`
- `cart_models`
- `core_flows`
- `fulfillment`
- `js_sdk`
- `medusa`
- `modules`
- `order`
- `payment`
- `payment_provider`
- `types`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-03-04 14:14:00 +00:00
github-actions[bot] 6294a71296 chore(docs): Updated API Reference (automated) (#11719)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-03-04 14:10:22 +00:00
github-actions[bot] 8a36bd4034 chore(docs): Generated DML JSON files (automated) (#11717)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-03-04 15:51:20 +02:00
github-actions[bot] 52d3c89ee9 chore(docs): Update version in documentation (automated) (#11716)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-03-04 15:50:55 +02:00
Shahed Nasser c29a709dd1 docs: changes for next release (#11708)
* docs: changes for next release

* small fixes

* fix lint error

* small fix
2025-03-04 15:23:50 +02:00
olivermrbl 9e410be04a chore: Release 2025-03-04 14:12:26 +01:00
olivermrbl 5d74ac3cc3 chore: Version packages 2025-03-04 14:11:37 +01:00
Adrien de Peretti cad8b40c13 fix(inventory): Wrong event emitted on reservation update (#11714)
* fix(inventory): Wrong event emitted on reservation update

* fix(inventory): Wrong event emitted on reservation update

* Create tall-mice-smile.md
2025-03-04 14:10:11 +01:00
olivermrbl d172ad8ebc chore: Add missing changeset 2025-03-04 13:30:02 +01:00
Adrien de Peretti 5d184ba0c8 chore(framework): Unified resource loading and exclude non js/ts files (#11707)
* chore(framework): Unified resource loading and exclude non js/ts files

* chore(framework): Unified resource loading and exclude non js/ts files

* chore(framework): Unified resource loading and exclude non js/ts files

* chore(framework): Unified resource loading and exclude non js/ts files

* chore(framework): Unified resource loading and exclude non js/ts files

* Create six-parrots-shave.md
2025-03-04 13:21:37 +01:00
Harminder Virk aabbbb7292 feat: Replace existing router with the new implementation (#11646) 2025-03-04 17:22:20 +05:30
Shahed Nasser c2e24b6cfd docs: update OAS of reset password routes (#11711) 2025-03-04 13:28:41 +02:00
Carlos R. L. Rodrigues 7dbec10b3b fix(order): summary raw totals (#11712) 2025-03-04 11:01:12 +00:00
Avia-Code cc829185f4 feat: added hook for createStockLocationsWorkflow (#11491)
What
This commit introduces the `stockLocationsCreated` hook to the `createStockLocationsWorkflow`.

Why
The hook was missing and necessary to improve the workflow's extensibility.

How
Added the `stockLocationsCreated` hook and updated related logic within the workflow.

Testing

1. Create new medusa project via create-medusa-app
2. Connect this custom branch of medusa to it
3. Create `src/workflows/hooks/stock-locations-created.ts` file with the following content:

```
import { createStockLocationsWorkflow } from "@medusajs/medusa/core-flows"

createStockLocationsWorkflow.hooks.stockLocationsCreated(
  (async ({ stockLocations, additional_data }, { container }) => {
    console.log({stockLocations})
  })
)
```
4. Create new admin account and create there a new stock location
5. The log should be displayed in terminal
2025-03-04 10:53:39 +00:00
Shahed Nasser 07e39609d9 docs: open prerequisite links in new tab (#11701) 2025-03-04 09:05:38 +02:00
Ismail Sabet a39830e269 docs: fix Sanity example (#11697) 2025-03-04 07:04:53 +00:00
Sai-Santhan-Dodda 783f96439a docs: Added a missing "/" (#11696) 2025-03-04 07:01:13 +00:00
Frane Polić e23f204b7c fix(dashboard, core-flows, medusa): prevent creation of empty fulfillments (#11664) 2025-03-03 16:54:20 +00:00
Shahed Nasser 40a9cffb34 docs: add more clarification to reset password in API reference (#11695) 2025-03-03 18:09:03 +02:00
Shahed Nasser 92514885e4 docs: add section on row click in DataTable (#11694)
* docs: add section on row click in DataTable

* update subscriptions example
2025-03-03 18:08:06 +02:00
Riqwan Thamir ab96ad3b82 feat(utils): add error message when manager is not found in context (#11693) 2025-03-03 15:50:34 +01:00
Kasper Fabricius Kristensen c28ae573e5 fix(dashboard): Use derived state in DataTable (#11487)
**What**
- Uses derived state in DataTable, to prevent the state in the URL and component from going out of sync.
- Introduces a way for RouteModals to restore URL params on close.

Resolves CMRC-936
2025-03-03 14:18:19 +00:00
Riqwan Thamir 51b0af193c fix(types,medusa): calculate taxes for original price (#11692) 2025-03-03 14:20:48 +01:00
Riqwan Thamir 954136f13a fix(dashboard): bust variant inventory cache on inventory update (#11690) 2025-03-03 12:53:34 +01:00
Frane Polić 7465604ae5 fix(dashboard): variant inventory section (#11669)
**What**
- fix fetching data need to display the info properly
- display condition

---

CLOES SUP-996
2025-03-03 10:46:10 +00:00
Shahed Nasser 82bcdc6271 docs: fix examples in workflows reference (#11688) 2025-03-03 12:20:40 +02:00
Shahed Nasser 61a0e4f3cf chore(workflows-sdk): fix examples in TSDocs (#11689) 2025-03-03 12:20:21 +02:00
Adrien de Peretti d1efad9bf0 chore(): Improve cart update line items (#11666)
**What**
Currently, we are potentially providing an array of selector/data leading to fetching data sequentially before running on update which will fetch data again in batch and perform the update. Now we can pass the data directly which includes the id already and only perform one bulk fetch + one bulk update.

This pr also include a fix on the inventory validation, currently, only the item to update inventory is being checked, with this pr we also check the inventory for the items that needs to be created
2025-03-03 10:06:40 +00:00
Furman 39597b6b52 Add missing translations & change some badly translated (#11670) 2025-03-03 09:08:44 +01:00
Shahed Nasser 358400c38c docs: fix weird scroll behavior (#11668) 2025-02-28 17:34:22 +02:00
Frane Polić bdf9723239 fix(dashboard): filter outbound shipping options in RMA (#11629)
**What**
- filter out return shipping options for Claims/Exchanges
- fix the incorrect display of "missing inventory" warning

---

CLOSES CMRC-946
CLOSES CMRC-947
2025-02-28 14:55:35 +00:00
Shahed Nasser bf67f69f45 docs: move edit date to footer (#11667)
* docs: move edit date to footer

* fix build error
2025-02-28 16:27:42 +02:00
Adrien de Peretti 228b7b608d Chore/link module serialization (#11643) 2025-02-28 09:19:21 -03:00
Frane Polić c50487ccab fix(core-flows): return created order return from workflow (#11642)
* fix: return created order return from workflow

* fix: type

* fix: middeware export
2025-02-28 10:15:13 +01:00
Frane Polić 4b7c6d7dd9 fix(dashboard): few admin bug fixes (#11655)
**What**
- OE id bug
- prevent canceling shipped/delivered fulfillment

---

CLOSES CMRC-935
CLOSES CMRC-938
2025-02-28 09:13:47 +00:00
Frane Polić de0798dbed fix(dashboard): display CG in PL configuration details (#11653)
CLOSES CMRC-966
2025-02-28 09:12:45 +00:00
Roelof Kallenkoot f55211c30e docs: typo on homePage codeTabs notificationModuleService (#11658)
**What - what changes are in this PR**
Typo on the homepage in the codeTabs

**Why - why are these changes relevant**
Simple typo that might be bothering more people than just me!

**How - how have the changes been implemented**
Fixed the typo from: `notificaitonModuleService` to `notificationModuleService`

**Testing - how has the changes been tested or how can the reviewer test the feature**
Should be simple enough not to require full testing locally!
2025-02-28 07:57:35 +00:00
Stevche Radevski 93dc10332d fix: Exclude the health endpoint from being logged (#11650) 2025-02-27 16:22:50 +01:00
Shahed Nasser d9b2a73b44 docs: update subscriptions recipe with stripe payment (#11651)
* docs: update subscriptions recipe with stripe payment

* small change

* fix vale error
2025-02-27 16:52:56 +02:00