Skip to content

Releases: jwaliszko/ExpressiveAnnotations

v2.9.6

20 Sep 22:50
Compare
Choose a tag to compare
  • 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

02 Sep 16:42
Compare
Choose a tag to compare
  • internal methods call fixed at client-side.

This product version contains following components:
ExpressiveAnnotations.dll v2.7.3, ExpressiveAnnotations.MvcUnobtrusive.dll v2.5.4, expressive.annotations.validate.js v2.7.3

v2.9.4

12 Aug 17:00
Compare
Choose a tag to compare
  • 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

06 Aug 23:59
Compare
Choose a tag to compare
  • 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 to eavalid 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

24 Nov 20:53
Compare
Choose a tag to compare
  • new cond parameter provided to eavalid event (see also ea.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

20 Aug 20:24
Compare
Choose a tag to compare
  • 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

18 Aug 19:18
Compare
Choose a tag to compare
  • 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

07 Jul 15:32
Compare
Choose a tag to compare
  • 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

05 Jun 12:44
Compare
Choose a tag to compare
  • 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

03 May 18:37
Compare
Choose a tag to compare
  • 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).

This product version contains following components:
ExpressiveAnnotations.dll v2.5.0, ExpressiveAnnotations.MvcUnobtrusive.dll v2.4.7, expressive.annotations.validate.js v2.6.7