Commit Graph

6949 Commits

Author SHA1 Message Date
olivermrbl
ecece05b72 chore: Version packages 2024-11-11 10:58:20 +01:00
Shahed Nasser
94fb420434 docs: fix server worker mode in railway deployment (#9842)
* docs: fix server worker mode in railway deployment

* fix DISABLE_MEDUSA_ADMIN
2024-11-11 09:44:21 +01:00
github-actions[bot]
fc01ae68c0 chore(docs): Generated References (automated) (#9961)
Generated the following references:
- `api_key`
- `cart`
- `cart_models`
- `core_flows`
- `customer`
- `fulfillment`
- `inventory_next`
- `js_sdk`
- `medusa_config`
- `modules`
- `order`
- `order_models`
- `payment`
- `pricing`
- `product`
- `promotion`
- `region`
- `stock_location_next`
- `tax`
- `tax_provider`
- `types`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-11-11 08:17:50 +00:00
Dos
6ead7bf92d feat(stripe-payment): add promptpay (#9789)
* feat(stripe): add promptpay

* Create selfish-wombats-smash.md

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-11-10 22:44:52 +01:00
Shahed Nasser
5d7c1ad655 docs: add more context and description to recipe steps (#9861) 2024-11-10 22:43:42 +01:00
Shahed Nasser
e94f35458c docs: add instructions on how to roll back a migration (#9870) 2024-11-10 22:43:31 +01:00
Oli Juhl
094971775b chore: Add actor type check + more tests (#10005) 2024-11-10 21:38:19 +00:00
Shahed Nasser
c7b24eb3ec docs: remove upgrade guides doc (#9845) 2024-11-10 14:13:00 +01:00
Carlos R. L. Rodrigues
1bae311a29 fix(core-flows): keep same customer on cart update (#9977)
* fix(core-flows): keep same customer on cart update

* update guest customer email

* create guest customer for new emails

* rm log
2024-11-10 14:11:40 +01:00
Shahed Nasser
6e775a2e04 chore: update doc links in README (#9860) 2024-11-10 08:58:19 +01:00
Kasper Fabricius Kristensen
49f3f0cd54 fix(dashboard): Reduce data loaded by product details page (#9991) 2024-11-10 08:33:36 +01:00
Shahed Nasser
e229bea3c1 docs: fix resolve of custom file module guide (#9840)
Closes #9833
2024-11-10 07:33:07 +00:00
Shahed Nasser
d0d9bbcca9 docs: add common redirects to v1 docs (#9832)
Add common redirects to v1 docs that don't affect v2 docs
2024-11-10 07:32:44 +00:00
Adrien de Peretti
2512eef3f5 chore: Add new i18n validation workflows for the admin (#9948) 2024-11-10 01:05:06 +01:00
Harminder Virk
307f1015cd fix: define ssl options when specified in the connection string (#9992) 2024-11-09 00:21:45 +05:30
Carlos R. L. Rodrigues
03f4b66b90 fix(link-modules): generate graphql type of read only links (#9955) 2024-11-08 07:54:50 -03:00
Carlos R. L. Rodrigues
6496789c65 fix(framework): exclude nested fields when excluding requested field (#9979) 2024-11-07 18:26:02 -03:00
Frane Polić
af9eec73df fix(core-flows): pass metadata on order fulfillment create (#9974)
CLOSES SUP-109
CLOSES https://github.com/medusajs/medusa/issues/9964
2024-11-07 19:13:44 +00:00
Frane Polić
576da17da3 fix(dashboard): user invite search (#9973)
**What**
- fix prefix for table search which caused the other table rendered on the page to fire query
- additionally, fix a typo in js SDK and only format the file

---

FIXES SUP-112
CLOSES https://github.com/medusajs/medusa/issues/9968
2024-11-07 19:13:28 +00:00
Harminder Virk
1a0882cc01 fix: commands to run from within the .medusa/server directory (#9941) 2024-11-07 14:12:54 +05:30
Stevche Radevski
cd578e89ff fix: Use sub instead of email for google entity ID (#9949) 2024-11-07 09:24:14 +01:00
github-actions[bot]
242d00b567 chore(docs): Generated API Reference (automated) (#9962)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2024-11-07 09:14:58 +01:00
github-actions[bot]
0fbee723b4 chore(docs): Update version in documentation (automated) (#9960)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2024-11-07 09:13:41 +01:00
Harminder Virk
3704700a49 chore: remove husky (#9967)
Fixes: FRMW-2765, FRMW-2760

Since no one is using it for a very long time we can get rid of it

Closes: #9867
2024-11-07 07:54:30 +00:00
olivermrbl
8feb589659 chore: Release 2024-11-06 21:47:01 +01:00
Oli Juhl
441004cc21 chore: Update auth flow (#9959) 2024-11-06 21:21:45 +01:00
Oli Juhl
505768dd9f fix: Product type tax overrides (#9951)
* fix: Make product type tax override work

* fix: Make product type tax override work
2024-11-06 20:33:40 +01:00
Frane Polić
aa78fbf546 fix(types): add display_id to OrderDTO (#9953)
FIXED CMRC-644
2024-11-06 18:21:17 +00:00
Carlos R. L. Rodrigues
898a437db0 chore(locking): disable default provider warning (#9956) 2024-11-06 14:06:01 -03:00
Harminder Virk
b0f416769f fix: do not set default host to localhost (#9957)
Fixes bug introduced by https://github.com/medusajs/medusa/pull/9912

By default the Node.js server listens on the `0.0.0.0` host. However, the related PR changes the host to `localhost` and hence resulted in an unwanted breaking change. This PR reverts the default value assignment and let Node.js decide the host when not explicitly specified.
2024-11-06 17:04:49 +00:00
Oli Juhl
c1c85ef952 fix(core-flows,medusa): Include region_id in shipping option retrieval (#9929)
### What
Include `region_id` when retrieving shipping options for a cart

### Why
Otherwise, region-specific prices will never show in the Store API

Closes CMRC-655 https://github.com/medusajs/medusa/issues/9906
2024-11-06 15:59:47 +00:00
Harminder Virk
c9a2b42252 fix: log cause property from the error (#9944)
Fixes: FRMW-2762

This PR fixes the error reporting to include the original error message and the error cause when logging it using the JSON formatter of Winston.

> Side note: There is still a lot of room for improvements in our logging. But that require a overhaul cleanup in multiple places and will require dedicated loggers for commands and APP and special treatment for pretty printing errors.

## Error output in JSON format

**Before**
![CleanShot 2024-11-06 at 13 12 32@2x](https://github.com/user-attachments/assets/a986d33c-9c30-45bc-816d-e9aa142ea097)

**After**
![CleanShot 2024-11-06 at 13 11 28@2x](https://github.com/user-attachments/assets/15430e55-40b3-4d1c-b91d-3b3b4f9d0d39)
2024-11-06 15:43:54 +00:00
Stevche Radevski
b3cbc160eb fix: Default to a relative path for the admin backend URL (#9947) 2024-11-06 15:08:38 +01:00
Govind
4f4b0ddda2 Update route.ts (#9914)
It was sending two confirmation messages in case of an error

Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
2024-11-06 10:58:36 +01:00
Shahed Nasser
37eeaa84a2 docs: small improvement to first customization guide (#9843)
Added a bit more context and what you'll build in the first customization guide and why it's powerful.

Closes DX-1044
2024-11-06 09:09:35 +00:00
Stevche Radevski
30edc8fa40 fix: Support relative path in SDK (#9942) 2024-11-06 09:45:59 +01:00
Adrien de Peretti
de228d209f fix(telemetry): Pointing and resolving packages wrongly (#9939)
FIXES FRMW-2764

**What**
- Fix wrong CLI package
- Fix package.json path resolution
2024-11-06 08:43:04 +00:00
Oli Juhl
674c86eaa0 chore: Use PR author name (#9940) 2024-11-05 19:15:53 +01:00
Adrien de Peretti
879ce33090 fix(utils/dml): set-relationship graphql generator from DML wrong managed belongsTo (#9932)
**What**
Currently, when setting a `belongsTo` relationship on the DML with the otherside being `hasMany` it result in a wrongly generated gql output making the belongs to being a collection of the relation instead of the relation directly. This pr fixes this issue
2024-11-05 14:14:28 +00:00
Adrien de Peretti
bbf4af1725 fix(types): Prev limit wrong values (#9935)
**What**
The values are wrongly set which can lead to infinite depth iteration

**Note**
This will change on how we manage those cases in the future but currently it fixes an issue
2024-11-05 14:14:06 +00:00
Oli Juhl
275a835726 chore: Sync PR and Discussions to Linear (#9938)
* chore: Sync PRs and Discussions to Linear

* chore: Sync PRs and Discussions to Linear
2024-11-05 14:56:10 +01:00
Harminder Virk
293b10cfc5 feat: move to a form based bug report template (#9930) 2024-11-05 14:44:52 +05:30
Kasper Fabricius Kristensen
d19d7a66ff fix(dashboard): Allow using enter key to create newline in Textarea (#9913)
* fix(dashboard):Allow using enter key to create newline in Textarea

* update scheam file
2024-11-05 08:54:28 +01:00
Adrien de Peretti
c0368cca28 fix(workflows-sdk): Paralellize steps rollback issue with config (#9921)
* fix(workflows-sdk): Paralellize steps rollback issue with config

* Create tall-starfishes-travel.md
2024-11-05 08:54:04 +01:00
Adrien de Peretti
16b4cc433e fix(utils): Mikro orm repository update many to many should detach all items by default (#9917)
* fix(utils): Mikro orm repository update many to many should detach all items by default

* Create shiny-spiders-raise.md
2024-11-05 08:53:55 +01:00
Frane Polić
61cb97da26 fix(dashboard): truncate price cell titles (#9715)
Before:
![Screenshot 2024-10-22 at 17 14 56](https://github.com/user-attachments/assets/7ec74e70-c69f-4346-b15a-665fed27e688)

After
![Screenshot 2024-10-22 at 17 26 15](https://github.com/user-attachments/assets/b353c40b-7451-4bdf-9459-1494c18c7531)


Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2024-11-04 11:01:00 +00:00
Harminder Virk
ab90900d40 fix: disable admin when running integration tests (#9915) 2024-11-04 16:20:41 +05:30
Kasper Fabricius Kristensen
e2058683f4 chore(dashboard): Setup test and script for validating i18n (#9799)
**What**
- Adds a test that validates that en.json and $schema.json matches, this will help us catch missing translations, and prevent us from forgetting to update the schema when we delete/add new keys.
- Adds a script for validating translations against the translation schema. This can be used to validate that community PRs for i18n contain all the required keys. To use the script you can run `yarn i18n:validate <file name>` e.g. `yarn i18n:validate da.json` which will look for a da.json file in the translation folder, and validate it against the schema. We handle this with a script as we don't want to do so through a test. Doing it with a test would mean that if we update the schema, we would also have to update all translations files that we don't maintain ourselves. The purpose of the script is just to allow us to easily review community PRs and also as a tool for people opening PR's to check their translations agains the schema, as it will print missing/additional keys.
- Also adds a script to generate a schema from the en.json file. After adding/deleting keys to en.json you should run `yarn i18n:generate`.
2024-11-04 09:45:07 +00:00
Harminder Virk
300ef8dbb9 fix: consider --host flag and HOST env variable (#9912) 2024-11-04 14:56:57 +05:30
Frane Polić
dd93d8de6e fix(dashboard): tax override reference (#9796)
* fix: tax override reference

* fix: create rest

* fix: comment out unsupported references for now

* fix: edit form
2024-11-04 09:05:46 +01:00