Harminder Virk
809c8a6741
fix: missing dependency in dev-cli ( #9730 )
2024-10-23 10:01:39 +02:00
olivermrbl
2fbebb60e3
chore: Release
2024-10-22 20:43:47 +02:00
Oli Juhl
c3418a2b93
chore: Prepare versions + changeset ( #9707 )
...
* chore: Prepare version + changeset
* chore: Bump dependencies
* chore: Update lock-file
2024-10-22 20:31:33 +02:00
Oli Juhl
f1b2d22db7
chore: Remove v2 branches from starters ( #9721 )
...
* chore: Remove v2 branches from starters
* revert imports
2024-10-22 20:00:13 +02:00
Harminder Virk
d77d184729
Fix/production logging ( #9658 )
...
Keep the old format (ie combined) when logging in production.
**Development**

**Production**

2024-10-18 13:11:46 +00:00
Harminder Virk
aa6a28ac56
feature: use application logger to log HTTP requests ( #9655 )
2024-10-18 15:08:55 +05:30
Harminder Virk
68560787e5
breaking: rename package names to be consistent and under @medusajs scope ( #9580 )
2024-10-16 22:28:09 +05:30
Adrien de Peretti
84fa6ccde5
chore: Update admin build/serve configuration ( #9584 )
...
**Breaking changes**
The `outDir` has been deprecated and wont be used anymore, instead all the path are computed internally following these rules
- if admin is not `disabled` and the `build` command is run without the `--admin-only` flag, then the admin output dir will be `.medusa/server/public/admin` and it will be served from that same location from the medusa instance.
- if admin is not `disabled` and the `build` command is run with the `--admin-only` flag, then the admin output dir will be `.medusa/admin` with the purpose of deploying the admin separately. ⚠️ (expect to receive a warning log)
- if the admin is `disabled` and the `build` command is run with the `--admin-only` flag, then fallback to rule number 2
| admin enabled | medusa build --admin-only | output dir |
|---|---|---|
| true | true | `.medusa/admin` ⚠️ (expect to receive a warning log) |
| true | false | `.medusa/server/public/admin` |
| false | true | `.medusa/admin` |
| false | false | none |
```diff
// medusa-config.ts
{
// ...
admin: {
- outDir: 'some/path'
}
}
```
cc @kasperkristensen @sradevski @olivermrbl
2024-10-15 15:59:47 +00:00
Adrien de Peretti
e9383f25e0
fix(utils): update medusa config resolution for consistency ( #9591 )
2024-10-15 11:52:06 -03:00
Harminder Virk
f8e8b276bd
fix: remove default value for the cluster flag ( #9570 )
...
Defining the default value applies the flag automatically and hence activates the cluster mode.
2024-10-14 16:54:13 +00:00
Shahed Nasser
86f744cf3b
fix(create-medusa-app): use db:migrate to run migrations ( #9565 )
2024-10-14 15:54:05 +00:00
Harminder Virk
ad322f2760
breaking: remove deprecated commands and code ( #9521 )
...
* breaking: remove deprecated commands
* feat: remove deprecated code and usages
* refactor: remove more logic around default relations
* fix tests
* remove log
* fix: remove defaultFields usage
* fix: add back accidentally removed code
* refactor: implement feedback
* feat: add --cluster flag to the start command
* refactor: assign limit to defaultLimit property
* fix: breaking code because of removed check
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2024-10-14 20:11:34 +05:30
Adrien de Peretti
eea2bfdef1
chore(cli): Update start description ( #9448 )
...
**What**
Update description of the start command
2024-10-04 15:11:29 +00:00
Harminder Virk
1e046f2b81
feat: allow using typescript path aliases when using ts-node ( #9443 )
2024-10-03 16:56:36 +05:30
Harminder Virk
48e00169d2
breaking: move shared HTTP utils to the framework ( #9402 )
...
Fixes: FRMW-2728, FRMW-2729
After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path.
- applyParamsAsFilters
- clearFiltersByKey
- applyDefaultFilters
- setContext
- getQueryConfig
- httpCompression
- maybeApplyLinkFilter
- refetchEntities
- unlessPath
- validateBody
- validateQuery
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-10-03 09:42:00 +00:00
Stevche Radevski
bffb36cd11
fix: Use the default admin port in create medusa app env definition ( #9439 )
2024-10-03 09:53:57 +02:00
github-actions[bot]
21badd069d
chore(docs): Updated API Reference (v2) ( #9437 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2024-10-03 07:48:54 +00:00
Shahed Nasser
cb5c228a36
fix(create-medusa-app): remove warnings on installation ( #9405 )
2024-10-02 13:27:13 +03:00
Shahed Nasser
a662c4b020
fix(medusa-oas-cli): Fix incorrect import ( #9404 )
...
* fix(medusa-oas-cli): Fix incorrect import
* update redocly config
2024-10-02 10:28:42 +03:00
Harminder Virk
37f4d03b7b
fix: db:rollback and db:generate commands to cast module names to arrays ( #9377 )
...
FIXES: FRMW-2720
2024-09-30 12:17:04 +00:00
Harminder Virk
a578313db9
feature: bundle all modules ( #9324 )
2024-09-30 09:04:03 +02:00
Shahed Nasser
5390c8a845
fix(create-medusa-app): fix publishable api key not saving in .env.local ( #9328 )
2024-09-26 16:43:40 +03:00
Adrien de Peretti
a8e19faf8d
chore: use framework sub paths everywhere ( #9253 )
2024-09-26 16:38:38 +05:30
Harminder Virk
48bea267dc
chore: perform dependencies scan and fix all dependencies ( #9296 )
2024-09-26 14:14:38 +05:30
Adrien de Peretti
ae320ac73f
fix: base tsconfig ( #9309 )
...
* fix: base tsconfig
* WIP
* wi[]
* update integration typescript version
* update lock file
* fix deps
* fix medusa tests runner
2024-09-25 16:31:57 +02:00
Shahed Nasser
ba14d4341f
fix(oas): handle new keys in circular reference patch ( #9218 )
...
Handle new keys in the circular references patch leading to undefined not being iterable error.
2024-09-22 12:44:23 +00:00
Shahed Nasser
6a2a105cf8
fix(oas): support additional props, fix circular references patch, and other fixes ( #9213 )
...
* chore(oas): support additional props, fix circular references patch, and other fixes
* fix description
* description fixes
2024-09-20 17:22:19 +03:00
Shahed Nasser
cf387aafa2
chore: re-add oas tests for generated OAS ( #9036 )
...
* chore: re-add oas tests for generated OAS
* test fix
2024-09-07 08:01:22 +02:00
Adrien de Peretti
2c5e72d141
feat: Application types generation from project GQL schema's ( #8995 )
2024-09-06 15:15:32 +05:30
Shahed Nasser
ac30a989f4
feat(create-medusa-app): add publishable API key environment variable to Next.js storefront ( #9029 )
...
When installing with Next.js starter, retrieve the publishable API key seeded and add it to the environment variable in the `.env.local` or `.env.template` file
2024-09-06 09:43:55 +00:00
Shahed Nasser
ba24e6882d
fix(medusa-oas-cli): fix download url ( #8763 )
2024-08-28 14:23:25 +02:00
Harminder Virk
69c5d122b1
feature: add db:setup command ( #8830 )
2024-08-28 13:08:48 +05:30
Shahed Nasser
0c4f4c8a11
docs: updates following authentication flow changes ( #8706 )
...
* docs: updates following authentication flow changes
* generate sidebar
* added open api specs
* fix up OAS
* changes to existing pages
* change sidebar items
* update marketplace recipe
2024-08-27 15:47:39 +03:00
Harminder Virk
2a5ee970e6
feat: move migrations commands to the new db namespace ( #8810 )
2024-08-27 16:40:00 +05:30
Oli Juhl
2bacf86d3c
chore: Remove prepublishOnly script ( #8699 )
...
* wip
* wip
* verbose logging
* remove prepublish scripts
* chore: add back prepublish scripts
* wip
* remove prepublishOnly script
* chore: Clean up rest of build scripts
* add back build script
* feedback
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-27 10:31:38 +02:00
Harminder Virk
98b4c76ece
feature: add sync links command ( #8775 )
2024-08-27 13:43:54 +05:30
Harminder Virk
965c3c99db
refactor: cleanup error output and do not add red color to help output ( #8778 )
2024-08-27 13:18:22 +05:30
Carlos R. L. Rodrigues
3b4eea08ef
chore: peer dependency version ( #8771 )
...
* fix peer dependency version
* dotenv
* commands
* dotenv cli
2024-08-26 21:55:57 +02:00
Carlos R. L. Rodrigues
afd25846f0
chore: dependencies reorg ( #8744 )
2024-08-26 09:37:05 +00:00
Harminder Virk
7c2cfc132a
feature: add db:create command ( #8760 )
2024-08-26 15:04:52 +05:30
Shahed Nasser
408ed2ee45
feat(create-medusa-app): set database name to project name ( #8727 )
...
* add check and prompt for db name
* change var format
* remove log
* remove log
2024-08-23 14:17:37 +03:00
Carlos R. L. Rodrigues
058378970a
chore: dependecies reorg ( #8535 )
2024-08-23 07:16:04 -03:00
Harminder Virk
5f310c0a00
breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix ( #8672 )
2024-08-20 17:05:19 +05:30
Shahed Nasser
b7bb793f03
feat(medusa-oas-cli): automatically fix missing circular references ( #8600 )
2024-08-15 13:31:47 +03:00
Shahed Nasser
92a7b5b4c0
docs-util: fix OAS generation error ( #8577 )
2024-08-14 11:21:22 +03:00
Carlos R. L. Rodrigues
96bdf3e2c6
chore(core-flows): order transactions ( #8568 )
...
What:
- Add order transaction when Cart is completed and payment is refunded
2024-08-12 19:06:58 +00:00
Shahed Nasser
f14f398685
feat(create-medusa-app): prompt for database name with credentials ( #8552 )
...
* feat(create-medusa-app): prompt for database name with credentials
* refactor
2024-08-12 11:52:21 +03:00
Carlos R. L. Rodrigues
c9c1a5b41c
chore: rm pg dependency ( #8526 )
2024-08-08 17:22:57 +00:00
Carlos R. L. Rodrigues
3f5ddc5bce
chore: normalize packages version ( #8492 )
2024-08-08 13:52:05 +00:00
Shahed Nasser
98f42e8995
feat(create-medusa-app, medusa): check Node.js version before installation. ( #8452 )
...
Check before installation with `create-medusa-app` and `medusa new` whether the current node version is >= 20. If not, exit with an error.
2024-08-06 07:15:17 +00:00