v4.2.1 (2020-10-16)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-all</artifactId>
<version>4.2.1</version>
</dependency>
Scope
- Core dynamic properties, configuration reading, SPI, and module lifecycle
Changes
- Added
- Add
PropertyDelegateto extend Bean properties dynamically, including their getters and setters. - Add
InputStreamSettings.addReaderfor additional configuration sources. - Support
toTypeSupplierin ApiBinder.
- Add
- Improved
- Deduplicate loading of
xxx-hconfig.xml. - When multiple constructors have
@ConstructorBy, prefer the one with the fewest parameters. - Allow modules to throw
IgnoreModuleExceptionfromloadModuleto skip their startup and shutdown callbacks.
- Deduplicate loading of
- Fixed
- Fix
loadSpiListenernot registering as intended so that@Spiannotations participate correctly in registration. - Fix startup failures in ordinary console applications without Web dependencies.
- Fix
Upgrade notes
- Rename
@AopIgnoreto@IgnoreProxy, controlling both AOP and dynamic property proxies.