Skip to content

Releases: liqueurdetoile/DotObjectArray

v3.1.2

28 Feb 21:05
Compare
Choose a tag to compare

3.1.2 (2019-02-28)

Bug Fixes

  • Fix missing build errors when publish 3.1.1 (a442e8c)
  • Release 3.1.2 (c0b7abb)

v3.1.0

17 Mar 10:32
Compare
Choose a tag to compare

3.1.0 (2018-03-17)

Features

  • Add define method to set a default value (33f5ff6)

v3.0.0

15 Mar 18:37
Compare
Choose a tag to compare

3.0.0 (2018-03-15)

Feat

  • Add global trigger for throwing behaviour and add global pKey setter (b8fd177)

BREAKING CHANGES

  • Throwable
    The throwable behaviour is customizable per method or can be overriden with a global flag.
    For data fetching methods, the default behaviour is to return undefined. For a few sensible methods like empty, the default behaviour is to raise a TypeError exception.

Parent key
It is now possible to globally set a parent key to work on a subset without providing it as parameter each time

v2.1.0

28 Feb 10:58
Compare
Choose a tag to compare

2.1.0 (2018-02-28)

Features

  • getset: Add getset method for quick getter and setter with throwable parameter (903acca)

v2.0.1

28 Feb 01:07
Compare
Choose a tag to compare

2.0.1 (2018-02-28)

Bug Fixes

  • #has: Now recognize all undefined-like values for pKey (29160c9)

v2.0.0

28 Feb 00:05
Compare
Choose a tag to compare

2.0.0 (2018-02-28)

Feat

  • Add check method to fetch a key content and compare it (554ac87)

BREAKING CHANGES

  • All data queries methods now throw a TypeError exception instead of returning undefined when a key doesn't exist.

Migration guide

has or check method should be used before data queries if the key may not exist.
You can also wrap the call in a try/catch statement.

v1.6.0

27 Feb 18:32
Compare
Choose a tag to compare

1.6.0 (2018-02-27)

Features

  • dataset: Add parent key option (d9c2efb)

v1.5.1

27 Feb 17:47
Compare
Choose a tag to compare

1.5.1 (2018-02-27)

Bug Fixes

  • push: String type check for key and parent key (f5da53d)

v1.5.0

23 Feb 13:27
Compare
Choose a tag to compare

1.5.0 (2018-02-23)

Features

  • Add key path as fourth argument to forEach and reduce (08d1399)

v1.4.0

21 Feb 13:34
Compare
Choose a tag to compare

1.4.0 (2018-02-21)

Features

  • Add pull method as an alias for dataset (b5751e6)