The 1.3.0 release introduces powerful new syntax features, making functional programming more expressive while also improving error handling.
New Additions
Pipeline Operator (
|>
) – A new way to chain function calls, making code more readable and structured.Error Cause (
new Error("Message", { cause })
) – Developers can now attach additional error context, simplifying debugging.
Enhancements
Console Debugging Upgrades –
console.debug()
now supports structured logging, making debugging more insightful.RegExp Unicode Enhancements – Expanding support for international character sets in regular expressions.
Bug Fixes
Array Sorting Fix –
Array.prototype.sort()
now maintains more consistent ordering.Infinite Loop Prevention in
Promise.any()
– Reducing risks of deadlocks in promise-based workflows.