Shahed Nasser
7b1028e5ae
docs-util: fix workflows not picked for some routes + generate OAS ( #13342 )
...
* generated oas
* fixes and improvements
2025-08-29 12:51:55 +03:00
Shahed Nasser
899ac2f052
docs: generate references for 2.10.1 ( #13344 )
2025-08-29 12:51:43 +03:00
Shahed Nasser
cf4da02e39
docs-util: fix error in release pipeline ( #13343 )
2025-08-29 12:51:32 +03:00
github-actions[bot] and olivermrbl
9069e9279e
chore(docs): Generated + Updated UI Reference (automated) ( #13339 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2025-08-29 08:33:34 +03:00
github-actions[bot] and olivermrbl
a150b6dbba
chore(docs): Update version in documentation (automated) ( #13340 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2025-08-29 08:33:21 +03:00
olivermrbl
4ee9c67c08
chore: Release
2025-08-28 23:00:54 +02:00
github-actions[bot]
6dca59d0a5
chore: Version Packages ( #13338 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 22:58:13 +02:00
Carlos R. L. Rodrigues
8176d0f684
chore(core-flows): revert idempotent cart ( #13336 )
2025-08-28 22:45:43 +02:00
Shahed Nasser
be9b2930fd
docs: update UI docs ( #13333 )
2025-08-28 20:58:27 +03:00
Shahed Nasser
ad71eef38c
chore: add since tag to shipping option type events ( #13331 )
2025-08-28 20:58:01 +03:00
Shahed Nasser
137a74c1f4
docs: added shipping option type injection zones ( #13332 )
...
* docs: added shipping option type injection zones
* added note
2025-08-28 20:09:06 +03:00
Shahed Nasser
5c6e172c61
docs: generate API reference for 2.10.0 ( #13330 )
2025-08-28 20:05:37 +03:00
Shahed Nasser
494d28ebe4
chore: fix release action of ui docs ( #13329 )
...
* chore: fix release action of ui docs
* fix ignore build script
2025-08-28 19:38:58 +03:00
github-actions[bot] and olivermrbl
f239f38e58
chore(docs): Generated DML JSON files (automated) ( #13328 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2025-08-28 18:57:18 +03:00
github-actions[bot] and olivermrbl
76e10b1fe1
chore(docs): Update version in documentation (automated) ( #13327 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2025-08-28 18:56:55 +03:00
Shahed Nasser
d510639193
docs: docs for next release ( #13303 )
...
* added draft order plugin docs
* fix vale error
* added note about draft order being optional
* add new shipping option - shipping method link
* update user guides
* generate
* fix github icon
* changes to shipping option type
* document logger
* reorder list
* fixes
* fixes
2025-08-28 18:49:07 +03:00
olivermrbl
94effdcda7
chore: Release
2025-08-28 17:30:44 +02:00
github-actions[bot]
08ec3ed9f2
chore: Version Packages ( #13209 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 17:25:32 +02:00
William Bouchard
65dfcf9be4
chore(dashboard): move shipping option type page ( #13323 )
...
* chore(dashboard): move shipping option type page
* small issue with the toast for edit
2025-08-28 15:31:51 +02:00
Carlos R. L. Rodrigues and Oli Juhl
e2213448ac
feat: custom logger ( #13156 )
...
* feat: custom logger
* mock log
* unit test
* FF and jobs loader
* unit test
* add to ResourceLoader
* get from container
* mock
* rm log
* default logger mock
* link loaders, express
* comments
* initialize container as first step
* db conn
* test
* initialize start
* plugin build using default logger
* ignore .medusa
* revert ignroe
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-08-28 15:31:19 +02:00
Carlos R. L. Rodrigues and adrien2p
9412669e65
chore: idempotent cart operations ( #13236 )
...
* chore(core-flows): idempotent cart operations
* changeset
* add tests
* revert
* revert route
* promo test
* skip bugs
* fix test
* tests
* avoid workflow name conflict
* prevent nested workflow from being deleted until the top level parent finishes
* remove unused setTimeout
* update changeset
* rm comments
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2025-08-28 15:04:00 +02:00
Carlos R. L. Rodrigues
b111d01898
chore(core-flows): order payment status fix ( #13321 )
...
What:
- Consider epsilon to check if an order is fully captured or refunded.
2025-08-28 12:59:24 +00:00
Adrien de Peretti
ff152e7ace
fix(orchestration): Use the step definition max retries on set step failure ( #13319 )
...
* fix(orchestration): Use the step definition max retries on set step failure
* Create sweet-turkeys-wait.md
* allow to force permanent failure
* update changeset
2025-08-28 14:35:31 +02:00
Oli Juhl
cbaa403744
chore: Enable draft order plugin by default ( #13314 )
...
* wip
* fix
* fix tests
* update lockfile
* fix deps
* Enable draft order plugin by default
* remove double negation
* support merging modules
2025-08-28 14:14:40 +02:00
Frane Polić
be62cf87c7
fix(core-flows): list order shipping options param type ( #13316 )
2025-08-28 13:50:27 +02:00
Carlos R. L. Rodrigues
f764b3a364
feat(index): $nin and $not operators ( #13289 )
...
* feat(index): add $not and $nin operators
* logical operator
* test
* test
* types
* logical
* schema ID
* types and $ilike fix
* index type
2025-08-28 11:56:17 +02:00
Oli Juhl
b3fb0f7634
chore: Revert #13189 ( #13318 )
2025-08-28 11:46:01 +02:00
Shahed Nasser
1956456cd4
chore: update TSDocs for new release changes ( #13317 )
...
* chore: update TSDocs for new release changes
* remove .medusa directory
2025-08-28 11:51:24 +03:00
Frane Polić
6b04fbcc50
fix(core-flows): pass backorder flag when recreating reservations after fulfilment cancelation ( #13076 )
2025-08-27 21:22:03 +02:00
William Bouchard and Oli Juhl
059bfc1475
chore(fulfillment): cleanup old auto-generatred shipping type ( #13298 )
...
* chore(fulfillment): cleanup old auto-generatred shipping type
* changeset
* integrationt ests
* random id
* wrong code
* switch steps around
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-08-27 11:09:31 -04:00
Oli Juhl
a0fca16570
feat: Add Draft Order plugin ( #13291 )
...
* feat: Add draft order plugin
* version draft order plugin
* update readme
* chore: Update scripts
* Create purple-dolls-cheer.md
* port over latest changes
* chore: Make package public
2025-08-27 10:14:17 +02:00
Nicolas Gorga and Oli Juhl
7c96bc4376
fix: Variant / Product Metadata making Product import fail when provided in csv input file
...
- fix: make Metadata Variant and Product Variant static columns use the new function, so they don't fail later with the create / update product zod schema
- chore: add tests for processAsJson fucntion
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-08-27 10:08:39 +02:00
Shahed Nasser
9751c544db
chore: improve ignore build script to ignore branches not starting with docs/ ( #13309 )
2025-08-27 08:44:21 +03:00
Frane Polić and Oli Juhl
5382afccfa
chore(core-flows): throw Medusa error for exceptions in the fulifllment flows ( #13302 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-08-26 20:02:55 +02:00
Frane Polić
71818e43cb
fix(medusa): fetching a product without a category with categories filed passed ( #13020 )
...
**What**
- adding `categories` to `fields` param would return 404 for an existing product if the product was not associated with a category
---
CLOSES CMRC-1046
2025-08-26 16:35:41 +00:00
Carlos R. L. Rodrigues
e413cfefc2
feat(utils): define file config ( #13283 )
...
** What
- Allow auto-loaded Medusa files to export a config object.
- Currently supports isDisabled to control loading.
- new instance `FeatureFlag` exported by `@medusajs/framework/utils`
- `feature-flags` is now a supported folder for medusa projects, modules, providers and plugins. They will be loaded and added to `FeatureFlag`
** Why
- Enables conditional loading of routes, migrations, jobs, subscribers, workflows, and other files based on feature flags.
```ts
// /src/feature-flags
import { FlagSettings } from "@medusajs/framework/feature-flags"
const CustomFeatureFlag: FlagSettings = {
key: "custom_feature",
default_val: false,
env_key: "FF_MY_CUSTOM_FEATURE",
description: "Enable xyz",
}
export default CustomFeatureFlag
```
```ts
// /src/modules/my-custom-module/migration/Migration20250822135845.ts
import { FeatureFlag } from "@medusajs/framework/utils"
export class Migration20250822135845 extends Migration {
override async up(){ }
override async down(){ }
}
defineFileConfig({
isDisabled: () => !FeatureFlag.isFeatureEnabled("custom_feature")
})
```
2025-08-26 12:22:30 +00:00
Shahed Nasser
4cda412243
docs: product builder tutorial ( #13210 )
...
* initial
* docs: product builder tutorial
2025-08-26 11:49:57 +03:00
Frane Polić
87a61baf8f
fix(dashboard): handle large resource count in tax rule override edit form ( #13297 )
...
* fix(dashboard): handle larege resource count in tax rule override edit form
* fix: typo
* fix: rm log
2025-08-26 10:45:27 +02:00
Stevche Radevski
ff98055592
fix: Add created_at to workflow execution filtering typings ( #13295 )
2025-08-25 19:31:55 +02:00
William Bouchard
338a42f728
chore(promotion): cleanup old unused promotion codebase ( #13294 )
...
* chore(promotion): cleanup old unused code
* changeset
2025-08-25 09:35:17 -04:00
Adrien de Peretti
fc49253273
feat(core, event-bus): Compensate emit event step utility ( #13281 )
...
* feat(core, event-bus): Compensate emit event step utility
* tests
* Update changeset to remove integration-tests-modules
Removed integration-tests-modules from changeset.
* revert test script
2025-08-25 15:08:09 +02:00
Shahed Nasser
73a25abecb
docs: fix request example in restaurant marketplace recipe ( #13292 )
2025-08-25 14:08:36 +03:00
Shahed Nasser and Oli Juhl
2348a168e3
docs: updates to billing and usage guides ( #13222 )
...
* docs: updates to billing and usage guides
* address comments
* fix build error
* add note on billing questions
* Update www/apps/cloud/app/billing/page.mdx
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-08-25 11:32:53 +03:00
Frane Polić
57077406f9
fix(fulfillment): don't cascade shipping option delete to shipping option type ( #13280 )
...
**What**
- don't cascade delete shipping option type when shipping option is deleted since types can be shared between options
- prevent shipping option type deletion if there are options associated with it
2025-08-25 08:00:41 +00:00
Adrien de Peretti
6264a6262b
fix: Cart operation should calculate item prices accounting for quantity ( #13251 )
...
* fix(): Cart operation should calculate item prices accounting for quantity
* fix(): Cart operation should calculate item prices accounting for quantity
* fix(): Cart operation should calculate item prices accounting for quantity
* fix when call warning
* fix tests and remove unnecessary object copy
* Create warm-dancers-allow.md
* fix update line item in cart workflow
* fix changeset
* update order flows
* fix cart spec integration tests
* improve create order workflow
* fixes and tests adjustments/improvements
* configurable useQueryGraphStep return type
* revert nullable take
* cleanup useQueryGraphStep
2025-08-25 09:38:58 +02:00
Oli Juhl
f0ef444992
fix(fulfillment): Geozone constraints builder ( #13282 )
2025-08-23 14:51:04 +02:00
William Bouchard
486621383a
feat(dashboard,core,modules): free shipping promotion in dashboard ( #13263 )
...
* feat(dashboard,core,modules): free shipping promotion in dashboard
* self-review
* adapt for edit to work
* changeset
* integration tests
* across for each
* remove only from tests
* remove console log
* revert to across
* update wording for shipping promotions
* modify changeset
* suggestion frane
* fix i18n schema
2025-08-22 16:30:30 -04:00
Shahed Nasser
92e3b2b432
chore: fix TSDocs of shipment.created event ( #13273 )
2025-08-22 13:08:42 +03:00
Shahed Nasser
de3fba6f86
docs: fix comment for shipment.created event ( #13274 )
2025-08-22 13:08:04 +03:00
Patryk Spychalski
36c20ed188
fix(dashboard): fix translations for polish ( #13266 )
...
* remove unused translations
* add missing translations
* Revert "remove unused translations"
This reverts commit 99eaeb4d199c6ececdeed127b1a237f1ff140151.
* changeset
2025-08-22 10:52:15 +02:00