v4.2.2 (2021-01-21)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-all</artifactId>
<version>4.2.2</version>
</dependency>
Scope
- Core lifecycle, configuration, and Providers, and Web parameter handling
Changes
- Added
- Allow
Hasorto build Environment and Settings independently. - Add
XmlNode.toSettingMapandtoSettingsMapto convert configuration nodes to Maps.
- Allow
- Improved
- Make
AppContextimplementCloseable, callingshutdownwhen closed. - Extend the
Providerinterface and make Hasor SPI compatible with standard Java SPI. - Improve handling of final fields in BeanContainer.
- Make
- Fixed
- Fix a null-pointer exception in
setupEnvironment. - Fix handling of non-array request parameters and add type conversion.
- Fix a null-pointer exception in
Upgrade notes
- Rename Servlet initialization parameters
hasor-hconfig-nameandhasor-envconfig-nametohasor-hconfig-fileandhasor-env-file, respectively. - Move the Core provider utilities into the common module; update imports when using these types directly.