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
Shahed Nasser
b8e976ecab
docs: added how to manage user profile guide ( #3997 )
2023-05-03 16:41:45 +03: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
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
Oliver Windall Juhl
491566df6b
fix(medusa,utils): Searching indexing product subscriber ( #3905 )
2023-04-23 13:16:54 +02:00
Philip Korsholm
4a85627435
feat(medusa, medusa-plugin-brightpearl): Inventory management for Brightpearl ( #3192 )
2023-04-23 12:50:19 +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
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
Shahed Nasser
f132535056
docs: added cart conceptual guide ( #3872 )
...
* docs: added cart conceptual guide
* changed link of idempotency key
* apply suggestions from code review
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* tiny change
* Used correct entity name representation
* small fixes in totals section
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-19 16:02:37 +03:00
Adrien de Peretti
af710f1b48
fix(medusa): Bulk create variant + pass transaction to the inventory service context methods ( #3835 )
...
* fix(medusa): Bulk create variant and pass transaction where needed
* Create fair-penguins-stare.md
* fix unit tests
* event
* transaction orchestration
* revert options
* Prevent isolated module to use the given transaction if any in the exposed service
* Use enum
* remove changeset to re do it
* Create thick-ants-tickle.md
* update event bus local
* remove changeset to re do it
* Create thick-kings-wonder.md
* remove changeset to re do it
* Create slimy-bees-eat.md
* Update packages/utils/src/event-bus/index.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
---------
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-19 09:27:48 +02:00
Oliver Windall Juhl
366b12fcea
fix(medusa): Add missing relations when creating return ( #3870 )
2023-04-18 19:47:19 +02:00
Shahed Nasser
8766b16e3b
docs: added manage products documentation ( #3867 )
...
* docs: added manage products documentation
* lint fixes
* generated oas types
2023-04-18 13:20:15 +03:00
Pevey
d2826872fe
chore: Bump package versions to address security vulnerabilities ( #3845 )
2023-04-16 10:37:43 +02:00
Shahed Nasser
9b9055a8bf
chore: update main package README ( #3840 )
...
* chore: update main package README
* change linking from master to develop
2023-04-14 14:24:27 +03:00
github-actions[bot]
0f51e3a400
chore: Release ( #3818 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-14 11:18:39 +02:00
Adrien de Peretti
6bb1654b61
fix(medusa): List products end points ( #3829 )
...
* fix(medusa): List products end points
* lint
* Create fast-toes-know.md
2023-04-13 21:33:08 +02:00
Riqwan Thamir
95d338262b
feat(medusa): allow category list api to be filtered by handle ( #3825 )
...
what:
- Introduce a filter to the list endpoint to query by handle
why:
- Storefronts mostly interact through handles and not IDs for readability and seo purposes - Take an example of a url `site.com/category/mens-wear`
RESOLVES CORE-1325
2023-04-13 17:57:30 +00:00
Shahed Nasser
69bea8cc13
docs: added details about sort order in pagination ( #3824 )
2023-04-13 14:53:34 +03:00
Riqwan Thamir
4f58ddee03
feat(medusa,utils): add server level configurable http compression ( #3785 )
...
* feat(medusa,utils): add server level configurable http compression
* chore: remove unwanted middleware
* chore: add a log for running compression
* chore: change package position
* chore: reposition options
* chore: change equality
2023-04-13 12:39:13 +02:00
github-actions[bot]
3efe13eefd
chore: Release ( #3782 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-04-12 11:32:05 +02:00
Shahed Nasser
1651cfd4ac
docs: added currency documentation pages ( #3803 )
...
* docs: added currency documentation pages
* fixes to OAS
2023-04-11 21:39:24 +03:00
Frane Polić
78ff64e783
fix(medusa): validate customer for group discount ( #3797 )
...
* fix: validate customer for group discount
* fix: remove logger
* fix: add generated desc
* fix: add an integration test case
* refactor: update error message
* fix: typo
* refactor: move condition
---------
Co-authored-by: fPolic <frane@medusajs.com >
2023-04-11 14:16:18 +02:00
Oliver Windall Juhl
7f6dc44beb
fix(medusa): Add totals when retrieving order by cart id ( #3777 )
...
* fix(medusa): Add totals when retrieving order by cart id
* fix: Unit test
* Create .changeset/stupid-rockets-smile.md
2023-04-11 11:40:13 +02:00
Oliver Windall Juhl
085fedb1f7
chore(medusa): Upgrade ioredis-mock ( #3704 )
...
* chore(medusa): Upgrade ioredis-mock
* Create .changeset/old-spoons-bow.md
* chore: Increas jest timeout
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-09 16:10:04 +02:00
Adrien de Peretti
282e239dfc
chore(medusa): Migrate price list repository ( #3725 )
...
* chore(medusa): Migrate price list repository
* Create grumpy-cars-tease.md
* fixes
* fix
* fix
* cleanup
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-04-08 18:54:08 +02:00
Adrien de Peretti
1a60c6f58d
fix(medusa): Throw on line item generation if variant does not have a price ( #3766 )
2023-04-08 18:32:59 +02:00
Riqwan Thamir
d533caa4c2
feat(medusa, admin-ui): add description field to product categories ( #3768 )
...
* feat(medusa): add description field to product categories
* chore: set nullable to false
* chore: added UI for description
* chore: added codegen files
2023-04-08 18:29:12 +02:00
Riqwan Thamir
abdb74d997
chore(medusa, utils): rename buildLegacyFieldsListFrom to objectToStringPath ( #3738 )
...
* chore(medusa): rename buildLegacyFieldsListFrom to objectToStringPath
* chore: address pr comments
2023-04-07 10:27:13 +02:00
Frane Polić
08f85fa33b
fix(medusa): export product prices in human-readable format ( #3739 )
...
* fix: export product prices in human-readable format
* feat: add changesets
* fix: update snaps
* fix: update more snaps
---------
Co-authored-by: fPolic <frane@medusajs.com >
2023-04-07 09:59:28 +02:00
Shahed Nasser
f04f5c3498
docs(oas): fixed OAS comments for 1.8 endpoints ( #3751 )
...
* docs(oas): fixed oas comments for 1.8 endpoints
* generated changes
2023-04-06 18:28:27 +03:00
Riqwan Thamir
713d85a92c
chore(medusa): migrate SalesChannel / ProductCategory repository ( #3728 )
...
* chore: Migrate sales channel repository
* chore: migrated product categories
* chore: remove alias + rename changset
* chore(medusa): Cleanup publishable api key sales channel repo
* rm comment
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2023-04-05 18:33:16 +02:00
Adrien de Peretti
60abb91b7c
chore(medusa): Migrate payment collection repository api ( #3724 )
...
* chore(medusa): Migrate payment repository api
* Create fresh-ties-hide.md
2023-04-05 12:39:46 +02:00
Adrien de Peretti
eab2d22f7d
chore(medusa): Migrate product tag repository ( #3726 )
...
* chore(medusa): Migrate product tag repository
* chore(medusa): cleanup
* chore(medusa): cleanup
* Create healthy-lies-eat.md
* chore(medusa): naming
* fix repo
2023-04-05 12:39:28 +02:00
Adrien de Peretti
4d69d8ef6a
chore(medusa): Migrate product type repository ( #3727 )
...
* chore(medusa): Migrate product type repository
* Create pink-socks-brake.md
2023-04-05 12:39:15 +02:00