v2.2.0 (2016-02-24)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-core</artifactId>
<version>2.2.0</version>
</dependency>
影响范围
- Core 事件与配置、Web 过滤链
更新内容
- 新增
- 增加事件注册插件,
Settings增加addSetting、clearSetting。
- 增加事件注册插件,
- 优化
- 资源插件由 Servlet 改为 Filter,未命中资源时继续交给 Servlet 容器。
- RESTful 插件改用 Filter,可通过
renderTo或ContextMap.setViewName指定模板。 - 工作目录的默认来源由
USER.DIR改为USER.HOME。 - XML 配置冲突时保留多个值;事件参数由
Object[]改为泛型。