设为首页 收藏本站
查看: 5719|回复: 0

[软件发布] Apache Commons JEXL 3.0 发布

[复制链接]

尚未签到

发表于 2016-1-3 12:03:32 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886 »   DSC0000.jpg
  Apache Commons JEXL 3.0 发布,此版本现已提供下载:
  https://commons.apache.org/jexl/download_jexl.cgi
  
  JEXL 3.0 是个重大版本,修改了公共 JEXL API;因为二进制和源代码的不兼容,JEXL 转移到了 org.apache.commons.jexl3 包,Maven artifactId 也改为 commons-jexl3。
  
  JEXL 3.0 现要求 Java 6。
  
  JEXL 3.0 主要改进
  ==================
  * A redesigned API that properly segregates the "public" part and the
  "internal" parts of JEXL.
  * A real difference between Expression and Script (scripts accept
  statements: for, while, etc).
  * The ability to create JEXL functions in script, closure/variables
  hoisting/currying included.
  * A set of assignment operators (+=, *= , ...).
  * A set of String matching operators (^= startsWith, $= endsWith) and
  their negative counterparts (!^, !$)
  * A range operator (x .. y) to ease writing loops (for(var x : 1 .. 10))
  * A literal set syntax to ease creating sets: { 1, 2...}
  
  新特性
  ====================
  * JEXL-178: 'Unsolvable property' message to provide details about
  underlying exception
  * JEXL-177: Unified expressions to be used in String literals in JEXL
  scripts
  * JEXL-176: Synonym operator name 'in' for operator =~ // Remove
  'foreach...in' syntax
  * JEXL-174: Overloadable property access operators
  * JEXL-173: Duck-typed java closures
  * JEXL-170: Implement assignment operators
  * JEXL-164: public getters for high/low properties for IntegerRange and
  LongRange
  * JEXL-152: Extend Range literal to support Long values
  * JEXL-149: Set Construction as per EL 3.0 spec
  * JEXL-133: String matching Operator short-hand inspired by CSS3
  * JEXL-128: ObjectContext should implement NamespaceResolver
  * JEXL-127: Allow the creation of functions
  * JEXL-123: Redesign API for stability
  * JEXL-122: Move JEXL from org.apache.comms.jexl2 to
  org.apache.commons.jexl3
  * JEXL-136: Script calls within scripts may fail with number arguments
  * JEXL-135: Using map as script parameter or local variable
  * JEXL-134: Issue with evaluation of concat of variables : \r + \n gives 0
  * JEXL-131: UnifiedJexl parsing may fail with NPE
  * JEXL-130: Ternary Conditional fails for Object values
  * JEXL-126: Decimal numbers literals should be 'double' by default
  (instead of 'float')
  
  Bugs 修复
  ==================

  * JEXL-184: dot-ed>  * JEXL-180: Documentation - suggests using float for financials
  * JEXL-171: Map access operator does not work if key name clashes with
  map property name

  * JEXL-169: A string is wrongly>  * JEXL-168: Dedicated operator for String concatenation
  * JEXL-79:  Add support for growable arrays (ArrayLists)
  * JEXL-167: Possible loss of value when converting BigDecimal to BigInteger
  * JEXL-166: Incorrect operator symbol for bitwise complement in
  jexlArithmetic
  * JEXL-163: empty(new ("java.lang.Long", 4294967296)) returns true
  * JEXL-162: empty() function throws an exception : unsupported type
  * JEXL-160: typo in package.html
  * JEXL-158: Handle locale decimal separators correctly
  * JEXL-157: Replace File.pathSeparator with File.separator
  * JEXL-146: Performance problem in Interpreter.unknownVariable mechanism

  * JEXL-145: Sandbox calling wrong check (classname vs>  * JEXL-144: Empty array property setting fails
  * JEXL-142: Map expression issue with empty key
  * JEXL-141: Suffix for Big Decimal and Big Integer Literal is
  incorrectly mentioned in Java docs
  * JEXL-137: Invalid script variable list for nested array/map access
  
  改进列表:
  http://commons.apache.org/jexl/changes-report.html
  Java  Expression Language (JEXL) 是一个表达式语言引擎,可以用来在应用或者框架中使用。JEXL 受Velocity  和  JSP 标签库 1.1 (JSTL) 的影响而产生的。需要注意的是, JEXL 并不时 JSTL 中的表达式语言的实现。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-159852-1-1.html 上篇帖子: IntelliJ IDEA 14.1.6 (build 141.3056) 更新 下篇帖子: AppWeb 5.6.1/6.2.1 发布,嵌入式 Web 服务器
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表