Commit Graph

150 Commits

Author SHA1 Message Date
Carlos R. L. Rodrigues
9dae86daa2 chore: es target 2021 (#7325) 2024-05-14 08:07:14 -03:00
github-actions[bot]
26c9bada0a chore: Version Packages (#6360)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 10:21:30 +01:00
github-actions[bot]
47272bf2b9 chore: Version Packages (#5880) 2024-01-09 18:41:35 +01:00
Adrien de Peretti
45996d58a2 chore(medusa, interfaces): Uniformise class checks (#5869)
**What**
One problem with local development can be the dependencies management. To mitigate that, transform checks from an instance of to value check as well as harmonize utils function to be part of the class as a static method instead of separate utilities. By using this approach we are not dependent of the origin of the class and therefore it should ease the user experience.

**NOTE**
As a next step to discuss, we should probably move the interfaces from the interfaces/medusa package to the utils package. Then we can deprecate the interfaces package and remove it at a later time
2023-12-19 13:26:57 +00:00
Adrien de Peretti
946db51a9b chore(): Add engines to all package.json if needed (#5812) 2023-12-07 17:03:50 +01:00
Adrien de Peretti
58d4c230e2 chore: include rimraf as part of the build for most of the packages (#4615)
* chore: include rimraf as part of the build for most of the packages

* cleanup

* revert medusa interface

* missing script update
2023-07-31 09:23:27 +02:00
Oliver Windall Juhl
9b42387fd3 chore: Add missing deps (#4317) 2023-06-15 18:27:31 +02:00
olivermrbl
66c59d54ff chore(release): v1.8.0 2023-04-04 18:35:27 +02:00
olivermrbl
b57ea22461 chore: Enter pre-release mode and version packages 2023-03-24 10:16:11 +01:00
Oliver Windall Juhl
74bc4b16a0 feat(medusa-plugin-algolia): Revamp Algolia search plugin (#3510) 2023-03-22 12:55:26 +01:00
Riqwan Thamir
121b42acfe chore(medusa): Typeorm upgrade to 0.3.11 (#3041) 2023-02-15 16:25:30 +01:00
olivermrbl
1bfbe27b9b chore(release): Publish 2023-02-14 17:30:40 +01:00
olivermrbl
da9fb4aaa8 chore: Lint package.json 2023-02-14 17:27:43 +01:00
Adrien de Peretti
8c5219a31e chore: Update ignored files for npm (#3217) 2023-02-09 17:25:14 +01:00
olivermrbl
3b474ec35c chore(release): Publish 2023-02-08 19:35:44 +01:00
Oliver Windall Juhl
08324355a4 chore: Patch bump all dependencies + minor bumps winston (#3185) 2023-02-07 19:15:29 +01:00
olivermrbl
6481b0c357 chore(release): Publish 2023-01-18 18:48:57 +01:00
Adrien de Peretti
93d0dc1bdc fix(medusa): test, build and watch scripts (#3025) 2023-01-15 17:10:26 +01:00
Carlos R. L. Rodrigues
a94d9816fe chore: Centralise ESLint rules (#2162)
* chore: centrilize eslint rules
2022-09-13 07:42:33 -03:00
olivermrbl
384c8efb8b chore(release): Publish 2022-08-25 15:51:21 +02:00
Philip Korsholm
c97ccd3fb5 feat(medusa): Convert FulfillmentService to TypeScript (#1962) 2022-08-22 19:19:41 +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
olivermrbl
bc7c2d9c4a chore(release): Publish 2022-08-03 18:34:24 +02:00
Adrien de Peretti
b8ddb31f6f feat(medusa): Move search indexing into a separate subscriber to defer the work load (#1874)
**What**

Move the preliminary indexing action at boot time to a separate subscriber in order to defer the work load in the background and therefore to avoid increasing the load time when the number of products increase with time.

**Tests**
Add 10k products (since it is our limit, tried with 50k before getting the error limit) using 
```sal
do $$
declare
   counter integer := 0;
begin
   while counter < 10000 loop
     INSERT INTO product (id, title, description, handle, profile_id)
        (SELECT * FROM ((SELECT random(), random(), random(), random(), 'sp_01FNB9K7FXB0SZMKXD013RJYSP')) as T);
      counter := counter + 1;
   end loop;
end$$;
```
then start the server and while the server is starting, hit the search end point repeatedly 

FIXES CORE-258

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2022-07-26 12:58:28 +00:00
Zakaria El Asri
9fa4238ee4 chore: improve ci pipeline (#1764)
* fix: caching deps + add true parallelization to integration tests api

* fix: github action

* chore: upgrade to yarn berry (#1762)

* init migration

* remove: yarn.lock from all pkgs

* fix: build script in pkgs

* adjust yarn config

* fix: yarn.lock and yarnrc.yml

* fix: github actions

* fix: wrong type

* fix (medusa-react): use dts-cli instead of tsdx

* fix: yarn.lock

* fix: yarn v

* fix: prepare script

* add: comment on why we need to downgrade yarn before medusa-dev

* chore: move to Turborepo (#1763)

* increase number of parallel nodes

* fix (medusa-fulfillment-webshipper): build script

* fix: use new version of medusa-dev

* fix: rename cache-bootstrap to cache-deps
2022-07-10 12:11:11 +02:00
olivermrbl
f87c268913 chore(release): Publish
- @medusajs/medusa-cli@1.3.1
 - medusa-dev-cli@0.0.25
 - medusa-file-minio@1.0.7
 - medusa-file-s3@1.1.3
 - medusa-file-spaces@1.2.3
 - medusa-fulfillment-webshipper@1.3.3
 - medusa-interfaces@1.3.1
 - @medusajs/medusa-js@1.2.3
 - medusa-payment-paypal@1.2.3
 - medusa-payment-stripe@1.1.41
 - medusa-plugin-algolia@0.2.3
 - medusa-plugin-brightpearl@1.3.1
 - medusa-plugin-contentful@1.2.3
 - medusa-plugin-ip-lookup@1.2.1
 - medusa-plugin-mailchimp@1.1.42
 - medusa-plugin-meilisearch@0.2.3
 - medusa-plugin-sendgrid@1.3.3
 - medusa-plugin-slack-notification@1.3.3
 - medusa-plugin-twilio-sms@1.2.3
 - medusa-react@0.3.3
 - medusa-source-shopify@1.2.1
 - @medusajs/medusa@1.3.3
2022-07-05 09:51:23 +02:00
Oliver Windall Juhl
c76e23e84d fix(medusa): Remove deps mongoose + mongodb (#1218)
* fix(medusa): Remove deps mongoose, mongodb and transaction service + base model

* chore: delete permissions+add-ons legacy plugins

Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2022-07-04 09:10:32 +02:00
olivermrbl
ae5801c518 chore(release): Publish
- gatsby-source-medusa@0.1.0
 - @medusajs/medusa-cli@1.3.0
 - medusa-file-s3@1.1.0
 - medusa-file-spaces@1.2.0
 - medusa-fulfillment-webshipper@1.3.0
 - medusa-interfaces@1.3.0
 - @medusajs/medusa-js@1.2.0
 - medusa-payment-klarna@1.3.0
 - medusa-payment-paypal@1.2.0
 - medusa-plugin-add-ons@1.2.0
 - medusa-plugin-algolia@0.2.0
 - medusa-plugin-brightpearl@1.3.0
 - medusa-plugin-contentful@1.2.0
 - medusa-plugin-ip-lookup@1.2.0
 - medusa-plugin-meilisearch@0.2.0
 - medusa-plugin-segment@1.3.0
 - medusa-plugin-sendgrid@1.3.0
 - medusa-plugin-slack-notification@1.3.0
 - medusa-plugin-twilio-sms@1.2.0
 - medusa-react@0.3.0
 - medusa-source-shopify@1.2.0
 - @medusajs/medusa@1.3.0
2022-05-01 15:16:35 +02:00
Adrien de Peretti
12c06b4c9d refactor(medusa): Cleanup and fix CartService (#1306)
* refactor(medusa): Cleanup + fix

* styles(medusa): Lint

* refactor(medusa): Finalize cleanup

* feat(medusa): Prefer the usage of bulk operations instead of sequential/conccurent operations

* feat(medusa): Improve cart service

* refactor(medusa): Explicitly specifying protected methods when needed as well as enfore the usage of the local transactionManager_ in those methods

* tests(medusa): Fix tests according to the new changes

* feat(medusa): Cleanup after rebase

* test(medusa): Fix cart service tests
2022-04-13 18:35:13 +02:00
Adrien de Peretti
3f19a3c4d5 refactor(medusa-interfaces): Migrate baseService to TS + improve the service it self (#1314)
* refactor(medusa-interfaces): Migrate baseService to TS + improve the service it self

* feat(medusa,medusa-interfaces): Cleanup and move base-service to medusa core

* medusa(medusa, medusa-interfaces): Improve typings

* medusa(medusa, medusa-interfaces): buildQuery make properties optionals

* feat(medusa-interfaces): Revert temporarly the medusa-interfaces while moving the base-service to the medusa core

* feat(medusa): Improve base-service typings

* feat(medusa): Remove template that is not necessary
2022-04-13 17:42:09 +02:00
Sebastian Rindom
607a382b4e fix: ensures no duplicate tax lines when completing cart (#1262)
* fix: ensures that no duplicate tax lines are created when completing cart
2022-04-05 21:25:48 +02:00
olivermrbl
6c010c019f chore(release): Publish
- @medusajs/medusa-cli@1.2.1
 - medusa-fulfillment-webshipper@1.2.1
 - medusa-interfaces@1.2.1
 - @medusajs/medusa-js@1.1.1
 - medusa-payment-klarna@1.2.1
 - medusa-payment-paypal@1.1.1
 - medusa-plugin-algolia@0.1.1
 - medusa-plugin-brightpearl@1.2.1
 - medusa-plugin-meilisearch@0.1.1
 - medusa-plugin-segment@1.2.1
 - medusa-plugin-sendgrid@1.2.1
 - medusa-plugin-slack-notification@1.2.1
 - medusa-react@0.2.1
 - medusa-source-shopify@1.1.1
 - @medusajs/medusa@1.2.1
2022-02-28 16:57:42 +01:00
olivermrbl
806c42650c chore(release): Publish
- @medusajs/medusa-cli@1.2.0
 - medusa-fulfillment-webshipper@1.2.0
 - medusa-interfaces@1.2.0
 - @medusajs/medusa-js@1.1.0
 - medusa-payment-klarna@1.2.0
 - medusa-payment-paypal@1.1.0
 - medusa-plugin-algolia@0.1.0
 - medusa-plugin-brightpearl@1.2.0
 - medusa-plugin-meilisearch@0.1.0
 - medusa-plugin-segment@1.2.0
 - medusa-plugin-sendgrid@1.2.0
 - medusa-plugin-slack-notification@1.2.0
 - medusa-react@0.2.0
 - medusa-source-shopify@1.1.0
 - @medusajs/medusa@1.2.0
2022-02-25 18:53:50 +01:00
Sebastian Rindom
f983cfada6 fix: atomic phase error handler (#1104)
* fix: adds atomic phase clean up callback

* fix: call error handler in new transaction block too

* fix: error handler in no isolation case
2022-02-25 18:53:49 +01:00
Philip Korsholm
3b878bc5dd Feat: Create customer group (#1074)
* fix babel transform-runtime regenerator required for migrations

* add customer group model

* add migration for customer group

* add customer group model export

* add customer group repository

* add customer group service

* add CustomerGroupRepository to "withTransaction" in CustomerGroupService

* remove unnecessary argument to runtime plugin

* service export ordering

* add create customer group endpoint

* add customergroup to route index in admin

* add customer group service

* add customer groups test

* cleanup

* duplicate error handling

* ducplicate name integration test

* add jsdoc

* customergroup not customer

* pr feedback

* pipeline test

* fix weird merge

Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2022-02-25 18:53:49 +01:00
Sebastian Rindom
38762961e6 chore(release): Publish
- gatsby-source-medusa@0.0.49
 - medusa-interfaces@1.1.34
 - @medusajs/medusa-js@1.0.12
 - medusa-payment-klarna@1.1.41
 - medusa-payment-paypal@1.0.40
 - medusa-plugin-algolia@0.0.8
 - medusa-plugin-brightpearl@1.1.45
 - medusa-plugin-mailchimp@1.1.39
 - medusa-plugin-meilisearch@0.0.14
 - medusa-plugin-restock-notification@0.0.32
 - medusa-plugin-segment@1.1.42
 - medusa-react@0.1.5
 - medusa-source-shopify@1.0.5
 - @medusajs/medusa@1.1.64
2022-02-06 19:29:53 +01:00
Sebastian Rindom
fc3fbc897f fix: release 2022-02-06 19:29:31 +01:00
Sebastian Rindom
cd1f5afa5a chore(release): Publish
- gatsby-source-medusa@0.0.48
 - medusa-interfaces@1.1.33
 - @medusajs/medusa-js@1.0.11
 - medusa-payment-klarna@1.1.40
 - medusa-payment-paypal@1.0.39
 - medusa-plugin-algolia@0.0.7
 - medusa-plugin-brightpearl@1.1.44
 - medusa-plugin-mailchimp@1.1.38
 - medusa-plugin-meilisearch@0.0.13
 - medusa-plugin-restock-notification@0.0.31
 - medusa-plugin-segment@1.1.41
 - medusa-react@0.1.4
 - medusa-source-shopify@1.0.4
 - @medusajs/medusa@1.1.63
2022-02-06 19:28:19 +01:00
Philip Korsholm
7fcdac51ea Feat: object notation in queryparams (#1002)
* add object notation for queryparams

* test rule.type query params in list-discount

* pr feedback
2022-02-01 17:31:12 +01:00
Sebastian Rindom
36c0f468f9 chore(release): Publish
- babel-preset-medusa-package@1.1.19
 - @medusajs/medusa-cli@1.1.24
 - medusa-core-utils@1.1.31
 - medusa-dev-cli@0.0.24
 - medusa-file-minio@1.0.1
 - medusa-file-s3@1.0.9
 - medusa-file-spaces@1.1.34
 - medusa-fulfillment-manual@1.1.31
 - medusa-fulfillment-webshipper@1.1.35
 - medusa-interfaces@1.1.32
 - @medusajs/medusa-js@1.0.6
 - medusa-payment-adyen@1.1.36
 - medusa-payment-klarna@1.1.36
 - medusa-payment-manual@1.0.13
 - medusa-payment-paypal@1.0.35
 - medusa-payment-stripe@1.1.35
 - medusa-plugin-add-ons@1.1.34
 - medusa-plugin-algolia@0.0.6
 - medusa-plugin-brightpearl@1.1.40
 - medusa-plugin-contentful@1.1.37
 - medusa-plugin-economic@1.1.34
 - medusa-plugin-mailchimp@1.1.34
 - medusa-plugin-meilisearch@0.0.12
 - medusa-plugin-permissions@1.1.34
 - medusa-plugin-restock-notification@0.0.27
 - medusa-plugin-segment@1.1.37
 - medusa-plugin-sendgrid@1.1.35
 - medusa-plugin-slack-notification@1.1.34
 - medusa-plugin-twilio-sms@1.1.34
 - medusa-plugin-wishlist@1.1.34
 - medusa-source-shopify@1.0.0
 - medusa-telemetry@0.0.11
 - medusa-test-utils@1.1.34
 - @medusajs/medusa@1.1.58
2021-12-08 13:21:54 +01:00
Sebastian Rindom
4fcf9c1ee5 chore(release): Publish
- medusa-core-utils@1.1.30
 - medusa-file-s3@1.0.8
 - medusa-file-spaces@1.1.33
 - medusa-fulfillment-manual@1.1.30
 - medusa-fulfillment-webshipper@1.1.34
 - medusa-interfaces@1.1.31
 - @medusajs/medusa-js@1.0.5
 - medusa-payment-adyen@1.1.35
 - medusa-payment-klarna@1.1.35
 - medusa-payment-manual@1.0.12
 - medusa-payment-paypal@1.0.34
 - medusa-payment-stripe@1.1.34
 - medusa-plugin-add-ons@1.1.33
 - medusa-plugin-algolia@0.0.5
 - medusa-plugin-brightpearl@1.1.39
 - medusa-plugin-contentful@1.1.36
 - medusa-plugin-economic@1.1.33
 - medusa-plugin-mailchimp@1.1.33
 - medusa-plugin-meilisearch@0.0.11
 - medusa-plugin-permissions@1.1.33
 - medusa-plugin-restock-notification@0.0.26
 - medusa-plugin-segment@1.1.36
 - medusa-plugin-sendgrid@1.1.34
 - medusa-plugin-slack-notification@1.1.33
 - medusa-plugin-twilio-sms@1.1.33
 - medusa-plugin-wishlist@1.1.33
 - medusa-test-utils@1.1.33
 - @medusajs/medusa@1.1.57
2021-11-23 09:49:33 +01:00
olivermrbl
948f8b2593 chore: release assist 2021-11-22 17:18:27 +01:00
Oliver Juhl
7770046479 chore(release): Publish
- medusa-core-utils@1.1.29
 - medusa-file-s3@1.0.7
 - medusa-file-spaces@1.1.32
 - medusa-fulfillment-manual@1.1.29
 - medusa-fulfillment-webshipper@1.1.33
 - medusa-interfaces@1.1.30
 - @medusajs/medusa-js@1.0.4
 - medusa-payment-adyen@1.1.34
 - medusa-payment-klarna@1.1.34
 - medusa-payment-manual@1.0.11
 - medusa-payment-paypal@1.0.33
 - medusa-payment-stripe@1.1.33
 - medusa-plugin-add-ons@1.1.32
 - medusa-plugin-algolia@0.0.4
 - medusa-plugin-brightpearl@1.1.38
 - medusa-plugin-contentful@1.1.35
 - medusa-plugin-economic@1.1.32
 - medusa-plugin-mailchimp@1.1.32
 - medusa-plugin-meilisearch@0.0.10
 - medusa-plugin-permissions@1.1.32
 - medusa-plugin-restock-notification@0.0.25
 - medusa-plugin-segment@1.1.35
 - medusa-plugin-sendgrid@1.1.33
 - medusa-plugin-slack-notification@1.1.32
 - medusa-plugin-twilio-sms@1.1.32
 - medusa-plugin-wishlist@1.1.32
 - medusa-test-utils@1.1.32
 - @medusajs/medusa@1.1.56
2021-11-22 17:10:54 +01:00
Sebastian Rindom
322466bc99 chore(release): Publish
- medusa-core-utils@1.1.28
 - medusa-file-s3@1.0.6
 - medusa-file-spaces@1.1.31
 - medusa-fulfillment-manual@1.1.28
 - medusa-fulfillment-webshipper@1.1.32
 - medusa-interfaces@1.1.29
 - @medusajs/medusa-js@1.0.2
 - medusa-payment-adyen@1.1.33
 - medusa-payment-klarna@1.1.33
 - medusa-payment-manual@1.0.10
 - medusa-payment-paypal@1.0.32
 - medusa-payment-stripe@1.1.32
 - medusa-plugin-add-ons@1.1.31
 - medusa-plugin-algolia@0.0.3
 - medusa-plugin-brightpearl@1.1.37
 - medusa-plugin-contentful@1.1.34
 - medusa-plugin-economic@1.1.31
 - medusa-plugin-mailchimp@1.1.31
 - medusa-plugin-meilisearch@0.0.9
 - medusa-plugin-permissions@1.1.31
 - medusa-plugin-restock-notification@0.0.24
 - medusa-plugin-segment@1.1.34
 - medusa-plugin-sendgrid@1.1.32
 - medusa-plugin-slack-notification@1.1.31
 - medusa-plugin-twilio-sms@1.1.31
 - medusa-plugin-wishlist@1.1.31
 - medusa-test-utils@1.1.31
 - @medusajs/medusa@1.1.54
2021-11-19 10:30:35 +01:00
Sebastian Rindom
aa460f6359 chore: release assist 2021-11-19 10:29:02 +01:00
Sebastian Rindom
a69b1e85be chore(release): Publish
- medusa-core-utils@1.1.27
 - medusa-file-s3@1.0.5
 - medusa-file-spaces@1.1.30
 - medusa-fulfillment-manual@1.1.27
 - medusa-fulfillment-webshipper@1.1.31
 - medusa-interfaces@1.1.28
 - @medusajs/medusa-js@1.0.1
 - medusa-payment-adyen@1.1.32
 - medusa-payment-klarna@1.1.32
 - medusa-payment-manual@1.0.9
 - medusa-payment-paypal@1.0.31
 - medusa-payment-stripe@1.1.31
 - medusa-plugin-add-ons@1.1.30
 - medusa-plugin-algolia@0.0.2
 - medusa-plugin-brightpearl@1.1.36
 - medusa-plugin-contentful@1.1.33
 - medusa-plugin-economic@1.1.30
 - medusa-plugin-mailchimp@1.1.30
 - medusa-plugin-meilisearch@0.0.8
 - medusa-plugin-permissions@1.1.30
 - medusa-plugin-restock-notification@0.0.23
 - medusa-plugin-segment@1.1.33
 - medusa-plugin-sendgrid@1.1.31
 - medusa-plugin-slack-notification@1.1.30
 - medusa-plugin-twilio-sms@1.1.30
 - medusa-plugin-wishlist@1.1.30
 - medusa-test-utils@1.1.30
 - @medusajs/medusa@1.1.53
2021-11-19 10:26:29 +01:00
Oliver Windall Juhl
373532ecbc feat: Typescript for API layer (#817)
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
Co-authored-by: Zakaria El Asri <33696020+zakariaelas@users.noreply.github.com>
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com>
Co-authored-by: Sebastian Rindom <seb@medusa-commerce.com>
2021-11-18 15:19:17 +01:00
Oliver Windall Juhl
1e50aee4fe feat: Allow retrieval of soft-deleted products (#723) 2021-11-10 22:23:56 +01:00
Oliver Windall Juhl
6f4e128944 hotfix: Search service interfaces should import base from folder (#766) 2021-11-10 21:57:13 +01:00
Sebastian Rindom
528fc3a933 chore(release): Publish
- babel-preset-medusa-package@1.1.17
 - create-medusa-app@0.0.5
 - @medusajs/medusa-cli@1.1.22
 - medusa-core-utils@1.1.26
 - medusa-dev-cli@0.0.22
 - medusa-file-s3@1.0.4
 - medusa-file-spaces@1.1.29
 - medusa-fulfillment-manual@1.1.26
 - medusa-fulfillment-webshipper@1.1.30
 - medusa-interfaces@1.1.27
 - medusa-payment-adyen@1.1.31
 - medusa-payment-klarna@1.1.31
 - medusa-payment-manual@1.0.8
 - medusa-payment-paypal@1.0.30
 - medusa-payment-stripe@1.1.30
 - medusa-plugin-add-ons@1.1.29
 - medusa-plugin-brightpearl@1.1.34
 - medusa-plugin-contentful@1.1.31
 - medusa-plugin-discount-generator@1.1.19
 - medusa-plugin-economic@1.1.29
 - medusa-plugin-ip-lookup@1.1.19
 - medusa-plugin-mailchimp@1.1.29
 - medusa-plugin-meilisearch@0.0.5
 - medusa-plugin-permissions@1.1.29
 - medusa-plugin-restock-notification@0.0.22
 - medusa-plugin-segment@1.1.32
 - medusa-plugin-sendgrid@1.1.30
 - medusa-plugin-slack-notification@1.1.29
 - medusa-plugin-twilio-sms@1.1.29
 - medusa-plugin-wishlist@1.1.29
 - medusa-telemetry@0.0.9
 - medusa-test-utils@1.1.29
 - @medusajs/medusa@1.1.45
2021-10-18 17:55:22 +02:00