From 1e2a11811a4e61ab6b116260dfcae9aeae040dc6 Mon Sep 17 00:00:00 2001 From: Kris Kowal Date: Fri, 10 Jun 2011 12:14:35 -0700 Subject: [PATCH] v0.5.0 --- CHANGES | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 2621f4f3..e8d1449f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,20 @@ # vim:ts=4:sts=4:sw=4:et:tw=60 +0.5.0 - MINOR BACKWARD INCOMPATIBILITY + - Exceptions are no longer reported when consumed. + - Removed ``error`` from the API. Since exceptions are + getting consumed, throwing them in an errback causes the + exception to silently disappear. Use ``end``. + - Added ``end`` as both an API method and a promise-chain + ending method. It causes propagated rejections to be + thrown, which allows Node to write stack traces and + emit ``uncaughtException`` events, and browsers to + likewise emit ``onerror`` and log to the console. + - Added ``join`` and ``wait`` as promise chain functions, + so you can wait for variadic promises, returning your own + promise back, or join variadic promises, resolving with a + callback that receives variadic fulfillment values. + 0.4.4 - ``end`` no longer returns a promise. It is the end of the promise chain. diff --git a/package.json b/package.json index 4c8a6649..52ee29c5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "q", "description": "A library for promises (CommonJS/Promises/A,B,D)", - "version": "0.4.4", + "version": "0.5.0", "homepage": "http://github.com/kriskowal/q/", "author": "Kris Kowal (http://github.com/kriskowal/)", "contributors": [