All notable changes to this project will be documented in this file.
This project adheres to Semantic
Versioning. Version syntax is
{major}.{minor}.{patch}
, where a field bump means:
- Patch: The release contains bug fixes.
- Minor: The release contains backward-compatible changes.
- Major: The release contains compatibility-breaking changes.
Remember: Both micro and minor releases are guaranteed to respect backward-compatibility and can be updated to without risk of breakage. For major releases, please check this changelog before upgrading.
- Meta: Update dependencies.
- Logic: LiveObject.$pull() should not pull unexistent properties.
- Logic: Add
observable.$once()
.
- Logic: LiveArray.$forEach() may return asynchronously.
- Logic:
liveObject.$set()
now keeps current value if none is provided.
- API: Add observable.$trap().
- Logic: Change '$change' event specs.
- API: Set $change as an observable event.
- API: $import() undefined keys when the property exist.
- Logic: Fix context for $forEach/$forExit.
- Logic: Fix methodWrapper (live-array.js).
- Logic: Fix LiveArray .$sort() method.
- Logic: Fix LiveArray
sort()
. (It wasn't using thecompare
parameter)
- Logic: Log errors thrown by trapped promises.
- Meta: Update .browserslistrc.
- Meta: Blacklist irrelevant polyfills.
- Logic:
undefined
keys shouldn't be$import
'ed.
- Meta: Switch to flattened @kisbox/helpers.
- Logic: Fix
$define()
handling of promises.
- Logic: Rewrite
$define
/$customDefine
behavior.$define()
now passes erroneous/pending states automatically.$customDefine()
can be used to obtain the anterior behavior.
- Logic: Fix
undefined
state for$define()
(LiveObject).
- Logic: Fix auto-update properties computation rules. In some cases,
$define()
d properties were computed even while one of their property where stillundefined
.
- Logic: Promise auto-resolution ($traps).
- Logic: '$define' requires depends to exist. Auto-update happens once all
dependencies are not
undefined
. - Logic: Allow falsy object (LiveObject).
.$import()
,.$export()
,.$link()
and.$pick()
now return silently instead of throwing an error when passed falsy objects such asundefined
- Logic: Fix event triggering order (ancestors first).
- Logic: Fix traps enumerability.
- Logic: Fix
$define
initial computation.
- Meta: Fix package.json dependencies.
Initial release.