Commit Graph

7518 Commits

Author SHA1 Message Date
github-actions[bot]
e50d0ff369 chore(docs): Generated DML JSON files (automated) (#11026)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-01-17 18:07:05 +02:00
github-actions[bot]
2c966490f4 chore(docs): Update version in documentation (automated) (#11025)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-01-17 18:05:52 +02:00
Shahed Nasser
e3d5457b5c docs: document new migration script option for db:migrate (#10986)
* docs: document new migration script option for db:migrate

* update versions
2025-01-17 17:41:49 +02:00
Shahed Nasser
f15fb4d4fa chore(framework): update the TSDocs for a plugin in the medusa config (#10991)
* chore(framework): update the TSDocs for a plugin in the medusa config

* change version
2025-01-17 17:41:05 +02:00
Shahed Nasser
8754c2afef docs: update payment docs after removing fields (#10992) 2025-01-17 17:40:52 +02:00
olivermrbl
dd0417af6d chore: Release 2025-01-17 10:32:22 -05:00
olivermrbl
efe141f54b chore: Version packages 2025-01-17 10:29:04 -05:00
olivermrbl
5faf48b8c2 chore: Add missing minor changeset 2025-01-17 09:29:39 -05:00
Shahed Nasser
544580e6a5 chore(core-flows,types): improve TSDocs for remaining workflows (#11021) 2025-01-17 16:13:00 +02:00
Shahed Nasser
cbcca219e2 docs: fix select code blocks in UI docs (#11010) 2025-01-17 15:20:58 +02:00
Shahed Nasser
c1cbd548e2 chore(core-flows, types): improve TSDocs of tax and region related workflows (#11018) 2025-01-17 15:17:32 +02:00
Adrien de Peretti
0cfaab5bb1 Feat(medusa, cli): plugin db generate (#10988)
RESOLVES FRMW-2875

**What**
Allow to generate migration for plugins. Migration generation defer from project migration generation and therefore we choose to separate responsibility entirely.

The flow is fairly simple, the user run `npx medusa plugin:db:generate` and the script will scan for all available modules in the plugins, gather their models information and generate the appropriate migrations and snapshot (for later generation)

Co-authored-by: Harminder Virk <1706381+thetutlage@users.noreply.github.com>
2025-01-17 12:05:46 +00:00
Shahed Nasser
5582bd2038 chore(core-flows,types): improve TSDocs of user-related workflows (#11017) 2025-01-17 13:41:02 +02:00
Shahed Nasser
bae3ddcde0 chore(core-flows,types): update TSDocs related to promotion workflows (#11014) 2025-01-17 13:01:11 +02:00
Shahed Nasser
7be47354e1 fix(core-flows,medusa): use deleteRefundReasonsWorkflow in delete /admin/refund-reasons/:id (#11012) 2025-01-17 11:22:10 +02:00
Shahed Nasser
c09d7e5ba8 chore(core-flows,types): improve TSDocs of inventory-related workflows (#11013) 2025-01-17 11:07:12 +02:00
Shahed Nasser
6b6026487d chore: fix manage customer groups of customer OAS (#11011)
* chore: fix manage customer groups of customer OAS

* fix validation error
2025-01-17 10:39:16 +02:00
Frane Polić
911eefadbd fix(dashboard): delete user messages (#11004)
CLOSES CMRC-760
2025-01-16 19:20:46 +00:00
Riqwan Thamir
5eab9e7399 feat(promotion,dashboard,types,utils,medusa): Add statuses to promotions (#10950)
what:

- adds a status column to promotion table
- introduce active promotion query
- scope revert, register and compute actions to active promotions
- admin to create and update promotion with statuses

RESOLVES CMRC-845
RESOLVES CMRC-846
RESOLVES CMRC-847
RESOLVES CMRC-848
RESOLVES CMRC-849
RESOLVES CMRC-850
2025-01-16 19:17:22 +00:00
Shahed Nasser
effee5c8bb chore(js-sdk): update TSDocs of auth callback (#11005)
* chore(js-sdk): update TSDocs of auth callback

* generate doc
2025-01-16 20:13:01 +02:00
Shahed Nasser
32dd383e9a chore(core-flows,types): improve tsdocs of pricing-related workflows (#11000)
* chore(core-flows,types): improve tsdocs of pricing-related workflows

* fix build error
2025-01-16 20:12:45 +02:00
Shahed Nasser
8e7c13862d chore(core-flows): improve TSDocs for payment workflows / steps (#10998) 2025-01-16 20:12:25 +02:00
Stevche Radevski
f99f720dd4 feat: Add support for listing saved payment methods in module and Stripe (#10994) 2025-01-16 16:16:04 +01:00
Harminder Virk
114b2133aa chore: lazy import admin-bundler and run scripts during publish (#10996) 2025-01-16 20:28:17 +05:30
Adrien de Peretti
9a742911fe fix(framework): Exclude .d.ts files from the glob search and fix insert query (#10990)
**What**
- Exclude definition file from the glob search string
- Properly generate the insert query string
2025-01-16 14:29:09 +00:00
Shahed Nasser
b79dc40bc9 chore(core-flows): improve TSDocs of customer and customer groups workflows / steps (#10993)
* improve customer tsdocs

* finished improving tsdocs

* fix build error
2025-01-16 15:29:59 +02:00
Shahed Nasser
52f6cfe922 chore(core-flows,types): improve tsdocs of fulfillment (#10995) 2025-01-16 15:05:01 +02:00
Stevche Radevski
da8e173974 feat: Remove fields from payment models that were leftovers from v1 (#10987) 2025-01-16 10:10:03 +01:00
Shahed Nasser
8cd58b3092 chore(core-flows,types): improve TSDocs of cart workflows and steps (#10962)
* chore(core-flows,types): improve TSDocs of cart workflows and steps

* fix build errors

* fix build error

* fix errors
2025-01-16 09:44:52 +02:00
Stevche Radevski
f5235862c0 feat: Improvements to payment module and Stripe provider (#10980)
* fix: Correctly parse Stripe error, remove unused method

* fix: Isolate the payment provider error check function

* fix: Allow passing few extra parameters to Stripe

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-16 08:12:53 +01:00
Stevche Radevski
44cd0224af fix: Put routes loader error inline (#10912) 2025-01-16 08:11:19 +01:00
Harminder Virk
c75678d6d4 feat: add support for loading admin extensions from the source (#10975) 2025-01-16 11:06:56 +05:30
Adrien de Peretti
8792d0c062 fix(index): Add type casting to raw order by (#10899)
**What**
Fix index engine query builder to include column type casting on order by

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-01-15 23:51:16 +00:00
Carlos R. L. Rodrigues
11f98f374c feat(core-flows): validate hook in cart workflows (#10967)
* feat(core-flows): validate hook

* rm only
2025-01-15 18:49:46 -05:00
Kasper Fabricius Kristensen
2a25b4d95f chore(dashboard,icons): Update icons and switch icon in CategoryTree (#10961)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-15 12:57:43 -05:00
Stevche Radevski
d845adc68b fix: Include is default billing and shipping fields in the address response (#10970)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-15 12:52:51 -05:00
Adrien de Peretti
0924164e86 feat(core, medusa, cli): Enable migration scripts (#10960)
* feat(core, medusa): Enable migration scripts

* spacing

* rm unnecessary import

* Allow to skip script migration

* fix missing options

* add options

* add tests and small changes

* update

* add checks

* add lock mechanism to be extra safe

* Create six-bears-vanish.md

* update queries

* fix tests

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-15 12:51:37 -05:00
Shahed Nasser
62d543e691 docs: fixes to database transaction docs (#10978) 2025-01-15 19:46:59 +02:00
Shahed Nasser
ff739045fa chore(core-flows,types): improve TSDocs of order workflows (#10983) 2025-01-15 19:46:31 +02:00
Shahed Nasser
8c2b4a5951 chore(core-flows,types): improve TSDocs of product workflows (#10966) 2025-01-15 19:46:03 +02:00
Carlos R. L. Rodrigues
c5a207144e fix(core-flows): missing variable of when condition (#10958) 2025-01-15 12:38:18 -05:00
Oli Juhl
65bf6e4fce chore: Use local CLI version in CI (#10982)
* chore: Use local CLI version in CI

* Update test-cli-with-database.yml
2025-01-15 12:21:19 -05:00
Shahed Nasser
044af3f211 docs-util: add exception for workflow examples modification + show summary instead of comment (#10963)
* docs-util: add exception for workflow examples modification + show summary instead of comment

* add currency and country code in example

* add common IDs
2025-01-14 18:47:56 +02:00
Shahed Nasser
cf62a0a43c docs: handle step tooltip bug in safari (#10954) 2025-01-14 12:08:59 +02:00
Shahed Nasser
fa5d1b65fd docs: small typo fix (#10956) 2025-01-14 12:08:38 +02:00
Shahed Nasser
98e77fad89 docs-util: reorder workflow execution examples (#10955)
* docs-util: reorder workflow execution examples

* reorder again

* add examples header
2025-01-14 11:52:50 +02:00
Kasper Fabricius Kristensen
4bc3f5b845 feat(medusa,framework,cli,admin-bundler): Integrate admin extensions into medusa build:plugin (#10941)
**What**
Calls the `plugin` script from `@medusajs/admin-bundler` as part of `medusa plugin:build`.
2025-01-13 20:48:55 +00:00
Shahed Nasser
2a2b387bc3 docs: add additional data description in generated references (#10944) 2025-01-13 20:47:37 +02:00
Shahed Nasser
1b86c17b72 docs-util: remove duplicate union children (#10942) 2025-01-13 19:48:51 +02:00
Shahed Nasser
d9ea65dfc4 chore(docs): generate references following latest workflows reference changes (#10943) 2025-01-13 19:48:33 +02:00