github medusajs/medusa v1.12.1

latest releases: v2.0.10-preview, v2.0.10, v2.0.9-preview...
15 months ago

Highlights

Added invite option to Medusa CLI

We've added support for inviting users to @medusajs/medusa-cli.

Invites are generated using the following command:

medusa user -e hello@world.com --invite

The command generates and outputs the token to use for signup. You should see the below in your terminal:

Invite token: some_token
Open the invite in Medusa Admin at: [your-admin-url]/invite?token=some_token

Replacing [your-admin-url] with the URL of your Medusa Admin and appending the /invite?token-some_token will allow the invited user to signup.

The URL end result should look like this: https://myadmin.com/invite?token=some_token

Filtering reservations

Advanced filter capabilities have been added to the Reservations overview in Medusa Admin.

reservations-filters.mp4

Node flags in develop command

We've added support for passing all node flags to our develop command from @medusajs/medusa-cli.

E.g. medusa develop -- --preserve-symlinks

Prefix for core Redis client

You can now configure the core Redis client with prefixes using the following project configuration:

const projectConfig = {
  redis_url: REDIS_URL,
  redis_prefix: "shared"
};

Features

  • feat(medusa, inventory, stock-location): Remove unnecessary transaction usage in the modules and the list product end points by @adrien2p in #4232
  • feat(admin-ui): Rename allocation to reservation by @pKorsholm in #4133
  • feat(medusa): variants expand inventory_items by @pKorsholm in #4203
  • feat(medusa,medusa-cli): Added an invite option to the create user command, and allow seeding publishable api keys by @shahednasser in #4192
  • feat(create-medusa-app): update command for a better onboarding experience by @shahednasser in #4215
  • feat(admin-ui): Filter reservations by @pKorsholm in #4115
  • feat(medusa): Preserve node flags in develop command by @liamjcooper in #1860
  • feat(medusa): add redis_prefix in configModule.projectConfig by @dwene in #4268

Bugs

  • fix(medusa-fulfillment-manual): Missing retrieveDocuments override by @josipmatichr in #4221
  • fix(medusa): Order edit missing transaction when consuming the inventory module by @adrien2p in #4211
  • fix(medusa-plugin-brightpearl): Add bp from sales channel of order where possible by @pKorsholm in #4160
  • fix(create-medusa-app): remove seed command from create-medusa-app and improve success message by @shahednasser in #4247
  • fix(admin-ui): flickering Timeline by @fPolic in #4231
  • fix(create-medusa-app): handle todos by @shahednasser in #4262
  • fix(medusa): getAvailableContext should first check if the inventory service is present by @adrien2p in #4293
  • fix(medusa): Remove items.refundable from the order default store fields by @adrien2p in #4294
  • fix(medusa): Query parser issues with large array by @adrien2p in #4213
  • fix(medusa): medusa develop does not take execArgv into account properly by @adrien2p in #4338

Chores

  • chore(medusa,medusa-cli): Clean up new command + fix CI by @olivermrbl in #4214
  • chore(medusa): Improve database loader error handling by @adrien2p in #4254
  • chore: Clean up deps, devDeps, and peerDeps across all packages by @olivermrbl in #4276

New Contributors

Full Changelog: v1.12.0...v1.12.1

Don't miss a new medusa release

NewReleases is sending notifications on new releases.