Skip to content

Releases: gajus/surgeon

v2.2.0

17 Jul 21:21
Compare
Choose a tag to compare

<a name"2.2.0">

2.2.0 (2017-07-17)

Bug Fixes

Features

  • log selector (b190ee0e)
  • select {0,1} will short-circuit the subroutine manifest if there is no match (8d1891bc)
  • log read subroutine value (52640686)

v2.1.0

16 Mar 10:18
Compare
Choose a tag to compare

<a name"2.1.0">

2.1.0 (2017-03-16)

Features

  • add additional aliases rih, roh, rtc (3615252e)
  • allow access to childNodes property (49ed2236)
  • log property access (a7cf1a75)

v2.0.1

16 Mar 07:23
Compare
Choose a tag to compare

<a name"2.0.1">

2.0.1 (2017-03-16)

Bug Fixes

v2.0.0

31 Jan 23:28
Compare
Choose a tag to compare

<a name"2.0.0">

2.0.0 (2017-01-31)

Breaking Changes

  • The API of the subroutines has changed:

Before: (evaluator, subjectValue, values)
Now: (subjectValue, values, {evalutor})

(53161e99)

v1.5.0

31 Jan 14:04
Compare
Choose a tag to compare

<a name"1.5.0">

1.5.0 (2017-01-31)

Features

v1.4.0

31 Jan 12:26
Compare
Choose a tag to compare

<a name"1.4.0">

1.4.0 (2017-01-31)

Bug Fixes

  • return null when expecting at most 1 result and no results found (84cb1680)

Features

  • throw an error if subject is not an element (6530043e)
  • add isElement method to the evaluator (05920226)

v1.3.0

31 Jan 01:55
Compare
Choose a tag to compare

<a name"1.3.0">

1.3.0 (2017-01-31)

Bug Fixes

  • use user-defined subroutines (713d372a)

Features

  • implement declarative API (9b862dd7)
  • implement a declarative API () (a15cf4d5, closes #4)

v1.2.1

22 Jan 18:39
Compare
Choose a tag to compare

<a name"1.2.1">

1.2.1 (2017-01-22)

Bug Fixes

v1.2.0

17 Jan 16:35
Compare
Choose a tag to compare

<a name"1.2.0">

1.2.0 (2017-01-17)

Features

  • make evaluator config depend on the running env (173f8183)

v1.1.0

17 Jan 12:02
Compare
Choose a tag to compare

<a name"1.1.0">

1.1.0 (2017-01-17)

Features

  • add :root structural pseudo-class (c545719d)