Commit Graph

611 Commits

Author SHA1 Message Date
Sebastian Rindom
3d0dff58c4 docs: fixture improvements + small fixes (#204)
* fix: deref arrays

* docs: clean up

* fix: update license
2021-03-16 18:15:41 +01:00
dependabot[bot]
34bb39afa3 chore(deps): bump dot-prop from 4.2.0 to 4.2.1 in /packages/medusa (#140)
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 10:13:28 +01:00
dependabot[bot]
5eff8f6aa1 chore(deps): bump highlight.js from 10.4.0 to 10.5.0 in /packages/medusa (#154)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.4.0...10.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 10:01:17 +01:00
Sebastian Rindom
833da81cc2 hotfix(brightpearl): rounding errors + failing customer test (#199) 2021-03-11 08:23:53 +01:00
Sebastian Rindom
8edb32c742 docs: oas (#197)
Adds OpenAPI specification of Storefront and Admin APIs.
Updates docs project.
2021-03-10 11:51:54 +01:00
Sebastian Rindom
975de99ee7 hotfix: gift card creation (#196)
* fix: enable gift-card creation without order_id

* fix: adds integration test to create endpoint
2021-03-08 15:58:59 +01:00
Sebastian Rindom
1263d24ca3 fix: enable gift-card creation without order_id (#195) 2021-03-08 15:31:39 +01:00
Oliver Windall Juhl
6a3409d239 hotfix(medusa): Efficient product querying (#191) 2021-03-02 08:02:24 +01:00
Oliver Windall Juhl
790d412bb3 hotfix(medusa): Optimize cart retrieval (#189) 2021-02-28 10:01:48 +01:00
Sebastian Rindom
7f5ee6bdcc hotfix: round totals (#188)
* fix: round totals

* fix: test
2021-02-27 11:14:39 +01:00
Oliver Windall Juhl
ed5b1592a4 hotfix(medusa): wrap update-product in transaction (#182) 2021-02-27 10:24:46 +01:00
Sebastian Rindom
999e8053ea fix(stripe): remove decimals on amounts (#187)
* fix: floor amounts

* fix: round instead of floor
2021-02-27 10:08:05 +01:00
Sebastian Rindom
1b7fa59bf7 hotfix(paypal): create new payment session if update fails (#186) 2021-02-26 13:13:28 +01:00
Sebastian Rindom
dc75b9e983 Merge branch 'release/next' 2021-02-26 09:58:53 +01:00
Oliver Windall Juhl
4d708d2306 hotfix(medusa): Optimize product retrieval (#185) 2021-02-26 07:58:59 +01:00
Sebastian Rindom
cfcc9247a5 chore(release): Publish
- medusa-plugin-brightpearl@1.1.5
 - medusa-plugin-contentful@1.1.4
 - medusa-plugin-sendgrid@1.1.4
 - @medusajs/medusa@1.1.11
2021-02-25 14:44:48 +01:00
Sebastian Rindom
63e7ce765e Merge remote-tracking branch 'origin/develop' into release/next 2021-02-25 14:38:47 +01:00
Sebastian Rindom
7be4bb5f2d fix: add tracking links to shipments 2021-02-25 14:37:17 +01:00
Sebastian Rindom
5cfc8d80bd fix: sendgrid tracking links 2021-02-25 14:12:09 +01:00
Sebastian Rindom
27e5eca21d chore(release): Publish
- medusa-fulfillment-webshipper@1.1.3
 - medusa-plugin-segment@1.1.5
 - @medusajs/medusa@1.1.10
2021-02-25 14:07:21 +01:00
Sebastian Rindom
12ecdb8dae chore(release): Publish
- medusa-plugin-segment@1.1.5-next.3
2021-02-25 11:05:06 +01:00
Sebastian Rindom
98aa404306 fix: normalize currency code 2021-02-25 11:04:18 +01:00
Sebastian Rindom
80a18d4273 chore(release): Publish
- medusa-plugin-segment@1.1.5-next.2
2021-02-25 10:54:11 +01:00
Sebastian Rindom
d156911883 feat(segment): track shipments 2021-02-25 10:53:50 +01:00
Sebastian Rindom
3ee3663861 chore(release): Publish
- @medusajs/medusa@1.1.10-next.1
2021-02-25 08:42:20 +01:00
Sebastian Rindom
0320788aac fix: update-product 2021-02-25 08:41:55 +01:00
Sebastian Rindom
e016183974 chore(release): Publish
- medusa-plugin-segment@1.1.5-next.1
2021-02-25 08:34:16 +01:00
Sebastian Rindom
262af34125 fix: versioning 2021-02-25 08:34:00 +01:00
Sebastian Rindom
0c294b7b3a fix: add subtitle to tracks 2021-02-25 08:32:45 +01:00
Sebastian Rindom
d307dfc24f Merge remote-tracking branch 'origin/hotfix/bp-inventory' into develop 2021-02-24 09:04:37 +01:00
Sebastian Rindom
5edcbbd7e1 hotfix(brightpearl): wrap inventory update in transaction (#184) 2021-02-24 09:03:50 +01:00
Sebastian Rindom
ba39cb16db hotfix(brightpearl): wrap inventory update in transaction 2021-02-24 08:52:39 +01:00
Oliver Windall Juhl
22be418ec1 fix(medusa): Add querying func. on customer retrievals (#181) 2021-02-23 13:40:49 +01:00
Oliver Windall Juhl
587a464e83 fix(medusa-plugin-contentful): Allow custom fields in plugin options (#180) 2021-02-23 07:49:01 +01:00
Sebastian Rindom
5ed9e3057d chore(release): Publish
- medusa-fulfillment-webshipper@1.1.3-next.0
 - medusa-plugin-segment@1.1.5-next.0
 - @medusajs/medusa@1.1.10-next.0
2021-02-22 08:49:25 +01:00
Sebastian Rindom
e27cf72a8c feat(medusa-plugin-segment): adds category and type to segment events (#179) 2021-02-22 08:45:01 +01:00
Sebastian Rindom
99ad43bf47 feat(medusa): tracking links (#177)
* fix: creates tracking links on fulfillments

* fix: typo
2021-02-18 16:59:19 +01:00
Oliver Windall Juhl
90ea888829 hotfix(medusa-fulfillment-webshipper): Cancel fulfillment idempotently (#175) 2021-02-18 13:46:34 +01:00
olivermrbl
10ead55101 hotfix(medusa-fulfillment-webshipper): Cancen fulfillment idempotently 2021-02-18 13:27:20 +01:00
Sebastian Rindom
f32ae72782 hotfix(segment): remove tax from revenue calculation (#174) 2021-02-18 12:39:15 +01:00
Sebastian Rindom
0f045ae619 chore(release): Publish
- @medusajs/medusa@1.1.9
2021-02-18 10:33:46 +01:00
Sebastian Rindom
5659d106e3 fix: performant relations 2021-02-18 10:31:09 +01:00
Sebastian Rindom
c2a075a6b1 chore(release): Publish
- medusa-file-spaces@1.1.3
 - medusa-fulfillment-webshipper@1.1.2
 - medusa-interfaces@1.1.1
 - medusa-payment-adyen@1.1.3
 - medusa-payment-klarna@1.1.4
 - medusa-payment-paypal@1.0.3
 - medusa-payment-stripe@1.1.3
 - medusa-plugin-add-ons@1.1.3
 - medusa-plugin-brightpearl@1.1.4
 - medusa-plugin-contentful@1.1.3
 - medusa-plugin-economic@1.1.3
 - medusa-plugin-mailchimp@1.1.3
 - medusa-plugin-permissions@1.1.3
 - medusa-plugin-segment@1.1.4
 - medusa-plugin-sendgrid@1.1.3
 - medusa-plugin-slack-notification@1.1.3
 - medusa-plugin-twilio-sms@1.1.3
 - medusa-plugin-wishlist@1.1.3
 - medusa-test-utils@1.1.3
 - @medusajs/medusa@1.1.8
2021-02-17 12:05:32 +01:00
Sebastian Rindom
46006e4b06 fix: use parallel relation fetching (#173)
optimizes performance of queries with many left joins
2021-02-17 10:40:48 +01:00
Sebastian Rindom
0ed6b4a6a0 fix: price after discounts 2021-02-15 17:03:40 +01:00
Sebastian Rindom
6e6669dee8 fix: item reporting revenue discounted 2021-02-15 15:57:13 +01:00
Sebastian Rindom
93f68126bf fix: handles normalizeThumb without thumbnail 2021-02-15 14:07:39 +01:00
Sebastian Rindom
0cc2ccd3b2 fix: attachment generator for invoices 2021-02-15 13:46:33 +01:00
Sebastian Rindom
7308946e56 feat: notifications (#172)
The Notifications API allows plugins to register Notification Providers which have `sendNotification` and `resendNotification`.

Each plugin can listen to any events transmittet over the event bus and the result of the notification send will be persisted in the database to allow for clear communications timeline + ability to resend notifications.
2021-02-15 11:59:37 +01:00
Sebastian Rindom
4229e241d0 fix: test 2021-02-14 23:18:15 +01:00