Skip to content

v3.0.0

Choose a tag to compare

@ruscoder ruscoder released this 03 Dec 14:18
· 8 commits to master since this release
240e740

Breaking changes

  • evaluate and compile return date/time and Quantity values as str; returnRawData keeps the objects
  • Date-only values are Date, not DateTime
  • String functions raise on date/time values
  • Member access returns a primitive and its _x element as one item: count(), first()/last(), comparisons and output see one value; .id, .extension, children() and descendants() on it read the element
  • =, != and ~ compare every item of a collection, not only the first; ~ ignores order
  • where() and exists(criteria) drop items whose criteria is a resource false
  • not() raises on more than one item instead of returning an empty collection

What's Changed

  • Keep date/time values typed so comparisons respect timezone offsets #102 @ruscoder
  • Add a Date type for date-only values #103 @ruscoder
  • Return Quantity values as text from evaluate #105 @ruscoder
  • Fix date/time comparison and error cases #107 @ruscoder
  • Fix regressions against 2.2.4 in date comparison, comparator Quantities and speed #110 @ruscoder
  • Fix DateTime + time quantity at every precision and timezone offset #94 @ruscoder
  • Fix Time + time quantity at every precision and without an offset #96 @ruscoder
  • Fix subtracting months from a year-only date #99 @ruscoder
  • Allow python-dateutil 3 and 4 #92 @itzzdev09
  • Add hasValue() and keep a primitive and its extensions as one item #91 @pradeeppeddineni
  • Compare every item of multi-item collections in =, != and ~ #87 @oldrobotdev
  • Run error test cases and make not() fail on multiple items #90 @pradeeppeddineni
  • Fix where() filtering for boolean fields #86 @vera-rubin
  • Keep non-boolean values such as 0, "" and {} in where() criteria #112 @ruscoder
  • Treat null placeholders in primitive arrays as items without a value in string, math, logic, aggregate and set functions #115 @ruscoder

Full Changelog: v2.2.5...v3.0.0