Files
medusa-store/packages/medusa/CHANGELOG.md
github-actions[bot] 16851c557d chore: Version Packages (#6241)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-08 16:23:19 +01:00

334 KiB

Change Log

1.20.2

Patch Changes

1.20.1

Patch Changes

1.20.0

Minor Changes

1.19.1

Patch Changes

1.19.0

Minor Changes

Patch Changes

1.18.1

Patch Changes

1.18.0

Minor Changes

Patch Changes

1.17.4

Patch Changes

  • #5594 4ad66c179 Thanks @adrien2p! - fix(medusa): Load legacy modules entities

  • #5582 91615f9c4 Thanks @shahednasser! - fix(@medusajs/client-types): Fix types and TSDocs fix(medusa-react): Fix response type of Publishable API Key's list sales channels. fix(@medusajs/medusa-js): Fix incorrect parameter and response types. fix(@medusajs/medusa): Fix incorrect types and add TSDocs fix(@medusajs/types): Fix incorrect types and add TSDocs

  • #5510 203e1fccb Thanks @adamlamaa! - feat(medusa): Include Product Collections in Seed command

  • #5496 154c9b43b Thanks @adrien2p! - feat(medusa, modules-sdk, types, utils): Re work modules loading and remove legacy functions

  • #5543 f90ba0208 Thanks @adrien2p! - feat(utils): Introduce promiseAll util

  • Updated dependencies [c39bf69a5, 154c9b43b]:

1.17.3

Patch Changes

1.17.2

Patch Changes

1.17.1

Patch Changes

1.17.0

Minor Changes

Patch Changes

1.16.1

Patch Changes

1.16.0

Minor Changes

Patch Changes

1.15.1

Patch Changes

1.15.0

Minor Changes

Patch Changes

  • #4771 edf9ed4e5 Thanks @fPolic! - fix(medusa-interfaces, medusa-file-*): add ìsPrivate flag to the streaming methods, fix minio default bucket

  • #4842 8b860416d Thanks @fPolic! - feat(medusa): PriceListImportStrategy descriptive error handling

  • Updated dependencies [c58588904]:

    • medusa-telemetry@0.0.17
    • @medusajs/medusa-cli@1.3.20

1.14.0

Minor Changes

Patch Changes

  • #4710 d1e298f5d Thanks @olivermrbl! - chore: Remove FlagRouter from core

  • #4716 ac866ebb5 Thanks @adrien2p! - test(): Test the create product workflow compensation fix(orchestration): Fix the transaction state after compensating with no compensation steps in the middle chore(workflows): Export and naming feat(types): Update product workflow input types feat(medusa): Update product workflow usage and cleanup endpoint

  • #4725 d8a908bd8 Thanks @SimonsThijs! - fix(medusa): removal of shipping methods on addOrUpdateLineItems

  • #4626 3f3a84262 Thanks @adrien2p! - [WIP] feat(types, product, utils, medusa): Include shared connection for modules

  • #4761 f1a05f472 Thanks @kasperkristensen! - feat(admin, admin-ui, medusa, medusa-js, medusa-react, stripe-plugin): Support admin extensions

  • #4715 a2d7540e4 Thanks @olivermrbl! - fix(medusa): Remove shipping on updates to cart.items

  • #4751 9d8f87b03 Thanks @srindom! - fix: ignore region_id update w/o value change

  • #4685 281b0746c Thanks @riqwan! - feat(medusa,workflows,types) Create cart workflow

  • Updated dependencies [8ae31aff4, ac866ebb5, 3f3a84262, 30ce35b16, 281b0746c, c0ca00290]:

    • @medusajs/workflows@0.2.0
    • @medusajs/orchestration@0.2.0
    • @medusajs/modules-sdk@1.9.2
    • @medusajs/utils@1.9.6
    • @medusajs/medusa-cli@1.3.19

1.13.1

Patch Changes

1.13.0

Minor Changes

Patch Changes

1.12.3

Patch Changes

1.12.2

Patch Changes

1.12.1

Patch Changes

1.12.0

Minor Changes

Patch Changes

1.11.0

Minor Changes

Patch Changes

1.10.1

Patch Changes

  • #4018 3d6bcaaf6 Thanks @patpich! - fix(medusa): ShippingOptionService.list method param type

  • #3971 7fd22ecb4 Thanks @pKorsholm! - Feat(client-types, inventory, medusa, types): add title, thumbnail and description to inventory item and description` to reservation item.

  • #4023 bd53adb23 Thanks @dwene! - fix(variant-update): hasChanges function incorrectly calculates if there are changes

  • #4032 1ea57c3a6 Thanks @pevey! - update class-validator to 0.14.0 in utils package

  • #3967 0c58ead6d Thanks @fPolic! - fix(medusa): validate customer_id when completing a cart

  • #4025 cff54d732 Thanks @adrien2p! - fix(medusa-payment-stripe): Catch on idempotency key retrieve if not found

  • #3842 a8e73942e Thanks @fPolic! - feat(medusa): handle product categories in import/export strategies

  • #4008 ff37cd190 Thanks @patpich! - fix(search): add missing default product relations

  • Updated dependencies [7fd22ecb4, 1ea57c3a6]:

    • @medusajs/types@1.8.5
    • @medusajs/utils@1.8.4
    • @medusajs/modules-sdk@1.8.5
    • @medusajs/medusa-cli@1.3.13

1.10.0

Minor Changes

Patch Changes

1.9.0

Minor Changes

  • #3835 af710f1b4 Thanks @adrien2p! - fix(medusa): Bulk create variant and pass transaction to the inventory service context methods

Patch Changes

1.8.2

Patch Changes

1.8.1

Patch Changes

1.8.0

Minor Changes

Patch Changes

  • #3350 d6b1ad1cc Thanks @adrien2p! - Chores(medusa): draft order create improvement perf (first step)

  • #3345 e143a8697 Thanks @adrien2p! - fix(medusa): Plugin repository loader to work with Typeorm update

  • #3374 84e448968 Thanks @adrien2p! - chore(medusa): Little improvement in draft order creation

  • #3362 33c6ccf05 Thanks @adrien2p! - fix(medeusa): Transform query includes options should only be added to allowed props if there is already at least one allowed props

  • #3676 788ddc0f4 Thanks @kasperkristensen! - fix(admin-ui, medusa-react, medusa): Minor fixes to GC domain in admin UI. Also fixes GC update payload type in medusa-react and medusa.

  • #3462 30a320364 Thanks @pKorsholm! - fix(medusa): Include location_id in fulfillment body

  • #3391 240d0ea7b Thanks @patrick-medusajs! - fix(ci,oas) move oas ci script to a package under the oas workspace

  • #3087 6c0462472 Thanks @fPolic! - chore(feature-flag): Remove PublishableAPIKeys feature flag

  • #3414 530740889 Thanks @adrien2p! - feat(medusa-payment-paypal): Migrate to the new payment processor API

  • #3483 13f40d721 Thanks @patrick-medusajs! - feat(oas): declare x-expanded-relations - Admin

  • #3644 4342ac884 Thanks @kasperkristensen! - feat(admin-ui): Adds metadata forms to all applicable domains in the UI. fix(medusa): Fixes an issue where metadata was not being set for order addresses using setMetadata.

  • #3435 fe9eea4c1 Thanks @pKorsholm! - Add create-inventory-item endpoint

  • #3670 a5ad6c054 Thanks @pKorsholm! - Fix(admin-ui,medusa): Ensure stock locations are created with a name

  • #3665 748833383 Thanks @pKorsholm! - fix(medusa): draft order adjustments for mw

  • #3686 7f87c4f2c Thanks @pKorsholm! - fix(medusa-react): Query key invalidation

  • #3705 e5a2e9c8d Thanks @adrien2p! - fix(medusa): circular loading

  • #3328 0a02b70e5 Thanks @pKorsholm! - Register reservation endpoints + Fix a type issue for get variant inventory

  • #3685 8ddb3952c Thanks @olivermrbl! - chore: Fix RC package versions

  • #3495 fe4b8feb7 Thanks @davorbacic! - feat(medusa): Add event emitter to ProductCollectionService

  • #3352 aa690beed Thanks @carlos-r-l-rodrigues! - feat(medusa): Modules initializer

    Loading modules in a project

    Example

    import {
      InventoryServiceInitializeOptions,
      initialize,
    } from "@medusajs/inventory"
    
    const options: InventoryServiceInitializeOptions = {
      database: {
        type: "postgres",
        url: DB_URL,
      },
    }
    
    const inventoryService = await initialize(options)
    const newInventoryItem = await inventoryService.createInventoryItem({
      sku: "sku_123",
    })
    
  • #3349 f033711ad Thanks @adrien2p! - feat(medusa): Add Lifetime support on project/plugin services

  • #3660 eed784d7d Thanks @pKorsholm! - fix(admin-ui, medusa): resolve bugs for orders with variants without inventory items

  • #3555 3171b0e51 Thanks @pKorsholm! - fix(medusa): if no headerkey is provided when initilizing idempotency key, no attempt is made at fetching the key

  • #3688 a0c919a8d Thanks @olivermrbl! - chore(medusa-cli): Add missing utils dep

  • #3482 522e306e2 Thanks @patrick-medusajs! - feat(oas): declare x-expanded-relations - Store

  • #3419 80b95a230 Thanks @pKorsholm! - fix(medusa): Resolve on scope instead of req

  • #3324 a1e59313c Thanks @pKorsholm! - Add filtering of stock locations based on sales channels

  • #3460 10bf05c14 Thanks @pKorsholm! - Fix(inventory, medusa): ensure no orphaned reservations and invenotry levels on location removal

  • #3323 cbbf3ca05 Thanks @adrien2p! - fix(medusa): Clean response data usage for admin and store fields/expand

  • #3436 9ba09ba4d Thanks @riqwan! - feat(medusa, medusa-js, medusa-react): Add store queries to react medusa

  • #3110 12d304307 Thanks @StephixOne! - feat(medusa,medusa-js,medusa-react): Add inventory module endpoints

  • #3622 693015fde Thanks @olivermrbl! - chore(medusa): EOL causing logging to hang

  • #3314 287c829c9 Thanks @patrick-medusajs! - feat(oas): include /admin and /store in paths URLs

  • #3510 74bc4b16a Thanks @olivermrbl! - feat(medusa-plugin-algolia): Revamp Algolia search plugin

  • #3684 0cca13779 Thanks @pKorsholm! - fix(medusa): inventory stocked quantity regulation

  • #3514 aed7805c0 Thanks @pKorsholm! - fix(medusa): Error messages for reset tokens

  • #3498 0d1b63d77 Thanks @pKorsholm! - fix(medusa): use get instead of indexing into map

  • #3423 4042beb10 Thanks @patrick-medusajs! - feat(oas): add @schema OAS for address request payloads

  • #3653 809ab2e0e Thanks @olivermrbl! - fix(medusa): Rounding issues on line item adjustments

  • #2978 f43e9f0f2 Thanks @adrien2p! - feat(medusa): Load PaymentProcessors

    • Add loading of PaymentProcessors
    • Add PaymentProcessor support in the payment-provider
    • Add backward compatibility for the PaymentService
  • #3344 842423679 Thanks @pKorsholm! - Update types to reflect actual return-type

  • #3312 935870e01 Thanks @patrick-medusajs! - fix(oas): add missing x-codegen + fix schema naming and $ref

  • #3403 57d7728dd Thanks @StephixOne! - feat(medusa): add get-variant endpoint

  • #3395 15f47baf5 Thanks @pKorsholm! - fix(admin-ui, medusa): Minor ui fixes relating to stock locations

  • #3624 999aeb116 Thanks @pKorsholm! - fix(medusa): Fix hanging inventory item migration script

  • #3522 55c5fba0d Thanks @pKorsholm! - feat(medusa,admin): location_ids in swap and claim creation

  • #3282 38503fff5 Thanks @patrick-medusajs! - feat(oas): identify required fields in responses - store

  • #3334 40de54b01 Thanks @kasperkristensen! - feat(medusa,admin,admin-ui): Add new plugin to serve the admin dashboard from the server. Adds a new plugin injection step setup, code placed in the setup folder of a plugin will be run before any code from a plugin is injected into the Medusa server.

  • #3416 478d1af8d Thanks @riqwan! - feat(medusa, admin-ui, medusa-react): Improvements to product categories

    • Adds name as required in category create form
    • Adds name and handle as required in category edit form
    • Updates message on create/update forms
    • Adds category indicators for is_internal and is_active fields in the tree list
    • Fixes bug where tree is not reset when update fails
    • allow appending all category descendants with a param in list endpoint
    • fix rank order changing on category update
    • invalidate products query on category delete
    • adds category ui for tree/list, edit, create, delete
    • add product category queries and mutations
    • category list API can return all descendant
    • added breadcrumbs for categories on create/edit modal
    • add empty state for product categories
    • increase tree depth + scope categories on store + allow categories relation in products API
    • categories can be ranked based on position
    • seed command can create product categories
    • hide categories in products behind feature flag
    • fixes bug for mpath incorrectly updated for nested categories
  • #3478 6748877c6 Thanks @patrick-medusajs! - fix(oas,js,react): use AdminExtendedStoresRes instead of AdminStoresRes

  • #3377 7e17e0ddc Thanks @olivermrbl! - feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin

    What

    • Bumps meilisearch dep to latest major
    • Migrates plugin to TypeScript
    • Changes the way indexes are configured in medusa-config.js:

    Before

    {
        resolve: `medusa-plugin-meilisearch`,
        options: {
          config: { host: "...", apiKey: "..." },
          settings: {
            products: {
              searchableAttributes: ["title"],
              displayedAttributes: ["title"],
            },
          },
        },
      },
    

    After

    {
        resolve: `medusa-plugin-meilisearch`,
        options: {
          config: { host: "...", apiKey: "..." },
          settings: {
            products: {
              **indexSettings**: {
                searchableAttributes: ["title"],
                displayedAttributes: ["title"],
              },
            },
          },
        },
      },
    

    This is done to allow for additional configuration of indexes, that are not necessarily passed on query-time.

    We introduce two new settings:

    settings: {
      products: {
        indexSettings: {
          searchableAttributes: ["title"],
          displayedAttributes: ["title"],,
        },
        primaryKey: "id"
        transformer: (document) => ({ id: "yo" })
      },
    },
    

    Meilisearch changed their primary key inference in the major release. Now we must be explicit when multiple properties end with id. Read more in their docs.

    The transformer allows developers to specify how their documents are stored in Meilisearch. It is configurable for each index.

  • #3605 bca1f80dd Thanks @carlos-r-l-rodrigues! - Improved error message if default module is not installed

  • #3534 7f2223b65 Thanks @riqwan! - fix(medusa): fix bug with parent not being saved correctly

  • #3288 7d585f5f8 Thanks @patrick-medusajs! - fix(oas): fix paths and fix schema names to match convention

  • #3531 4e9d257d3 Thanks @carlos-r-l-rodrigues! - Remove dependency on @medusajs/medusa from Inventory and Stock-Location Modules

  • #3541 feaf8d2e1 Thanks @pKorsholm! - fix(medusa, admin-ui): refine create-fulfillment flow

  • #3451 55a1f232a Thanks @pKorsholm! - feat(medusa,admin-ui): support location_id in

  • #3411 966aea65c Thanks @patrick-medusajs! - feat(oas-cli): combine admin + store + custom OAS

  • #3278 48ad2426a Thanks @patrick-medusajs! - feat(oas): identify required fields in responses - admin feat(medusa): Update transaction base service to expose an activeManager_ getter feat(admin-ui): move customs and shipping into manage inventory modal Feat(medusa): fulfill swaps and claims with locations fix(medusa): Issue when ordering with multiple columns fix(medusa): Category seeding result in non null constraint error fix(medusa): Account for multiple inventory items when getting inventory feat(oas): pluralize OAS tags feat(medusa): Improve store list products feat(admin-ui): add errors and block receiving returns dependent on existing inventory item levels feat(medusa): invalidate price selection caching within update request feat(medusa): remove soft delete from categories + adds indexes for categories

  • Updated dependencies [121b42acf, 8ddb3952c, aa690beed, a0c919a8d, cd54c7dca, 55e94d0b4, 74bc4b16a, 54dcc1871, bd12a9508, 77d46220c, bca1f80dd, 271844aed, 4e9d257d3]:

    • medusa-core-utils@1.2.0
    • medusa-interfaces@1.3.7
    • medusa-test-utils@1.1.40
    • @medusajs/modules-sdk@1.8.0
    • @medusajs/types@1.8.0
    • @medusajs/utils@1.8.0
    • @medusajs/medusa-cli@1.3.9

1.8.0-rc.8

Patch Changes

1.8.0-rc.7

Patch Changes

1.8.0-rc.6

Patch Changes

1.8.0-rc.5

Patch Changes

  • #3644 4342ac884 Thanks @kasperkristensen! - feat(admin-ui): Adds metadata forms to all applicable domains in the UI. fix(medusa): Fixes an issue where metadata was not being set for order addresses using setMetadata.

  • #3653 809ab2e0e Thanks @olivermrbl! - fix(medusa): Rounding issues on line item adjustments

1.8.0-rc.4

Minor Changes

Patch Changes

1.8.0-rc.3

Minor Changes

Patch Changes

1.8.0-rc.2

Patch Changes

  • chore: Fix RC package versions

  • Updated dependencies []:

    • @medusajs/modules-sdk@0.1.0-rc.2
    • @medusajs/types@0.0.2-rc.1
    • @medusajs/utils@0.0.2-rc.1

1.8.0-rc.1

Minor Changes

  • #3586 e359d3f85 Thanks @pKorsholm! - Fix(medusa): include quantities when listing admin products with an inventory module installed

Patch Changes

1.8.0-rc.0

Minor Changes

Patch Changes

  • #3350 d6b1ad1cc Thanks @adrien2p! - Chores(medusa): draft order create improvement perf (first step)

  • #3345 e143a8697 Thanks @adrien2p! - fix(medusa): Plugin repository loader to work with Typeorm update

  • #3374 84e448968 Thanks @adrien2p! - chore(medusa): Little improvement in draft order creation

  • #3362 33c6ccf05 Thanks @adrien2p! - fix(medeusa): Transform query includes options should only be added to allowed props if there is already at least one allowed props

  • #3462 30a320364 Thanks @pKorsholm! - fix(medusa): Include location_id in fulfillment body

  • #3391 240d0ea7b Thanks @patrick-medusajs! - fix(ci,oas) move oas ci script to a package under the oas workspace

  • #3087 6c0462472 Thanks @fPolic! - chore(feature-flag): Remove PublishableAPIKeys feature flag

  • #3483 13f40d721 Thanks @patrick-medusajs! - feat(oas): declare x-expanded-relations - Admin

  • #3435 fe9eea4c1 Thanks @pKorsholm! - Add create-inventory-item endpoint

  • #3328 0a02b70e5 Thanks @pKorsholm! - Register reservation endpoints + Fix a type issue for get variant inventory

  • #3495 fe4b8feb7 Thanks @davorbacic! - feat(medusa): Add event emitter to ProductCollectionService

  • #3352 aa690beed Thanks @carlos-r-l-rodrigues! - feat(medusa): Modules initializer

    Loading modules in a project

    Example

    import {
      InventoryServiceInitializeOptions,
      initialize,
    } from "@medusajs/inventory"
    
    const options: InventoryServiceInitializeOptions = {
      database: {
        type: "postgres",
        url: DB_URL,
      },
    }
    
    const inventoryService = await initialize(options)
    const newInventoryItem = await inventoryService.createInventoryItem({
      sku: "sku_123",
    })
    
  • #3349 f033711ad Thanks @adrien2p! - feat(medusa): Add Lifetime support on project/plugin services

  • #3555 3171b0e51 Thanks @pKorsholm! - fix(medusa): if no headerkey is provided when initilizing idempotency key, no attempt is made at fetching the key

  • #3482 522e306e2 Thanks @patrick-medusajs! - feat(oas): declare x-expanded-relations - Store

  • #3419 80b95a230 Thanks @pKorsholm! - fix(medusa): Resolve on scope instead of req

  • #3324 a1e59313c Thanks @pKorsholm! - Add filtering of stock locations based on sales channels

  • #3460 10bf05c14 Thanks @pKorsholm! - Fix(inventory, medusa): ensure no orphaned reservations and invenotry levels on location removal

  • #3323 cbbf3ca05 Thanks @adrien2p! - fix(medusa): Clean response data usage for admin and store fields/expand

  • #3436 9ba09ba4d Thanks @riqwan! - feat(medusa, medusa-js, medusa-react): Add store queries to react medusa

  • #3110 12d304307 Thanks @StephixOne! - feat(medusa,medusa-js,medusa-react): Add inventory module endpoints

  • #3314 287c829c9 Thanks @patrick-medusajs! - feat(oas): include /admin and /store in paths URLs

  • #3510 74bc4b16a Thanks @olivermrbl! - feat(medusa-plugin-algolia): Revamp Algolia search plugin

  • #3514 aed7805c0 Thanks @pKorsholm! - fix(medusa): Error messages for reset tokens

  • #3498 0d1b63d77 Thanks @pKorsholm! - fix(medusa): use get instead of indexing into map

  • #3423 4042beb10 Thanks @patrick-medusajs! - feat(oas): add @schema OAS for address request payloads

  • #2978 f43e9f0f2 Thanks @adrien2p! - feat(medusa): Load PaymentProcessors

    • Add loading of PaymentProcessors
    • Add PaymentProcessor support in the payment-provider
    • Add backward compatibility for the PaymentService
  • #3344 842423679 Thanks @pKorsholm! - Update types to reflect actual return-type

  • #3312 935870e01 Thanks @patrick-medusajs! - fix(oas): add missing x-codegen + fix schema naming and $ref

  • #3403 57d7728dd Thanks @StephixOne! - feat(medusa): add get-variant endpoint

  • #3395 15f47baf5 Thanks @pKorsholm! - fix(admin-ui, medusa): Minor ui fixes relating to stock locations

  • #3522 55c5fba0d Thanks @pKorsholm! - feat(medusa,admin): location_ids in swap and claim creation

  • #3282 38503fff5 Thanks @patrick-medusajs! - feat(oas): identify required fields in responses - store

  • #3334 40de54b01 Thanks @kasperkristensen! - feat(medusa,admin,admin-ui): Add new plugin to serve the admin dashboard from the server. Adds a new plugin injection step setup, code placed in the setup folder of a plugin will be run before any code from a plugin is injected into the Medusa server.

  • #3416 478d1af8d Thanks @riqwan! - feat(medusa, admin-ui, medusa-react): Improvements to product categories

    • Adds name as required in category create form
    • Adds name and handle as required in category edit form
    • Updates message on create/update forms
    • Adds category indicators for is_internal and is_active fields in the tree list
    • Fixes bug where tree is not reset when update fails
    • allow appending all category descendants with a param in list endpoint
    • fix rank order changing on category update
    • invalidate products query on category delete
    • adds category ui for tree/list, edit, create, delete
    • add product category queries and mutations
    • category list API can return all descendant
    • added breadcrumbs for categories on create/edit modal
    • add empty state for product categories
    • increase tree depth + scope categories on store + allow categories relation in products API
    • categories can be ranked based on position
    • seed command can create product categories
    • hide categories in products behind feature flag
    • fixes bug for mpath incorrectly updated for nested categories
  • #3478 6748877c6 Thanks @patrick-medusajs! - fix(oas,js,react): use AdminExtendedStoresRes instead of AdminStoresRes

  • #3377 7e17e0ddc Thanks @olivermrbl! - feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin

    What

    • Bumps meilisearch dep to latest major
    • Migrates plugin to TypeScript
    • Changes the way indexes are configured in medusa-config.js:

    Before

    {
        resolve: `medusa-plugin-meilisearch`,
        options: {
          config: { host: "...", apiKey: "..." },
          settings: {
            products: {
              searchableAttributes: ["title"],
              displayedAttributes: ["title"],
            },
          },
        },
      },
    

    After

    {
        resolve: `medusa-plugin-meilisearch`,
        options: {
          config: { host: "...", apiKey: "..." },
          settings: {
            products: {
              **indexSettings**: {
                searchableAttributes: ["title"],
                displayedAttributes: ["title"],
              },
            },
          },
        },
      },
    

    This is done to allow for additional configuration of indexes, that are not necessarily passed on query-time.

    We introduce two new settings:

    settings: {
      products: {
        indexSettings: {
          searchableAttributes: ["title"],
          displayedAttributes: ["title"],,
        },
        primaryKey: "id"
        transformer: (document) => ({ id: "yo" })
      },
    },
    

    Meilisearch changed their primary key inference in the major release. Now we must be explicit when multiple properties end with id. Read more in their docs.

    The transformer allows developers to specify how their documents are stored in Meilisearch. It is configurable for each index.

  • #3534 7f2223b65 Thanks @riqwan! - fix(medusa): fix bug with parent not being saved correctly

  • #3288 7d585f5f8 Thanks @patrick-medusajs! - fix(oas): fix paths and fix schema names to match convention

  • #3531 4e9d257d3 Thanks @carlos-r-l-rodrigues! - Remove dependency on @medusajs/medusa from Inventory and Stock-Location Modules

  • #3252 46547f29c Thanks @adrien2p! - feat(medusa): Improve store list products

  • #3315 f3bf351d2 Thanks @patrick-medusajs! - feat(oas): pluralize OAS tags

  • #3094 d61d6c7b7 Thanks @pKorsholm! - fix(medusa): Account for multiple inventory items when getting inventory

  • #3451 55a1f232a Thanks @pKorsholm! - feat(medusa,admin-ui): support location_id in

  • #3385 53eda215e Thanks @adrien2p! - fix(medusa): Issue when ordering with multiple columns

  • #3518 026bdab05 Thanks @pKorsholm! - Feat(medusa): fulfill swaps and claims with locations

  • #3256 aefe5aa13 Thanks @adrien2p! - feat(medusa): Update transaction base service to expose an activeManager_ getter

  • #3411 966aea65c Thanks @patrick-medusajs! - feat(oas-cli): combine admin + store + custom OAS

  • #3278 48ad2426a Thanks @patrick-medusajs! - feat(oas): identify required fields in responses - admin

  • Updated dependencies [121b42acf, aa690beed, 74bc4b16a, 54dcc1871, 77d46220c, 271844aed, 4e9d257d3]:

    • medusa-core-utils@1.2.0-rc.0
    • medusa-interfaces@1.3.7-rc.0
    • medusa-test-utils@1.1.40-rc.0
    • @medusajs/types@0.0.2-rc.0
    • @medusajs/utils@0.0.2-rc.0
    • @medusajs/modules-sdk@0.1.0-rc.0
    • @medusajs/medusa-cli@1.3.9-rc.0

1.7.15

Patch Changes

1.7.14

Patch Changes

  • 902ed3c0b Thanks @olivermrbl! - fix(medusa): Issue with fixed total discount with tax-inclusive pricing enabled

  • #3417 fa4049cb5 Thanks @adrien2p! - chores(medusa): Refactoring product update flow to improve handling and performances

  • Updated dependencies [fa4049cb5]:

    • medusa-test-utils@1.1.40

1.7.13

Patch Changes

1.7.12

Patch Changes

1.7.11

Patch Changes

1.7.10

Patch Changes

1.7.9

Patch Changes

1.7.8

Patch Changes

1.7.7

Patch Changes

1.7.6

Patch Changes

1.7.5

Patch Changes

1.7.4

Patch Changes

1.7.3

Patch Changes

1.7.2

Patch Changes

1.7.1

Patch Changes

1.7.0

Minor Changes

  • #2710 a6243618f Thanks @pKorsholm! - Feat: allow customers to claim orders

    BREAKING CHANGE: customerService.retrieveByEmail is being deprecated in favor of two methods: customerService.retrieveRegisteredByEmail and customerService.retrieveUnRegisteredByEmail. Please use customerService.list({ email: <customer email> }) in the future

Patch Changes

1.6.5

Patch Changes

1.6.4

Patch Changes

1.6.3

Patch Changes

1.6.2

Patch Changes

  • #2460 5ea4b728e Thanks @github-actions! - Order/cart decorate totals should assign items totals, shipping option requirements should be tax-inclusive if shipping option is, ensure swaps can be created on orders with discounts

  • Updated dependencies []:

    • @medusajs/medusa-cli@1.3.4

1.6.1

Patch Changes

1.6.0

Minor Changes

  • #2471 299c4ae7f Thanks @adrien2p! - feat(medusa): Align columns between product import/export, re visit the way the columns are defined and treated

Patch Changes

  • #2430 765a2cccd Thanks @adrien2p! - Feat(medusa, medusa-js, medusa-react): add resources to discount condition by batch
  • #2270 69e579758 Thanks @kasperkristensen! - Adds the use of price selection strategy to retrieving variants in the admin API. This moves the responsibility of tax calculations from the frontend (admin) to the backend.

1.5.0

Minor Changes

Patch Changes

  • #2351 d8a5942d3 Thanks @ayushthe1! - Fix wrongly referenced product id in ProductImportStrategy Fix assigning nested objects properly
  • #2224 3f7317028 Thanks @olivermrbl! - Normalize discount code before querying DB in DiscountService.retrieveByCode

  • Updated dependencies [7dc8d3a0c]:

    • medusa-core-utils@1.1.32

1.4.1

Patch Changes

  • d2932d328 Thanks @olivermrbl! - Expose list-currencies endpoint by removing the feature flag guard on router

1.4.0

Minor Changes

  • #2185 64949dc72 Thanks @kasperkristensen! - Adds missing response types for currency endpoints and exports route. Adds currency endpoints to medusa-js and medusa-react.

Patch Changes

1.3.9

Patch Changes

1.3.8

Patch Changes

1.3.7

Patch Changes

1.3.6

Patch Changes

  • #1995 aaebb38ea Thanks @adrien2p! - Convert IdempotencyKeyService to TypeScript Add await to retrieve in lock method
  • #1854 9e0cb1212 Thanks @srindom! - Fixes issue where failed cart completion attempts could not be retried without 500 error

1.3.5

Patch Changes

  • #1852 dafbfa779 Thanks @olivermrbl! - When marking a Draft Order as paid, we should generate tax lines before completing it
  • #1873 df6637853 Thanks @adrien2p! - Adds support for:
    • Attaching Sales Channel to cart as part of creation
    • Updating Sales Channel on a cart and removing inapplicable line items

1.3.4

Patch Changes

  • #1807 39f2c0c1 Thanks @srindom! - Calculates correct taxes and totals on line items when carts and orders have gift cards
  • #1812 4d15e01c Thanks @srindom! - Calculate orders correctly when creating fulfillments by adding adjustments
  • #1825 fb82d3dd Thanks @olivermrbl! - - Add migration that ensures the correct state of the batch job table regardless of previous migrations

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.3.3 (2022-07-05)

Bug Fixes

  • introduce listAndCount for gift cards to enable pagination (#1754) (9a14b84)
  • medusa: Remove deps mongoose + mongodb (#1218) (c76e23e)
  • add shipping taxes (#1759) (fee0f88)
  • medusa: Add images relation (#1693) (765c794)
  • medusa: Normalizes email before saving customer (#1719) (2a32609)
  • medusa: Plugin loader must also check for TransactionBaseService (#1601) (28ddf10)
  • medusa: Product export strategy (#1713) (89cb717)
  • medusa: Remove duplicate DiscountRuleType import (#1699) (46a6e1a)
  • medusa: update cron schedule to be every 6 hours (#1658) (cffb03d)
  • adds tax calculation to product pricing (#1354) (14366f5)
  • includes variant prices when listing products using a search query (#1607) (247ad6d)

Features

  • add customer to fetch-draft-order payload (#1444) (3fb74bf)
  • medusa: Add batch strategy for order exports (#1603) (bf47d1a)
  • medusa: Add file size calculation for product export (#1726) (fb7abbf)
  • medusa: Add line item totals to cart totals decoration (#1740) (c6dc908)
  • medusa: Allow to filter the batch jobs with nullable date (#1747) (c0f624a)
  • medusa: Apply query transformers to Collection and CustomerGroups (#1667) (e53c06e)
  • medusa: BatchJobStrategy and loaders (#1434) (886dcbc)
  • medusa: Convert GiftCardService to Typescript (#1664) (1585b7a)
  • medusa: Delete and download url endpoints (#1705) (cc29b64)
  • medusa: Extend file-service interface + move to core (#1577) (8e42d37)
  • medusa: Migrate utils to TS (#1415) (d98cd85)
  • medusa: Parsing CSV files (#1572) (9e686a8)
  • medusa: Support batch-job API (#1547) (4536886), closes #1434 #1548 #1453
  • medusa: Support transformQuery/Body middleware, introduction of pipe feature (#1593) (3359e18)
  • medusa: Update BuildQuery typings (#1672) (93aaaa7)
  • medusa-cli: Allow to revert migrations from the CLI (#1353) (012513b)
  • medusa,medusa-js,medusa-react: Add BatchJob API support in medusa-js + medusa-react (#1704) (7302d76)
  • medusa/product-export-strategy: Implement the Product export strategy (#1688) (7b09b8c)

1.3.2 (2022-06-19)

Bug Fixes

  • medisa: Deleting price list should use remove (#1540) (f0ecef6)
  • medusa: AddressPayload typing and removes Joi validation from CustomerService (#1520) (8dd27ec)
  • medusa: add q param to listAndCount product types and product tags (#1531) (46d9e6c)
  • medusa: Allow de-selecting configurations in price lists (#1596) (3f23ede)
  • medusa: allow price list prices update when region_id is provided (#1472) (03c5617)
  • medusa: applicableness of discounts with conditions not related to customer groups (#1534) (a10ac19)
  • medusa: CartService fix discounts empty array check on update (#1516) (e31fe4a)
  • medusa: CartService lost shipping address when using the id (c442be4)
  • medusa: discount types across model, service and api (#1545) (2f08167)
  • medusa: Include adjustments in cart retrieval relations in setPaymentSessions (#1518) (02eab5e)
  • medusa: Include adjustments when authorizing payment (#1697) (6b23208)
  • medusa: MoneyAmountRepository#findManyForVariantInRegion sql statement for constraint related to price_list (#1462) (3c75a65)
  • medusa: PluginLoaders when loading services should only look for js files (#1473) (c67d6be)
  • medusa: Post /admin/discounts/:id not updating condition operator (#1573) (5414148)
  • medusa: Prevent discount type updates (#1584) (083ab09)
  • medusa: Proper fix of the cart service (f5edaf5)
  • medusa: Remove line-item.js file (#1414) (9087029)
  • medusa: RMA on items from swaps and claims (#1182) (5ae5f15)
  • medusa: support searching for price lists (#1407) (f71b9b3)
  • medusa: Use boolean on list shipping options params (#1493) (7605963)
  • Cascade remove prices + option values on variant and product delete (#1465) (e7cb76a)
  • Use correct product price when fetching product for pricelist (#1416) (e2d0831)
  • medusa-cli: allow spaces in develop command (#1430) (2260c2d)

Features

  • medusa: Add /admin/products/:id/variants end point (#1471) (edeac8a)
  • medusa: Add endpoint for retrieving a DiscountCondition (#1525) (a87e1cd)
  • medusa: Add endpoints specific to DiscountConditions (#1355) (9ca45ea)
  • medusa: Add writable type (1499bc5)
  • medusa: Export BaseEntity/SoftDeletableEntity from the core (#1594) (d0c679f)
  • medusa: Export transaction related methods to the transactionBaseService (99146b7)
  • medusa: Improve base-service (bfb81b8)
  • medusa: Improve buildQuery as well as refactor the cart service as an example (b90291b)
  • medusa: List batch jobs + Introduce composable handler pattern (#1541) (4489b75)
  • medusa: Move some typings into the common types (3ad9174)
  • medusa: Rename base-service.spec to transaction-base-service.spec (f7ef3aa)
  • medusa: Split base service to its related TransactionBaseService and utilities methods when required (e7e715a)
  • medusa: Support deleting prices from a price list by product or variant (#1555) (fa031fd)
  • medusa: Update TransactionBaseService methods visibility (ff9ff21)

1.3.1 (2022-05-31)

Bug Fixes

  • medisa: Deleting price list should use remove (#1540) (f0ecef6)
  • medusa: AddressPayload typing and removes Joi validation from CustomerService (#1520) (8dd27ec)
  • medusa: add q param to listAndCount product types and product tags (#1531) (46d9e6c)
  • medusa: Allow de-selecting configurations in price lists (#1596) (3f23ede)
  • medusa: allow price list prices update when region_id is provided (#1472) (03c5617)
  • medusa: applicableness of discounts with conditions not related to customer groups (#1534) (a10ac19)
  • medusa: CartService fix discounts empty array check on update (#1516) (e31fe4a)
  • medusa: CartService lost shipping address when using the id (c442be4)
  • medusa: discount types across model, service and api (#1545) (2f08167)
  • medusa: Include adjustments in cart retrieval relations in setPaymentSessions (#1518) (02eab5e)
  • medusa: MoneyAmountRepository#findManyForVariantInRegion sql statement for constraint related to price_list (#1462) (3c75a65)
  • medusa: PluginLoaders when loading services should only look for js files (#1473) (c67d6be)
  • medusa: Post /admin/discounts/:id not updating condition operator (#1573) (5414148)
  • medusa: Prevent discount type updates (#1584) (083ab09)
  • medusa: Proper fix of the cart service (f5edaf5)
  • medusa: Remove line-item.js file (#1414) (9087029)
  • medusa: RMA on items from swaps and claims (#1182) (5ae5f15)
  • medusa: support searching for price lists (#1407) (f71b9b3)
  • medusa: Use boolean on list shipping options params (#1493) (7605963)
  • Cascade remove prices + option values on variant and product delete (#1465) (e7cb76a)
  • Use correct product price when fetching product for pricelist (#1416) (e2d0831)
  • medusa-cli: allow spaces in develop command (#1430) (2260c2d)

Features

  • medusa: Add /admin/products/:id/variants end point (#1471) (edeac8a)
  • medusa: Add endpoint for retrieving a DiscountCondition (#1525) (a87e1cd)
  • medusa: Add endpoints specific to DiscountConditions (#1355) (9ca45ea)
  • medusa: Add writable type (1499bc5)
  • medusa: Export BaseEntity/SoftDeletableEntity from the core (#1594) (d0c679f)
  • medusa: Export transaction related methods to the transactionBaseService (99146b7)
  • medusa: Improve base-service (bfb81b8)
  • medusa: Improve buildQuery as well as refactor the cart service as an example (b90291b)
  • medusa: List batch jobs + Introduce composable handler pattern (#1541) (4489b75)
  • medusa: Move some typings into the common types (3ad9174)
  • medusa: Rename base-service.spec to transaction-base-service.spec (f7ef3aa)
  • medusa: Split base service to its related TransactionBaseService and utilities methods when required (e7e715a)
  • medusa: Support deleting prices from a price list by product or variant (#1555) (fa031fd)
  • medusa: Update TransactionBaseService methods visibility (ff9ff21)

1.3.0 (2022-05-01)

Bug Fixes

  • Invoke canCalculate with an entire shipping option (#1397) (40b63d0)
  • Update is_giftcard type when filtering products (#1427) (f7386bf)
  • medusa: Lint and missing transaction usage (#1297) (ab2d81f)
  • medusa: Remove unsupported Discount endpoints (#1367) (9acee27)
  • medusa: Remove updatePaymentMethod store cart route (#1382) (89a6de4)
  • add tax service registration (#1225) (491b6eb)
  • adds date filters on store collection + region list api (#1216) (3cd4108)
  • allow offset and limit in products free text search (#1082) (c2241d1)
  • ensures no duplicate tax lines when completing cart (#1262) (607a382)
  • exists flag on /store/auth/:email endpoint (#1122) (e844f4a)
  • export params type (4ee2af2)
  • export request types from add and remove product endpoints (#1078) (449e666)
  • list customers query error (#1226) (932f4b2)
  • merge conflicts (562a1b4)
  • Remove region_id from countries on region deletes (#1330) (edc6d9d)
  • storefront product filtering (#1189) (e3655b5)
  • unit test case for CustomerGroupServiceMock.retrieve (def8763)
  • variant price update (#1093) (cb7b211)

Features

1.2.1 (2022-02-28)

Bug Fixes

  • Add tax repo to withTransaction in region service (#1126) (549ad3b)
  • allow offset and limit in products free text search (#1082) (a81def2)
  • export params type (9d6489d)
  • export request types from add and remove product endpoints (#1078) (1f2ee04)
  • unit test case for CustomerGroupServiceMock.retrieve (aa8bbfd)
  • variant price update (#1093) (59d5d8a)

Features

1.2.0 (2022-02-25)

Bug Fixes

  • allow offset and limit in products free text search (#1082) (c2241d1)
  • export params type (4ee2af2)
  • export request types from add and remove product endpoints (#1078) (449e666)
  • unit test case for CustomerGroupServiceMock.retrieve (def8763)
  • variant price update (#1093) (cb7b211)

Features

1.1.64 (2022-02-06)

Bug Fixes

1.1.63 (2022-02-06)

Bug Fixes

Features

1.1.62 (2022-01-11)

Bug Fixes

  • Adds default currency to store currencies on create (#982) (a0a21d1)
  • api claim types + tests (#967) (d365839)
  • Type in AdminProductListTagsRes to use tags instead of types (#958) (0ac52b7)

Features

1.1.61 (2021-12-29)

Note: Version bump only for package @medusajs/medusa

1.1.60 (2021-12-17)

Features

1.1.59 (2021-12-08)

Bug Fixes

1.1.58 (2021-12-08)

Bug Fixes

Features

1.1.57 (2021-11-23)

Bug Fixes

1.1.56 (2021-11-22)

Bug Fixes

  • Addresses breaking change from library class-transformer (#835) (f387b49)

1.1.55 (2021-11-19)

Bug Fixes

  • /api/routes/store/auth pass linting (#645) (40ad748)
  • /api/routes/store/customers pass linting (#646) (7cc94dc)
  • add product count to storefront (#719) (45b344f)
  • adds options to default relations in storefront product endpoints (#712) (e82737a)
  • api/routes/store/products pass linting (#644) (2966242)
  • delete region causes cascade error (#672) (0a65eca)
  • lint in packages/medusa/src/services/swap.js pass linting (#587) (3156a0d)
  • make /api/routes/admin/gift-cards,routes/store/gift-cards,/routes/store/orders pass linting (#643) (60e9432)
  • make /swaps pass eslint (#665) (623d5f2)
  • make api/routes/admin/apps pass eslint (#641) (c9234c2)
  • make api/routes/store/swaps pass eslint (#678) (d9ee127)
  • make discounts pass eslint (3df2b42)
  • make it possible to update order shipping address (#668) (e0fa06f)
  • make packages/medusa/src/api/routes/admin/auth and 3 others pass eslint (#666) (95f80f8)
  • make packages/medusa/src/api/routes/admin/notes pass eslint (#690) (f011662)
  • make packages/medusa/src/api/routes/admin/orders pass eslint (#649) (dc88210)
  • make packages/medusa/src/api/routes/admin/return-reasons pass eslint (#654) (a8fc89a)
  • make packages/medusa/src/api/routes/admin/returns pass eslint (#653) (2f7deea)
  • make packages/medusa/src/api/routes/admin/shipping-options pass eslint (#674) (bd86d3c)
  • make packages/medusa/src/api/routes/admin/shipping-profiles pass eslint (#642) (ce4d361)
  • make packages/medusa/src/api/routes/admin/store pass eslint (#686) (7a230ec)
  • make packages/medusa/src/api/routes/admin/upload pass eslint (#627) (5fbce42)
  • make packages/medusa/src/api/routes/admin/users pass eslint (a6a612c)
  • make packages/medusa/src/api/routes/store/carts pass eslint (#652) (1ba63cc)
  • make packages/medusa/src/api/routes/store/shipping-options pass linting (#648) (5cb1b56)
  • make packages/medusa/src/services/cart.js pass eslint (#700) (0caba0d)
  • Make packages/medusa/src/services/claim-item.js pass linting (#626) (0d30369)
  • Make packages/medusa/src/services/oauth.js pass linting (#604) (14608b0)
  • make packages/medusa/src/services/payment-provider.js pass eslint (#549) (caf4357), closes #692
  • Make packages/medusa/src/services/product-variant.js pass linting (#693) (a351398)
  • make packages/medusa/src/services/shipping-profile.js pass eslint (#582) (2c415ea)
  • make packages/medusa/src/services/totals.js pass eslint (23e83af)
  • make variants pass eslint (a1e446c)
  • make variants pass eslint (#647) (f4307c7)
  • medusa: add total count for list queries in product (#710) (109d400)
  • Prepare routes for linting (#603) (3e68069)
  • release (5fa4848)
  • updates documentation and fixes script blockers (#765) (3ea6aea)

Features

  • admin api - allow customers to be created and updated with metadata (#824) (2d9879e)
  • Algolia plugin for medusa (#718) (8ce9b20)
  • Allow retrieval of soft-deleted products (#723) (1e50aee)
  • medusa: adds collection endpoints to storefront (#711) (5812756)
  • Typescript for API layer (#817) (373532e)

1.1.54 (2021-11-19)

Bug Fixes

  • /api/routes/store/auth pass linting (#645) (40ad748)
  • /api/routes/store/customers pass linting (#646) (7cc94dc)
  • add product count to storefront (#719) (45b344f)
  • adds options to default relations in storefront product endpoints (#712) (e82737a)
  • api/routes/store/products pass linting (#644) (2966242)
  • delete region causes cascade error (#672) (0a65eca)
  • lint in packages/medusa/src/services/swap.js pass linting (#587) (3156a0d)
  • make /api/routes/admin/gift-cards,routes/store/gift-cards,/routes/store/orders pass linting (#643) (60e9432)
  • make /swaps pass eslint (#665) (623d5f2)
  • make api/routes/admin/apps pass eslint (#641) (c9234c2)
  • make api/routes/store/swaps pass eslint (#678) (d9ee127)
  • make discounts pass eslint (3df2b42)
  • make it possible to update order shipping address (#668) (e0fa06f)
  • make packages/medusa/src/api/routes/admin/auth and 3 others pass eslint (#666) (95f80f8)
  • make packages/medusa/src/api/routes/admin/notes pass eslint (#690) (f011662)
  • make packages/medusa/src/api/routes/admin/orders pass eslint (#649) (dc88210)
  • make packages/medusa/src/api/routes/admin/return-reasons pass eslint (#654) (a8fc89a)
  • make packages/medusa/src/api/routes/admin/returns pass eslint (#653) (2f7deea)
  • make packages/medusa/src/api/routes/admin/shipping-options pass eslint (#674) (bd86d3c)
  • make packages/medusa/src/api/routes/admin/shipping-profiles pass eslint (#642) (ce4d361)
  • make packages/medusa/src/api/routes/admin/store pass eslint (#686) (7a230ec)
  • make packages/medusa/src/api/routes/admin/upload pass eslint (#627) (5fbce42)
  • make packages/medusa/src/api/routes/admin/users pass eslint (a6a612c)
  • make packages/medusa/src/api/routes/store/carts pass eslint (#652) (1ba63cc)
  • make packages/medusa/src/api/routes/store/shipping-options pass linting (#648) (5cb1b56)
  • make packages/medusa/src/services/cart.js pass eslint (#700) (0caba0d)
  • Make packages/medusa/src/services/claim-item.js pass linting (#626) (0d30369)
  • Make packages/medusa/src/services/oauth.js pass linting (#604) (14608b0)
  • make packages/medusa/src/services/payment-provider.js pass eslint (#549) (caf4357), closes #692
  • Make packages/medusa/src/services/product-variant.js pass linting (#693) (a351398)
  • make packages/medusa/src/services/shipping-profile.js pass eslint (#582) (2c415ea)
  • make packages/medusa/src/services/totals.js pass eslint (23e83af)
  • make variants pass eslint (a1e446c)
  • make variants pass eslint (#647) (f4307c7)
  • medusa: add total count for list queries in product (#710) (109d400)
  • Prepare routes for linting (#603) (3e68069)
  • updates documentation and fixes script blockers (#765) (3ea6aea)

Features

  • admin api - allow customers to be created and updated with metadata (#824) (2d9879e)
  • Algolia plugin for medusa (#718) (8ce9b20)
  • Allow retrieval of soft-deleted products (#723) (1e50aee)
  • medusa: adds collection endpoints to storefront (#711) (5812756)
  • Typescript for API layer (#817) (373532e)

1.1.53 (2021-11-19)

Bug Fixes

  • /api/routes/store/auth pass linting (#645) (40ad748)
  • /api/routes/store/customers pass linting (#646) (7cc94dc)
  • add product count to storefront (#719) (45b344f)
  • adds options to default relations in storefront product endpoints (#712) (e82737a)
  • api/routes/store/products pass linting (#644) (2966242)
  • delete region causes cascade error (#672) (0a65eca)
  • lint in packages/medusa/src/services/swap.js pass linting (#587) (3156a0d)
  • make /api/routes/admin/gift-cards,routes/store/gift-cards,/routes/store/orders pass linting (#643) (60e9432)
  • make /swaps pass eslint (#665) (623d5f2)
  • make api/routes/admin/apps pass eslint (#641) (c9234c2)
  • make api/routes/store/swaps pass eslint (#678) (d9ee127)
  • make discounts pass eslint (3df2b42)
  • make it possible to update order shipping address (#668) (e0fa06f)
  • make packages/medusa/src/api/routes/admin/auth and 3 others pass eslint (#666) (95f80f8)
  • make packages/medusa/src/api/routes/admin/notes pass eslint (#690) (f011662)
  • make packages/medusa/src/api/routes/admin/orders pass eslint (#649) (dc88210)
  • make packages/medusa/src/api/routes/admin/return-reasons pass eslint (#654) (a8fc89a)
  • make packages/medusa/src/api/routes/admin/returns pass eslint (#653) (2f7deea)
  • make packages/medusa/src/api/routes/admin/shipping-options pass eslint (#674) (bd86d3c)
  • make packages/medusa/src/api/routes/admin/shipping-profiles pass eslint (#642) (ce4d361)
  • make packages/medusa/src/api/routes/admin/store pass eslint (#686) (7a230ec)
  • make packages/medusa/src/api/routes/admin/upload pass eslint (#627) (5fbce42)
  • make packages/medusa/src/api/routes/admin/users pass eslint (a6a612c)
  • make packages/medusa/src/api/routes/store/carts pass eslint (#652) (1ba63cc)
  • make packages/medusa/src/api/routes/store/shipping-options pass linting (#648) (5cb1b56)
  • make packages/medusa/src/services/cart.js pass eslint (#700) (0caba0d)
  • Make packages/medusa/src/services/claim-item.js pass linting (#626) (0d30369)
  • Make packages/medusa/src/services/oauth.js pass linting (#604) (14608b0)
  • make packages/medusa/src/services/payment-provider.js pass eslint (#549) (caf4357), closes #692
  • Make packages/medusa/src/services/product-variant.js pass linting (#693) (a351398)
  • make packages/medusa/src/services/shipping-profile.js pass eslint (#582) (2c415ea)
  • make packages/medusa/src/services/totals.js pass eslint (23e83af)
  • make variants pass eslint (a1e446c)
  • make variants pass eslint (#647) (f4307c7)
  • medusa: add total count for list queries in product (#710) (109d400)
  • Prepare routes for linting (#603) (3e68069)
  • updates documentation and fixes script blockers (#765) (3ea6aea)

Features

  • admin api - allow customers to be created and updated with metadata (#824) (2d9879e)
  • Algolia plugin for medusa (#718) (8ce9b20)
  • Allow retrieval of soft-deleted products (#723) (1e50aee)
  • medusa: adds collection endpoints to storefront (#711) (5812756)
  • Typescript for API layer (#817) (373532e)

1.1.52 (2021-11-09)

Note: Version bump only for package @medusajs/medusa

1.1.51 (2021-11-03)

Bug Fixes

  • include discount rule in swap retrieval (#682) (a5fe1c2)

1.1.50 (2021-11-02)

Note: Version bump only for package @medusajs/medusa

1.1.49 (2021-10-26)

Bug Fixes

  • allow empty string to search product route (52c47ab)

1.1.48 (2021-10-25)

Bug Fixes

  • make contentful data sync (548f6c7)

1.1.47 (2021-10-23)

Bug Fixes

1.1.46 (2021-10-19)

Bug Fixes

1.1.45 (2021-10-18)

Note: Version bump only for package @medusajs/medusa

1.1.44 (2021-10-18)

Bug Fixes

1.1.43 (2021-10-18)

Bug Fixes

  • add possiblity to unset billing address (dc7ecc9)
  • adjustments based on feedback (52be911)
  • adjustments based on seb's feedback (dba1d5b)
  • allow custom shipping options to bypass option requirements (75e59ec)
  • autofix (d9608e1)
  • Creating shipping options with requirements (#428) (ae0ab03)
  • customer endpoints shouldn't use customer id already provided through authentication (#402) (bf43896)
  • example (43a2b07)
  • failing integration tests (9c72acd)
  • ILIKE operator not supported in sqlite (#393) (49a1329)
  • include shipping profile and requirement relations when fetching custom shipping options (569595d)
  • jsdoc (02ce006)
  • jsdoc custom shipping option service (f7c7659)
  • make /packages/medusa/src/services/gift-card.js pass eslint (#533) (06ee5df)
  • make /packages/medusa/src/services/line-item.js pass eslint (#555) (f2d97df)
  • make medusa/src/services/fulfillment.js pass eslint (#557) (fe599c7)
  • make packages/medusa/src/services/claim.js pass eslint (#551) (ddeaf57)
  • make packages/medusa/src/services/discount.js pass eslint (#553) (1e13c83)
  • make packages/medusa/src/services/draft-order.js pass eslint (#554) (1791acb)
  • make packages/medusa/src/services/idempotency-key.js pass linting (#568) (5b3c0c4)
  • make packages/medusa/src/services/note.js pass eslint (#565) (275a0f1)
  • make packages/medusa/src/services/notification.js pass eslint (#566) (38559b5)
  • make packages/medusa/src/services/region.js pass eslint (#542) (f926e02)
  • Make packages/medusa/src/services/transaction.js pass linting (#534) (10f1d9d)
  • make return-reason.js pass eslint (#539) (b6efa6f)
  • make system-payment-provider.js pass eslint (#574) (8e59ec8)
  • medusa: hide password hash (#429) (cd4afd1)
  • meiliesearch README.md + remove: searchService from silentResolver (1444353)
  • merge conflicts (153366c)
  • merge conflicts (632ad17)
  • merge develop (2297a84)
  • more adjustments (3d088c3)
  • move subscriber to core (700f8c3)
  • options relations on GET variant (#532) (fc50aac)
  • product ordering (57a6612)
  • remove custom shipping options from swapService create method call (71d433c)
  • remove verbose mode in integration test + fix jsdoc (36aeb4f)
  • shipping option updates (#426) (22f3f2a)
  • tests (db83448)
  • Throw on cart creation when no region exist (#455) (17b192f)
  • update event (6d21d0d)
  • update product images (#494) (c0e947f)
  • update seeder to product published (#423) (d8e5318)
  • use type to choose transformer before adding or replacing documents (24eecd2)

Features

Reverts

  • Revert "fixed linting errors on packages/medusa/src/services/user.js #531 (#543)" (#547) (ba2d923), closes #531 #543 #547

1.1.42 (2021-10-18)

Bug Fixes

  • add possiblity to unset billing address (dc7ecc9)
  • adjustments based on feedback (52be911)
  • adjustments based on seb's feedback (dba1d5b)
  • allow custom shipping options to bypass option requirements (75e59ec)
  • autofix (d9608e1)
  • Creating shipping options with requirements (#428) (ae0ab03)
  • customer endpoints shouldn't use customer id already provided through authentication (#402) (bf43896)
  • example (43a2b07)
  • failing integration tests (9c72acd)
  • ILIKE operator not supported in sqlite (#393) (49a1329)
  • include shipping profile and requirement relations when fetching custom shipping options (569595d)
  • jsdoc (02ce006)
  • jsdoc custom shipping option service (f7c7659)
  • make /packages/medusa/src/services/gift-card.js pass eslint (#533) (06ee5df)
  • make /packages/medusa/src/services/line-item.js pass eslint (#555) (f2d97df)
  • make medusa/src/services/fulfillment.js pass eslint (#557) (fe599c7)
  • make packages/medusa/src/services/claim.js pass eslint (#551) (ddeaf57)
  • make packages/medusa/src/services/discount.js pass eslint (#553) (1e13c83)
  • make packages/medusa/src/services/draft-order.js pass eslint (#554) (1791acb)
  • make packages/medusa/src/services/idempotency-key.js pass linting (#568) (5b3c0c4)
  • make packages/medusa/src/services/note.js pass eslint (#565) (275a0f1)
  • make packages/medusa/src/services/notification.js pass eslint (#566) (38559b5)
  • make packages/medusa/src/services/region.js pass eslint (#542) (f926e02)
  • Make packages/medusa/src/services/transaction.js pass linting (#534) (10f1d9d)
  • make return-reason.js pass eslint (#539) (b6efa6f)
  • make system-payment-provider.js pass eslint (#574) (8e59ec8)
  • medusa: hide password hash (#429) (cd4afd1)
  • meiliesearch README.md + remove: searchService from silentResolver (1444353)
  • merge conflicts (153366c)
  • merge conflicts (632ad17)
  • merge develop (2297a84)
  • more adjustments (3d088c3)
  • move subscriber to core (700f8c3)
  • options relations on GET variant (#532) (fc50aac)
  • product ordering (57a6612)
  • remove custom shipping options from swapService create method call (71d433c)
  • remove verbose mode in integration test + fix jsdoc (36aeb4f)
  • shipping option updates (#426) (22f3f2a)
  • tests (db83448)
  • Throw on cart creation when no region exist (#455) (17b192f)
  • update event (6d21d0d)
  • update product images (#494) (c0e947f)
  • update seeder to product published (#423) (d8e5318)
  • use type to choose transformer before adding or replacing documents (24eecd2)

Features

Reverts

  • Revert "fixed linting errors on packages/medusa/src/services/user.js #531 (#543)" (#547) (ba2d923), closes #531 #543 #547

1.1.41 (2021-09-15)

Bug Fixes

  • 404 product (8c8c589)
  • add default relations to variants to include prices (#394) (d477ca9)
  • Ensure uniqueness for products, variants, collections and discounts (#382) (2715095)
  • make shipping_option_id on requirements optional (#340) (16b0fa3)

Features

  • update and cancel swaps, claims, and returns (#310) (cf66f97)

1.1.40 (2021-09-15)

Bug Fixes

  • 404 product (8c8c589)
  • add default relations to variants to include prices (#394) (d477ca9)
  • Ensure uniqueness for products, variants, collections and discounts (#382) (2715095)
  • make shipping_option_id on requirements optional (#340) (16b0fa3)

Features

  • update and cancel swaps, claims, and returns (#310) (cf66f97)

1.1.39 (2021-09-14)

Bug Fixes

  • 404 product (8c8c589)
  • add default relations to variants to include prices (#394) (d477ca9)
  • Ensure uniqueness for products, variants, collections and discounts (#382) (2715095)
  • make shipping_option_id on requirements optional (#340) (16b0fa3)

Features

  • update and cancel swaps, claims, and returns (#310) (cf66f97)

1.1.40 (2021-09-02)

Bug Fixes

  • Account for non-discountable items in getRefundTotal (#347) (fd14e24)

Features

  • creates support for swaps on the storefront (#355) (ae82cfc)

1.1.39 (2021-08-31)

Bug Fixes

  • Account for non-discountable items in getRefundTotal (#347) (fd14e24)

Features

  • creates support for swaps on the storefront (#355) (ae82cfc)

1.1.38 (2021-08-17)

Bug Fixes

1.1.37 (2021-08-17)

Bug Fixes

1.1.36 (2021-08-11)

Bug Fixes

1.1.35 (2021-08-09)

Note: Version bump only for package @medusajs/medusa

1.1.34 (2021-08-05)

Bug Fixes

Features

1.1.33 (2021-07-26)

Bug Fixes

  • enforce 1 shipping method per profile (#322) (b378a4f)
  • parameterize integration tests' db credentials (#319) (06fd882)

Features

1.1.32 (2021-07-16)

Note: Version bump only for package @medusajs/medusa

1.1.31 (2021-07-15)

Note: Version bump only for package @medusajs/medusa

1.1.30 (2021-07-15)

Bug Fixes

  • adds tracking links to customer orders (c013270)
  • allow updating billing address on customer (5a1cbc6)
  • better store/customer support (6342e68)
  • create fulfillment (0603a86)
  • medusa: Resolve issue with soft-delete and unique indexes in DB (#296) (6358f8f)

1.1.29 (2021-07-02)

Note: Version bump only for package @medusajs/medusa

1.1.28 (2021-06-24)

Note: Version bump only for package @medusajs/medusa

1.1.27 (2021-06-22)

Bug Fixes

1.1.26 (2021-06-10)

Bug Fixes

1.1.25 (2021-06-09)

Note: Version bump only for package @medusajs/medusa

1.1.24 (2021-06-09)

Bug Fixes

Features

1.1.23 (2021-06-09)

Bug Fixes

Features

1.1.22 (2021-06-09)

Bug Fixes

Features

1.1.20 (2021-06-08)

Bug Fixes

Features

1.1.23 (2021-04-29)

Note: Version bump only for package @medusajs/medusa

1.1.22 (2021-04-28)

Note: Version bump only for package @medusajs/medusa

1.1.21 (2021-04-20)

Note: Version bump only for package @medusajs/medusa

1.1.20 (2021-04-20)

Features

1.1.19 (2021-04-13)

Bug Fixes

Features

1.1.18 (2021-04-09)

Bug Fixes

Features

1.1.17 (2021-03-30)

Bug Fixes

1.1.16 (2021-03-30)

Bug Fixes

1.1.15 (2021-03-30)

Bug Fixes

1.1.16 (2021-03-26)

Note: Version bump only for package @medusajs/medusa

1.1.15 (2021-03-18)

Note: Version bump only for package @medusajs/medusa

1.1.14 (2021-03-17)

Bug Fixes

  • expose statusses on order (a26b12a)
  • medusa: Add usage_count + usage_limit to discount (c513813)

1.1.13 (2021-03-17)

Bug Fixes

Features

1.1.12 (2021-03-17)

Bug Fixes

Features

1.1.11 (2021-02-25)

Bug Fixes

  • medusa: Add querying func. on customer retrievals (#181) (22be418)

1.1.10 (2021-02-25)

Note: Version bump only for package @medusajs/medusa

1.1.10-next.1 (2021-02-25)

Bug Fixes

1.1.10-next.0 (2021-02-22)

Features

1.1.9 (2021-02-18)

Bug Fixes

1.1.8 (2021-02-17)

Bug Fixes

Features

1.1.7 (2021-02-08)

Features

1.1.6 (2021-02-03)

Note: Version bump only for package @medusajs/medusa

1.1.5 (2021-02-03)

Features

  • medusa,brightpearl,segment,webshipper: claims (#163) (690d339)

1.1.4 (2021-01-29)

Note: Version bump only for package @medusajs/medusa

1.1.3 (2021-01-27)

Bug Fixes

  • tax_rate extraction in totals service (#156) (178d12f)

1.1.2 (2021-01-27)

Features

  • adds discount code search functionality (#155) (7e14da1)

1.1.1 (2021-01-26)

Bug Fixes

1.1.0 (2021-01-26)

Note: Version bump only for package @medusajs/medusa

1.0.56 (2021-01-06)

Note: Version bump only for package @medusajs/medusa

1.0.55 (2021-01-06)

Note: Version bump only for package @medusajs/medusa

1.0.54 (2020-12-28)

Features

  • medusa: Adds filtering to order listing for use in admin (#149) (09d7ed2)

1.0.53 (2020-12-17)

Features

  • medusa: Adds product variant sale price (#148) (451451a)

1.0.52 (2020-12-09)

Bug Fixes

1.0.51 (2020-12-09)

Note: Version bump only for package @medusajs/medusa

1.0.50 (2020-12-08)

Note: Version bump only for package @medusajs/medusa

1.0.49 (2020-12-04)

Note: Version bump only for package @medusajs/medusa

1.0.48 (2020-12-02)

Bug Fixes

1.0.47 (2020-11-29)

Bug Fixes

1.0.46 (2020-11-28)

Note: Version bump only for package @medusajs/medusa

1.0.45 (2020-11-26)

Note: Version bump only for package @medusajs/medusa

1.0.44 (2020-11-24)

Note: Version bump only for package @medusajs/medusa

1.0.43 (2020-11-24)

Note: Version bump only for package @medusajs/medusa

1.0.42 (2020-11-13)

Note: Version bump only for package @medusajs/medusa

1.0.41 (2020-11-13)

Note: Version bump only for package @medusajs/medusa

1.0.40 (2020-11-13)

Features

  • medusa: Adds shipped status to line items + Capture fails will give payment_status = requires_action (6a3c545)

1.0.39 (2020-11-05)

Note: Version bump only for package @medusajs/medusa

1.0.38 (2020-11-05)

Note: Version bump only for package @medusajs/medusa

1.0.37 (2020-11-04)

Note: Version bump only for package @medusajs/medusa

1.0.36 (2020-11-04)

Features

  • medusa: Adds set and delete metadata endpoints for region and orders (#131) (d67b6e6)

1.0.35 (2020-11-02)

Bug Fixes

  • add country code on preCartCreation (e3faa64)

1.0.34 (2020-10-31)

Bug Fixes

  • adds field selection to list order endpoint (#133) (b1786ce)

1.0.33 (2020-10-28)

Features

1.0.32 (2020-10-20)

Note: Version bump only for package @medusajs/medusa

1.0.31 (2020-10-20)

Features

  • medusa-interfaces: Adds schema options to base model (cc23a3b)

1.0.30 (2020-10-20)

Note: Version bump only for package @medusajs/medusa

1.0.29 (2020-10-20)

Note: Version bump only for package @medusajs/medusa

1.0.28 (2020-10-19)

Note: Version bump only for package @medusajs/medusa

1.0.27 (2020-10-17)

Note: Version bump only for package @medusajs/medusa

1.0.26 (2020-10-14)

Features

1.0.25 (2020-10-08)

Note: Version bump only for package @medusajs/medusa

1.0.24 (2020-10-08)

Note: Version bump only for package @medusajs/medusa

1.0.23 (2020-10-06)

Note: Version bump only for package @medusajs/medusa

1.0.22 (2020-10-06)

Note: Version bump only for package @medusajs/medusa

1.0.21 (2020-10-05)

Bug Fixes

  • medusa-plugin-brightpearl: reliable oauth (#119) (0889059)

1.0.20 (2020-10-05)

Bug Fixes

  • medusa-plugin-addon: Fixes admin endpoints, Adds flag to avoid merging add-on line-items (d8483cd)

Features

1.0.19 (2020-09-21)

Note: Version bump only for package @medusajs/medusa

1.0.18 (2020-09-21)

Note: Version bump only for package @medusajs/medusa

1.0.17 (2020-09-18)

Note: Version bump only for package @medusajs/medusa

1.0.16 (2020-09-11)

Bug Fixes

  • medusa: add line item to order.gift_card_created event (c5019ca)

1.0.15 (2020-09-10)

Bug Fixes

  • cron jobs and brightpearl auto refresh (#107) (c7bd783)

1.0.14 (2020-09-09)

Note: Version bump only for package @medusajs/medusa

1.0.13 (2020-09-09)

Note: Version bump only for package @medusajs/medusa

1.0.12 (2020-09-09)

Features

  • plugins: Adds add-on plugin (3de1e6d)

1.0.11 (2020-09-09)

1.0.10 (2020-09-09)

Bug Fixes

1.0.9 (2020-09-08)

1.0.8 (2020-09-08)

Bug Fixes

1.0.7 (2020-09-07)

1.0.6 (2020-09-07)

Bug Fixes

  • medusa: secure cookies in staging (7e2446f)

1.0.1 (2020-09-05)

Bug Fixes

  • medusa: adds fulfillment_created event in order service (#101) (021544d)

1.0.1-beta.0 (2020-09-04)

Bug Fixes

  • medusa: product variant metadata (#98) (520115a)

1.0.0 (2020-09-03)

1.0.0-y.25 (2020-09-03)

1.0.0-y.17 (2020-09-01)

Bug Fixes

1.0.0-y.16 (2020-09-01)

Bug Fixes

1.0.0-y.15 (2020-09-01)

Bug Fixes

1.0.0-y.14 (2020-09-01)

Bug Fixes

  • pass config to service loader (d7cd7e9)

1.0.0-y.13 (2020-09-01)

Bug Fixes

  • use medusa config for env vars (61dc478)

1.0.0-y.12 (2020-09-01)

Bug Fixes

1.0.0-y.11 (2020-09-01)

Bug Fixes

  • use fewer redis connections (b5ee323)

1.0.0-y.9 (2020-09-01)

Bug Fixes

  • more economical use of redis clients (b85417a)

1.0.0-y.8 (2020-09-01)

Bug Fixes

  • more economical use of redis clients (fdfc213)

1.0.0-y.4 (2020-08-31)

Bug Fixes

  • add tax_code to regions (e8afb6b)

1.0.0-y.3 (2020-08-31)

Bug Fixes

  • auto pick country in 1 country regions (d11eb8f)

1.0.0-y.0 (2020-08-30)

Bug Fixes

  • removes unnecessary import (270645d)

1.0.0-alpha.37 (2020-08-30)

Bug Fixes

  • update password hashing (16d3c88)

1.0.0-alpha.36 (2020-08-30)

1.0.0-alpha.31 (2020-08-28)

Bug Fixes

  • better rounding of totals (3093cba)

1.0.0-alpha.30 (2020-08-28)

1.0.0-alpha.27 (2020-08-27)

Bug Fixes

  • completeOrder: removes payment capture (db3c332)
  • contentful-plugin: Keep existing entry fields (eb47896)
  • discount: allow all updates on discounts (d8aac75)
  • medusa: allow multiple fulfillments (0856645)
  • order: Adds display_id to free text search (cfa7417)

Features

  • pagination: Adds MVP pagination to orders and products for admin routes (9dc6999)

1.0.0-alpha.24 (2020-08-27)

1.0.0-alpha.22 (2020-08-25)

1.0.0-alpha.21 (2020-08-25)

Bug Fixes

  • order: sends order to fulfillment provider (450f7d9)

1.0.0-alpha.15 (2020-08-22)

1.0.0-alpha.14 (2020-08-22)

1.0.0-alpha.13 (2020-08-22)

1.0.0-alpha.12 (2020-08-22)

1.0.0-alpha.11 (2020-08-22)

1.0.0-alpha.10 (2020-08-22)

1.0.0-alpha.9 (2020-08-21)

1.0.0-alpha.8 (2020-08-21)

1.0.0-alpha.7 (2020-08-21)

1.0.0-alpha.6 (2020-08-21)

1.0.0-alpha.4 (2020-08-20)

1.0.0-alpha.3 (2020-08-20)

1.0.0-alpha.2 (2020-08-20)

1.0.0-alpha.1 (2020-08-20)

1.0.0-alpha.0 (2020-08-20)

0.3.0 (2020-04-06)

0.2.0 (2020-04-06)

0.2.0-alpha.0 (2020-04-04)

0.1.12-alpha.0 (2020-03-24)

0.1.11-alpha.0 (2020-03-24)

0.1.10-alpha.0 (2020-03-24)

0.1.9-alpha.0 (2020-03-24)

0.1.8-alpha.0 (2020-03-24)

0.1.7-alpha.0 (2020-03-24)

0.1.6-alpha.0 (2020-03-24)

0.1.5-alpha.0 (2020-03-24)

0.1.4-alpha.0 (2020-03-24)

0.1.3-alpha.0 (2020-03-24)

0.1.2-alpha.0 (2020-03-24)

0.1.1-alpha.0 (2020-03-24)

0.1.0-alpha.0 (2020-03-24)

1.0.10 (2020-09-09)

Bug Fixes