Releases: medusajs/medusa
Releases · medusajs/medusa
v1.7.4
Migrations & Upgrades
Important
This version enables Order Editing and Payment Collection by default. Migrations are required.
In your project, run:
medusa migrations run
Features
- feat(medusa): Nested Categories Admin Update Endpoint (#2986) @riqwan
- feat(medusa-react): Upgrade react-query and clean up dependencies (#2969) @kasperkristensen
- feat(medusa): Emit events on product category mutations (#3003) @riqwan
- feat(medusa): Allow custom created_by on order edits (#3007) @olivermrbl
- feat(medusa): Retrieve (service + controller) a product category (#3004) @riqwan
- feat(medusa, stock-location, inventory): Allow modules to integrate with core (#2997) @carlos-r-l-rodrigues
- feat(medusa): Validate module required properties (#3029) @carlos-r-l-rodrigues
- feat(medusa): List (service + controller) product categories #3004 (#3023) @riqwan
- feat(medusa): Transaction Orchestrator (#2861) @carlos-r-l-rodrigues
- feat(medusa, medusa-js, medusa-react): Add endpoint to retrieve product tags from the storefront (#3051) @kasperkristensen
Bugs
- fix(medusa): Rename quantity to required quantity (#2963) @pKorsholm
- fix(medusa): Draft order totals not working with custom items (#3008) @adrien2p
- fix(medusa, medusa-payment-paypal): Add missing data in Payment Collection input (#3010) @adrien2p
- fix(medusa): test, build and watch scripts (#3025) @adrien2p
- fix(medusa): Add module config to transaction base service (#3033) @olivermrbl
- fix(medusa): Legacy total service to accept custom items (#3027) @adrien2p
- fix(medusa-js, medusa-react): Fix issue with JS client bundle (#3038) @kasperkristensen
- fix(medusa): Draft order inventory management (#3040) @pKorsholm
Chores
- chore(oas): replace response with $ref to res class JSDoc OAS (A-C) (#3002) @patrick-medusajs
- chore(oas): fixed oas for product category endpoints and model (#3014) @shahednasser
- chore(oas): replace response with $ref class JSDoc (Admin O-PRI) (#3018) @patrick-medusajs
- chore(oas): replace response with $ref class JSDoc (Admin D-N) (#3015) @patrick-medusajs
- chore(oas): replace response with $ref class JSDoc (Admin SHI-V) (#3031) @patrick-medusajs
- chore(oas): replace response with $ref class JSDoc (Store A-PAY) @patrick-medusajs
- chore(feature-flags): Remove OrderEditing feature flag (#3006) @olivermrbl
Docs
- docs: added publishable API keys documentation pages (#2972) @shahednasser
- docs: Temporarily remove note on peer deps in documentation (#2988) @olivermrbl
- docs: fix note about migration script in upgrade guide (#2996) @shahednasser
- docs: updated user guide following sidebar redesign of admin (#2998) @shahednasser
- docs: fix search bar not focused when using keyboard shortcut (#2999) @shahednasser
- docs: added middleware documentation (#3000) @shahednasser
- docs: improved feedback component (#3026) @shahednasser
- docs: fixed note about custom database schema (#3049) @shahednasser
- docs: added a troubleshooting guide for updates (#3057) @shahednasser
v1.7.3
Migrations & Upgrades
Important
This version enables Sales Channels and Publishable Keys by default. We strongly recommend you run the upgrade guide to migrate all your existing products into the default sales channel, which will be created upon the first subsequent server start.
Please refer to this guide on upgrading to v1.7.3.
Features
- feat(medusa): search orders by customer phone and name (#2913) @pKorsholm
- feat(medusa): Add ProductVariantInventoryService (#2883) @pKorsholm
- feat(medusa): Include external_id in CreateProductInput type (#2498) @chiubaca
- feat(medusa): Stock location module (#2907) @carlos-r-l-rodrigues
- feat(medusa): Pass location upon receiving returns (#2949) @pKorsholm
- feat(medusa): Add ProductCategory model (#2945) @riqwan
- feat(medusa): Disable subscriber when no search engine is installed (#2958) @adrien2p
- feat(medusa): Reliable retrying of jobs (#2947) @olivermrbl
- feat(medusa): Create fulfillment with location (#2931) @pKorsholm
- feat(medusa): Get route for admin product categories API (#2961) @riqwan
- feat(medusa): Introduce Payment Processor API (#2737) @adrien2p
- feat(medusa): Nested Categories Admin List Endpoint (#2973)
- feat(medusa-js): Bundle package using Rollup (#2964) @kasperkristensen
- feat(medusa): Nested Categories Admin Delete Endpoint (#2975) @riqwan
- feat(medusa): Update payment session management (#2937) @adrien2p
- feat(medusa, inventory): Inventory Management module (#2956) @carlos-r-l-rodrigues
- feat(medusa): Migrate setPaymentSession to use new session flow (#2982) @adrien2p
- feat(medusa): added admin create endpoint for nested categories (#2985) @riqwan
Bugs
- fix(medusa): Add tax inclusive flag to return lines from line item (#2909) @olivermrbl
- fix(medusa): Remove redundant Redis delete call when invalidating cache entries (#2943) @olivermrbl
- fix(medusa): Custom repository take/skip when called without relations ( #2962) @adrien2p
- fix(medusa): Repository util mention of entity specifics (#2965) @adrien2p
- fix(medusa): Cancel order missing refunds relation (#2976) @adrien2p
- fix(medusa-payment-manual): Correct wrongly used input data (#2979) @adrien2p
- fix(medusa): Rename location migration (#2987) @olivermrbl
Chores
- tests(integration): Randomize option value name (#2918) @pKorsholm
- chore: refactor payment collection setPaymentSession (#2928) @adrien2p
- chore(integration-tests): Add test for database options (#2707) @olivermrbl
- chore: star prompt (#2955) @srindom
- refactor(medusa): move repository specs into its own folder (#2952) @riqwan
- chore(feature-flags): Publishable Keys enabled by default (#2967) @olivermrbl
- chore(feature-flags): Sales Channels enabled by default (#2966) @olivermrbl
Docs
- docs: added a feedback component in quickstart guides (#2894) @shahednasser
- docs: added troubleshooting docs (#2900) @shahednasser
- docs: shortened summaries in API reference (#2902) @shahednasser
- docs: add git as in the prerequisites section of the Quickstart Guide (#2892) @akarsh-jain-790
- docs: added Customers conceptual guide (#2908) @shahednasser
- docs: added Implement Customer Profiles documentation (#2910) @shahednasser
- docs: added Manage Customers documentation (#2911) @shahednasser
- docs: added a note about watching changes (#2917) @shahednasser
- chore(docs): added eslint to lint documentation code blocks (#2920) @shahednasser
- docs: updated steps in MinIO documentation (#2922) @shahednasser
- docs: fix wrong key for order placed in sendgrid docs (#2923) @pepiyu
- docs: added missing oas tag of uploads endpoints (#2924) @shahednasser
- docs: changed behavior of feedback component (#2929) @shahednasser
- docs: fixed oas tag of price list products endpoint (#2933) @shahednasser
- docs: added gift card documentation guides (#2939) @shahednasser
- docs: changed details related to new payment method signatures (#2876) @shahednasser
- docs: small fixes based on friction log (#2954) @shahednasser
- docs: Correct import products url (#2960) @binzcodes
- docs: changed links on the homepage (#2981) @shahednasser
v1.7.2
v1.7.1
Features
- feat(medusa): Ordering products on retrieval (#2815) @adrien2p
- feat(medusa-plugin-sendgrid) Add refund created event to sendgrid (#2740) @a-finocchiaro
- feat(medusa): Allow all relations on
/admin/*
endpoints (#2763) @fPolic - feat(medusa): CSV formatter accounts for comma and semicolon (#2789) @adrien2p
- feat(medusa): Add
has_account
to list-customers query params (#2811) @pKorsholm - feat(medusa): Validate required id before retrieving (#2738) @carlos-r-l-rodrigues
- feat(medusa,medusa-payment-stripe): Move database mutation from plugin to core (#2743) @adrien2p
- feat(medusa): Extract cron job logic to its own service (#2821) @olivermrbl
- feat(medusa-file-s3): Allow all AWS options in config (#2809) @pKorsholm
- feat(medusa): Allow custom database schema (#2819) @josetr
- feat(medusa): Allow creating DraftOrders without items (#2719) @josetr
- feat(medusa): Extend Module Resolution configuration (#2864) @pKorsholm
Bugs
- fix(medusa-core-utils): getConfigFile typings (#2783) @adrien2p
- fix(medusa): Totals on draft orders (#2785) @pKorsholm
- fix(medusa): Batch job not saving the errors properly (#2812) @adrien2p
- fix(medusa): Fix
q
param on/admin/price-lists/:id/products
(#2813) @kasperkristensen - fix(medusa): Gift card values & taxes are calculated correctly (#2777) @riqwan
- fix(medusa): Include
items.variant
relation in order calculation (#2869) @adrien2p
Chores
- chore(medusa): Remove unused event from order service (#2793) @pKorsholm
- chore(medusa): Replace inline Redis cache in favour of the CacheService (#2802) @adrien2p
- chore(oas): PascalCase for schemas + remove x-resourceId (#2847) @patrick-medusajs
- chore(oas): replace requestBody with $ref to req class JSDoc OAS (#2867) @patrick-medusajs
Docs
- docs: added an upgrade guide for 1.7.0 (#2750) @shahednasser
- docs: made changes to CORS usage/config (#2784) @shahednasser
- docs: changed the steps to run tests in local dev (#2786) @shahednasser
- docs: updated event reference (#2791) @shahednasser
- docs: added order claim documentation (#2805) @shahednasser
- docs: added upgrade guide for admin (#2816) @shahednasser
- docs: added region-related documentation pages (#2845) @shahednasser
- docs: Update gatsby occurance to vite (#2860) @chemicalkosek
- docs: add a note about running migrations after changing database type (#2699) @jonjahr
- docs: add test medusa cli after installation in set up dev env docs (#2866) @debashiscodes
- docs: added customize medusa admin docs (#2870) @shahednasser
Migrations & Upgrades
This version contains a fix around tax calculation on gift cards that require you to run a migration and a script. Please refer to this guide on upgrading to v1.7.1.
v1.7.0
Breaking changes
- feat(medusa)!: Claim customer orders (#2710) (see upgrade guide below)
Features
- feat(medusa): Trigger staging deployment (#2695)
- feat(medusa): Allow passing idempotency key to service layer create (#2701)
- feat(medusa): Performance improvements of Carts domain (#2648)
- feat(medusa): Claim customer orders (#2710)
- feat(medusa): Allow to assign a Collection to a Product on import (#2764)
- feat(medusa): Allow regexp in CORS configuration (#1935)
Bugs
- fix(medusa-payment-stripe): Hooks import (#2666)
- fix(medusa): Order service legacy decorate totals should add totals to items (#2667)
- fix(medusa): Use correct auth middleware in GET /store/auth (#2687)
- fix(medusa): Discounts service create validates against at least 1 region (#2729)
- fix(medusa): Decorate order with totals in store domain (#2747)
- fix(medusa): Update line item adjustments upon cart discount removal (#2751)
- fix(medusa): Keep country_code when partially updating cart addresses (#2683)
- fix(medusa): Creating tax lines in cart completion strategy (#2761)
- fix(medusa): Throw on flat rate shipping options with no amount (#2628)
- fix(medusa): Payment status on refunds (#2770)
- fix(medusa, medusa-react): Typing of optional fields on multiple product endpoints (#2771)
Chores
Docs
- docs: fixed tooltip causing overflow in codeblocks (#2679)
- docs: fixed error in code in override price selection (#2689)
- docs: added credentials option to fetch examples (#2694)
- docs: added deploy to railway docs (#2697)
- docs: added Create a Discount user guide (#2705)
- docs: added user guide for Manage Discounts (#2706)
- docs: added Discounts Architecture documentation (#2709)
- docs: added Use Discounts in Checkout documentation
- chore(docs): remove unused files from www directory (#2722)
- docs: Added Manage Discounts using Admin APIs doc (#2730)
- docs: delete unused doc files (#2732)
- docs: redesigned code blocks (#2745)
- docs: added Klarna documentation (#2746)
- docs: use correct publish directory for netlify deploy (#2741)
- docs: update environment variable used in admin's deploy guides (#2748)
Migrations & Upgrades
Upgrading to v1.7.0
v1.6.5
Features
- perf(medusa): Shipping options + TransactionBaseService initialization (#2632)
- Over 250x improvement (!)
- feat(medusa): Module Resolution API (#2597)
- feat(medusa): Cart and totals computational optimizations (#2475)
Bug fixes
- fix(medusa-payment-stripe): handle webhook serialization failure (#2607)
- fix(medusa): Transaction lock issues on create/update cart items (#2612)
- fix(medusa, medusa-plugin-discount-generator, medusa-plugin-restock-notification): Bump Medusa package versions (#2623)
- fix(draft-order): Create tax-inclusive draft order with discount (#2579)
- fix(medusa-payment-stripe): Missing transactions in Stripe provider (#2603)
v1.6.4
v1.6.3
v1.6.2
Features
- feat(medusa,medusa-js,medusa-react): Store API product types (#2552)
- feat(medusa): Add support for retrying failed event bus jobs (#2566)
Bugs
- fix(medusa): Order/Cart decorate totals should assign the items totals ( #2546)
- fix(medusa-telemetry): Fix incorrect import (#2574)
- fix(medusa): fix missing throw in the store cart create-payment-sessions (#2568)
Docs
- docs: added meta image (#2550)
- docs: redesigned announcement bar (#2559)
- docs: added code blocks without headers (#2560)
- docs: added upgrade guide for 1.6.1 (#2561)
- docs: added manage customer user guide (#2562)
- docs: added manage collections user guide (#2564)
- docs: added "users" user guides (#2565)
- docs: migrated images to cloudinary from imgur (#2569)
v1.6.1
Check out the upgrade guide for required actions after you update to this version of Medusa.
Features
- feat(medusa): config error handling in loaders (#2514)
- feat(Medusa): Allow custom shipping price on draft orders (#2531)
Docs
- docs: redesigned documentation (#2539)
- docs: fix main content not centered (#2540)
- docs: fix color mode tabs (#2541)
Chore
- chore(medusa): Enable analytics ff by default (#2532)