All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
[1.9.5] - 2022-09-30
- License to MIT
- decimal-time and decimal-date-time now use maximum precision instead of rounding to 3 decimals.
- Timezone offset determination fails with negative half hour offset (IST).
- NPM build
- Tests refactored
- Date strings without timezone component are not always converted correctly in timezones that have DST.
- When returning datetime at midnight as string, omit the time part.
- 'strict' violations
- Dates are now considered local to fix constraints such as ". < today()".
- Built bundle JS files.
- Decimal-time() support.
- Distance() support.
- Make evaluator extensible with custom XPath functions.
- Decimal-date-time() not spec-compliant at all.
- Randomize() function that randomizes nodesets.
- Version() function as it has been broken for years and is not part of the spec.
- Min() and max() broken if non-last argument is result and is 0 or negative.
- Date strings not formatted according to spec.
- Max() and min() fail if nodeset is empty (0 repeats).
- Count-non-empty() support.
- Localize %a and $b in format-date().
- Ends-with() support.
- Abs() support.
- Negative int() conversion incorrect.
- Log() and exp10 functions.
- Min() and max() get stuck in infinite loop when used with multiple nodeset arguments.
- Int() returns incorrect result for very large or very small numbers.
- No longer working as CommonJS module.
- Some rounding errors in new tests on Travis.
- Added support for 11 additional math functions.
- Min() and max() return undefined for empty node
- Min() and max() do not return NaN for list that includes an empty node
- Added main to package.json
- Turned into CommonJS/AMD-friendly module
- Obsolete files
- filenames of built js files (WARNING!)
- everything (first 'version')