Commit Graph
100 Commits
Author SHA1 Message Date
Oli Juhl 02e2ee4e8a docs: cache-redis breaking changes (#5590)
* docs: cache-redis breaking changes

* remove section
2023-11-10 11:00:22 +01:00
Oli Juhl 65639cb8c1 fix(integration-tests): Add missing deps + timeout to repos test (#5506) 2023-10-31 12:18:55 +01:00
Oli Juhl 397da6c2ba fix(admin-ui): TIP in shipping option creation (#5356)
* fix(admin-ui): TIP in shipping option creation

* Create six-pigs-return.md
2023-10-30 15:17:34 +01:00
Oli Juhl 8f5b5b51a9 chore: Ignore markdown + yaml in repo language scan (#5486) 2023-10-30 09:19:39 +01:00
Oli Juhl ebba93e03d fix(medusa): Revert status type in API (#5428) 2023-10-26 08:11:01 +02:00
Oli Juhl a0963f0edf fix(admin-ui): Remove t() on product.status update (#5394)
* fix(admin-ui): Remove t() on product.status update

* Create tidy-games-drum.md
2023-10-18 13:50:47 +02:00
Oli Juhl 9c362f7214 chore(integration-tests): Add jest timeout to workflow tests (#5401) 2023-10-18 08:45:50 +02:00
Oli JuhlandPhilip Korsholm 3b45fdf135 fix(admin-ui): Create analytics if FF is enabled (#5367)
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
2023-10-16 08:01:39 +02:00
Oli Juhl d45e3e83d3 docs: v1.17.0 upgrade guide (#5254)
* docs: Add v1.17.0 upgrade guide

* Use note
2023-09-29 14:40:04 -04:00
Oli JuhlandKasper Fabricius Kristensen a9972d7d6f fix(medusa-react): @medusajs/medusa-js import (#5207)
* fix(medusa-react): @medusajs/medusa-js import

* Create short-wolves-breathe.md

---------

Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2023-09-26 16:27:50 -04:00
Oli Juhl adb6fb3f7d fix(admin-ui): Allow nullish values in update variant (#5173)
* fix(admin-ui): Allow nullish values in update variant

* Create moody-poems-carry.md
2023-09-22 11:34:54 +02:00
Oli Juhl 78b50ac0c4 fix(admin-ui): Add hook to customer group table (#5163)
* fix(admin-ui): Add hook to customer group table

* Create many-trains-sort.md
2023-09-20 18:40:51 +02:00
Oli Juhl ef2a12e451 fix(admin-ui): Undefined vars in admin (#5162)
* fix(admin-ui): Undefined vars in admin

* Create short-hairs-fold.md
2023-09-20 17:03:47 +02:00
Oli Juhl 54531e38bc fix(admin-ui): Patch admin path issue (#5154) 2023-09-20 16:31:15 +02:00
Oli Juhl 299b98c401 fix(admin-ui): Wraps invite route correctly with analytics (#5118) 2023-09-18 18:07:54 +02:00
Oli Juhl 8772a0722e fix(admin-ui): Wrap invite route in AnalyticsProvider (#5111)
* fix(admin-ui): Wrap invite route in AnalyticsProvider

* Create nervous-keys-impress.md
2023-09-18 15:25:12 +02:00
Oli JuhlandShahed Nasser 5bd7311393 docs: Add upgrade guide for 1.16.0 (#5051)
* docs: Add upgrade guide for 1.16.0

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

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

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

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

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-09-15 17:20:27 +02:00
Oli Juhl 2a2108fe56 fix(admin-ui): Case sensitive locale detection in prod (#5082)
* fix(admin-ui): Admin path in i18n

* lowercase locale
2023-09-15 17:08:01 +02:00
Oli Juhl a7459029fe chore(admin-ui): Add pt-BR to supported languages (#5080) 2023-09-15 15:23:17 +02:00
Oli JuhlandKasper c722440c30 fix(admin-ui): Load translations from path (#5064)
* fix(admin-ui): Load translations from path

* Create big-oranges-battle.md

* fix: resolve public folder path in dev

---------

Co-authored-by: Kasper <kasper@medusajs.com>
2023-09-15 13:19:24 +02:00
Oli Juhl dc94f053d3 fix(medusa): Support fields param in list-variants (#5053)
* fix(medusa): Support fields param in list-variants

* Create cuddly-pigs-tease.md

* address pr comments
2023-09-15 09:08:04 +02:00
Oli Juhl d4432dd183 feat(admin-ui): Add display name + pull supported languages from config (#5028) 2023-09-13 09:45:26 +02:00
Oli JuhlandShahed Nasser c2423cf715 docs: Add 1.2.0 upgrade guide for Product Module (#4981)
* docs: Add 1.2.0 upgrade guide for Product Module

* Update docs/content/upgrade-guides/modules/product/1-2-0.md

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

* Update docs/content/upgrade-guides/modules/product/1-2-0.md

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

* Address pr comments

* address pr comments

* fix lint issue

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-09-08 14:38:16 +02:00
Oli Juhl d3d8f0bf58 chore(admin, medusa-payment-stripe): Fix deps (#4987) 2023-09-08 13:55:03 +02:00
Oli Juhl 17d91c276a feat(medusa): Add AbstractFulfillmentService (#4922)
* feat(medusa): Add abstract fulfillment service

* add data types

* add loaders

* Create nine-glasses-allow.md

* address pr comments
2023-09-03 20:05:36 +02:00
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