v4.1.0 (2020-02-03)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-all</artifactId>
<version>4.1.0</version>
</dependency>
Scope
- Core injection, configuration, and SPI, and Web invocation and rendering
Changes
- Added
- Improve JSR-330 support in Core; allow
@InjectSettingsto specify a configuration namespace. - Provide a new SPI extension mechanism and use SPI for the Web listener process.
- Add
OneConfigto unify FilterConfig, ServletConfig, and InvokerConfig.
- Improve JSR-330 support in Core; allow
- Improved
- Convert Servlets to Mapping invocations and Filters to InvokerFilter to unify request processing.
- Add unit tests to Core and Web and fix potential issues.
- Look up MIME types in framework configuration first, then query ServletContext if not found.
Upgrade notes
- Change the default configuration file from
hasor-config.xmltohconfig.xml. Remove the original environment parameter properties-file mechanism;hasor-env-propertiesno longer takes effect. @Producesonly controls the response Content-Type; it no longer selects the renderer.- Remove
ListenerPipelineand methods related toRenderInvoker.lockViewType; update custom extensions. - Change the main configuration namespace from
http://project.hasor.net/hasor/schema/maintohttp://www.hasor.net/sechma/main.