Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Latest commit

 

History

History
154 lines (122 loc) · 3.34 KB

CHANGELOG.md

File metadata and controls

154 lines (122 loc) · 3.34 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

[1.9.5] - 2022-09-30

Changed
  • License to MIT

[1.9.4] - 2019-09-09

Changed
  • decimal-time and decimal-date-time now use maximum precision instead of rounding to 3 decimals.

[1.9.3] - 2019-08-14

Fixed
  • Timezone offset determination fails with negative half hour offset (IST).

[1.9.2] - 2019-04-24

Fixed
  • NPM build

[1.9.1] - 2019-04-24

Changed
  • Tests refactored
Fixed
  • Date strings without timezone component are not always converted correctly in timezones that have DST.

[1.9.0] - 2018-12-13

Changed
  • When returning datetime at midnight as string, omit the time part.

[1.8.2] - 2018-10-29

Fixed
  • 'strict' violations

[1.8.1] - 2018-06-27

Fixed
  • Dates are now considered local to fix constraints such as ". < today()".

[1.8.0] - 2018-04-25

Removed
  • Built bundle JS files.
Added
  • Decimal-time() support.
  • Distance() support.
  • Make evaluator extensible with custom XPath functions.
Fixed
  • Decimal-date-time() not spec-compliant at all.

[1.7.0] - 2018-04-22

Added
  • Randomize() function that randomizes nodesets.
Removed
  • Version() function as it has been broken for years and is not part of the spec.

[1.6.3] - 2018-04-21

  • Min() and max() broken if non-last argument is result and is 0 or negative.

[1.6.2] - 2018-01-23

Fixed
  • Date strings not formatted according to spec.

[1.6.1] - 2017-10-04

Fixed
  • Max() and min() fail if nodeset is empty (0 repeats).

[1.6.0] - 2017-05-26

Added
  • Count-non-empty() support.
Changed
  • Localize %a and $b in format-date().

[1.5.0] - 2017-04-25

Added
  • Ends-with() support.
  • Abs() support.
Fixed
  • Negative int() conversion incorrect.

[1.4.0] - 2017-03-07

Added
  • Log() and exp10 functions.

[1.3.3] - 2016-11-04

Fixed
  • Min() and max() get stuck in infinite loop when used with multiple nodeset arguments.

[1.3.2] - 2016-09-26

Fixed
  • Int() returns incorrect result for very large or very small numbers.

[1.3.1] - 2016-04-27

Fixed
  • No longer working as CommonJS module.
  • Some rounding errors in new tests on Travis.

[1.3.0] - 2016-04-26

Added
  • Added support for 11 additional math functions.

[1.2.4] - 2016-02-02

Fixed
  • Min() and max() return undefined for empty node
  • Min() and max() do not return NaN for list that includes an empty node

[1.2.3] - 2015-08-25

Changed
  • Added main to package.json

[1.2.2] - 2015-08-25

Changed
  • Turned into CommonJS/AMD-friendly module

[1.2.1] - 2015-07-10

Removed
  • Obsolete files

[1.2.0] - 2015-03-17

Changed
  • filenames of built js files (WARNING!)

[1.1.0] - 2015-3-11

Added
  • everything (first 'version')