Philip Korsholm
eba21d9c5f
feat(medusa-plugin-contentful): Initial implementation of inventory module ( #3991 )
...
* cleanup contentful plugin
* initial implementation of inventory module in contentful
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2023-05-18 10:12:34 +02:00
Carlos R. L. Rodrigues
e73c3e51c9
feat(modules-sdk): Module as singleton instances ( #4065 )
2023-05-18 10:12:18 +02:00
Adrien de Peretti
ed382f2ee5
feat(medusa): Improve prices flow ( #3703 )
2023-05-18 08:55:28 +02:00
Didier Guyon
186b7d2773
fix(medusa-payment-stripe): Added withTransaction to capturePaymentIfNecessary ( #3930 )
...
* Added withTransaction to capturePaymentIfNecessary
* Removed catch from idempotencyKey.retrieve in completeCartIfNecessary
* Synced with upstream develop branch
---------
Co-authored-by: Didier Guyon <didierguyon@Didiers-MacBook-Pro.local >
Co-authored-by: pepijn-vanvlaanderen <pepijn@webbers.com >
2023-05-18 08:46:09 +02:00
Oliver Windall Juhl
a91987fab3
feat(medusa): Remove sqlite support ( #4026 )
2023-05-17 12:13:36 +02:00
Juan Zapata Gomez
e2d29d35c4
feat(plugins): Pass Config Modules to plugins ( #4094 )
2023-05-17 09:34:31 +02:00
Philip Korsholm
2945769497
fix(admin-ui): Allow backorder update on variants ( #4051 )
2023-05-16 17:28:45 +02:00
Philip Korsholm
4fb443c0ea
feat(medusa): Add location id filtering to list location levels ( #4066 )
...
**What**
- add capabilities for filtering locations by id when listing locations for an inventory item
2023-05-16 12:21:53 +00:00
github-actions[bot]
2d9cb9b17f
chore(docs): Generated Services Reference (automated) ( #4110 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-05-16 12:08:36 +02:00
github-actions[bot]
11ab4e80cd
chore(docs): Generated Docs Announcement Bar (automated) ( #4109 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
2023-05-16 12:08:14 +02:00
Oliver Windall Juhl
e303e0920a
docs: Add 1.11.0 upgrade guide ( #4106 )
2023-05-16 11:22:15 +02:00
olivermrbl
5a42c11521
chore: Release
2023-05-16 11:17:33 +02:00
github-actions[bot]
0be70113f9
chore: Version Packages ( #4074 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-16 11:03:47 +02:00
Adrien de Peretti
9518efccae
fix(medusa): Product repo typeorm issues ( #4084 )
...
* fix(medusa): Product repo typeorm issues
* chore: fixed category scopes
* WIP fix categories
* fix product repo to attach categories
* fix uni tests
* Create eighty-icons-exercise.md
* revert package.json
* fix change set
* last fixes
* cleanup iteration
* fix repository deep relations joining aliasing
* improve response time
* improve category test case
* fix free texts search
* fix repo
* centralise repository manipulation into utils and use the utils in the product repo
* fix product repo
* fix customer group
* update changeset
* fix customer group
* include feedback
* fix repo
* remove query strategy
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-05-16 09:36:52 +02:00
olivermrbl
26963acc0a
chore(medusa): Minor bump
2023-05-16 09:04:20 +02:00
Adrien de Peretti
cdbac2c840
feat(medusa,utils): Add support for multiple where condition on the same column ( #4046 )
2023-05-15 21:04:03 +02:00
Oliver Windall Juhl
a86f0e815a
chore(medusa): Expose ioredis options ( #4073 )
...
* chore(medusa): Expose ioredis options
* Create empty-clocks-tease.md
2023-05-15 18:56:23 +02:00
Shahed Nasser
7da6cc961e
docs: used the NPX CLI tool across docs ( #4099 )
2023-05-15 11:04:14 +03:00
github-actions[bot]
23a0c5b71e
chore(docs): Removed Docs Announcement Bar (automated) ( #4097 )
...
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com >
2023-05-15 09:50:07 +03:00
Oliver Windall Juhl
a666462333
feat(medusa): Cart custom query strategy ( #4083 )
2023-05-12 14:06:55 +02:00
Oliver Windall Juhl
6511959e23
chore: Revert to official Typeorm package ( #4072 )
2023-05-11 13:08:38 +02:00
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]
7963c16233
chore(docs): Generated API Reference ( #4054 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-09 18:12:00 +03:00
github-actions[bot]
c95ebdfdb3
chore(docs): Generated Services Reference (automated) ( #4055 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-09 17:53:18 +03:00
github-actions[bot]
81403746dd
chore(docs): Generated Docs Announcement Bar (automated) ( #4056 )
...
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-09 16:12:07 +02:00
Oliver Windall Juhl
aa1bc2bcf9
docs: Add 1.10.1 upgrade guide ( #4053 )
...
* Add guide
* Update docs/content/upgrade-guides/medusa-core/1-10-1.md
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
---------
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
2023-05-09 16:05:55 +02:00
Oliver Windall Juhl
ebfc8777f0
fix(workflows): Script name
2023-05-09 15:59:16 +02:00
olivermrbl
27ff5a7f52
chore: Release
2023-05-09 15:52:14 +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
Oliver Windall Juhl
1e404b43dc
chore(workflows): Automate Discord message ( #4047 )
2023-05-09 11:16:38 +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
Shahed Nasser
e9ca647a1d
docs: added taxes conceptual guide ( #3975 )
...
* docs: added taxes conceptual guide
* fixed metadata
* added an example for the tax provider
2023-05-08 13:41:59 +03:00
Shahed Nasser
bd2a06f48c
docs: added more details on variant pricing ( #4035 )
...
* docs: added more details on variant pricing
* Update manage-products.mdx
* Update products.md
* Update show-products.mdx
* shortened down the price details in the admin guide
2023-05-08 13:06:14 +03:00
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