Commit Graph

3754 Commits

Author SHA1 Message Date
olivermrbl
f2c854fc0d chore(medusa): Replace workspace version 2023-08-07 13:02:53 +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
Lacey Pevey
03fb0479c0 feat(medusa): Allow logging to file (#4696)
* enable additional log transport to file if FILE_NAME env var is set

* change var declaration to const

* Create chilly-geckos-look.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-06 15:14:49 +02:00
Adrien de Peretti
dc46927bc6 feat(medusa, types, utils, workflow): Migrate medusa workflow to the workflow package (#4682) 2023-08-05 16:03:45 +02:00
Shahed Nasser
433914ae01 docs: revamp plugin documentation pages (#4694)
* docs: revamp plugin documentation pages

* fix eslint errors

* change order of scripts
2023-08-04 17:26:39 +03:00
Riqwan Thamir
1260b1a806 chore: fix module test (#4693) 2023-08-04 14:38:07 +02:00
Riqwan Thamir
8af55aed87 feat(product, types, modules-sdk): added event bus events for products (#4654)
what:

- adds an eventbus dependency to product module.
- emits events on product, category and collection CUD

RESOLVES CORE-1450
2023-08-04 09:26:02 +00:00
Adrien de Peretti
43f34866c8 feat(workflows): Improve typings (#4689)
Just improve some typings for simpler usage
2023-08-04 08:11:44 +00:00
Adrien de Peretti
ce3326c5fb feat(prduct, utils, types): Create soft delete pattern for link module (#4649)
* feat(prouct, utils, types): Create soft delete pattern for link module

* add comment

* add comment

* finalise

* remove linkable keys

* cleanup and tests

* cleanup

* add some comments and renaming

* re work

* fix tests

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2023-08-02 19:29:01 +02:00
zhangpengchen
fc6c9df035 fix(medusa): Assign metadata when creating a draft order or creating a line item (#4662)
When creating a draft order or creating a line item via Postman, filled metadata is not saved, metadata remains null in the API response

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-02 16:02:29 +00:00
Lacey Pevey
9c682ce288 chore(medusa): Update request-ip dependency version (#4636)
This updates the request-ip package dependency in @medusajs/medusa.

This resolves the critical security warnings seen when creating a new medusa backend OTHER THAN medusa-admin related issues.  Because the admin is undergoing an extensive rewrite, I didn't address the older version of node-fetch that is at the root of those issues.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-02 15:29:12 +00:00
Adrien de Peretti
8b67c676fa feat(workflow): Add pipe tests (#4675)
* feat(workflow): Add pipe tests

* improve tests
2023-08-02 16:46:30 +02:00
Shahed Nasser
738eac63aa docs: fixes to medusa-react (#4672)
* docs: fixes to medusa-react

* fixes to admin customization pages

* fix eslint errors

* added routes and settings props

* fixes to settings page

* small fix for settings
2023-08-02 15:27:32 +03:00
Adrien de Peretti
e78c47b66f fix(workflows): Workflow types (#4673)
* fix(workflow): types and handlers

* add middleware pipe example

* Create nine-gorillas-collect.md
2023-08-02 13:50:06 +02:00
zhangpengchen
dae34297eb feat(medusa): Expose some commonly used utils (#4630)
* feat(medusa): Expose some commonly used utils

* Create chilled-lions-raise.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-08-02 13:48:56 +02: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
Adrien de Peretti
4b80ba8a35 fix(product, integration-tests): Fix integration tests (#4674)
* fix(product, integration-tests): Fix integration tests

* improve test

* Create dirty-eagles-shop.md
2023-08-02 13:44:53 +02:00
Minh Tu Ngo
7f1421c218 docs: fixes env variable name in next.js docs (#4665)
the SEARCH_INDEX_NAME variable should equal to  process.env.NEXT_PUBLIC_SEARCH_API_KEY  (as in the .env file) instead of NEXT_PUBLIC_INDEX_NAME.

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-02 11:47:59 +03:00
Shahed Nasser
84fe2a3837 docs: add missing code in create entity doc (#4669) 2023-08-02 10:45:04 +03:00
github-actions[bot]
82ceea7000 chore(docs): Removed Docs Announcement Bar (automated) (#4667)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-08-02 10:12:42 +03:00
Shahed Nasser
c90191eb7e docs: revamped endpoints, services, and entities (#4660)
* revamp create endpoint docs

* docs: revamped endpoints, services, and entities

* eslint fixes

* fix metadata

* fix missing closing tag

* fixes to create migration doc

* fixes to create endpoint doc

* small fix in create service doc
2023-08-01 19:36:56 +03:00
Shahed Nasser
6c885ac2d6 docs: fixes to create entity docs (#4657) 2023-08-01 13:50:23 +03:00
Shahed Nasser
18ba749695 docs: fixes to create migrations guide (#4656) 2023-08-01 12:59:06 +03:00
Specture X
1d70b46bb9 docs: fix create fulfillment parameter descriptions (#4653)
Co-authored-by: daniel99k <dk99@divcodes.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-08-01 12:15:15 +03:00
Shahed Nasser
554af1abf3 docs: fix configurations link in backend install (#4634) 2023-08-01 11:11:22 +03:00
Shahed Nasser
2e42141822 docs: shorten npx commands (#4652) 2023-08-01 10:50:19 +03:00
Shahed Nasser
26a606a1bb docs: fixes to create endpoint documentation (#4650) 2023-08-01 10:14:59 +03:00
Shahed Nasser
d4e7f679cc docs: fixes to entities overview page (#4651) 2023-07-31 19:42:57 +03:00
Shahed Nasser
c0cf786e48 docs: improvements to storefront roadmap (#4648) 2023-07-31 19:18:05 +03:00
Shahed Nasser
14fe1f1f69 docs: fixes to implement cart docs (#4645) 2023-07-31 17:30:58 +03:00
Shahed Nasser
da903fd798 docs: fixes to implement checkout (#4646) 2023-07-31 16:27:34 +03:00
Shahed Nasser
483bf2e544 docs: added admin setting page documentation (#4641)
* docs: added admin setting page documentation

* add link from routes to settings page
2023-07-31 15:09:19 +03:00
Shahed Nasser
c2f4ad8378 docs: remove unnecessary typing (#4642) 2023-07-31 14:52:40 +03:00
Adrien de Peretti
4073b73130 feat(product): Move mikro orm utils to the utils package (#4631)
Move utils to the utils package as much as possible

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-07-31 11:30:43 +00:00
Shahed Nasser
648eb106d6 docs: added a note in create-medusa-app (#4640)
* docs: added a note in create-medusa-app

Added a note in `create-medusa-app` guide linking to the backend quickstart as the recommended solution for an installation with more configurations.

* move stable option note
2023-07-31 12:54:37 +03:00
Shahed Nasser
8321925404 docs: added troubleshooting section for medusa-react (#4639) 2023-07-31 12:30:13 +03:00
Shahed Nasser
90dea3bfcf docs: add a link to loaders guide (#4638) 2023-07-31 11:22:24 +03: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
Shahed Nasser
c8ef0c6d25 docs: added details about the stable option (#4632)
* docs: added details about the stable option

* fix link
2023-07-28 17:55:23 +03:00
Shahed Nasser
5d71a8d26f docs: added general troubleshooting error (#4625) 2023-07-28 11:42:06 +03:00
Shahed Nasser
75f2f9ad62 chore(oas): fix tag names (#4622) 2023-07-28 10:41:47 +03:00
Shahed Nasser
723f2677da docs: improved configurations documentation (#4619)
* docs: improved configurations documentation

* fix feature-flag link

* removed required section
2023-07-28 10:21:54 +03:00
Oli Juhl
6e4d160251 docs: Upgrade guide for 1.13.0 (#4614) 2023-07-27 15:52:24 +00:00
olivermrbl
375447155d chore: Release 2023-07-27 17:17:24 +02:00
github-actions[bot]
0885e13aa6 chore: Version Packages (#4624)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 17:13:39 +02:00
olivermrbl
ce3f914e01 chore: Add changeset minor bumping 2023-07-27 17:03:46 +02:00
Riqwan Thamir
107ae23a3f fix(utils, types, medusa-plugin-meilisearch, medusa-plugin-algolia): move SoftDeletableFilterKey, variantKeys, indexTypes from types to utils (#4623)
* chore: move SoftDeletableKey from types to utils

* chore: move variantkeys, indextypes
2023-07-27 16:42:26 +02:00
github-actions[bot]
c85d479e52 chore(docs): Generated Docs Announcement Bar (automated) (#4616)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-07-27 14:58:04 +03:00
olivermrbl
7d3630f366 chore: Release 2023-07-27 13:24:35 +02:00
github-actions[bot]
5a569c4a20 chore: Version Packages (#4591)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 13:19:14 +02:00