apache/shiro
 Watch   
 Star   
 Fork   
3 days ago
shiro

Apache Shiro 3.0.0 (Vote)

Minimum runtime Requirements

  • JDK 17
  • Jakarta EE 9/10/11+ (no javax.* namespace)
  • Spring 6/7+ and SpringBoot 3/4+
  • Guice 7/8+

Breaking Changes:

  • Made default implementation of PrincipalCollection immutable (ImmutablePrincipalCollection)

Security improvements:

  • 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)
  • [#2799] enh: warn if realm authentication fails by @lprimak in https://github.com/apache/shiro/pull/2798
  • Web RememberMe and Guice Enhancements by @lprimak in https://github.com/apache/shiro/pull/2800
  • Enable CORS preflight requests by default

Other Changes:

  • Modernized Java code to JDK 17 baseline
  • Added fluent API in MergableAuthenticationInfo class
  • Improved thread-safety of Shiro-native sessions (SimpleSession, SimpleSessionFactory, CachingSessionDAO)
  • Multi-Release JAR in order to support different JDK version levels, and JDK 25 Scoped values
  • Using Java Scoped for Subject and SecurityManager instead of ThreadLocals on JDK 25+
  • Separated out ShiroFilterFactoryBeanPostProcessor to fix post processing warnings in Spring
  • Using AssertJ for testing

Removals of deprecated artifacts

  • Removed Shiro BOM - no longer necessary
  • Removed EhCache module in favor of JCache
  • Removed Hazelcast module in favor of JCache
  • Removed deprecated SimplePrincipalCollection class
  • Removed deprecated RandomSessionIdGenerator class
  • Removed deprecated HttpSessionContext class
  • Removed deprecated JavaEnvironment class
  • Removed deprecated XmlSerializer.java class
  • Removed JakartaTransformer class and it's jakartify() method
  • Removed Spring/Boot ShiroUrlPathHelper class
  • Removed Spring/Boot's remoting support
  • Removed Spring/Boot deprecated ShiroRequestMappingConfig class
  • Removed samples and tests associated with deprecated modules

Minimum build requirements

  • JDK 21 (JDK 25 required to release)
  • Jakarta EE 11 (build-time default)
  • Spring 7/SpringBoot 4 (build-time default)
  • Guice 8 (build-time default)

What's Changed

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.2.1...shiro-root-3.0.0

10 days ago
shiro

Apache Shiro 2.2.1-vote

What's Changed

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.2.0...shiro-root-2.2.1

2026-05-15 04:35:54
shiro

shiro-root-2.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.1.0...shiro-root-2.2.0

2026-02-23 10:44:53
shiro

Apache Shiro 3.0.0-alpha-1-Vote

What's Changed

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.1.0...shiro-root-3.0.0-alpha-1

2026-02-05 04:31:42
shiro

shiro-root-2.1.0-vote

What's Changed

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.0.6...shiro-root-2.1.0

2025-11-02 21:37:35
shiro

Apache Shiro 2.0.6

Bug Fixes

Improvements

New Contributors

Dependency Updates

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.0.5...shiro-root-2.0.6

2025-07-02 07:55:16
shiro

Apache Shiro 2.0.5

Bug Fixes

Improvements

Dependency Updates

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.0.4...shiro-root-2.0.5

2025-04-17 09:43:21
shiro

Apache Shiro 2.0.4

Bug Fixes

Improvements

Dependency Updates

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.0.3...shiro-root-2.0.4

2025-04-06 05:06:10
shiro

Apache Shiro 2.0.3

Bug Fixes

Improvements

Dependency Updates

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.0.2...shiro-root-2.0.3

2024-11-07 09:14:08
shiro

Apache Shiro 2.0.2

Enhancements

Bug fixes

Maintenance Tasks

Dependency updates

New Contributors

Full Changelog: https://github.com/apache/shiro/compare/shiro-root-2.0.1...shiro-root-2.0.2