From 58ac60ff5b3f37e48f9576597742b206bf084c38 Mon Sep 17 00:00:00 2001 From: Michael Demmer Date: Thu, 16 Jun 2016 13:39:15 -0700 Subject: [PATCH] update changelog for 0.7.0 release --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 395f7f4..024433a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # Change Log This file documents all notable changes to bluebird-retry. The release numbering uses [semantic versioning](http://semver.org). +## 0.7.0 +Released 2016-06-16 + +- Added support for a `predicate` option that uses bluebird's [filtered catch](http://bluebirdjs.com/docs/api/catch.html#filtered-catch) so that only errors matching a particular type or predicate function cause the operation to retry. +- Reworked the error handling to handle the case where the function rejects with a non-Error object and to no longer replace the timeout error stack with the original error's stack. + ## 0.6.1 Released 2016-04-17