[[migration]]
= Migrating to 6.2
:spring-security-reference-base-url: https://docs.spring.io/spring-security/reference

This guide provides instructions for migrating from Spring Security 6.1 to Spring Security 6.2.

== Update to Spring Security 6.2

When updating to a new minor version, it is important that you are already using the latest patch release of the previous minor version.
For example, if you are upgrading to Spring Security 6.2, you should already be using the latest patch release of Spring Security 6.1.
This makes it easier to identify any changes that may have been introduced in the new minor version.

Therefore, the first step is to ensure you are on the latest patch release of Spring Boot 3.1.
Next, you should ensure you are on the latest patch release of Spring Security 6.1.
Typically, the latest patch release of Spring Boot uses the latest patch release of Spring Security.

With those two steps complete, you can now update to Spring Security 6.2.
