v5.1.0 (2026-09-08)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-core</artifactId>
<version>5.1.0</version>
</dependency>
Scope
- Core, Web, and Boot Web.
Changes
- Added
- Adds
CircularDependencyExceptionto report circular dependency chains. - Adds URL prefix and welcome file support to
ResourceFilter. - Allows
RuntimeListenerto createAppContextthrough a host-supplied factory.
- Adds
- Improved
- Avoids duplicate creation and binding of installed modules.
- Moves embedded HTTP container APIs to Boot Web.
- Fixed
- Fixes route validation for the root path
/. - Fixes static resource path resolution under a non-root contextPath.
- Fixes null-pointer errors during Servlet context destruction after incomplete initialization.
- Fixes route validation for the root path
Upgrade notes
- Embedded container types move to
net.hasor.boot.webinhasor-boot-web; update dependencies and imports. - Core no longer installs the original
StartupModuleor annotation AOP extension by default; adjust startup configuration and extension dependencies as needed.