Riqwan Thamir and GitHub
2783bed8ae
fix(dashboard): updated variant title is used when creating product ( #10155 )
2024-11-19 16:22:34 +01:00
Shahed Nasser and GitHub
a1738f823c
docs: change report issue link ( #10160 )
2024-11-19 15:54:16 +02:00
Shahed Nasser and GitHub
156494c646
docs: fix provider ID in payment's webhook URL ( #10157 )
2024-11-19 15:29:34 +02:00
Harminder Virk and GitHub
9dff05cdde
Revert "feat: add optional fields" ( #10159 )
...
Reverts medusajs/medusa#10150
2024-11-19 13:28:02 +00:00
Shahed Nasser and GitHub
3f4e6a168b
docs: remove section on updating cart's customer ( #10154 )
...
* docs: add more clarification on updating a cart's customer
* remove section
2024-11-19 15:19:53 +02:00
Adrien de Peretti and GitHub
1f44281ed6
fix(product): Update full descendant tree mpath when updating parent category id ( #10144 )
...
FIXES FRMW-2774
**What**
When updating the parent category id, all descendant mpath should be re computed
2024-11-19 12:51:34 +00:00
Adrien de Peretti and GitHub
59bf9afd48
fix(core-flows): Add missing cart sales channel id fields to be part of the application context ( #10142 )
...
RESOLVES SUP-185
**What**
The cart fields to be fetched for the promotion workflow was not including the sales_channel_id, making any rules being constraint to that fields not being validated against this property.
2024-11-19 11:46:49 +00:00
Riqwan Thamir and GitHub
b7044bb3b0
feat(core-flows,medusa): Add API to update cart's customer ( #10151 )
...
what:
- adds an endpoint that updates a cart's customer
RESOLVES CMRC-718
2024-11-19 11:44:25 +00:00
41dc05d0c9
fix: add address and customer metadata to tax calc context ( #10122 )
...
Fixes CMRC-713
**What**
- Ensure that customer and shipping address metadata is passed in the tax calculation context when updating tax lines on a cart.
**Why**
- Gives more flexibility in criteria to evaluate tax rates.
- https://github.com/medusajs/medusa/discussions/10121
- https://github.com/medusajs/medusa/discussions/10114
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-11-19 11:42:31 +00:00
Shahed Nasser and GitHub
3b1463048a
docs: fix error on collapsing prerequisites ( #10153 )
2024-11-19 13:35:47 +02:00
Frane Polić and GitHub
39e81d8d21
fix(dashboard): order edit - display item quantity change correctly ( #10078 )
...
**What**
- use a diff form change action details to display edit history
2024-11-19 11:22:55 +00:00
Adrien de Peretti and GitHub
7aa990795c
chore(): Update module provider retrieval error message and type ( #10138 )
...
Partially RESOLVES FRMW-2802
**What**
Improve error message and change the error type when retrieving a provider from a local container fail
2024-11-19 11:19:19 +00:00
Harminder Virk and GitHub
661ea7865c
feat: add optional fields ( #10150 )
2024-11-19 16:28:33 +05:30
Jim Johnston and GitHub
18a60e2d2e
docs: S3 providers - add example for DigitalOcean Spaces endpoint ( #10145 )
...
The [S3 providers docs](https://docs.medusajs.com/resources/architectural-modules/file/s3#:R1d5rtttqj5db :) instructs DigitalOcean users to set the endpoint address to the "Spaces Origin Endpoint":
```
For DigitalOcean Spaces, it's the Spaces Origin Endpoint.
```
On DigitalOcean's user interface they include the bucket name in their origin endpoint:

Using this url for the endpoint will cause an error.
The example URL `https://{region}.digitaloceanspaces.com ` should tip users off to remove the bucketname.
Cheers!
2024-11-19 10:52:26 +00:00
Frane Polić and GitHub
36460a3a07
feat(medusa, types, utils, core-flows, order) request & accept order transfer ( #10106 )
...
**What**
- add request order transfer workflow
- add admin endpoint for transferring an order to a customer
- accept order transfer storefront endpoint
- accept transfer workflow
- changes in the order module to introduce new change and action types
---
**Note**
- we return 400 instead 409 currently if there is already an active order edit, I will revisit this in a followup
- endpoint for requesting order transfer from the storefront will be added in a separate PR
---
RESOLVES CMRC-701
RESOLVES CMRC-703
RESOLVES CMRC-704
RESOLVES CMRC-705
2024-11-19 08:53:22 +00:00
Adrien de Peretti and GitHub
b1b7a4abf1
fix(payment): Idempotent cancellation and proper creationg fail handling ( #10135 )
...
RESOLVES SUP-188
**What**
Two changes are happening here
- In the stripe payment provider, idempotent cancellation action, if not id is provided then return the existing data unchanged
- Payment module should not try to cancel a session that have failed to be created in the first place
2024-11-18 17:45:13 +00:00
Carlos R. L. Rodrigues and GitHub
47ca1d4b54
fix(inventory): update reservation quantity ( #10139 )
2024-11-18 11:55:22 -03:00
Harminder Virk and GitHub
d933b3f1e4
Refactor/finish rename order ( #10136 )
2024-11-18 15:31:29 +05:30
Harminder Virk and GitHub
2c957c64be
refactor: rename workflow to singular ( #10134 )
2024-11-18 14:58:30 +05:30
Shahed Nasser and GitHub
f5c580a661
docs: add missing prerequisite in stripe's storefront integration ( #10097 )
2024-11-18 09:52:00 +02:00
Mehmet Erturk and GitHub
1d88ad3793
feat: Add Turkish Language ( #10109 )
...
Turkish translation added.
2024-11-15 22:12:34 +00:00
Shahed Nasser and GitHub
b0c6efa98b
docs: fix copy in code blocks with tabs ( #10123 )
...
* docs: fix copy in code blocks with tabs
* fix lint error
2024-11-15 18:59:46 +02:00
Shahed Nasser and GitHub
1fb2998620
docs: document nested UI routes ( #10104 )
...
* docs: document nested UI routes
* address PR feedback
2024-11-15 18:54:33 +02:00
Shahed Nasser and GitHub
12e8405cca
docs: add note about using dates in workflows ( #10107 )
2024-11-15 18:42:56 +02:00
Adrien de Peretti and GitHub
2822972e04
fix(product): wrong snapshot name and inexistent script ( #10119 )
...
* chore(product): Rename wrong snapshot name and add missing elements
* rm non existing command
* Create proud-pigs-deny.md
2024-11-15 15:53:41 +01:00
Kasper Fabricius Kristensen and GitHub
493d242c12
fix(dashboard): Add Breadcrumb components ( #10079 )
...
**What**
- Adds Breadcrumb component to all routes that needs breadcrumbs.
- The Breadcrumb components use a combination of loader data and useQuery to ensure that the displayed value is kept up to date if the underlying data is changed via a mutation.
- Also fixes a couple of places where the breadcrumb was not setup correctly.
Resolves CMRC-688
2024-11-15 13:13:03 +00:00
Kasper Fabricius Kristensen and GitHub
8ed3d87c23
fix(dashboard): Add missing inventory list zones ( #10117 )
...
Resolves CMRC-710
2024-11-15 13:09:26 +00:00
Adrien de Peretti and GitHub
1afc577e54
feat(product): Make product option value linkable ( #10116 )
...
RESOLVES FRMW-2799
**What**
Make the product option value linkable
2024-11-15 11:32:55 +00:00
Adrien de Peretti and GitHub
10da8b379f
chore(workflows-sdk): Display each error individually instead of packed ( #10072 )
...
**What**
Instead of displaying a single string prepared with all the errors, log each error individually
2024-11-15 11:27:52 +00:00
Kasper Fabricius Kristensen and GitHub
dea86d8c87
fix(dashboard): Fix active nav link styling for built-in routes ( #10082 )
...
**What**
- Ensures that NavLinks are correctly styled for both built-in and extension routes.
2024-11-14 18:32:52 +00:00
Kasper Fabricius Kristensen and GitHub
a153bc477c
fix(admin-shared,dashboard): Add missing injection zones ( #10098 )
...
**What**
- Adds missing InjectionZones for ProductVariant details page.
- Removes v1 related zones, such as GiftCard and DraftOrder.
2024-11-14 18:32:36 +00:00
Shahed Nasser and GitHub
79a3dc1e82
docs: update admin injection zones list ( #10103 )
2024-11-14 18:14:16 +02:00
Shahed Nasser and GitHub
9c39cf69fb
docs: add guide on how to translate admin ( #10095 )
...
* docs: add guide on how to translate admin
* added a link from the main docs
2024-11-14 17:17:01 +02:00
Carlos R. L. Rodrigues and GitHub
06ce16c90b
chore(local-file): throw error if file exist ( #10087 )
2024-11-14 12:11:37 -03:00
Shahed Nasser and GitHub
273960f6e3
docs: fix client error for learning path ( #10102 )
2024-11-14 16:53:24 +02:00
Adrien de Peretti and GitHub
2e5fd9fd71
fix(core-flows): Fix date usage accross workflows ( #10100 )
...
FIXES CMRC-691
**What**
`Date` is something that get executed, since workflows are meant to compose the definition of what will be executed, the date where always having the same value as they was executed once during composition.
Instead wrap those into transformer that will be executed when needed and fix the Date issues
2024-11-14 14:51:30 +00:00
Shahed Nasser and GitHub
af66ac58cc
docs: add missing import in digital product recipe ( #10094 )
2024-11-14 16:41:14 +02:00
4c983557f9
feature: Add email to google provider-identity metadata ( #10081 )
...
* feature: Add email to google provider-identity metadata
* Include changeset.
---------
Co-authored-by: Stevche Radevski <sradevski@live.com >
2024-11-14 15:01:53 +01:00
Carlos R. L. Rodrigues and GitHub
3e265229f2
chore(event-bus): event bus error handling ( #10085 )
2024-11-13 18:03:29 -03:00
Harminder Virk and GitHub
98bf8c9006
test: add tests for self relationships ( #10071 )
...
Initially I thought that we will have to add special checks to allow relationships referencing itself. However, it turned out that not to be the case. Instead, it had more to do with how self relationships are defined in Mikro ORM.
In case of `belongsTo` relationship we have to define the other side as well either as a `hasMany` or `hasOne`. For example:
**❌ The following code will fail, because no children are defined for the parent**
```ts
const user = model.define("user", {
id: model.number(),
username: model.text(),
parent: model.belongsTo(() => user)
})
```
**✅ Addition of children relationship will make things work**
```ts
const user = model.define("user", {
id: model.number(),
username: model.text(),
parent: model.belongsTo(() => user, { mappedBy: "children" }),
children: model.hasMany(() => user, { mappedBy: "parent" }),
})
```
We can see the similar setup here with our `ProductCategory` MikroORM entity. https://github.com/medusajs/medusa/blob/develop/packages/modules/product/src/models/product-category.ts#L87-L94
@adrien2p Correct me if I am wrong. But I have added the tests for now so that we know the behavior of self relationships
2024-11-13 17:20:27 +00:00
Shahed Nasser and GitHub
0ea57659e8
docs: improv version detection + fix breadcrumbs ( #10083 )
2024-11-13 18:20:05 +02:00
Shahed Nasser and GitHub
c054f47872
docs-utils: make reference table of content in alphabetical order ( #10084 )
2024-11-13 18:10:20 +02:00
Shahed Nasser and GitHub
662b096a46
docs: fix oneOf design hiding more than three items ( #10077 )
...
* docs: fix oneOf design hiding more than three items
* fix lint errors
* fix eslint
2024-11-13 17:41:49 +02:00
Shahed Nasser and GitHub
938f3bd934
docs: update to next 15 + eslint 9 ( #9839 )
...
* update next
* updated react
* update eslint
* finish updating eslint
* fix content lint errors
* fix docs test
* fix vale action
* fix installation errors
2024-11-13 17:03:17 +02:00
Shahed Nasser and GitHub
6f7467f071
docs: added + updated build and deployment guides ( #10019 )
2024-11-13 14:44:36 +02:00
Shahed Nasser and GitHub
b6775f894a
docs: fix types of injection zone props ( #10074 )
...
Closes DX-1065
2024-11-13 14:32:55 +02:00
Harminder Virk and GitHub
d9d4e575f6
fix: do not update the .env.template file with the database name ( #10073 )
...
Fixes FRMW-2775
2024-11-13 12:28:13 +00:00
Shahed Nasser and GitHub
f151fb32aa
docs: add emit events + types documentation ( #10026 )
...
* docs: add emit events + types documentation
* vale fixes
2024-11-13 14:17:14 +02:00
Shahed Nasser and GitHub
7a26e123bb
docs: fix outdated links ( #10040 )
2024-11-13 11:02:01 +02:00
Shahed Nasser and GitHub
2d469ba587
docs: added note about test timeout ( #10041 )
2024-11-13 11:01:47 +02:00