Shahed Nasser
a4e614f658
docs: fix events link ( #4036 )
...
Fix events link in medusa development page
2023-05-08 12:42:16 +03:00
Frane Polić
a8e73942e6
feat(medusa): handle product categories in import/export strategies ( #3842 )
...
**What**
- add ProductCategories to import and export strategies
- refactor ProductCategoriesService methods to use "retrieve_" pattern
---
RESOLVES CORE-1275
2023-05-08 08:58:11 +00:00
Frane Polić
0c58ead6d8
fix(medusa): Validate customer_id when completing a cart ( #3967 )
2023-05-07 13:12:06 +02:00
Philip Korsholm
eff9f4c6f9
chore(medusa-plugin-contentful): Cleanup plugin ( #3990 )
2023-05-07 13:01:12 +02:00
patpich
3d6bcaaf65
fix(medusa): ShippingOptionService.list method param type ( #4018 )
...
## What
Fix typing on ShippingOptionService.list selector parameter
## Why
A backend server interfacing with the `ShippingOptionService.list()` method will throw TS error when attempting to pass selector values that should be valid.
## Steps to reproduce
* In a IDE that can display TS errors
* Create an instance of the ShippingOptionService
* Call the `list()` method on the instance with the following selector parameter: `{ region_id: "foobar" }`
* Expect: No TS error
* Actual: `TS2345: Argument of type '{ region_id: string; }' is not assignable to parameter of type 'Selector<ShippingMethod>'.`
## How
* Change the `selector` type to `Selector<ShippingOption>`
2023-05-07 10:52:45 +00:00
Adrien de Peretti
cff54d7325
fix(medusa-payment-stripe): Catch on idempotency key retrieve if not found ( #4025 )
...
**What**
In case the idempotency key is not found, an error will be thrown. We actually want to catch this error and create the key if it does not exists
2023-05-05 14:54:38 +00:00
patpich
ff37cd190f
fix(search): add missing default product relations ( #4008 )
...
* fix(search): add missing default product relations
Add missing default product relations for events calling SearchService.addDocuments
For the following events: `ProductService.Events.UPDATED, ProductVariantService.Events.CREATED, ProductVariantService.Events.UPDATED]`,
`SearchService.addDocuments` will fail due to `product` missing its `variants` relations.
The issue can be observed with the Algolia plugin where `reduce` is being attempted on `product.variants`.
https://github.com/medusajs/medusa/blob/develop/packages/medusa-plugin-algolia/src/utils/transformer.ts#L14
Implement the same retrieve pattern as `handleProductCreation` method.
* chore(changeset): patch
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-05 13:04:56 +02:00
Derek Wene
bd53adb238
fix(medusa): has-changes ( #4023 )
...
* fix(medusa): has-changes
* add changeset
2023-05-05 11:05:20 +02:00
Shahed Nasser
afd79c9c39
docs: added details about overriding scheduled jobs ( #4021 )
...
* docs: added details about overriding scheduled jobs
* remove link
* eslint fixes
2023-05-04 20:02:34 +03:00
Shahed Nasser
e046aa17db
docs: added loaders documentation ( #4019 )
...
* docs: added loaders documentation
* added a link to the loaders documentation
2023-05-04 18:55:50 +03:00
Philip Korsholm
7fd22ecb4d
feat(client-types, types, medusa, inventory): Inventory item and reservation item datamodel updates ( #3971 )
...
* add fields
* add title in migration
* update api endpoints to reflect datamodel changes
* update migration exports for inventory module
* add changeset
* add created_by for reservation item
2023-05-04 17:25:48 +02:00
Shahed Nasser
09e206fc1b
docs: added search service documentation ( #4017 )
...
* docs: added search service documentation
* added a note about search plugins
* eslint fixes
2023-05-04 17:43:07 +03:00
github-actions[bot]
0dbca9552e
chore(docs): Generated API Reference ( #4014 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-04 14:23:29 +03:00
Shahed Nasser
a5707b48fc
docs: added create file service guide ( #4009 )
...
* docs: added create file service guide
* fix eslint
2023-05-04 13:51:12 +03:00
github-actions[bot]
2394c533d3
chore(docs): Generated Services Reference (automated) ( #4015 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-04 12:37:29 +03:00
github-actions[bot]
cb66cd2a06
chore(docs): Generated Docs Announcement Bar (automated) ( #4016 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-05-04 11:08:15 +02:00
Shahed Nasser
98f70550cd
docs: added an upgrade guide for v1.10.0 ( #4013 )
...
* docs: added an upgrade guide for v1.10.0
* removed redis update command
* small text fix
* Update 1-10-0.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-04 11:08:01 +02:00
olivermrbl
731f05d3e1
chore: Release
2023-05-04 10:53:28 +02:00
github-actions[bot]
6b2bcc1a36
chore: Version Packages ( #3942 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04 10:51:13 +02:00
Oliver Windall Juhl
440110493e
chore(workflows): Temporarily disable automated releases
2023-05-04 10:12:28 +02:00
Oliver Windall Juhl
284f1eed9a
fix(medusa): Only set product availability + prices if requested ( #4010 )
...
* fix(medusa): Only set product availability if variants are requested
* Add checks to get products as well
* Create nasty-fans-suffer.md
2023-05-04 09:29:13 +02:00
Adrien de Peretti
0e488e71b1
fix(medusa, types, utils, event-bus-local): Revert retrieveSubscribers ( #4002 )
...
* fix(medusa, event-bus-redis, event-bus-local): Revert retrieveSubscribers as the wildcard prevent us from filtering
* Create calm-eggs-collect.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-03 18:55:45 +02:00
Shahed Nasser
bcaaa0288b
docs: added how to override strategy documentation ( #4004 )
2023-05-03 19:09:55 +03:00
Shahed Nasser
3a585cbdb3
docs: added manage invites documentation ( #4001 )
...
* docs: added manage invites documentation
* eslint fixes
* fixed indentation
2023-05-03 18:26:56 +03:00
Philip Korsholm
d2443d83e6
initial create-swap with sales channel ( #3998 )
2023-05-03 17:03:33 +02:00
olivermrbl
8b93bae8f8
chore(medusa): Minor bump
2023-05-03 16:37:43 +02:00
Kasper Fabricius Kristensen
a7adb8fbf4
fix(admin-ui): Pin react-router-dom ( #3999 )
...
**What**
- Pins the version of `react-router-dom` to `6.8.0` as the upgrade to `6.11.0` broke usage of `useNavigate` in nested routes.
2023-05-03 14:31:18 +00:00
Shahed Nasser
f9886a5b9f
docs: added manage users documentation ( #4000 )
...
* docs: added manage users documentation
* fix link
2023-05-03 17:16:08 +03:00
Shahed Nasser
b8e976ecab
docs: added how to manage user profile guide ( #3997 )
2023-05-03 16:41:45 +03:00
Kasper Fabricius Kristensen
596566a510
fix(admin-ui): Navigating to tax settings should not break URL ( #3989 )
...
* fix navigation to taxes page, and switch out react-helmet with react-helemt-async
* add changeset
* pinpoint react-hot-toast
2023-05-03 13:40:04 +02:00
Leon Alvarez Del Canto
6c0dcc20c9
docs: fix create category curl example ( #3962 )
...
* Fix create category curl example
Fix trailing comma on category create example
* Update create-product-category.ts
Fix trailing comma example
* Update manage-categories.mdx
remove trailing comma
* Revert
* Update manage-categories.mdx
Fix curl example
2023-05-03 14:36:09 +03:00
Philip Korsholm
9838723192
fix(medusa): Performance improvement for variant availability ( #3921 )
...
**What**
- refactor availability invocations to only do one call to the inventory module
@adrien2p would love to run through some tests of this with you and get your take on approach
2023-05-03 09:17:55 +00:00
Shahed Nasser
f8532cb7fd
docs: added send invitation guide ( #3994 )
...
* docs: added send invitation guide
* eslint fixes
2023-05-03 12:05:07 +03:00
Shahed Nasser
d44737c049
docs: added user conceptual guide ( #3993 )
2023-05-03 11:34:22 +03:00
Oliver Windall Juhl
b7a7826394
feat(medusa): Use query relation load strategy on Carts ( #3984 )
2023-05-02 21:10:44 +02:00
Riqwan Thamir
4e8045a0ac
fix(medusa): Use query relation load strategy on Products ( #3926 )
...
* fix(medusa): products retrieve uses query strategy for performance
* chore: packaged version of medusa typeorm fix
* chore: update path
* chore: stock locations uses typeorm version
* chore: resolve typeorm to medusa package
* chore: Update medusa project in CI action
* chore: temp disable transaction timeout for plugins
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2023-05-02 19:37:44 +02:00
Shahed Nasser
c04cbbaa1b
docs: fixed cors import in endpoints documentation ( #3987 )
...
Fixed import of the `cors` package to the following:
```ts
import * as cors from "cors"
```
2023-05-02 19:57:42 +03:00
Shahed Nasser
d5d1c4c102
docs: added manage tax rates documentation ( #3986 )
2023-05-02 19:43:26 +03:00
Oliver Windall Juhl
d539c6feeb
chore: Bump Typeorm to Medusa fork ( #3981 )
...
* chore: Bump typeorm to medusa fork
* Update types + utils
* Bump integration test suites
* Create good-parents-prove.md
2023-05-02 14:37:19 +02:00
Shahed Nasser
eb7be96d39
docs: added Manage Tax Settings doc ( #3983 )
...
* docs: added Manage Tax Settings doc
* fixed eslint errors
2023-05-02 13:11:05 +03:00
Shahed Nasser
df52bf814e
docs: added Override Tax Calculation Strategy doc ( #3982 )
2023-05-02 12:38:17 +03:00
Shahed Nasser
afc853764a
docs: added create tax provider guide ( #3980 )
...
* docs: added create tax provider guide
* fix indentation
* small fix
2023-05-02 12:17:19 +03:00
Karthik
2895061366
docs: fixed typo in local development guide ( #3977 )
...
Co-authored-by: karthikm <karthik.m@vttech.in >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-02 10:58:28 +03:00
github-actions[bot]
ea468ad8c0
chore(docs): Removed Docs Announcement Bar (automated) ( #3978 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
2023-05-02 10:09:37 +03:00
Shahed Nasser
708046d65f
docs: added override cart completion strategy ( #3976 )
...
* docs: added override cart completion strategy
* fixed eslint errors
* small fixes
* fixed eslint error
2023-05-01 20:38:34 +03:00
Shahed Nasser
257c2d1717
docs: added create swap and return guides ( #3974 )
...
* docs: added create swap and return guides
* switched sidebar item positions
* eslint fixes
* fixed link
2023-05-01 18:09:08 +03:00
vladimirpekez
74c7b5c012
docs: fixed incorrect minio command ( #3972 )
...
Co-authored-by: Vladimir Pekez <vladimirpekez@192.168 .1.12>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-01 17:24:44 +03:00
Shahed Nasser
019f1fbf1e
docs: added retrieve order details guide ( #3970 )
...
* docs: added retrieve order details guide
* fix frontmatter
2023-05-01 15:55:54 +03:00
Shahed Nasser
cf371d3c84
docs: fixed constructor in add fulfillment provider ( #3966 )
...
Fixed the constructor in add fulfillment provider to remove the super parameters.
Closes #3947
2023-05-01 11:10:26 +03:00
Philip Korsholm
0c30d05cf3
fix(admin-ui): allocated badge for orders with statuses cancelled and archived ( #3950 )
...
* fix allocated badge for orders with statuses cancelled and archived
* add changeset
2023-05-01 09:48:51 +02:00