Releases: medusajs/medusa
Releases · medusajs/medusa
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)
v1.6.0
Features
- feat(medusa, medusa-js, medusa-react): Support batch add resources on discount condition (#2430)
- feat(medusa): Support batch remove resources on discount condition (#2444)
- feat(medusa): Filter product list by discount condition id (#2464)
- feat(medusa): Align product import and export (#2471)
- feat: Development server for core + plugins (#2448)
- feat(stripe): Support automatic payment methods (#2492)
Bugs
- fix(medusa-dev-cli): Avoid dev cli auth (#2360)
- fix(medusa): Ensure no orphan product option values (#2408)
- fix(medusa): Product import - allow null product type (#2424)
- fix(medusa): List products by type_id (#2427)
- fix(medusa, medusa-js): Use price selection strategy for GET /admin/variants (#2270)
- fix(medusa, medusa-file-*): Protected uploads for file services (#2433)
- fix(medusa): Idempotency workStage used within transaction (#2358)
- fix(medusa): Allow AddressPayload or string on DraftOrder creation (#1902)
- fix(medusa): Select config should be undefined if length === 0 (#2469)
- fix(medusa): allow filtering collections by handle (#2482)
- fix(medusa): draft order set payment as captured (#2479)
- fix(medusa): Sales Channel migration script (#2521)
Chore
- chore(medusa): Move formatException to the errorHandler to be always applied (#2467)
Docs
v1.5.0
Features
- feat(medusa): PriceList import strategy (#2210)
- feat(medusa-file-s3, medusa): Add S3 export support (#2380)
- feat(medusa): Trim discount code on insert and retrieve (#2369)
- feat(medusa-js,medusa-react): Support expand fields in order retrieval (#2353)
- feat(medusa-payment-stripe): Migrate to the new Abstract payment service (#1790)
- feat(medusa): Migrate all core services to use TransactionBaseService (#2276)
- feat(medusa): Improve transform middleware (#2271)
Bugs
- fix(medusa): improve list shipping option (#2383)
- fix(medusa-payment-klarna,medusa-payment-stripe,medusa-payment-paypal): Payment provider totals calculation (#2381)
- fix(medusa): Optimize Cart totals calculation (#2372)
- fix(medusa): Wrongly referenced product id in ProductImportStrategy (#2351)
- fix(medusa): Add sales channel to order on creation (#2374)
- fix(medusa): Add allowed relations to order retrieval (#2370)
- fix(medusa): Race condition in cart completion strategy (#2341)
- fix(medusa-payment-manual): Add missing update method (#2254)
- fix(medusa): Query SalesChannel Products in storefront (#2272)
- fix(medusa): Order retrieval missing relations + allow for expand (#2267)
- fix(medusa): Infer currency from region on PriceList creation (#2232)
- fix(medusa): Normalize discount code before querying DB (#2224)
- fix(medusa-js): Use correct payload type in medusa-js (#2207)
Docs
- docs: added manage products user guide (#2226)
- docs: automated announcement bar (#2231)
- docs: updated docusaurus to 2.1.0 (#2233)
- docs for tax-inclusive pricing (#2159)
- docs: added feature flags docs (#2236)
- docs: added import products user guide (#2238)
- docs: added documentation necessary for local dev (#2237)
- docs: integrate Vale for documentation linting (#2242)
- docs: added how to create batch job strategy (#2247)
- docs: added customize import strategy doc (#2253)
- docs: improve Docker Documentation (#2248)
- docs: added price list to manage price lists (#2261)
- docs: conceptual docs for price lists and price selection strategy (#2259)
- docs: fixes to plugin documentation (#2265)
- docs: added how-to documentation for the PriceList API (#2260)
- docs: added Feedback component (#2274)
- docs: added separate sections for imports and exports in MinIO docs (#2279)
- docs: Added pattern usage sections in the API Reference (#2332)
- docs: added sales channel conceptual guide (#2342)
- docs: added how-to guide for "Mange Sales Channels" (#2344)
- docs: added customer group conceptual guide (#2361)
- docs: added troubleshooting section for cli tool (#2357)
- docs: added user guide for customer groups (#2364)
- docs: added a how-to guide for customer groups (#2362)
- docs: added order exchange user guide (#2368)
v1.4.1
v1.4.0
Features
- feat(medusa, medusa-js, medusa-react): Adds Currency endpoints (#2185)
Bugs
- fix(medusa): Handle new line char in csv cell and fix import strategy (#2150)
- fix(medusa): Make prices optional param when updating a variant
- fix(medusa): Check for Sales Channel on product import (#2202)
- fix(medusa): Allow address updates on carts w/o existing address (#2176)
Chores
- chore: Centralise ESLint rules (#2162)