Commit Graph
100 Commits
Author SHA1 Message Date
Oli Juhl 4897040c92 fix(ci): Increase memory allocation for plugin tests (#4898) 2023-08-29 11:58:17 +02:00
Oli Juhl af09a4b7b4 fix(medusa-file-*): Add types as devDeps (#4871) 2023-08-27 16:32:59 +02:00
Oli JuhlandShahed Nasser ae6dd17ca8 chore: v1.15.0 upgrade guide (#4862)
* chore: v1.15.0 upgrade guide

* Update 1-15-0.md

* eslint fixes

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-25 17:04:38 +02:00
Oli Juhl f28fa6a7b3 chore(admin): Add caret range to peer deps (#4865) 2023-08-25 16:07:43 +02:00
Oli Juhl 16249ec280 fix(actions): Disable OAS unit tests + add flags to test commands (#4767)
* wip

* skip models test

* ignore plugins loader test
2023-08-15 14:32:58 +02:00
Oli Juhl 1d2637572b chore: Remove rimraf from prepare (#4741) 2023-08-11 22:55:59 +02:00
Oli Juhl 9469063f64 fix(medusa-js): return type of collection hook + export (#4747) 2023-08-11 13:37:54 +02:00
Oli Juhl 86c314eb2a chore: Update FUNDING.yml 2023-08-09 10:28:53 +02:00
Oli Juhl df3b0c673a chore: Update FUNDING.yml 2023-08-09 10:26:22 +02:00
Oli Juhl a2d7540e40 fix(medusa): Remove shipping on updates to cart.items (#4715)
* rm shipping on line item updates

* Add tests

* remove verbose flag

* Create real-items-rhyme.md
2023-08-08 14:53:47 +02:00
Oli Juhlandcarlos-r-l-rodrigues d1e298f5dc chore: Remove FlagRouter from core (#4710)
* Allow nested feature flags

* clean up

* Create loud-wombats-shave.md

* add warning

* Add more tests

* Address PR comments

* add back boolean check

* Replace core flag router with utils one

* lol - actually remove it

* Create eleven-doors-roll.md

---------

Co-authored-by: carlos-r-l-rodrigues <rodrigolr@gmail.com>
2023-08-08 13:05:50 +02:00
Oli Juhl 5c60aad177 feat(medusa, utils): Allow object feature flags (#4701)
Feature flags can be set as follows:

**Environment variables**
```
MEDUSA_FF_ANALYTICS=true
MEDUSA_FF_WORKFLOWS=createProducts,addShippingMethods
```

**Project config**
```
{
  featureFlags: {
    analytics: true,
    workflows: {
      createProducts: true,
      addShippingMethods: true,
    }
  }
}
```
2023-08-07 09:38:25 +00:00
Oli Juhl bb534e0453 fix(admin-ui): Customer Groups in Pricing + TIP (#4670)
* Use NextSelect

* Ensure boolean value of includes taxa

* Create thin-kings-grab.md
2023-08-02 13:45:27 +02:00
Oli Juhl 6e4d160251 docs: Upgrade guide for 1.13.0 (#4614) 2023-07-27 15:52:24 +00:00
Oli Juhl f561601bf6 fix(admin): Exclude prices from PriceLists overview (#4536)
* fix(admin): Exclude Prices from PriceLists overiew

* Create polite-vans-hide.md
2023-07-27 08:45:54 +02:00
Oliver Windall Juhl aab890174d fix(admin-ui): Add missing SO relation (#4594)
* fix(admin-ui): Add missing SO relation

* Create hungry-carrots-bathe.md
2023-07-25 17:28:21 +02:00
Oliver Windall Juhl 221f62dc4c fix(admin-ui): Omit PriceList prices from variant update (#4552)
* fix(admin-ui): Omit PriceList prices from variant update

* Create poor-insects-complain.md
2023-07-19 13:44:15 +02:00
Oliver Windall Juhl 4e2e58881a chore: Update CONTRIBUTING.md 2023-07-16 21:00:18 +02:00
Oliver Windall Juhl fe6586e560 fix(medusa-plugin-sendgrid): Use correct SendGrid client (#4524)
* fix(medusa-plugin-sendgrid): Use correct SendGrid instance

* Create loud-fans-own.md

* Adds tests

* Use logger
2023-07-13 14:23:07 +02:00
Oliver Windall Juhl cfd3e396cf chore(workflows): Force Node v16.10 version in CI (#4523) 2023-07-13 08:42:43 +02:00
Oliver Windall Juhl 708a55199a fix(medusa-js): Remove unused options from tsconfig (#4501)
* fix(medusa-js): Update ambigious type export

* Create ninety-hornets-drive.md

* Add to import too

* Revert + update tsconfig
2023-07-11 14:54:04 +02:00
Oliver Windall Juhl 78a1f3943b chore(admin-ui): Remove new badges from inventory + categories (#4444)
* chore(admin-ui): Remove new badges from inventory + categories

* Create early-poets-drum.md
2023-07-10 12:23:27 +02:00
Oliver Windall Juhl 85eb12883e feat(medusa): Improve error messaging in plugin loader (#4410)
* feat(medusa): Improve error messaging in plugin loader

* Create fair-kids-tease.md

* pr comments

* pr comments
2023-06-26 13:33:40 +02:00
Oliver Windall Juhl 579fcb8cd6 chore: Update issue template 2023-06-26 10:41:36 +02:00
Oliver Windall Juhl 14bfe6d514 add @medusajs/product readme (#4368) 2023-06-21 11:28:54 +02:00
Oliver Windall Juhl 9b42387fd3 chore: Add missing deps (#4317) 2023-06-15 18:27:31 +02:00
Oliver Windall Juhl afd1b67f1c chore: Clean up deps, devDeps, and peerDeps across all packages (#4276)
* chore: Use caret for all Medusa deps

* Create wild-balloons-push.md

* Address PR feedback

* force build order

* add missing dep

* add missing dev deps

* addresses last comments
2023-06-14 15:18:11 +02:00
Oliver Windall Juhl 260dc55b6f chore(medusa,medusa-cli): Clean up new command + fix CI (#4214)
* chore(workflows): Use default starter template in action

* Use postgres by default in new

* Add skip DB flag

* Create thirty-tomatoes-hug.md

* address PR comments
2023-05-31 12:38:44 +02:00
Oliver Windall JuhlandShahed Nasser f3920730dc docs: Add 1.12.0 upgrade guide (#4204)
* docs: Add 1.12.0 upgrade guide

* Add note on breaking changes

* added new action required

* eslint fixes

* Add another breaking change note

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-05-30 21:00:49 +02:00
Oliver Windall Juhl 0f87d3d642 chore(medusa,admin-ui): Add reservations FF (#4184)
* chore(medusa,admin-ui): Add reservations FF

* Create five-ways-care.md

* Tweak description
2023-05-29 22:02:01 +02:00
Oliver Windall Juhl 783c16ebf6 chore: Update local file plugin package (#4198) 2023-05-29 20:38:26 +02:00
Oliver Windall Juhl 6998666c6e fix(medusa): Upserting tax rates (#4189)
* fix(medusa): Upserting tax rates

* Create orange-bikes-sparkle.md

* add more tests

* add explicit null type
2023-05-29 13:31:39 +02:00
Oliver Windall Juhl 5988fa8f4c fix(admin-ui): Omit purchasable variant prop on duplicate (#4180)
* fix(admin-ui): Omit purchasable variant prop on duplicate

* Create tall-cougars-juggle.md
2023-05-28 15:54:02 +02:00
Oliver Windall Juhl f47b11293e fix(admin-ui): Delete variant (#4163)
* fix(admin-ui): Delete variant

* Create slimy-houses-battle.md
2023-05-25 20:38:57 +02:00
Oliver Windall Juhl c4aae6b976 feat(medusa-file-local): Local file storage plugin (#4118)
Simple local file storage to eliminate/reduce friction related to file services when developers are trying out Medusa for the first time
2023-05-22 09:11:38 +00:00
Oliver Windall Juhl a91987fab3 feat(medusa): Remove sqlite support (#4026) 2023-05-17 12:13:36 +02:00
Oliver Windall Juhl e303e0920a docs: Add 1.11.0 upgrade guide (#4106) 2023-05-16 11:22:15 +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
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
Oliver Windall JuhlandShahed Nasser 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
Oliver Windall Juhl 1e404b43dc chore(workflows): Automate Discord message (#4047) 2023-05-09 11:16:38 +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
Oliver Windall Juhl b7a7826394 feat(medusa): Use query relation load strategy on Carts (#3984) 2023-05-02 21:10: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
Oliver Windall JuhlandShahed Nasser 98b8ff8277 docs: 1.9 upgrade guide (#3915)
* wip

* change to minor

* Add breaking change explanation

* Update docs/content/upgrade-guides/medusa-core/1-9-0.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Update docs/content/upgrade-guides/medusa-core/1-9-0.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Update 1-9-0.md

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-04-26 19:19:58 +02:00
Oliver Windall JuhlandPhilip Korsholm 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
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
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
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
Oliver Windall Juhl 366b12fcea fix(medusa): Add missing relations when creating return (#3870) 2023-04-18 19:47:19 +02:00
Oliver Windall Juhl cd2d4f6455 fix(inventory): Add missing context arguments (#3863)
* add missing context

* Create ninety-peas-complain.md
2023-04-18 08:43:36 +02:00
Oliver Windall JuhlandShahed Nasser 25672dbb77 docs: Add 1.8.1 upgrade guide (#3804)
* docs: Add 1.8.1 upgrade guide

* Update docs/content/upgrade-guides/medusa-core/1-8-1.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Update docs/content/upgrade-guides/medusa-core/1-8-1.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-04-12 11:55:40 +02:00
Oliver Windall Juhl 654a546223 chore: Bump Typeorm (#3778) 2023-04-11 18:43:40 +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 5280e1bdad chore: Automate releases (#3736)
* chore: Automate releases

* Update release.yml
2023-04-10 09:51:14 +02:00
Oliver Windall Juhlandkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> 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
Oliver Windall Juhl 8277a74257 chore(ci): Don't ignore docs for required checks (#3749) 2023-04-06 15:22:21 +02:00
Oliver Windall Juhl 8761ec59c7 chore(workflows): Use our default starter in CI (#3730) 2023-04-05 14:47:53 +02:00
Oliver Windall Juhl a0c919a8d0 chore(medusa-cli): Add missing utils dep (#3688) 2023-04-03 17:18:38 +02:00
Oliver Windall Juhl 809ab2e0eb chore: Merge master to develop (#3653) 2023-03-31 13:09:57 +02:00
Oliver Windall Juhl b2e2eddcea chore: Update logo in README.md 2023-03-31 13:05:58 +02:00
Oliver Windall JuhlandShahed Nasser 36337ef3b3 chore: Update README (#3643)
* chore: Update README

* Address feedback

* Update README.md

* Update README.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-03-31 12:26:20 +02:00
Oliver Windall Juhl 45fd0fb639 fix(admin-ui): Always show categories in product page (#3655)
* fix(admin-ui): Always show categories in product page

* Create .changeset/tasty-timers-drive.md

* add disabled classes
2023-03-31 12:09:11 +02:00
Oliver Windall Juhl 4f4ccee7fb fix(admin-ui): Collapse categories by default (#3637) 2023-03-31 10:43:03 +02:00
Oliver Windall Juhl a1ed1b6a7f chore(workflows): Add release notification (#3629) 2023-03-30 17:18:31 +02:00
Oliver Windall Juhl ebd6ab12c9 chore(admin-ui): Update favicon (#3640)
* fix(admin-ui): Eliminate purple from most-visible components

* chore(admin-ui): Update favicon
2023-03-30 12:53:00 +02:00
Oliver Windall Juhl 851a981880 fix(admin-ui): Eliminate purple from most-visible components (#3639) 2023-03-30 12:50:33 +02:00
Oliver Windall Juhl 9ddcaf1176 chore(workflows): Add release notification (#3629) 2023-03-29 16:01:29 +02:00
Oliver Windall Juhl 693015fde3 chore(medusa): EOL causing logging to hang (#3622)
* chore(medusa): EOL causing logging to hang

* Create .changeset/new-pans-explain.md
2023-03-29 13:34:09 +02:00
Oliver Windall Juhl fa0d2e3639 chore(workflows): Enable manual workflow in pre-release mode (#3566) 2023-03-24 10:01:10 +01:00
Oliver Windall Juhl e892816307 chore(workflows): Enable manual workflow in pre-release mode (#3566) 2023-03-24 09:55:06 +01:00
Oliver Windall Juhl 74bc4b16a0 feat(medusa-plugin-algolia): Revamp Algolia search plugin (#3510) 2023-03-22 12:55:26 +01:00
Oliver Windall Juhl ef5ef9f5a2 feat(medusa,event-bus-local,event-bus-redis): Event Bus modules (#2599) 2023-03-22 10:26:21 +01:00
Oliver Windall Juhlandadrien2p 7e17e0ddc2 feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin (#3377)
* feat(medusa-plugin-meilisearch): Upgrade meilisearch deps + migrate plugin to TS

* fix version

* Remove transaction base service from search service

* Create .changeset/strange-mails-pump.md

* Backward compatibility

* Address PR feedback

* Fix folder structure

* Update readme

* Move types

* fix deps

* Change version in changeset

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
2023-03-16 16:15:29 +01:00
Oliver Windall Juhl 88392e0176 chore(create-medusa-app): Remove Admin + Gatsby starter from npx (#3376) 2023-03-13 18:59:52 +01:00
Oliver Windall JuhlandShahed Nasser ea28eea251 docs: Added upgrade guide for v1.7.12 (#3425)
* docs: Added upgrade guide for v1.7.12

* Update 1-7-12.md

* Update 1-7-12.md

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-03-09 12:20:19 +01:00
Oliver Windall JuhlandKasper Fabricius Kristensen 8ed67d2d7d fix(admin,oas-github-cli): Make staging release pipeline pass (#3410)
* fix(admin,oas-github-cli): Make staging release pipeline pass

* Create .changeset/clean-cobras-listen.md

---------

Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2023-03-08 16:41:03 +01:00
Oliver Windall Juhl ce577f2696 feat(medusa): Add global job options for events (#3394) 2023-03-08 11:09:43 +01:00
Oliver Windall Juhl aadc1e19e9 chore: Ignore admin-ui in core pipeline (#3381) 2023-03-07 11:27:55 +01:00
Oliver Windall Juhl aa0d1f3215 fix(medusa): Remove default job age option from EventBus (#3388)
* fix(medusa): Remove default job age option from EventBus

* Create .changeset/spicy-camels-invite.md
2023-03-06 19:41:12 +01:00
Oliver Windall Juhl ed0f777431 fix(admin-ui): Discount in DraftOrder create flow (#3378)
Solves #3332
2023-03-06 16:06:28 +00:00
Oliver Windall Juhl 4b114cc419 feat(medusa): Use Bull jobId option to identify duplicates (#3351)
* feat(medusa): Use Bull jobId option to identify duplicates

* Create pink-emus-drum.md
2023-03-01 18:11:30 +01:00
Oliver Windall Juhl f88af0c28d fix(medusa): Received quantity on return lines (#3267) 2023-02-17 10:13:50 +00:00
Oliver Windall Juhl 968eb8fc6b fix(medusa): Refund amount on returns in claim flow (#3237) 2023-02-14 12:47:06 +01:00
Oliver Windall Juhl 8194d19b0e fix(medusa-plugin-sendgrid): Undefined order in method to build GiftCard data (#3238) 2023-02-12 19:18:36 +01:00
Oliver Windall Juhl f0ab7fda80 chore: Update bug issue template 2023-02-10 10:13:48 +01:00
Oliver Windall Juhl 472f96d7fb fix(medusa): Missing refund amount when creating claim (#3224) 2023-02-10 09:26:54 +01:00
Oliver Windall Juhl 08324355a4 chore: Patch bump all dependencies + minor bumps winston (#3185) 2023-02-07 19:15:29 +01:00
Oliver Windall Juhl 5c1d2a5e83 feat(medusa): Option to override existing cron job (#2989) 2023-02-06 14:24:32 +01:00
Oliver Windall Juhl 71fdd28198 fix(medusa-payment-stripe): Prevent Stripe events from retrying (#3160) 2023-02-06 11:23:39 +01:00
Oliver Windall Juhl 9ebb50104c feat(medusa): Expose session options (#3162) 2023-02-03 13:36:59 +01:00
Oliver Windall Juhl b242e22326 fix(medusa): Upsert addresses on Orders (#3153) 2023-02-01 13:57:24 +01:00
Oliver Windall Juhl 0009da0261 fix(medusa-payment-stripe): Resend capture event to ensure auto-capture (#3100) 2023-01-25 10:10:31 +01:00
Oliver Windall Juhl 9c2169422d fix(medusa): Only add Sales Channel relation + field when enabled (#3069) 2023-01-19 18:26:10 +01:00