3.0.0 available | Apache Shiro

1 min read Original article ↗

Apache Shiro Logo Simple. Java. Security. Apache Software Foundation Event Banner

Published by  on the

The Apache Shiro team is pleased to announce the release of Apache Shiro version 3.0.0.

Shiro 3.0.0 Release Logo

This release is available for download now.

Release Highlights

This is a new major release of Apache Shiro, with many new features and improvements, culminating more than two years of work.

  • JDK 17 is the new minimum baseline

  • Jakarta EE 9/10/11+ (no javax.* namespace)

  • Spring 6/7+ and SpringBoot 3/4+

  • Guice 7/8+

  • Using Java Scoped values for Subject and SecurityManager instead of ThreadLocals on JDK 25+

  • Improved thread-safety of Shiro-native sessions (SimpleSession, SimpleSessionFactory, CachingSessionDAO)

Breaking API Changes

  • Made default implementation of PrincipalCollection immutable (ImmutablePrincipalCollection)

Security Enhancements

  • Case-insensitive path matching is now enabled by default (hardened by default)

  • Added NoAccessFilter and add it to the default filter chain (breaking change, hardened-by-default)

  • Enable CORS preflight requests by default

End-of-life notice

Apache Shiro 1.x and 2.x are now considered end-of-life. If support for these versions is required, please check Commercial Support

Thank you to the following contributors!

All changes

Download

Documentation

Enjoy!

The Apache Shiro Team