Repository navigation
v3.0.0
Breaking changes
evaluateandcompilereturn date/time and Quantity values asstr;returnRawDatakeeps the objects- Date-only values are
Date, notDateTime - String functions raise on date/time values
- Member access returns a primitive and its
_xelement as one item: count(), first()/last(), comparisons and output see one value;.id,.extension,children()anddescendants()on it read the element =,!=and~compare every item of a collection, not only the first;~ignores orderwhere()andexists(criteria)drop items whose criteria is a resourcefalsenot()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