From 58a6c62fc9f4b8c775216db2b54ba211648fb929 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 18 Sep 2026 09:41:25 +0100 Subject: Document use of native promises --- NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 28bdbaa..7142069 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,18 @@ +# 1.13.0 + +* Replace the use of bluebird with native promises. + + This is arguably a breaking change: however, the return value of functions + such as convertToHtml() was only documented as a promise, rather than as a + bluebird promise. + + The only exception is that the docs previously used .done(): therefore, + when returning promises from the API to external users, a done method is + added. + + Any callers that rely on bluebird promises can convert the returned promise + into a bluebird promise using bluebird.Promise.resolve(). + # 1.12.3 * Avoid excessive backtracking when parsing an unterminated string with many -- cgit v1.2.3