Releases: jwaliszko/ExpressiveAnnotations
v2.9.6
- registration of all client-side methods made configurable - see
registerAllMethods
option (only essential methods are registered by default), - implicit conversion of operands for ternary operator implemented.
EA v2.9.6 (full-stack product version) consists of the following components:
ExpressiveAnnotations.dll v2.7.4, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.4, expressive.annotations.validate.js v2.7.4
v2.9.5
v2.9.4
- performance fix - single parsing is executed when validator is created for the first time, instead of two as before (subsequent creations cached - no changes here),
- naming collisions with methods, regarding client-side expressions compatibility, handled now (with appropriate exception thrown when collision is detected),
- only essential methods, actually used in the expression, are registered within the model context (as opposite to all available methods as before), hence the chance of collision with other identifiers is much decreased,
- fixed console logging when exception was thrown + methods shown for model context in debug logs (context is not as bulky as before because number of registered methods is restricted to essential ones only, as already noted above).
This product version contains following components:
ExpressiveAnnotations.dll v2.7.3, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.4, expressive.annotations.validate.js v2.7.2
v2.9.3
- model deserialization fix related to arrays handling,
- web console debug messages more detailed and better formatted,
- few server-side exception messages more descriptive,
- client-side attribute-processing order changed - requirements computed prior to asserts,
- new
index
parameter provided toeavalid
event.
This product version contains following components:
ExpressiveAnnotations.dll v2.7.2, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.3, expressive.annotations.validate.js v2.7.1
v2.9.2
- new
cond
parameter provided toeavalid
event (see alsoea.settings.optimize
flag), - possibility to have enum values represented in input fields as string identifiers instead of integral numerics (see
ea.settings.enumsAsNumbers
flag), IsPhone()
toolchain method added,- type-conversion fixes,
- null/undefined reference fixes,
- few other minor changes.
This product version contains following components:
ExpressiveAnnotations.dll v2.7.1, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.2, expressive.annotations.validate.js v2.7.0
v2.9.1
- server-side, but MVC-related only, improvement, related to threading and performance.
This product version contains following components:
ExpressiveAnnotations.dll v2.7.0, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.1, expressive.annotations.validate.js v2.6.8
v2.9.0
- breaking change: new namespace,
ExpressiveAnnotations.Functions
, added for few types (you may be required to add this namespace if you're using functions management functionality), - full power of expression trees engine unlocked,
ValueParser
attributes recognized when applied to nested properties,- types conversion fixes, e.g.
- implicit conversion from char to string added,
- integral-type operands compatibility fixes - type of first operand lifted to type of second operand, if the latter is of higher precision (and vice-versa).
This product version contains following components:
ExpressiveAnnotations.dll v2.7.0, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.0, expressive.annotations.validate.js v2.6.8
v2.8.0
- massive parser fixes related to associativity handling + few extensions like array literal (see the grammar).
This product version contains following components:
ExpressiveAnnotations.dll v2.6.0, ExpressiveAnnotations.MvcUnobtrusive.dll v2.4.8, expressive.annotations.validate.js v2.6.8
v2.7.3
- parsing modification for methods accepting variable list of arguments - fixed case when no argument is provided,
- new
eavalid
event triggered for currently validated fields, - slightly modified selector responsible for filtering dependent fields to be validated (excludes fields excluded by jquery.validate.js),
- default static error message allowed to be modified.
This product version contains following components:
ExpressiveAnnotations.dll v2.5.1, ExpressiveAnnotations.MvcUnobtrusive.dll v2.4.7, expressive.annotations.validate.js v2.6.8
v2.7.2
- support for methods accepting variable number of arguments,
- built-in methods enriched with:
- date string parsing function:
DateTime ToDate(dateString)
, - aggregation functions:
double Min(params double[] values)
,double Max(params double[] values)
,double Sum(params double[] values)
,double Average(params double[] values)
.
- date string parsing function:
This product version contains following components:
ExpressiveAnnotations.dll v2.5.0, ExpressiveAnnotations.MvcUnobtrusive.dll v2.4.7, expressive.annotations.validate.js v2.6.7