Skip to content

Releases: alibaba/QLExpress

v4.0.9

11 Jan 14:28

Choose a tag to compare

  • Fix: left value type match #423
  • Fix: NPE in getOurVars and getOutAttrs when empty call #422
  • Delete SyntaxTreeFactory warmup
  • Feat:ID with 【】 support #420

Full Changelog: v4.0.8...v4.0.9

v4.0.8

03 Jan 17:14

Choose a tag to compare

What's Changed

  • Fix: Optimize the parsing performance issues of long if-else chains.
  • Fix: Optimize the parsing performance issues of long one-line scripts.
  • Fix: Issue with @QLFunction in variable-length argument scenarios.
  • Feature: Variable names support Chinese brackets.

New Contributors

Full Changelog: v4.0.7...v4.0.8

v4.0.7

14 Dec 05:47

Choose a tag to compare

  • Feature: Add an explicit method Express4Runner#clearDFACache to proactively purge the Antlr4 DFA cache. Doc
  • Feature: Add an option InitOptions#strictNewLines to disable strict newline mode, easing the migration path for QLExpress3 users. Doc

Full Changelog: v4.0.6...v4.0.7

v4.0.6

01 Dec 17:41

Choose a tag to compare

  • Fix: Fixed a bug in the extension function added by the addExtendFunction(String name, Class<?> bindingClass, QLFunctionalVarargs functionalVarargs) method, which occurred during multi-parameter call scenarios.
  • Feature:The new CheckOptions flag disableFunctionCalls allows function calls to be disabled during syntax validation.

Full Changelog: v4.0.5...v4.0.6

v4.0.5

17 Nov 09:06

Choose a tag to compare

  • Fix:Fixed issue where the default method of the interface implemented by the parent class could not be called. Commit
  • Feature:Added the Express4Runner#addFunctionOfServiceMethod method, compatible with version 3.x.x, to facilitate upgrading and migration for existing users.

Full Changelog: v4.0.4...v4.0.5

v4.0.4

01 Nov 10:34

Choose a tag to compare

What's Changed

  • Feature: Added a new syntax-checking method, Express4Runner#check, which supports options to restrict operators. PR Doc
  • Feature: Added the Express4Runner#getOutVarAttrs method, which supports parsing all variables that need to be passed in from the outside and their associated attributes; it is an enhanced version of getOutVarNames.
  • Feature:Unified define class of custom function, operator and extension function #407 Doc
  • Feature:Support template rendering Doc

New Contributors

Full Changelog: v4.0.3...v4.0.4

v4.0.3

17 Sep 14:37

Choose a tag to compare

  • Feature: Added addFunctionsDefinedInScript method to support registering custom functions directly via QLExpress scripts.
  • Feature: Added support for retrieving externally-defined functions invoked in the script through getOutFunctions.
  • Feature: Added support for clearing the compile cache via the clearCompileCache method.
  • Fix: Fixed syntax-parsing issue with ==-1.
  • Fix: Resolved class-recognition problem in getOutVarNames.

v4.0.2

29 Aug 17:05

Choose a tag to compare

  • Fix: a bug where calling a custom function annotated with @QLFunction with a null parameter would fail. see test case Express4RunnerTest#addFunctionByAnnotationTest.
  • Fix: concurrency issue in the cache; see the test case Express4RunnerTest#concurrentCacheTest.
  • Fix: a bug in getOutVarNames when handling fully-qualified class names.
  • Expression Trace: records the evaluation of if conditions.
  • Fix: Fixed an issue in precision scenarios where list.get() could not be invoked correctly. see test case Express4RunnerTest#listGetWhenPreciseTest.

v4.0.1

12 Aug 15:41

Choose a tag to compare

Fix some bugs in complex script scenarios.

  • Fix: invoke method with null value, see test case null_set_invoke.ql. @DQinYuan
  • Fix: if followed by case. #393 Thanks @lunasaw
  • Fix: primitive to Object boxing conversion in method resolution. #394 Thanks @lunasaw
  • Fix: forward function reference. #396 Thanks @lunasaw

v4.0.0

28 Jul 14:59

Choose a tag to compare

Full Changelog: v4.0.0-beta.9...v4.0.0