# Medusa v2.1.1 — Release & Upgrade Intelligence
- **Product:** Medusa (https://medusajs.com)
- **Version:** v2.1.1
- **Released:** Dec 10, 2024
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/medusajs/updates/v2.1.1/

## Executive Summary (TL;DR)
Medusa v2.1.1. Source highlight: Shipping option rules

## New Features
- feat: add support for defining hasOne with FK
- refactor: migrate cart module to DML
- refactor: migrate sales-channel to DML
- refactor: migrate api key module to DML
- feat(js-sdk): Make credentials configurable in SDK
- refactor: migrate store module to DML

## Bug Fixes
- fix(dashboard,types): Add missing Metadata form for Region domain and fix payload types
- fix(core/js-sdk) Add the credentials field in the fetch() only if supported
- fix(dashboard): Cleanup unsafe accesses to possibly undefined values in order timeline
- fix(): Deleted default sales channel should be prevented
- fix(utils): DML one to one definition
- fix(workflows-sdk): name for when/then step
