UNPKG

63 kBMarkdownView Raw
1# Change Log
2
3## 3.16.0
4
5* Add new `td.instance()` method which is a one-liner of `FakeFoo = td.constructor(Foo); new FakeFoo()` [#448](https://github.com/testdouble/testdouble.js/pull/448)
6
7## 3.15.0
8
9* Add support for faking native ES modules with `td.replaceEsm()` [#445](https://github.com/testdouble/testdouble.js/pull/445)
10
11## 3.14.0
12
13* Type updates [#437](https://github.com/testdouble/testdouble.js/pull/437)
14
15## 3.13.1
16
17* Fixes cases where test double objects are passed into `when` or `verify`
18 [#427](https://github.com/testdouble/testdouble.js/pull/427)
19
20## Automated changelog (pre-3.13.0) - github_changelog_generator stopped working for us
21
22## [v3.12.4](https://github.com/testdouble/testdouble.js/tree/v3.12.4) (2019-08-21)
23[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.3...v3.12.4)
24
25## [v3.12.3](https://github.com/testdouble/testdouble.js/tree/v3.12.3) (2019-08-04)
26[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.2...v3.12.3)
27
28**Closed issues:**
29
30- Destructuring support fail. [\#424](https://github.com/testdouble/testdouble.js/issues/424)
31
32**Merged pull requests:**
33
34- Add cloneArgs to VerificationConfig type [\#425](https://github.com/testdouble/testdouble.js/pull/425) ([lumaxis](https://github.com/lumaxis))
35
36## [v3.12.2](https://github.com/testdouble/testdouble.js/tree/v3.12.2) (2019-07-16)
37[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.1...v3.12.2)
38
39**Merged pull requests:**
40
41- Update dependencies [\#423](https://github.com/testdouble/testdouble.js/pull/423) ([lumaxis](https://github.com/lumaxis))
42- Run CI also on Node 10 [\#422](https://github.com/testdouble/testdouble.js/pull/422) ([lumaxis](https://github.com/lumaxis))
43
44## [v3.12.1](https://github.com/testdouble/testdouble.js/tree/v3.12.1) (2019-07-03)
45[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.0...v3.12.1)
46
47**Closed issues:**
48
49- MockService Not Working in Angular 8 [\#420](https://github.com/testdouble/testdouble.js/issues/420)
50- ReferenceError: td is not defined [\#418](https://github.com/testdouble/testdouble.js/issues/418)
51
52**Merged pull requests:**
53
54- \[Issue-370\] - Update createTestDoublesForFunctionNames to return an object [\#421](https://github.com/testdouble/testdouble.js/pull/421) ([bannmoore](https://github.com/bannmoore))
55
56## [v3.12.0](https://github.com/testdouble/testdouble.js/tree/v3.12.0) (2019-06-08)
57[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.11.0...v3.12.0)
58
59**Closed issues:**
60
61- Challenges testing mutable objects [\#416](https://github.com/testdouble/testdouble.js/issues/416)
62- How to stub out instance methods and replace dependencies when writing a request test? [\#414](https://github.com/testdouble/testdouble.js/issues/414)
63- Mocking Behavior Similar To Rspec: expect to receive and return [\#413](https://github.com/testdouble/testdouble.js/issues/413)
64- How can I verify a call to a stub which is configured to throw? [\#412](https://github.com/testdouble/testdouble.js/issues/412)
65- td.replace a double arrow function [\#411](https://github.com/testdouble/testdouble.js/issues/411)
66- Unable to replace mongoose.model [\#410](https://github.com/testdouble/testdouble.js/issues/410)
67- Cannot test testdoubles inside .then function. [\#409](https://github.com/testdouble/testdouble.js/issues/409)
68- How to test a error subscription [\#408](https://github.com/testdouble/testdouble.js/issues/408)
69- Arguments of mocked functions are saved by reference. [\#375](https://github.com/testdouble/testdouble.js/issues/375)
70
71**Merged pull requests:**
72
73- add cloneArgs option to td.when/td.verify [\#417](https://github.com/testdouble/testdouble.js/pull/417) ([searls](https://github.com/searls))
74
75## [v3.11.0](https://github.com/testdouble/testdouble.js/tree/v3.11.0) (2019-02-24)
76[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.10.0...v3.11.0)
77
78**Merged pull requests:**
79
80- allow for deeply nested test double objects [\#407](https://github.com/testdouble/testdouble.js/pull/407) ([searls](https://github.com/searls))
81- have the deep nested proxy work with explain [\#406](https://github.com/testdouble/testdouble.js/pull/406) ([lgandecki](https://github.com/lgandecki))
82
83## [v3.10.0](https://github.com/testdouble/testdouble.js/tree/v3.10.0) (2019-02-02)
84[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.3...v3.10.0)
85
86**Closed issues:**
87
88- 2 consecutive 'when\(...\).thenTrow\(...\)' expectations crashes [\#403](https://github.com/testdouble/testdouble.js/issues/403)
89- Remove es6-map polyfill [\#367](https://github.com/testdouble/testdouble.js/issues/367)
90- How to mock typescript abstract class? [\#356](https://github.com/testdouble/testdouble.js/issues/356)
91
92**Merged pull requests:**
93
94- Remove unnecessary dependency on es6-map. [\#405](https://github.com/testdouble/testdouble.js/pull/405) ([primarilysnark](https://github.com/primarilysnark))
95- docs: Correct broken link to testdouble-qunit [\#404](https://github.com/testdouble/testdouble.js/pull/404) ([jasonmit](https://github.com/jasonmit))
96
97## [v3.9.3](https://github.com/testdouble/testdouble.js/tree/v3.9.3) (2019-01-16)
98[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.2...v3.9.3)
99
100**Merged pull requests:**
101
102- Typescript usage docs [\#401](https://github.com/testdouble/testdouble.js/pull/401) ([lgandecki](https://github.com/lgandecki))
103- Explain object [\#398](https://github.com/testdouble/testdouble.js/pull/398) ([robwold](https://github.com/robwold))
104
105## [v3.9.2](https://github.com/testdouble/testdouble.js/tree/v3.9.2) (2018-12-31)
106[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.1...v3.9.2)
107
108**Closed issues:**
109
110- Call a Callback Multiple Times [\#397](https://github.com/testdouble/testdouble.js/issues/397)
111- TypeScript: Update Definition [\#395](https://github.com/testdouble/testdouble.js/issues/395)
112
113**Merged pull requests:**
114
115- allow for creating testdoubles using interface only [\#400](https://github.com/testdouble/testdouble.js/pull/400) ([lgandecki](https://github.com/lgandecki))
116
117## [v3.9.1](https://github.com/testdouble/testdouble.js/tree/v3.9.1) (2018-11-29)
118[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.0...v3.9.1)
119
120**Closed issues:**
121
122- td.replace before it vs td.replace inside of it [\#394](https://github.com/testdouble/testdouble.js/issues/394)
123- Add sticky `td.reset.onReset` hook [\#377](https://github.com/testdouble/testdouble.js/issues/377)
124
125**Merged pull requests:**
126
127- Add type information for imitation to the exported typings file [\#396](https://github.com/testdouble/testdouble.js/pull/396) ([lisamai](https://github.com/lisamai))
128
129## [v3.9.0](https://github.com/testdouble/testdouble.js/tree/v3.9.0) (2018-11-20)
130[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.8.2...v3.9.0)
131
132**Closed issues:**
133
134- There are legitimate cases to use td.verify [\#389](https://github.com/testdouble/testdouble.js/issues/389)
135- TypeError on td.replace\('aws-sdk'\) [\#388](https://github.com/testdouble/testdouble.js/issues/388)
136- Multiple stubs, count wrong? [\#387](https://github.com/testdouble/testdouble.js/issues/387)
137
138**Merged pull requests:**
139
140- Add onReset hook. [\#393](https://github.com/testdouble/testdouble.js/pull/393) ([primarilysnark](https://github.com/primarilysnark))
141- fix simple typos [\#392](https://github.com/testdouble/testdouble.js/pull/392) ([lpmi-13](https://github.com/lpmi-13))
142- feat: Add ava tests examples [\#385](https://github.com/testdouble/testdouble.js/pull/385) ([pke](https://github.com/pke))
143
144## [v3.8.2](https://github.com/testdouble/testdouble.js/tree/v3.8.2) (2018-10-08)
145[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.8.1...v3.8.2)
146
147**Implemented enhancements:**
148
149- Verifying stubs that return promises without warnings? [\#245](https://github.com/testdouble/testdouble.js/issues/245)
150
151**Closed issues:**
152
153- How do I verify only 1 of 2 stubbed functions was called? [\#384](https://github.com/testdouble/testdouble.js/issues/384)
154- Fake timers / mock Date [\#383](https://github.com/testdouble/testdouble.js/issues/383)
155- Getting a not a constructor error when trying to stub an external class dependency [\#382](https://github.com/testdouble/testdouble.js/issues/382)
156- how to handle async callbacks [\#380](https://github.com/testdouble/testdouble.js/issues/380)
157- mocking non-direct dependency [\#379](https://github.com/testdouble/testdouble.js/issues/379)
158- How to replace momentjs ? [\#378](https://github.com/testdouble/testdouble.js/issues/378)
159- testdouble incompatible with coverage tools? [\#374](https://github.com/testdouble/testdouble.js/issues/374)
160- td.replaced module still returning stub after a td.reset\(\) [\#373](https://github.com/testdouble/testdouble.js/issues/373)
161- Awaiting a testdouble function always resolves [\#371](https://github.com/testdouble/testdouble.js/issues/371)
162- Stub one function and use originals for rest [\#368](https://github.com/testdouble/testdouble.js/issues/368)
163- td.replace is breaking type definitions from sanctuary.js [\#327](https://github.com/testdouble/testdouble.js/issues/327)
164
165**Merged pull requests:**
166
167- upgrade everything [\#386](https://github.com/testdouble/testdouble.js/pull/386) ([searls](https://github.com/searls))
168- Fix method name typo in README example [\#369](https://github.com/testdouble/testdouble.js/pull/369) ([jackjennings](https://github.com/jackjennings))
169- Update deps [\#366](https://github.com/testdouble/testdouble.js/pull/366) ([searls](https://github.com/searls))
170
171## [v3.8.1](https://github.com/testdouble/testdouble.js/tree/v3.8.1) (2018-05-05)
172[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.8.0...v3.8.1)
173
174**Implemented enhancements:**
175
176- Better verification messages [\#161](https://github.com/testdouble/testdouble.js/issues/161)
177
178**Closed issues:**
179
180- Trouble replacing ES6 classes [\#365](https://github.com/testdouble/testdouble.js/issues/365)
181- You have a global leak: `\_\_core-js\_shared\_\_` [\#364](https://github.com/testdouble/testdouble.js/issues/364)
182- testdouble causes bluebird to emit Unhandled rejection [\#168](https://github.com/testdouble/testdouble.js/issues/168)
183- Should style API of chai.js doesn't always work on test doubles since 1.6.2 [\#134](https://github.com/testdouble/testdouble.js/issues/134)
184
185## [v3.8.0](https://github.com/testdouble/testdouble.js/tree/v3.8.0) (2018-04-29)
186[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.7.0...v3.8.0)
187
188**Implemented enhancements:**
189
190- Improve td.replace error message for incorrect module path [\#355](https://github.com/testdouble/testdouble.js/issues/355)
191
192**Closed issues:**
193
194- td.verify\(object.function\(new Class\("param"\)\)\) not asserting "param" [\#362](https://github.com/testdouble/testdouble.js/issues/362)
195- How to Stub a Chained Function [\#360](https://github.com/testdouble/testdouble.js/issues/360)
196- Critical dependency: the request of a dependency is an expression? [\#354](https://github.com/testdouble/testdouble.js/issues/354)
197
198**Merged pull requests:**
199
200- Better missing module message for td.replace\(\) [\#363](https://github.com/testdouble/testdouble.js/pull/363) ([searls](https://github.com/searls))
201
202## [v3.7.0](https://github.com/testdouble/testdouble.js/tree/v3.7.0) (2018-03-31)
203[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.6.0...v3.7.0)
204
205**Closed issues:**
206
207- Compare dates when using td.matchers.contains [\#358](https://github.com/testdouble/testdouble.js/issues/358)
208- verifiable thenThrow [\#288](https://github.com/testdouble/testdouble.js/issues/288)
209- docs: simple page that lists the entire API [\#253](https://github.com/testdouble/testdouble.js/issues/253)
210- Planning Discussion for a move to TypeScript [\#252](https://github.com/testdouble/testdouble.js/issues/252)
211- More support for ES Modules [\#246](https://github.com/testdouble/testdouble.js/issues/246)
212- Consider using \_.isObjectLike rather than \_.isPlainObject within td.object [\#224](https://github.com/testdouble/testdouble.js/issues/224)
213
214**Merged pull requests:**
215
216- Enhance contains for edge cases, make nesting behave consistently [\#359](https://github.com/testdouble/testdouble.js/pull/359) ([searls](https://github.com/searls))
217
218## [v3.6.0](https://github.com/testdouble/testdouble.js/tree/v3.6.0) (2018-03-24)
219[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.5.2...v3.6.0)
220
221**Closed issues:**
222
223- td.replace a required method? [\#353](https://github.com/testdouble/testdouble.js/issues/353)
224
225**Merged pull requests:**
226
227- Export td.quibble [\#357](https://github.com/testdouble/testdouble.js/pull/357) ([searls](https://github.com/searls))
228- Avoid implicit any for TypeScript definitions [\#351](https://github.com/testdouble/testdouble.js/pull/351) ([rayalan](https://github.com/rayalan))
229- Merge Circle CI config to master [\#349](https://github.com/testdouble/testdouble.js/pull/349) ([searls](https://github.com/searls))
230- Merge in Circle CI config [\#348](https://github.com/testdouble/testdouble.js/pull/348) ([searls](https://github.com/searls))
231
232## [v3.5.2](https://github.com/testdouble/testdouble.js/tree/v3.5.2) (2018-02-26)
233[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.5.1...v3.5.2)
234
235**Merged pull requests:**
236
237- replace quibble.browser.js with ES5 version [\#347](https://github.com/testdouble/testdouble.js/pull/347) ([davemo](https://github.com/davemo))
238- Fixed broken npm install on Windows [\#345](https://github.com/testdouble/testdouble.js/pull/345) ([duluca](https://github.com/duluca))
239- Speed up the build [\#344](https://github.com/testdouble/testdouble.js/pull/344) ([searls](https://github.com/searls))
240
241## [v3.5.1](https://github.com/testdouble/testdouble.js/tree/v3.5.1) (2018-02-25)
242[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.5.0...v3.5.1)
243
244**Closed issues:**
245
246- slow performance when replacing big modules [\#340](https://github.com/testdouble/testdouble.js/issues/340)
247- Replace method in tested file [\#339](https://github.com/testdouble/testdouble.js/issues/339)
248
249**Merged pull requests:**
250
251- Try out TypeScript [\#343](https://github.com/testdouble/testdouble.js/pull/343) ([searls](https://github.com/searls))
252- Simplify build [\#342](https://github.com/testdouble/testdouble.js/pull/342) ([searls](https://github.com/searls))
253
254## [v3.5.0](https://github.com/testdouble/testdouble.js/tree/v3.5.0) (2018-02-11)
255[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.4.0...v3.5.0)
256
257**Closed issues:**
258
259- Warn jest users when they call td.replace\(moduleName\) and point them to testdouble-jest [\#337](https://github.com/testdouble/testdouble.js/issues/337)
260- td.replace doesn't work with Jest [\#331](https://github.com/testdouble/testdouble.js/issues/331)
261
262**Merged pull requests:**
263
264- Jest support for td replace [\#338](https://github.com/testdouble/testdouble.js/pull/338) ([searls](https://github.com/searls))
265
266## [v3.4.0](https://github.com/testdouble/testdouble.js/tree/v3.4.0) (2018-02-10)
267[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.4...v3.4.0)
268
269**Fixed bugs:**
270
271- The webpack example project doesn't work [\#334](https://github.com/testdouble/testdouble.js/issues/334)
272
273**Closed issues:**
274
275- Update Getting Started to pass instance object instead of constructor to td.object\(\) [\#329](https://github.com/testdouble/testdouble.js/issues/329)
276
277**Merged pull requests:**
278
279- Publicize td.imitate\(\) [\#336](https://github.com/testdouble/testdouble.js/pull/336) ([searls](https://github.com/searls))
280- fix webpack example project [\#335](https://github.com/testdouble/testdouble.js/pull/335) ([searls](https://github.com/searls))
281- Upgrade dependencies, remove yarn [\#333](https://github.com/testdouble/testdouble.js/pull/333) ([searls](https://github.com/searls))
282
283## [v3.3.4](https://github.com/testdouble/testdouble.js/tree/v3.3.4) (2018-02-09)
284[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.3...v3.3.4)
285
286**Merged pull requests:**
287
288- Update readme, move doc outline to docs/ [\#332](https://github.com/testdouble/testdouble.js/pull/332) ([searls](https://github.com/searls))
289- Updated Getting Started to match td.object\(\)'s changes [\#330](https://github.com/testdouble/testdouble.js/pull/330) ([StanleySathler](https://github.com/StanleySathler))
290- First draft of issue template [\#328](https://github.com/testdouble/testdouble.js/pull/328) ([stevenjackson](https://github.com/stevenjackson))
291- WIP - remove dist from git [\#299](https://github.com/testdouble/testdouble.js/pull/299) ([jasonkarns](https://github.com/jasonkarns))
292
293## [v3.3.3](https://github.com/testdouble/testdouble.js/tree/v3.3.3) (2018-01-18)
294[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.2...v3.3.3)
295
296**Fixed bugs:**
297
298- Cannot convert a Symbol value to a string [\#300](https://github.com/testdouble/testdouble.js/issues/300)
299
300**Closed issues:**
301
302- Stubbing function from same module under test not replacing real implementation [\#325](https://github.com/testdouble/testdouble.js/issues/325)
303- td.replace does not follow node\_modules symlinks since v3.3.2 [\#324](https://github.com/testdouble/testdouble.js/issues/324)
304- td.explain does not work on new instance of td.replace\('lib'\) [\#323](https://github.com/testdouble/testdouble.js/issues/323)
305- td.object\(undefined\) allowes to call any method [\#321](https://github.com/testdouble/testdouble.js/issues/321)
306- td.replace\('mongoose'\) throws exception [\#316](https://github.com/testdouble/testdouble.js/issues/316)
307
308**Merged pull requests:**
309
310- Symbols must be stringified explicitly [\#301](https://github.com/testdouble/testdouble.js/pull/301) ([jasonkarns](https://github.com/jasonkarns))
311
312## [v3.3.2](https://github.com/testdouble/testdouble.js/tree/v3.3.2) (2018-01-16)
313[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.1...v3.3.2)
314
315**Fixed bugs:**
316
317- td.replace\(\) on an un-parseable source will claim the module is missing instead of printing the parse error [\#320](https://github.com/testdouble/testdouble.js/issues/320)
318
319**Closed issues:**
320
321- thenThrow does not work if stub passed down [\#319](https://github.com/testdouble/testdouble.js/issues/319)
322
323**Merged pull requests:**
324
325- Erroring on undefined for td.object [\#322](https://github.com/testdouble/testdouble.js/pull/322) ([gotenxds](https://github.com/gotenxds))
326
327## [v3.3.1](https://github.com/testdouble/testdouble.js/tree/v3.3.1) (2018-01-05)
328[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.0...v3.3.1)
329
330## [v3.3.0](https://github.com/testdouble/testdouble.js/tree/v3.3.0) (2017-12-26)
331[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.7...v3.3.0)
332
333**Merged pull requests:**
334
335- allow using matchers inside contains [\#317](https://github.com/testdouble/testdouble.js/pull/317) ([lgandecki](https://github.com/lgandecki))
336
337## [v3.2.7](https://github.com/testdouble/testdouble.js/tree/v3.2.7) (2017-12-20)
338[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.6...v3.2.7)
339
340**Fixed bugs:**
341
342- Disallow captors in `td.when\(...\)` [\#308](https://github.com/testdouble/testdouble.js/issues/308)
343
344**Closed issues:**
345
346- Unexpected output with td.matchers.isA\(Function\) [\#307](https://github.com/testdouble/testdouble.js/issues/307)
347- Different objects created using the same constructor function obtained using td.constructor share the same stubs [\#305](https://github.com/testdouble/testdouble.js/issues/305)
348- Using invocation verification with QUnit [\#304](https://github.com/testdouble/testdouble.js/issues/304)
349- example tests don't work on latest master [\#302](https://github.com/testdouble/testdouble.js/issues/302)
350- Error when running install inside testdouble.js [\#298](https://github.com/testdouble/testdouble.js/issues/298)
351- Can I use test double with enzyme on client end to test if method runs on button click ? [\#297](https://github.com/testdouble/testdouble.js/issues/297)
352- Node module mocking with td.replace\(\) [\#294](https://github.com/testdouble/testdouble.js/issues/294)
353- replacing a nested dependency does not get reset correctly [\#293](https://github.com/testdouble/testdouble.js/issues/293)
354- How to verify the value of "this" keyword on a call? [\#292](https://github.com/testdouble/testdouble.js/issues/292)
355- How to mock typescript fields [\#291](https://github.com/testdouble/testdouble.js/issues/291)
356
357**Merged pull requests:**
358
359- Ensure captors only fire when invocation satisfies when/verify [\#311](https://github.com/testdouble/testdouble.js/pull/311) ([searls](https://github.com/searls))
360- Remove extra word [\#306](https://github.com/testdouble/testdouble.js/pull/306) ([carlbennettnz](https://github.com/carlbennettnz))
361- Fix example tests [\#303](https://github.com/testdouble/testdouble.js/pull/303) ([jasonkarns](https://github.com/jasonkarns))
362- grammar tweak [\#289](https://github.com/testdouble/testdouble.js/pull/289) ([jasonkarns](https://github.com/jasonkarns))
363
364## [v3.2.6](https://github.com/testdouble/testdouble.js/tree/v3.2.6) (2017-09-18)
365[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.5...v3.2.6)
366
367**Merged pull requests:**
368
369- Fix outline of FAQ in README [\#287](https://github.com/testdouble/testdouble.js/pull/287) ([rosston](https://github.com/rosston))
370- Improve TS Support [\#239](https://github.com/testdouble/testdouble.js/pull/239) ([sgtoj](https://github.com/sgtoj))
371
372## [v3.2.5](https://github.com/testdouble/testdouble.js/tree/v3.2.5) (2017-09-07)
373[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.4...v3.2.5)
374
375**Closed issues:**
376
377- Missing support for async functions? \(Node 8\) [\#284](https://github.com/testdouble/testdouble.js/issues/284)
378- redacted [\#283](https://github.com/testdouble/testdouble.js/issues/283)
379- Stubbing priority [\#280](https://github.com/testdouble/testdouble.js/issues/280)
380
381**Merged pull requests:**
382
383- Upgrade lodash \(and support async functions\) [\#285](https://github.com/testdouble/testdouble.js/pull/285) ([rosston](https://github.com/rosston))
384- Add previous/next links to documentation files [\#282](https://github.com/testdouble/testdouble.js/pull/282) ([randycoulman](https://github.com/randycoulman))
385
386## [v3.2.4](https://github.com/testdouble/testdouble.js/tree/v3.2.4) (2017-08-06)
387[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.3...v3.2.4)
388
389**Closed issues:**
390
391- td.constructor\(\) ReferenceError: td is not defined [\#279](https://github.com/testdouble/testdouble.js/issues/279)
392
393## [v3.2.3](https://github.com/testdouble/testdouble.js/tree/v3.2.3) (2017-08-01)
394[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.2...v3.2.3)
395
396**Fixed bugs:**
397
398- Verifying a td.constructor\(\) fails [\#278](https://github.com/testdouble/testdouble.js/issues/278)
399
400**Closed issues:**
401
402- Invocation sequence testing [\#277](https://github.com/testdouble/testdouble.js/issues/277)
403- Cannot assign to read only property 'constructor' after updating to v3.2.x [\#271](https://github.com/testdouble/testdouble.js/issues/271)
404
405## [v3.2.2](https://github.com/testdouble/testdouble.js/tree/v3.2.2) (2017-06-30)
406[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.1...v3.2.2)
407
408**Implemented enhancements:**
409
410- Generator support [\#273](https://github.com/testdouble/testdouble.js/issues/273)
411
412**Merged pull requests:**
413
414- Don't blow up when imitating a thing with generators on it [\#274](https://github.com/testdouble/testdouble.js/pull/274) ([searls](https://github.com/searls))
415
416## [v3.2.1](https://github.com/testdouble/testdouble.js/tree/v3.2.1) (2017-06-26)
417[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.0...v3.2.1)
418
419**Closed issues:**
420
421- Tests failing with 'TypeError: Cannot read property 'isPrototypeOf' of null' after updating 3.2.0 [\#270](https://github.com/testdouble/testdouble.js/issues/270)
422
423## [v3.2.0](https://github.com/testdouble/testdouble.js/tree/v3.2.0) (2017-06-24)
424[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.1.1...v3.2.0)
425
426**Implemented enhancements:**
427
428- Single-layer property replacement is inappropriate for ES modules [\#262](https://github.com/testdouble/testdouble.js/issues/262)
429
430**Closed issues:**
431
432- td.constructor\(\) breaks instanceof [\#267](https://github.com/testdouble/testdouble.js/issues/267)
433
434**Merged pull requests:**
435
436- imitate / replace things deeply \(instead of shallow\) [\#268](https://github.com/testdouble/testdouble.js/pull/268) ([searls](https://github.com/searls))
437
438## [v3.1.1](https://github.com/testdouble/testdouble.js/tree/v3.1.1) (2017-06-20)
439[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.1.0...v3.1.1)
440
441## [v3.1.0](https://github.com/testdouble/testdouble.js/tree/v3.1.0) (2017-06-18)
442[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.0.0...v3.1.0)
443
444**Fixed bugs:**
445
446- td.replace throws with objects created with Object.create [\#257](https://github.com/testdouble/testdouble.js/issues/257)
447- getters are executed when using td.constructor\(\) [\#218](https://github.com/testdouble/testdouble.js/issues/218)
448
449**Closed issues:**
450
451- Verify that constructor is passed certain values [\#256](https://github.com/testdouble/testdouble.js/issues/256)
452- Is there any sample code that mock aws sdk? [\#251](https://github.com/testdouble/testdouble.js/issues/251)
453- Cannot use `td.object` with "callable objects" [\#232](https://github.com/testdouble/testdouble.js/issues/232)
454
455**Merged pull requests:**
456
457- Allow stubbing of custom instances & Object.create\(\) [\#264](https://github.com/testdouble/testdouble.js/pull/264) ([searls](https://github.com/searls))
458- Enable tsc in ci pipeline take 2 [\#260](https://github.com/testdouble/testdouble.js/pull/260) ([duluca](https://github.com/duluca))
459- TypeScript typing thenResolve takes variable args [\#258](https://github.com/testdouble/testdouble.js/pull/258) ([miyu](https://github.com/miyu))
460- Test testdouble.js with testdouble.js! [\#255](https://github.com/testdouble/testdouble.js/pull/255) ([searls](https://github.com/searls))
461
462## [v3.0.0](https://github.com/testdouble/testdouble.js/tree/v3.0.0) (2017-06-02)
463[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.1.2...v3.0.0)
464
465**Fixed bugs:**
466
467- Figure out babel+instanceof+constructor problems with class extension [\#241](https://github.com/testdouble/testdouble.js/issues/241)
468- Mocking a Class [\#157](https://github.com/testdouble/testdouble.js/issues/157)
469
470**Closed issues:**
471
472- `td.verify` reporting after resolving promises [\#250](https://github.com/testdouble/testdouble.js/issues/250)
473- Replacing dependency with td.replace\(path, replacement\) doesn't work [\#249](https://github.com/testdouble/testdouble.js/issues/249)
474- Verify constructor [\#248](https://github.com/testdouble/testdouble.js/issues/248)
475- td.replace \(\) breaks the cache in require [\#244](https://github.com/testdouble/testdouble.js/issues/244)
476- Faking internal calls [\#243](https://github.com/testdouble/testdouble.js/issues/243)
477- ECMAScript 2015 Classes with td.constructor\(\) [\#240](https://github.com/testdouble/testdouble.js/issues/240)
478- TypeScript: Better Generic Support for td.object\(\) [\#236](https://github.com/testdouble/testdouble.js/issues/236)
479- How to Replace Imported Constructor in Another File [\#235](https://github.com/testdouble/testdouble.js/issues/235)
480- Mocha Spec Reporter [\#234](https://github.com/testdouble/testdouble.js/issues/234)
481- TypeError: 'x' is not a function [\#233](https://github.com/testdouble/testdouble.js/issues/233)
482- Inifinite recursion problem [\#231](https://github.com/testdouble/testdouble.js/issues/231)
483- Invoke callback within object [\#230](https://github.com/testdouble/testdouble.js/issues/230)
484- Testing Constructor invocations [\#229](https://github.com/testdouble/testdouble.js/issues/229)
485- Stubbing chained API objects yields a warning [\#228](https://github.com/testdouble/testdouble.js/issues/228)
486
487**Merged pull requests:**
488
489- Stop extending types when replacing constructors [\#254](https://github.com/testdouble/testdouble.js/pull/254) ([searls](https://github.com/searls))
490- Fix \#236; Add another overload and its test [\#237](https://github.com/testdouble/testdouble.js/pull/237) ([sgtoj](https://github.com/sgtoj))
491
492## [v2.1.2](https://github.com/testdouble/testdouble.js/tree/v2.1.2) (2017-03-29)
493[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.1.1...v2.1.2)
494
495**Closed issues:**
496
497- TypeError when used with node -r flag [\#226](https://github.com/testdouble/testdouble.js/issues/226)
498- When replacing a node library calling it from other modules does not work as expected [\#225](https://github.com/testdouble/testdouble.js/issues/225)
499
500## [v2.1.1](https://github.com/testdouble/testdouble.js/tree/v2.1.1) (2017-03-28)
501[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.1.0...v2.1.1)
502
503**Closed issues:**
504
505- Add td.config\(\) to index.d.ts [\#222](https://github.com/testdouble/testdouble.js/issues/222)
506- Mocking external dependencies in Express app [\#221](https://github.com/testdouble/testdouble.js/issues/221)
507
508**Merged pull requests:**
509
510- Add typings for config function [\#223](https://github.com/testdouble/testdouble.js/pull/223) ([lumaxis](https://github.com/lumaxis))
511
512## [v2.1.0](https://github.com/testdouble/testdouble.js/tree/v2.1.0) (2017-03-25)
513[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.5...v2.1.0)
514
515**Closed issues:**
516
517- Using td.replace\(\) with external modules [\#51](https://github.com/testdouble/testdouble.js/issues/51)
518
519**Merged pull requests:**
520
521- Add support for third party modules [\#220](https://github.com/testdouble/testdouble.js/pull/220) ([searls](https://github.com/searls))
522
523## [v2.0.5](https://github.com/testdouble/testdouble.js/tree/v2.0.5) (2017-03-25)
524[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.4...v2.0.5)
525
526## [v2.0.4](https://github.com/testdouble/testdouble.js/tree/v2.0.4) (2017-03-23)
527[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.3...v2.0.4)
528
529**Closed issues:**
530
531- `constructor\(someConstructorFunction\)` not referenced in associated example [\#213](https://github.com/testdouble/testdouble.js/issues/213)
532
533**Merged pull requests:**
534
535- Improve main build [\#212](https://github.com/testdouble/testdouble.js/pull/212) ([searls](https://github.com/searls))
536
537## [v2.0.3](https://github.com/testdouble/testdouble.js/tree/v2.0.3) (2017-03-18)
538[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.2...v2.0.3)
539
540**Merged pull requests:**
541
542- Rework test build [\#211](https://github.com/testdouble/testdouble.js/pull/211) ([searls](https://github.com/searls))
543
544## [v2.0.2](https://github.com/testdouble/testdouble.js/tree/v2.0.2) (2017-03-17)
545[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.1...v2.0.2)
546
547**Closed issues:**
548
549- Mocking a constructor function with no prototypes does not correctly mock static methods [\#208](https://github.com/testdouble/testdouble.js/issues/208)
550- Test td.function\(\) after other td fuction\(\) [\#202](https://github.com/testdouble/testdouble.js/issues/202)
551- How do I stub a function that being promisify'd by bluebird? [\#200](https://github.com/testdouble/testdouble.js/issues/200)
552
553**Merged pull requests:**
554
555- Preserve function context when calling thenDo [\#209](https://github.com/testdouble/testdouble.js/pull/209) ([connor4312](https://github.com/connor4312))
556- Decaffeinate [\#206](https://github.com/testdouble/testdouble.js/pull/206) ([searls](https://github.com/searls))
557
558## [v2.0.1](https://github.com/testdouble/testdouble.js/tree/v2.0.1) (2017-03-13)
559[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.0...v2.0.1)
560
561## [v2.0.0](https://github.com/testdouble/testdouble.js/tree/v2.0.0) (2017-03-13)
562[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.11.2...v2.0.0)
563
564**Closed issues:**
565
566- How can I write a test for such situation? [\#199](https://github.com/testdouble/testdouble.js/issues/199)
567- contains not working against IIFE objects [\#192](https://github.com/testdouble/testdouble.js/issues/192)
568- td.verify not returning true when true [\#191](https://github.com/testdouble/testdouble.js/issues/191)
569- Typing definition for td.object doesn't support constructors with arguments [\#184](https://github.com/testdouble/testdouble.js/issues/184)
570- Replacing methods on `window.location` [\#183](https://github.com/testdouble/testdouble.js/issues/183)
571- stub also verified warning when using ignoreExtraArgs [\#181](https://github.com/testdouble/testdouble.js/issues/181)
572- \[BREAKING\] Return constructor for `td.replace\(\)` [\#166](https://github.com/testdouble/testdouble.js/issues/166)
573- Allow matchers inside objects [\#160](https://github.com/testdouble/testdouble.js/issues/160)
574- Support invoking callbacks with arbitrary timing [\#106](https://github.com/testdouble/testdouble.js/issues/106)
575
576**Merged pull requests:**
577
578- Async callbacks [\#205](https://github.com/testdouble/testdouble.js/pull/205) ([searls](https://github.com/searls))
579- Create test double functions and copy/fake their properties [\#204](https://github.com/testdouble/testdouble.js/pull/204) ([searls](https://github.com/searls))
580- Support deep matchers [\#203](https://github.com/testdouble/testdouble.js/pull/203) ([searls](https://github.com/searls))
581- introduce td.constructor\(\) as top-level API sibling to td.object\(\) & td.function\(\) [\#201](https://github.com/testdouble/testdouble.js/pull/201) ([searls](https://github.com/searls))
582- Allow Babel compilation [\#197](https://github.com/testdouble/testdouble.js/pull/197) ([searls](https://github.com/searls))
583- Improves warning when verifying a stub [\#196](https://github.com/testdouble/testdouble.js/pull/196) ([samjonester](https://github.com/samjonester))
584- Yarn [\#195](https://github.com/testdouble/testdouble.js/pull/195) ([searls](https://github.com/searls))
585- Creates Better Verification Message [\#194](https://github.com/testdouble/testdouble.js/pull/194) ([samjonester](https://github.com/samjonester))
586- Replace constructors with constructors [\#193](https://github.com/testdouble/testdouble.js/pull/193) ([searls](https://github.com/searls))
587
588## [v1.11.2](https://github.com/testdouble/testdouble.js/tree/v1.11.2) (2017-02-28)
589[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.11.1...v1.11.2)
590
591**Closed issues:**
592
593- Stubbing promises with thenResolve does not actually provide for anything in the callback [\#189](https://github.com/testdouble/testdouble.js/issues/189)
594- sinon.sandbox analog? [\#188](https://github.com/testdouble/testdouble.js/issues/188)
595- Shortcut for new stub returning args [\#187](https://github.com/testdouble/testdouble.js/issues/187)
596- Can't find variable: Proxy [\#186](https://github.com/testdouble/testdouble.js/issues/186)
597
598**Merged pull requests:**
599
600- Improve the error message when using Proxy incorrectly. [\#190](https://github.com/testdouble/testdouble.js/pull/190) ([Schoonology](https://github.com/Schoonology))
601
602## [v1.11.1](https://github.com/testdouble/testdouble.js/tree/v1.11.1) (2017-01-27)
603[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.11.0...v1.11.1)
604
605**Closed issues:**
606
607- Is it possible to `thenReturn` the receiver? [\#182](https://github.com/testdouble/testdouble.js/issues/182)
608- Multiple stubbings with argThat causes unexpected behavior [\#180](https://github.com/testdouble/testdouble.js/issues/180)
609
610**Merged pull requests:**
611
612- Update type definition [\#185](https://github.com/testdouble/testdouble.js/pull/185) ([caseyhoward](https://github.com/caseyhoward))
613
614## [v1.11.0](https://github.com/testdouble/testdouble.js/tree/v1.11.0) (2017-01-17)
615[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.10.2...v1.11.0)
616
617**Closed issues:**
618
619- Having something like "verifyNoFurtherInvocations\(mock\)" would be nice \(feature request\) [\#176](https://github.com/testdouble/testdouble.js/issues/176)
620
621**Merged pull requests:**
622
623- feat: contains allows for regexps against strings [\#178](https://github.com/testdouble/testdouble.js/pull/178) ([JaKXz](https://github.com/JaKXz))
624
625## [v1.10.2](https://github.com/testdouble/testdouble.js/tree/v1.10.2) (2016-12-31)
626[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.10.1...v1.10.2)
627
628**Closed issues:**
629
630- Possible pollution issue \(2 tests work individually, but fails when run together\) [\#171](https://github.com/testdouble/testdouble.js/issues/171)
631- td.verify and td.when redundency warning [\#170](https://github.com/testdouble/testdouble.js/issues/170)
632- Does not work with jest [\#128](https://github.com/testdouble/testdouble.js/issues/128)
633
634**Merged pull requests:**
635
636- Captor typings [\#174](https://github.com/testdouble/testdouble.js/pull/174) ([danielmoore](https://github.com/danielmoore))
637- Align TS replace\(\) signuatrue return with implementaiton [\#173](https://github.com/testdouble/testdouble.js/pull/173) ([danielmoore](https://github.com/danielmoore))
638
639## [v1.10.1](https://github.com/testdouble/testdouble.js/tree/v1.10.1) (2016-12-20)
640[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.10.0...v1.10.1)
641
642**Implemented enhancements:**
643
644- Make the `constructor` property of td.replaced\(\) instantiable types useful [\#121](https://github.com/testdouble/testdouble.js/issues/121)
645- Improve output for `times` verification failures [\#85](https://github.com/testdouble/testdouble.js/issues/85)
646- Allow argument matchers to enhance failure messages [\#59](https://github.com/testdouble/testdouble.js/issues/59)
647- td.constructor\(\) feature for creating fake constructors [\#54](https://github.com/testdouble/testdouble.js/issues/54)
648
649**Closed issues:**
650
651- typings for typescript [\#167](https://github.com/testdouble/testdouble.js/issues/167)
652- A little typo in Getting Started documentation [\#165](https://github.com/testdouble/testdouble.js/issues/165)
653- Unable to stub static method on ES6 classes [\#164](https://github.com/testdouble/testdouble.js/issues/164)
654- transcribe unusual spending kata from ES5 to ES6/babel [\#163](https://github.com/testdouble/testdouble.js/issues/163)
655- Classes with overridden methods not doubling properly since 1.10.0 [\#159](https://github.com/testdouble/testdouble.js/issues/159)
656- `td.replace\(\)` doesn't work with `import`? [\#147](https://github.com/testdouble/testdouble.js/issues/147)
657- Support multiple capture invocations [\#139](https://github.com/testdouble/testdouble.js/issues/139)
658- Constructor replacements will fail instanceof checks [\#107](https://github.com/testdouble/testdouble.js/issues/107)
659
660**Merged pull requests:**
661
662- Typings for typescript [\#169](https://github.com/testdouble/testdouble.js/pull/169) ([mkusher](https://github.com/mkusher))
663
664## [v1.10.0](https://github.com/testdouble/testdouble.js/tree/v1.10.0) (2016-12-11)
665[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.9.1...v1.10.0)
666
667**Implemented enhancements:**
668
669- td.replace doesn't properly detect ES6 classes [\#119](https://github.com/testdouble/testdouble.js/issues/119)
670
671**Closed issues:**
672
673- Matcher for a specific position [\#156](https://github.com/testdouble/testdouble.js/issues/156)
674
675**Merged pull requests:**
676
677- Sort out replacement of especially 6+ Classes [\#158](https://github.com/testdouble/testdouble.js/pull/158) ([searls](https://github.com/searls))
678
679## [v1.9.1](https://github.com/testdouble/testdouble.js/tree/v1.9.1) (2016-12-03)
680[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.9.0...v1.9.1)
681
682**Implemented enhancements:**
683
684- td.replace for functions that have additional function properties [\#99](https://github.com/testdouble/testdouble.js/issues/99)
685
686**Closed issues:**
687
688- Is testdouble.js not compatible with PhantomJS? [\#154](https://github.com/testdouble/testdouble.js/issues/154)
689- Model instance creation assistance [\#149](https://github.com/testdouble/testdouble.js/issues/149)
690- Excessive warn "was both stubbed and verified" [\#148](https://github.com/testdouble/testdouble.js/issues/148)
691
692**Merged pull requests:**
693
694- Add failing test for resetting replaced modules. [\#215](https://github.com/testdouble/testdouble.js/pull/215) ([Schoonology](https://github.com/Schoonology))
695- typo [\#152](https://github.com/testdouble/testdouble.js/pull/152) ([ghedamat](https://github.com/ghedamat))
696
697## [v1.9.0](https://github.com/testdouble/testdouble.js/tree/v1.9.0) (2016-10-25)
698[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.8.0...v1.9.0)
699
700**Implemented enhancements:**
701
702- Note when `ignoreExtraArgs` is used for a failed verification [\#60](https://github.com/testdouble/testdouble.js/issues/60)
703
704**Closed issues:**
705
706- td.replace multiple property names at once [\#146](https://github.com/testdouble/testdouble.js/issues/146)
707- Consider ignoreExtraArgs method instead of parameter [\#143](https://github.com/testdouble/testdouble.js/issues/143)
708
709**Merged pull requests:**
710
711- Gives better hint when verification fails while ignoring extra args [\#150](https://github.com/testdouble/testdouble.js/pull/150) ([samjonester](https://github.com/samjonester))
712
713## [v1.8.0](https://github.com/testdouble/testdouble.js/tree/v1.8.0) (2016-10-12)
714[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.7.0...v1.8.0)
715
716**Closed issues:**
717
718- Feature request: Partial object matchers [\#141](https://github.com/testdouble/testdouble.js/issues/141)
719- Drop CoffeeScript [\#140](https://github.com/testdouble/testdouble.js/issues/140)
720- Question with verifications [\#138](https://github.com/testdouble/testdouble.js/issues/138)
721- td.reset\(\) it´s working has expected? [\#133](https://github.com/testdouble/testdouble.js/issues/133)
722
723**Merged pull requests:**
724
725- Docs for multiple captor values. [\#145](https://github.com/testdouble/testdouble.js/pull/145) ([marchaos](https://github.com/marchaos))
726- Allow for multiple captor invocations [\#144](https://github.com/testdouble/testdouble.js/pull/144) ([marchaos](https://github.com/marchaos))
727- Remove warning of implementations of ES2015 proxy [\#136](https://github.com/testdouble/testdouble.js/pull/136) ([mgryszko](https://github.com/mgryszko))
728- Fix shorthand notation for stubbing [\#135](https://github.com/testdouble/testdouble.js/pull/135) ([mgryszko](https://github.com/mgryszko))
729
730## [v1.7.0](https://github.com/testdouble/testdouble.js/tree/v1.7.0) (2016-09-18)
731[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.6.2...v1.7.0)
732
733**Merged pull requests:**
734
735- Upgrade to lodash 4.15.0 [\#132](https://github.com/testdouble/testdouble.js/pull/132) ([searls](https://github.com/searls))
736
737## [v1.6.2](https://github.com/testdouble/testdouble.js/tree/v1.6.2) (2016-09-18)
738[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.6.1...v1.6.2)
739
740**Closed issues:**
741
742- Add support for concurrent test runners \(ava\)? [\#131](https://github.com/testdouble/testdouble.js/issues/131)
743- Async use of verify results in timeout [\#129](https://github.com/testdouble/testdouble.js/issues/129)
744
745**Merged pull requests:**
746
747- Should methods on super types be stubbed in td.object? [\#130](https://github.com/testdouble/testdouble.js/pull/130) ([paultyng](https://github.com/paultyng))
748
749## [v1.6.1](https://github.com/testdouble/testdouble.js/tree/v1.6.1) (2016-08-31)
750[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.6.0...v1.6.1)
751
752**Closed issues:**
753
754- td.explain should indicate thenCallback / thenResolve / thenReject from thenReturn [\#126](https://github.com/testdouble/testdouble.js/issues/126)
755- td.when and td.verify warning [\#125](https://github.com/testdouble/testdouble.js/issues/125)
756- td.callback, when given a td.object, raises a TypeError [\#124](https://github.com/testdouble/testdouble.js/issues/124)
757- not matcher and calling function multiple times [\#122](https://github.com/testdouble/testdouble.js/issues/122)
758- Verify of a specific call when multiple calls happen [\#120](https://github.com/testdouble/testdouble.js/issues/120)
759
760**Merged pull requests:**
761
762- explain plan better in stubbing description [\#127](https://github.com/testdouble/testdouble.js/pull/127) ([Moeriki](https://github.com/Moeriki))
763- Fix typo in plugin name [\#123](https://github.com/testdouble/testdouble.js/pull/123) ([hanneskaeufler](https://github.com/hanneskaeufler))
764
765## [v1.6.0](https://github.com/testdouble/testdouble.js/tree/v1.6.0) (2016-07-14)
766[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.5.0...v1.6.0)
767
768**Closed issues:**
769
770- Nested stubbing doesn't work [\#117](https://github.com/testdouble/testdouble.js/issues/117)
771
772**Merged pull requests:**
773
774- Allow nested stubbing configuration [\#118](https://github.com/testdouble/testdouble.js/pull/118) ([searls](https://github.com/searls))
775
776## [v1.5.0](https://github.com/testdouble/testdouble.js/tree/v1.5.0) (2016-07-13)
777[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.3...v1.5.0)
778
779**Closed issues:**
780
781- support promises resolve/reject [\#46](https://github.com/testdouble/testdouble.js/issues/46)
782
783**Merged pull requests:**
784
785- Use stringify-object now that my change is merged [\#116](https://github.com/testdouble/testdouble.js/pull/116) ([searls](https://github.com/searls))
786- Promise stubbing sugar [\#115](https://github.com/testdouble/testdouble.js/pull/115) ([searls](https://github.com/searls))
787
788## [v1.4.3](https://github.com/testdouble/testdouble.js/tree/v1.4.3) (2016-06-22)
789[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.2...v1.4.3)
790
791**Closed issues:**
792
793- Build with Travis on Node 6.x [\#114](https://github.com/testdouble/testdouble.js/issues/114)
794- Wrong test double name for proxies [\#112](https://github.com/testdouble/testdouble.js/issues/112)
795- Improve error output message [\#111](https://github.com/testdouble/testdouble.js/issues/111)
796- Flexible parameters [\#110](https://github.com/testdouble/testdouble.js/issues/110)
797- How can I install and use this in an ember/ember-cli project? [\#105](https://github.com/testdouble/testdouble.js/issues/105)
798- td.replace breaks subsequent require calls [\#103](https://github.com/testdouble/testdouble.js/issues/103)
799
800**Merged pull requests:**
801
802- Generate test double name for a Proxy test double [\#113](https://github.com/testdouble/testdouble.js/pull/113) ([mgryszko](https://github.com/mgryszko))
803
804## [v1.4.2](https://github.com/testdouble/testdouble.js/tree/v1.4.2) (2016-04-29)
805[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.1...v1.4.2)
806
807**Closed issues:**
808
809- matchers.contains\(number\) support [\#102](https://github.com/testdouble/testdouble.js/issues/102)
810
811**Merged pull requests:**
812
813- Fix contains\(\) behavior for arrays [\#104](https://github.com/testdouble/testdouble.js/pull/104) ([searls](https://github.com/searls))
814- Add testdouble-timers as plugin to docs [\#101](https://github.com/testdouble/testdouble.js/pull/101) ([kuy](https://github.com/kuy))
815
816## [v1.4.1](https://github.com/testdouble/testdouble.js/tree/v1.4.1) (2016-04-05)
817[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.0...v1.4.1)
818
819**Closed issues:**
820
821- Changelog [\#97](https://github.com/testdouble/testdouble.js/issues/97)
822
823**Merged pull requests:**
824
825- Generate a changelog whenever we pubish [\#98](https://github.com/testdouble/testdouble.js/pull/98) ([searls](https://github.com/searls))
826
827## [v1.4.0](https://github.com/testdouble/testdouble.js/tree/v1.4.0) (2016-04-03)
828[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.3.1...v1.4.0)
829
830**Closed issues:**
831
832- Reserved word [\#82](https://github.com/testdouble/testdouble.js/issues/82)
833- Warn when users verify an invocation they also stubbed [\#76](https://github.com/testdouble/testdouble.js/issues/76)
834- Feature request: captors without verify [\#65](https://github.com/testdouble/testdouble.js/issues/65)
835
836**Merged pull requests:**
837
838- Warn verifications of exact stubbings [\#96](https://github.com/testdouble/testdouble.js/pull/96) ([searls](https://github.com/searls))
839- Fixes \#82 [\#95](https://github.com/testdouble/testdouble.js/pull/95) ([searls](https://github.com/searls))
840
841## [v1.3.1](https://github.com/testdouble/testdouble.js/tree/v1.3.1) (2016-04-03)
842[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.3.0...v1.3.1)
843
844**Closed issues:**
845
846- Throws in node 0.10 [\#94](https://github.com/testdouble/testdouble.js/issues/94)
847- td.replace\(\) property replacement warning & failure states [\#92](https://github.com/testdouble/testdouble.js/issues/92)
848- give users a way to squelch individual warnings [\#90](https://github.com/testdouble/testdouble.js/issues/90)
849
850## [v1.3.0](https://github.com/testdouble/testdouble.js/tree/v1.3.0) (2016-04-03)
851[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.2.0...v1.3.0)
852
853**Closed issues:**
854
855- What's the best way to use testdouble.js with tape? [\#93](https://github.com/testdouble/testdouble.js/issues/93)
856- help [\#91](https://github.com/testdouble/testdouble.js/issues/91)
857- td.replace\(\) fails for method on prototype [\#86](https://github.com/testdouble/testdouble.js/issues/86)
858
859**Merged pull requests:**
860
861- README: Replace GIFs with code blocks [\#88](https://github.com/testdouble/testdouble.js/pull/88) ([Turbo87](https://github.com/Turbo87))
862- replace: Use object\[property\] to check if property exists [\#87](https://github.com/testdouble/testdouble.js/pull/87) ([Turbo87](https://github.com/Turbo87))
863
864## [v1.2.0](https://github.com/testdouble/testdouble.js/tree/v1.2.0) (2016-03-20)
865[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.1.3...v1.2.0)
866
867**Merged pull requests:**
868
869- Stringify objects better [\#84](https://github.com/testdouble/testdouble.js/pull/84) ([searls](https://github.com/searls))
870- doc: thenDo and thenThrow are no longer unimplemented. [\#83](https://github.com/testdouble/testdouble.js/pull/83) ([verdammelt](https://github.com/verdammelt))
871- Refactor time [\#81](https://github.com/testdouble/testdouble.js/pull/81) ([searls](https://github.com/searls))
872
873## [v1.1.3](https://github.com/testdouble/testdouble.js/tree/v1.1.3) (2016-03-16)
874[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.1.1...v1.1.3)
875
876**Closed issues:**
877
878- Quibble in the browser [\#77](https://github.com/testdouble/testdouble.js/issues/77)
879
880**Merged pull requests:**
881
882- Improve support for webpack users [\#80](https://github.com/testdouble/testdouble.js/pull/80) ([searls](https://github.com/searls))
883
884## [v1.1.1](https://github.com/testdouble/testdouble.js/tree/v1.1.1) (2016-03-15)
885[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.1.0...v1.1.1)
886
887**Merged pull requests:**
888
889- Add webpack specific metadata to package.json [\#79](https://github.com/testdouble/testdouble.js/pull/79) ([davemo](https://github.com/davemo))
890
891## [v1.1.0](https://github.com/testdouble/testdouble.js/tree/v1.1.0) (2016-03-11)
892[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.0.0...v1.1.0)
893
894**Closed issues:**
895
896- Add a property-namespacing-like replace strategy for browsers. [\#55](https://github.com/testdouble/testdouble.js/issues/55)
897
898**Merged pull requests:**
899
900- td.replace support for object properties \(incl. browsers\) [\#75](https://github.com/testdouble/testdouble.js/pull/75) ([searls](https://github.com/searls))
901- td.explain tells you if you passed it a test double [\#74](https://github.com/testdouble/testdouble.js/pull/74) ([searls](https://github.com/searls))
902
903## [v1.0.0](https://github.com/testdouble/testdouble.js/tree/v1.0.0) (2016-03-10)
904[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.10.0...v1.0.0)
905
906**Closed issues:**
907
908- Document `thenDo` and `thenThrow` [\#64](https://github.com/testdouble/testdouble.js/issues/64)
909
910**Merged pull requests:**
911
912- Remove deprecated window.testdouble for 1.0.0 [\#73](https://github.com/testdouble/testdouble.js/pull/73) ([searls](https://github.com/searls))
913- add some docs [\#72](https://github.com/testdouble/testdouble.js/pull/72) ([searls](https://github.com/searls))
914
915## [v0.10.0](https://github.com/testdouble/testdouble.js/tree/v0.10.0) (2016-03-09)
916[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.9.0...v0.10.0)
917
918**Merged pull requests:**
919
920- Change window.testdouble to window.td [\#71](https://github.com/testdouble/testdouble.js/pull/71) ([searls](https://github.com/searls))
921
922## [v0.9.0](https://github.com/testdouble/testdouble.js/tree/v0.9.0) (2016-03-09)
923[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.8.0...v0.9.0)
924
925**Implemented enhancements:**
926
927- Stubbing callbacks [\#66](https://github.com/testdouble/testdouble.js/issues/66)
928
929**Closed issues:**
930
931- Getting testdouble.js to play nicely with Jasmine expectations? [\#41](https://github.com/testdouble/testdouble.js/issues/41)
932
933**Merged pull requests:**
934
935- Implement callback stubbing APIs [\#70](https://github.com/testdouble/testdouble.js/pull/70) ([searls](https://github.com/searls))
936- fix typo [\#69](https://github.com/testdouble/testdouble.js/pull/69) ([jzinn](https://github.com/jzinn))
937- Reference the completed testdouble-jasmine module [\#67](https://github.com/testdouble/testdouble.js/pull/67) ([BrianGenisio](https://github.com/BrianGenisio))
938
939## [v0.8.0](https://github.com/testdouble/testdouble.js/tree/v0.8.0) (2016-02-06)
940[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.3...v0.8.0)
941
942**Closed issues:**
943
944- Add `thenDo` [\#8](https://github.com/testdouble/testdouble.js/issues/8)
945- Add `thenThrow` [\#7](https://github.com/testdouble/testdouble.js/issues/7)
946
947## [v0.7.3](https://github.com/testdouble/testdouble.js/tree/v0.7.3) (2015-12-07)
948[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.2...v0.7.3)
949
950**Implemented enhancements:**
951
952- td.matchers.contains does not work on sparse object trees [\#58](https://github.com/testdouble/testdouble.js/issues/58)
953
954**Fixed bugs:**
955
956- td.matchers.contains does not work on sparse object trees [\#58](https://github.com/testdouble/testdouble.js/issues/58)
957
958**Merged pull requests:**
959
960- Add headerify [\#62](https://github.com/testdouble/testdouble.js/pull/62) ([searls](https://github.com/searls))
961- Rename src and scripts [\#61](https://github.com/testdouble/testdouble.js/pull/61) ([searls](https://github.com/searls))
962- Better docs [\#49](https://github.com/testdouble/testdouble.js/pull/49) ([searls](https://github.com/searls))
963
964## [v0.7.2](https://github.com/testdouble/testdouble.js/tree/v0.7.2) (2015-11-25)
965[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.1...v0.7.2)
966
967**Fixed bugs:**
968
969- td.matchers.contains blows up on sparse matches [\#56](https://github.com/testdouble/testdouble.js/issues/56)
970
971**Merged pull requests:**
972
973- fixes \#56 [\#57](https://github.com/testdouble/testdouble.js/pull/57) ([searls](https://github.com/searls))
974- Swap .replace with browser-specific function [\#52](https://github.com/testdouble/testdouble.js/pull/52) ([jasonkarns](https://github.com/jasonkarns))
975- Use svg build badge [\#50](https://github.com/testdouble/testdouble.js/pull/50) ([hanneskaeufler](https://github.com/hanneskaeufler))
976
977## [v0.7.1](https://github.com/testdouble/testdouble.js/tree/v0.7.1) (2015-11-12)
978[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.0...v0.7.1)
979
980## [v0.7.0](https://github.com/testdouble/testdouble.js/tree/v0.7.0) (2015-11-12)
981[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.6.0...v0.7.0)
982
983**Closed issues:**
984
985- Is there a way to reset the state of a double? [\#43](https://github.com/testdouble/testdouble.js/issues/43)
986
987**Merged pull requests:**
988
989- Update README.md [\#45](https://github.com/testdouble/testdouble.js/pull/45) ([andrewvida](https://github.com/andrewvida))
990- Adding reset\(\) to the Readme.md [\#44](https://github.com/testdouble/testdouble.js/pull/44) ([BrianGenisio](https://github.com/BrianGenisio))
991
992## [v0.6.0](https://github.com/testdouble/testdouble.js/tree/v0.6.0) (2015-10-27)
993[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.5.0...v0.6.0)
994
995**Closed issues:**
996
997- add ES2015 Proxy support [\#39](https://github.com/testdouble/testdouble.js/issues/39)
998
999**Merged pull requests:**
1000
1001- Implement ES2015 proxy doubles [\#42](https://github.com/testdouble/testdouble.js/pull/42) ([searls](https://github.com/searls))
1002
1003## [v0.5.0](https://github.com/testdouble/testdouble.js/tree/v0.5.0) (2015-10-25)
1004[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.4.0...v0.5.0)
1005
1006**Closed issues:**
1007
1008- Add verify times\(\) [\#5](https://github.com/testdouble/testdouble.js/issues/5)
1009
1010**Merged pull requests:**
1011
1012- Add a `times` option [\#40](https://github.com/testdouble/testdouble.js/pull/40) ([searls](https://github.com/searls))
1013
1014## [v0.4.0](https://github.com/testdouble/testdouble.js/tree/v0.4.0) (2015-10-24)
1015[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.3.1...v0.4.0)
1016
1017**Closed issues:**
1018
1019- Allow when & verify to disregard arity [\#36](https://github.com/testdouble/testdouble.js/issues/36)
1020- implement argument captors [\#35](https://github.com/testdouble/testdouble.js/issues/35)
1021
1022**Merged pull requests:**
1023
1024- Add an option to ignore additional args [\#38](https://github.com/testdouble/testdouble.js/pull/38) ([searls](https://github.com/searls))
1025- Arg captors [\#37](https://github.com/testdouble/testdouble.js/pull/37) ([searls](https://github.com/searls))
1026
1027## [v0.3.1](https://github.com/testdouble/testdouble.js/tree/v0.3.1) (2015-10-24)
1028[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.3.0...v0.3.1)
1029
1030**Fixed bugs:**
1031
1032- contains\(\) matcher doesn't seem to work on arrays [\#31](https://github.com/testdouble/testdouble.js/issues/31)
1033
1034**Closed issues:**
1035
1036- verify does not throw exception when too many arguments are passed [\#33](https://github.com/testdouble/testdouble.js/issues/33)
1037- Building CoffeeScript at runtime is slow. [\#29](https://github.com/testdouble/testdouble.js/issues/29)
1038
1039**Merged pull requests:**
1040
1041- Start checking arity on arg comparisons [\#34](https://github.com/testdouble/testdouble.js/pull/34) ([searls](https://github.com/searls))
1042- Compile coffeescript [\#30](https://github.com/testdouble/testdouble.js/pull/30) ([jasonkarns](https://github.com/jasonkarns))
1043
1044## [v0.3.0](https://github.com/testdouble/testdouble.js/tree/v0.3.0) (2015-10-21)
1045[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.2.0...v0.3.0)
1046
1047**Closed issues:**
1048
1049- When stringifying args, use a testdouble's name if it has one [\#21](https://github.com/testdouble/testdouble.js/issues/21)
1050
1051**Merged pull requests:**
1052
1053- Clean up window/global management [\#28](https://github.com/testdouble/testdouble.js/pull/28) ([jasonkarns](https://github.com/jasonkarns))
1054- clean up package scripts \(primarily version\) [\#27](https://github.com/testdouble/testdouble.js/pull/27) ([jasonkarns](https://github.com/jasonkarns))
1055- don't watch generated files [\#26](https://github.com/testdouble/testdouble.js/pull/26) ([jasonkarns](https://github.com/jasonkarns))
1056- Export `version` property on base object [\#25](https://github.com/testdouble/testdouble.js/pull/25) ([jasonkarns](https://github.com/jasonkarns))
1057- Fixes \#21 [\#24](https://github.com/testdouble/testdouble.js/pull/24) ([searls](https://github.com/searls))
1058
1059## [v0.2.0](https://github.com/testdouble/testdouble.js/tree/v0.2.0) (2015-09-13)
1060[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.1.0...v0.2.0)
1061
1062**Closed issues:**
1063
1064- Add a build task that distributes a web version / bower.json / etc [\#10](https://github.com/testdouble/testdouble.js/issues/10)
1065
1066**Merged pull requests:**
1067
1068- Browserify testing [\#22](https://github.com/testdouble/testdouble.js/pull/22) ([searls](https://github.com/searls))
1069- add some more syntax highlighting to README [\#20](https://github.com/testdouble/testdouble.js/pull/20) ([hanneskaeufler](https://github.com/hanneskaeufler))
1070- Configure Testem [\#19](https://github.com/testdouble/testdouble.js/pull/19) ([jasonkarns](https://github.com/jasonkarns))
1071- Browserify [\#13](https://github.com/testdouble/testdouble.js/pull/13) ([jasonkarns](https://github.com/jasonkarns))
1072
1073## [v0.1.0](https://github.com/testdouble/testdouble.js/tree/v0.1.0) (2015-09-09)
1074[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.0.5...v0.1.0)
1075
1076**Closed issues:**
1077
1078- name a test double with `create\("name"\)` [\#15](https://github.com/testdouble/testdouble.js/issues/15)
1079- Implement default matchers [\#9](https://github.com/testdouble/testdouble.js/issues/9)
1080- Add sequential stubbing [\#6](https://github.com/testdouble/testdouble.js/issues/6)
1081- Implement Prototype for create\(\) [\#2](https://github.com/testdouble/testdouble.js/issues/2)
1082- Implement argument matchers [\#1](https://github.com/testdouble/testdouble.js/issues/1)
1083
1084**Merged pull requests:**
1085
1086- Test prototype-based create\(\) [\#18](https://github.com/testdouble/testdouble.js/pull/18) ([searls](https://github.com/searls))
1087- Allow naming test doubles for better output [\#17](https://github.com/testdouble/testdouble.js/pull/17) ([searls](https://github.com/searls))
1088- sequential stubbing [\#16](https://github.com/testdouble/testdouble.js/pull/16) ([searls](https://github.com/searls))
1089- add more matchers [\#14](https://github.com/testdouble/testdouble.js/pull/14) ([searls](https://github.com/searls))
1090
1091## [v0.0.5](https://github.com/testdouble/testdouble.js/tree/v0.0.5) (2015-09-08)
1092[Full Changelog](https://github.com/testdouble/testdouble.js/compare/0.0.4...v0.0.5)
1093
1094**Closed issues:**
1095
1096- Add `verify\(\)` [\#4](https://github.com/testdouble/testdouble.js/issues/4)
1097
1098## [0.0.4](https://github.com/testdouble/testdouble.js/tree/0.0.4) (2015-09-08)
1099[Full Changelog](https://github.com/testdouble/testdouble.js/compare/0.0.3...0.0.4)
1100
1101## [0.0.3](https://github.com/testdouble/testdouble.js/tree/0.0.3) (2015-09-08)
1102[Full Changelog](https://github.com/testdouble/testdouble.js/compare/0.0.2...0.0.3)
1103
1104**Closed issues:**
1105
1106- Print version in browserify build [\#23](https://github.com/testdouble/testdouble.js/issues/23)
1107- Add a `require\('testdouble'\).explain` function [\#12](https://github.com/testdouble/testdouble.js/issues/12)
1108- Ensure last stubbing wins [\#11](https://github.com/testdouble/testdouble.js/issues/11)
1109
1110## [0.0.2](https://github.com/testdouble/testdouble.js/tree/0.0.2) (2015-09-07)
1111
1112
1113\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*