Lacey Pevey
cfcd2d54fd
fix(medusa-oas-cli): Add separator after tmpdir base ( #3924 )
...
* add separator after tmpdir base
* Create late-badgers-do.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-11 12:32:55 +02:00
github-actions[bot]
a8f43055db
chore: Version Packages ( #4020 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-09 15:49:04 +02:00
Riqwan Thamir
aa74ebb181
fix(admin-ui): ensure that sales channel names are always an array ( #4049 )
2023-05-09 12:25:43 +02:00
Kasper Fabricius Kristensen
2829537592
fix(admin-ui): Template download path ( #4050 )
...
* pin react-router-dom
* fix template download path
* add changeset
2023-05-09 12:13:54 +02:00
Philip Korsholm
353fc94e4f
feat(admin-ui): Manage inventory toggle ( #4041 )
2023-05-08 18:44:27 +02:00
Lacey Pevey
1ea57c3a69
chore(utils): update class-validator to 0.14.0 ( #4032 )
...
* update class-validator to 0.14.0 in utils package
* Create new-jokes-relax.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-05-08 18:29:31 +02:00
Shahed Nasser
a8887cd02f
docs: added idempotency key documentation ( #4039 )
2023-05-08 19:21:07 +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
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
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
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
Philip Korsholm
d2443d83e6
initial create-swap with sales channel ( #3998 )
2023-05-03 17:03:33 +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
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
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
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
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
Philip Korsholm
4c5c4fd9b3
feat(admin-ui): Metadata for stock locations ( #3955 )
...
* initial update to stock locations
* add changeset
2023-05-01 08:39:29 +02:00
Shahed Nasser
d38b3249f7
docs: added manage claims documentation ( #3944 )
...
* docs: added manage claims documentation
* remove sidebar item
* fixed link
2023-04-27 16:43:07 +03:00
Shahed Nasser
ceeba5fba6
docs: added how to manage swaps documentation ( #3941 )
...
* docs: added how to manage swaps documentation
* added a note about listing swaps
* fix console.log
2023-04-27 12:27:55 +03:00
Rajshri Mohan K S
538c9874ba
fix(medusa): Broken payment session migration ( #3098 )
2023-04-27 10:35:53 +02:00
github-actions[bot]
b41b6303cc
chore: Release ( #3856 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-26 19:09:01 +02:00
Rares Stefan
3a77e8a88f
feat(medusa): Middleware to add default SC on query if no SC already exist on it ( #3694 )
2023-04-26 17:23:29 +02:00
Oliver Windall Juhl
3b3236cc01
fix(medusa): Reduce joins in cart retrieval ( #3909 )
...
* fix(medusa): Remove discounts.regions relation from cart retrieval
* Create violet-poets-rule.md
* fix service test
* update snapshot
---------
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2023-04-25 12:51:33 +02:00
Riqwan Thamir
935abeae68
fix(medusa): category list api bug where limit skews results ( #3914 )
...
* chore: fix category list api bug where limit skews results
* chore: add limits to integration test
2023-04-24 19:16:58 +02:00
Frane Polić
88a224e42a
fix(admin): display correct items in the timeline after OE ( #3895 )
2023-04-23 13:28:15 +02:00
Oliver Windall Juhl
0be6816578
feat(admin-ui): Add Sales Channel filter ( #3897 )
...
* feat(admin-ui): Add Sales Channel filter
* Create silver-wombats-camp.md
* filter out null children
2023-04-23 13:26:42 +02:00
Oliver Windall Juhl
491566df6b
fix(medusa,utils): Searching indexing product subscriber ( #3905 )
2023-04-23 13:16:54 +02:00
Lacey Pevey
aec7ae219d
feat(medusa-plugin-meilisearch): Update meilisearch library dependency ( #3898 )
2023-04-23 13:14:30 +02:00
Philip Korsholm
4a85627435
feat(medusa, medusa-plugin-brightpearl): Inventory management for Brightpearl ( #3192 )
2023-04-23 12:50:19 +02:00
Derek Wene
8b6464180a
feat(medusa-file-s3,medusa-file-minio): Upgrade to TypeScript ( #3740 )
2023-04-23 12:31:16 +02:00
Rares Stefan
ba45a316a7
feat(admin-ui): Implement allocations on draft orders ( #3753 )
2023-04-21 18:42:52 +02:00
Philip Korsholm
d302db2397
fix(admin-ui): Add guard for null product_id ( #3894 )
...
* handle null variants differently
* add changeset
2023-04-21 18:00:51 +02:00
Oliver Windall Juhl
7e213f2106
fix(medusa,medusa-fulfillment-webshipper): Item to Webshipper line mapping ( #3879 )
...
* fix(medusa): Add missing variant relation on items
* fix: Webshipper fulfillment service
* Create kind-singers-travel.md
* Only add props if present
* add tests
2023-04-20 11:36:39 +02:00
Philip Korsholm
2be144ff05
feat(medusa): Add purchasable prop on variants when setting availability ( #3811 )
...
* write integration tests
* update variant inventory decorator
* update types
* add changeset
* feedback comments
* add yaml schemas
* different oas approach
* pr feedback
* update oas
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-20 08:54:26 +02:00
Oliver Windall Juhl
966ddd2f16
fix(inventory): Minor fixes to upserting inventory items ( #3883 )
...
* fix(inventory): Minor fixes to upserting inventory item levels
* Create sour-jobs-decide.md
* fix(inventory): Minor fixes to upserting inventory item levels
2023-04-19 22:43:09 +02:00
Oliver Windall Juhl
5fdccf5e32
fix(admin-ui): Check for undefined categories ( #3886 )
...
* fix(admin-ui): Check for undefined categories
* Create silent-garlics-kiss.md
2023-04-19 22:33:08 +02:00
Oliver Windall Juhl
440f900af0
fix(medusa-plugin-ip-lookup): Remove outdated Typeorm usage ( #3884 )
...
* fix(medusa-plugin-ip-lookup): Use new Typeorm API
* Create dull-trainers-count.md
2023-04-19 19:10:44 +02:00
Philip Korsholm
0d0e9bf206
fix(medusa): Correct inventory quantity calculation ( #3881 )
...
* initial fix
* add changeset
2023-04-19 15:43:55 +02:00