Hasor 4.2.3 is released, supports YAML, paging dialects support 20+, DataQL adds assert command

Hasor-DB

  • The dialect implementation is upgraded to the top-level module of the db project.
  • jdbc.mapping is closer to types, so jdbc.mapping is moved to types and becomes a submodule.
  • Enhance the dialect, adding the dialect implementation of paging. Paging capabilities are integrated into JdbcTemplate.
  • Fix the DEFAULT mapping error in the isolation level.
  • applyConnection and setAccessorApply are compatible with EFunction.
  • The loggerErrors attribute is removed.
  • The SQL dynamically generated in the lambda part will be directly assembled into? instead of as a map key.
  • Net.hasor.db.types.mapping package content adjustment belongs to net.hasor.db.dal.orm
  • Added Dameng, Renda Jincang database, Xugu database, and Oracle12c dialects.
  • LambdaOperations interface adds update, delete, insert capability interfaces (implementation will be placed in the next version)

Hasor-dataql

  • The ability of interview registrar in dataql-fx is deposited on SqlDialectRegister.
  • Delete the new version detection capability of dataway and keep the git pendant display.
  • Fix the problem that the custom LoginTokenChainSpi and LoginPerformChainSpi do not take effect. https://gitee.com/zycgit/hasor/issues/I37MMP
  • The assert command is added, and DataQL can be used as the assertion function in the test scenario.
  • Fix compatibility issues with oracle types. This problem is introduced when hasor-db added typeHandler in 4.2.2. https://gitee.com/zycgit/hasor/issues/I2W8Z5
  • AuthorizationType.java is split into PermissionGroup.java, PermissionType.java
  • Support  https://gitee.com/zycgit/hasor/issues/I3558A
  • Optimize the parameters of AuthorizationChainSpi, the previous parameters are not very convenient to use.
  • The permissions of PerformController are removed separately.
  • Refactor the exception system, all DataQL exceptions are derived from DataQueryException.
  • Split the compiler package to separate the ast and passer parts. The three component packages of passer, compiler and runtime are formed.
  • When the responseFormat part is abnormal, information such as the line number of the code in the message is split into the location separately.

Hasor-web

  • Invoker adds two asyncExecute methods, which can initiate one or more asynchronous requests to continue processing.
  • HttpParameters can read the attribute list of request.
  • InvokerLocal is added to HttpParameters, and FxWebInterceptor is simplified.

Hasor-Core

  • The new Settings storage data model is updated to a Map/List structure, and the logic of the underlying storage access of Settings is reconstructed.
  • The AbstractSettings class was renamed BasicSettings and can be used independently.
  • Added support for YAML as a configuration file format.
  • The newly added SettingsReader interface is used to encapsulate different types of configuration file reading mechanisms. Currently, three types (properties, xml, yaml) are supported and can be extended in the future
  • Optimize the interface and solve the SPI registration problem. https://gitee.com/zycgit/hasor/issues/I37LJE
  • EventContext adds getExecutor method to get internal Executor

Hasor-Commons

  • Add the ClassLoader parameter to ResourcesUtils.scan in SpiCallerContainer.
  • New tool interfaces EConsumer, EFunction, ESupplier
  • The Settings of SpaceHashMap precipitated to the common Hasor are not using it.
  • ArrayUtils adds two tool methods.
  • ResourcesUtils sort out a batch of methods with ClassLoader.
  • Fix ResourcesUtils getResourceAsStream cannot recognize "classpath:"

Guess you like

Origin www.oschina.net/news/131324/hasor-4-2-3-released