# Strapi v4.0.6 — Release & Upgrade Intelligence
- **Product:** Strapi (https://strapi.io)
- **Version:** v4.0.6
- **Released:** Jan 28, 2022
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/strapi/updates/v4.0.6/

## Executive Summary (TL;DR)
Strapi v4.0.6. Source highlight: ⚠️**Please note**, a migration guide is required to enable the session middleware. This middleware is used for the Users & Permission plugin auth providers. See the link at the bottom of this change log ⚠️

## New Features
- [dependencies] Add strapi as peerDependency to Strapi Market plugins (https://github.com/strapi/strapi/pull/12313) @remidej

## Improvements
- [core:admin] Migrate 404 page and init 500 page (https://github.com/strapi/strapi/pull/12236) @HichamELBSI
- [plugin:graphql] unpin graphql and regenerate lockfile (https://github.com/strapi/strapi/pull/11866) @guyathomas

## Bug Fixes
- [core:admin] Fix admin.port not used in the webpack dev server configuration (https://github.com/strapi/strapi/pull/12215) @soupette
- [core:strapi] Fix SSO redirection (https://github.com/strapi/strapi/pull/12340) @Convly
- [core:upload] Fix duplicate & crop an image on the media library file edit form (https://github.com/strapi/strapi/pull/12282) @HichamELBSI
- [plugin:users-permissions] Enable session middleware by default (fixes U&P provider authentication) (https://github.com/strapi/strapi/pull/11825) @petersg83
- [core:admin] Admin enhancements & fixes (https://github.com/strapi/strapi/pull/12298) @HichamELBSI
