Commit Graph

2222 Commits

Author SHA1 Message Date
Kevin Antonio Rateni Iatauro
8cbebef403 feat(medusa-js): Add deleteSession endpoint (#1234) 2022-08-21 14:08:51 +02:00
Philip Korsholm
a54dc68db7 feat(medusa): Filtering Customer Orders (#975) 2022-08-21 13:26:25 +02:00
Philip Korsholm
448fd5b44e tests(integration-tests): Allow null updates in discounts (#1299) 2022-08-21 12:54:30 +02:00
endigo
8c4be33536 feat(medusa): Add Mongolian currency tugrug (#2067) 2022-08-21 12:12:40 +02:00
Adrien de Peretti
844d7d1f5f feat(medusa): Migrate Return service to ts (#1926) 2022-08-19 17:26:12 +02:00
Shahed Nasser
d617e21bf5 Revert "added upgrade guide for v1.3.6"
This reverts commit 9c3c8cb2f6.
2022-08-17 15:17:33 +03:00
Shahed Nasser
9c3c8cb2f6 added upgrade guide for v1.3.6 2022-08-17 15:16:06 +03:00
Oliver Windall Juhl
fb1105b9c0 fix(medusa-payment-stripe): Add item adjustments relation in CartSubcriber (#2052) 2022-08-16 19:36:57 +02:00
Oliver Windall Juhl
0ba63c70b0 fix(medusa): Complete cart with 100% discount (#2032)
**What**
Naive fix to allow carts with 100% discount to be completed.

**Why**
Discount total is wrongly calculated if `items` and `items.adjustments` is not included in relations upon retrieving the cart.

**Thought**
This is yet another example of why we need to rethink and refactor totals computation to not depend on what is provided by the user.
2022-08-16 09:21:01 +00:00
Adrien de Peretti
f1c2c6c68b feat(medusa): Implement the SC migration scripts (#2037)
**What**
Migrate the existing products to the default sales channel

FIXES CORE-434
2022-08-16 08:47:23 +00:00
Sebastian Rindom
15a5b029ae fix(medusa): join tracking links to all fulfillments in admin/orders (#2045)
Fixes https://github.com/medusajs/medusa/issues/2042
2022-08-15 11:23:36 +00:00
Adrien de Peretti
79acc38a57 feat(medusa): Simplify the transaction base service (#2007)
**What**
Simplify the transaction base service.

**How**

In fact, it does not need to be template and reduce the extensibility as the type is internally enforce. Now, the type is deduced by this which can be any derived class.
2022-08-12 09:17:39 +00:00
Adrien de Peretti
cbe2b7f687 chore(medusa): Remove intepestive services re instanciation in loop (#2036)
* chore(medusa): Renove intepestive services re instanciation in loop

* test(medusa): Fix missing deps

* fix(medusa): Missing await
2022-08-11 22:18:11 +02:00
Adrien de Peretti
c31290c911 feat(medusa): Refactor undefined check into a single util (#2024) 2022-08-10 17:45:48 +02:00
Adrien de Peretti
bd031ef7ad feat(medusa:) Convert PaymentProvider + PaymentProviderInterface to TS + (#1773)
* feat(payments): Refactor core Payment related

* fix(medusa): typings

* test(unit): fix suite

* test(unit): fix suite

* feat(medusa): Improve payment provider container typings

* fix(medusa): typings

* styles(medusa): renove comments

* feat(medusa): cleanup

* feat(medusa): Add uniq constraint on payment session and idem key on create-payment-session end point

* fix(medusa): migration

* fix(medusa): create payment session

* feat(medusa): cleanup
2022-08-10 17:26:16 +02:00
Adrien de Peretti
987ce2ab6d chore(medusa): Feature flag loader simplify, deduplicate and increase readability (#2025) 2022-08-10 13:02:26 +02:00
Oliver Windall Juhl
900260c5b9 feat(medusa,medusa-telemetry): Add telemetry on feature flags (#2017) 2022-08-09 16:27:12 +02:00
Adrien de Peretti
aaebb38eae feat(medusa): Convert IdempotencyKeyService to TypeScript (#1995)
* feat(medusa): Migrate the idempotency key service to ts + fix

* feat(medusa): Finalise idempotency migration

* Create late-owls-pump.md

* feat(medusa): Polish

* feat(medusa): Add case to the error handler

* feat(medusa): Add case to the error handler

Co-authored-by: olivermrbl <oliver@mrbltech.com>
2022-08-09 08:08:07 +02:00
Adrien de Peretti
4b663cca3a feat(medusa): Use transactions in CartCompletionStrategy (#1968) 2022-08-08 21:11:34 +02:00
Philip Korsholm
152934f8b0 feat(medusa): Convert ShippingProfileService to TypeScript (#1963) 2022-08-08 16:51:55 +02:00
chemicalkosek
40ae53567a feat(medusa-payment-stripe): Add support for Przelewy24 and Blik (#1982) 2022-08-08 13:02:33 +02:00
Richard Ward
2a723dcd4f feat(medusa-react): Add Collection batch (remove, add) endpoints (#1959) 2022-08-08 12:58:23 +02:00
Richard Ward
a88bf3c76e feat(medusa-js): Add Collection batch (remove, add) endpoints (#1958) 2022-08-07 13:22:36 +02:00
Philip Korsholm
11fab121f4 feat(medusa): Convert OauthService to TypeScript (#1983) 2022-08-07 13:15:20 +02:00
Philip Korsholm
42ed209518 feat(medusa): Convert CollectionService to TypeScript (#1976) 2022-08-07 12:06:36 +02:00
Adrien de Peretti
b3b69d7117 fix(integration-tests): Use asymmetric matcher for arrays in tests (#1992) 2022-08-07 11:50:12 +02:00
Shahed Nasser
73383cc466 chore(docs): Refactor API Reference (#1883) 2022-08-05 14:06:12 +02:00
Shahed Nasser
b126ab4dec docs: update doocusaurus to 2.0.1 (#1997) 2022-08-04 19:09:36 +03:00
Shahed Nasser
3746099288 docs: added revert migration command (#1999) 2022-08-04 18:59:41 +03:00
Shahed Nasser
37423d3e91 chore: increase node version for docs test (#1998) 2022-08-04 18:58:48 +03:00
Debashis Biswal
95f5e918c6 docs: fix comma splice on introduction.md (#1967)
Co-authored-by: Debashis Biswal <debashisonsoftware@gmail.com>
2022-08-04 18:37:10 +03:00
Shahed Nasser
bf44294c6b docs: updated event reference (#1996)
* docs: updated event reference

* added note about sales channels
2022-08-04 18:03:01 +03:00
Shahed Nasser
02d5c1da88 docs: update Typedoc and regenerate references (#1994)
* generated new services reference

* changed from automatic push to automated pull request

* updated typedoc, regenerated JS Client reference

* regenerated the reference after updating typedoc

* added action for js client
2022-08-04 17:29:52 +03:00
olivermrbl
6663a6290b chore(release): Publish 2022-08-04 14:12:54 +02:00
Philip Korsholm
3cde817482 fix(medusa-file-minio): Add missing path import (#1991) 2022-08-04 12:35:30 +02:00
Adrien de Peretti
badda5233c fix(medusa-js): Allow payload in DELETE and POST (#1985) 2022-08-04 11:47:54 +02:00
Oliver Windall Juhl
b1f88f917b chore: Update yarn.lock + jest matchers in integration test (#1989) 2022-08-04 10:16:55 +02:00
olivermrbl
bc7c2d9c4a chore(release): Publish 2022-08-03 18:34:24 +02:00
olivermrbl
77ef28d274 Merge branch 'master' into develop 2022-08-03 18:03:14 +02:00
Shahed Nasser
5578fbe743 docs: Improved Algolia documentation (#1984)
* improved algolia documentation

* typo fix
2022-08-03 17:26:39 +03:00
Shahed Nasser
948a9f1188 docs: fixes to the meilisearch docs (#1979) 2022-08-03 14:27:23 +03:00
Shahed Nasser
736db771e6 docs: improved spaces documentation (#1978) 2022-08-03 12:17:56 +03:00
Shahed Nasser
acd73a7e6a docs: fixes to the digitalocean documentation (#1975) 2022-08-03 11:00:19 +03:00
Shahed Nasser
7aaf424b99 docs: show last updated time (#1972) 2022-08-02 17:47:51 +03:00
Shahed Nasser
d7328e6b73 docs: improved meilisearch docs (#1969) 2022-08-02 17:44:39 +03:00
Shahed Nasser
bb136530c1 docs: fix search in reference (#1971) 2022-08-02 17:30:33 +03:00
Shahed Nasser
36e2e7a4df chore: fix for deployment (#1970)
* fix for deployment

* fixed gitignore files to match that of the root

* add to gitignore in root
2022-08-02 17:16:18 +03:00
Philip Korsholm
87fc18137d Feat(medusa): Convert middleware service to typescript (#1936)
Fixes CORE-351
2022-08-02 12:43:55 +00:00
Philip Korsholm
6251aecdaa Feat/convert return reason service to typescript (#1961)
**What**
- Convert return reason service to typescript

Fixes CORE-355
2022-08-02 11:40:11 +00:00
olivermrbl
1dec44287d chore: Add changeset to version bump packages missing changesets 2022-08-02 13:18:01 +02:00