Releases: liqueurdetoile/DotObjectArray
Releases · liqueurdetoile/DotObjectArray
v3.1.2
v3.1.0
v3.0.0
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
v2.0.1
v2.0.0
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.