1 | 8.2.1 / 2016-01-27
|
2 | ==================
|
3 |
|
4 | * Fix bug with new option, thanks @VinGarcia
|
5 |
|
6 | 8.2.0 / 2016-01-24
|
7 | ==================
|
8 |
|
9 | * Add option to should.equal to treat -0 and +0 as equals
|
10 |
|
11 | 8.1.1 / 2016-01-10
|
12 | ==================
|
13 |
|
14 | * Fix browser build to do not loose window.Should
|
15 |
|
16 | 8.1.0 / 2016-01-10
|
17 | ==================
|
18 |
|
19 | * Add .Date() assertion to test if given object is Date instance
|
20 |
|
21 | 8.0.2 / 2015-12-18
|
22 | ==================
|
23 |
|
24 | * Update should-format to fix bug in formatting arrow functions
|
25 |
|
26 | 8.0.1 / 2015-12-11
|
27 | ==================
|
28 |
|
29 | * Fix throwing TypeError in .match
|
30 |
|
31 | 8.0.0 / 2015-12-08
|
32 | ==================
|
33 |
|
34 | * Move should-promised to main repo
|
35 | * Expose window.should as should function and not a getter
|
36 |
|
37 | 7.1.1 / 2015-10-20
|
38 | ==================
|
39 |
|
40 | * Update format package to fix node 0.12 Symbol formatting
|
41 |
|
42 | 7.1.0 / 2015-08-28
|
43 | ==================
|
44 |
|
45 | * Added .aboveOrEqual and .belowOrEqual for numbers (<= and >=)
|
46 | * Added .oneOf and .equalOneOf to check equality of one of values
|
47 | * Added 'browser' field to package.json
|
48 |
|
49 | 7.0.4 / 2015-08-14
|
50 | ==================
|
51 |
|
52 | * Missing doc for .deepEqual
|
53 | * Fix .match and dependent assertions to check property in object-object matching
|
54 |
|
55 | 7.0.3 / 2015-08-09
|
56 | ==================
|
57 |
|
58 | * Add alias .deepEqual for .eql
|
59 |
|
60 | 7.0.2 / 2015-07-09
|
61 | ==================
|
62 |
|
63 | * Bug in browser script and build
|
64 |
|
65 | 7.0.1 / 2015-06-18
|
66 | ==================
|
67 |
|
68 | * Fixes in should-type for dom nodes, host object and promises
|
69 |
|
70 | 7.0.0 / 2015-06-18
|
71 | ==================
|
72 |
|
73 | * Added support to `.eql` es6 set, map and symbol (`should-type`, `should-format`, `should-equal`)
|
74 | * **Breaking Change** More accurate work with types (dom nodes, typed-arrays).
|
75 | * **Breaking Change** Change result of should-type to be more accurate and consistent.
|
76 | * Fixed should-equal options checks
|
77 | * Fixed should-format typed arrays (more then 8 bits)
|
78 | * Added aliases: .matchEach => .matchSome, .matchAny => .matchEvery (to be similar to array methods). See #65.
|
79 | * **Breaking Change (possibly)** .matchEach and .matchAny now uses internally .match. See #65.
|
80 | * **Breaking Change** No more getter assertions. No all assertions are functions.
|
81 | * **Breaking Change** No more proxy returning, to check property names.
|
82 | * **Breaking Change** `should-format` now looks more like chrome developer tools inpections.
|
83 |
|
84 | 6.0.3 / 2015-05-18
|
85 | ==================
|
86 |
|
87 | * Replace rest of usage after 6.0.2
|
88 |
|
89 | 6.0.2 / 2015-05-18
|
90 | ==================
|
91 |
|
92 | * Replace in all internal assertions `should` usage to non getter form
|
93 |
|
94 | 6.0.1 / 2015-04-15
|
95 | ==================
|
96 |
|
97 | * Remove dummy debug messages
|
98 |
|
99 | 6.0.0 / 2015-04-15
|
100 | ==================
|
101 |
|
102 | * From .containDeep* removed .indexOf checks for strings, now it is just equality checks (see #55)
|
103 | * Fix for .not.throws for generators
|
104 |
|
105 | 5.2.0 / 2015-03-12
|
106 | ==================
|
107 |
|
108 | * Added `.matchAny`, like `.matchEach` but with `some` semantics
|
109 |
|
110 | 5.1.0 / 2015-03-05
|
111 | ==================
|
112 |
|
113 | * Initial support of es6 generators, iterables, iterators and symbols
|
114 | * .throwError now support generator functions
|
115 | * Fix bug in .propertyByPath
|
116 |
|
117 | 5.0.1 / 2015-02-21
|
118 | ==================
|
119 |
|
120 | * Export utils via should.util
|
121 |
|
122 | 5.0.0 / 2015-02-10
|
123 | ==================
|
124 |
|
125 | * Remove old .eql implementation
|
126 | * Refactor nested errors
|
127 | * Added separate reporting message for false negative results like 10.should.not.equal(10)
|
128 | * Make error.message lazy fix old perfomance bottlenecks for constructing messages for big objects
|
129 | * Added .propertyWithDescriptor
|
130 |
|
131 | 4.6.5 / 2015-02-05
|
132 | ==================
|
133 |
|
134 | * Fix perfomance degradation on large objects
|
135 |
|
136 | 4.6.4 / 2015-02-05
|
137 | ==================
|
138 |
|
139 | * Fix end cases for .containDeep and .containDeepOrdered
|
140 |
|
141 | 4.6.3 / 2015-02-01
|
142 | ==================
|
143 |
|
144 | * Added small check for .noConflict
|
145 | * Fix end cases for .containDeep and .containDeepOrdered
|
146 |
|
147 | 4.6.2 / 2015-01-28
|
148 | ==================
|
149 |
|
150 | * Make assertion properties configurable
|
151 |
|
152 | 4.6.1 / 2015-01-18
|
153 | ==================
|
154 |
|
155 | * Bump deps
|
156 | * Set showDiff only if the same types
|
157 |
|
158 | 4.6.0 / 2015-01-13
|
159 | ==================
|
160 |
|
161 | * Wrap everywhere returned assertion with Proxy if available.
|
162 |
|
163 | 4.5.2 / 2015-01-13
|
164 | ==================
|
165 |
|
166 | * Fixed null properties in .containDeep and .containDeepOrdered
|
167 |
|
168 | 4.5.1 / 2015-01-13
|
169 | ==================
|
170 |
|
171 | * Fixed leaked \_eql
|
172 |
|
173 | 4.5.0 / 2015-01-11
|
174 | ==================
|
175 |
|
176 | * Added config flag .useOldDeepEqual to use old .eql implementation
|
177 |
|
178 | 4.4.4 / 2015-01-08
|
179 | ==================
|
180 |
|
181 | * Added .enumerables
|
182 |
|
183 | 4.4.3 / 2015-01-08
|
184 | ==================
|
185 |
|
186 | * Bump dependencies to get more accurate format of promise
|
187 | * Added a lot of jsdocs
|
188 |
|
189 | 4.4.2 / 2014-12-27
|
190 | ==================
|
191 |
|
192 | * Remove breaking change with should-equal that check also object prototypes. Instead document how get both behaviours in .eql docs.
|
193 |
|
194 | 4.4.1 / 2014-12-13
|
195 | ==================
|
196 |
|
197 | * bump deps
|
198 |
|
199 | 4.4.0 / 2014-12-12
|
200 | ==================
|
201 |
|
202 | * assert methods reimplemented via assertion, deepEqual done via should-equal. To avoid possible confusion between should.deepEqual and a.should.eql(b)
|
203 | * Possible fix for error tests
|
204 |
|
205 | 4.3.1 / 2014-12-08
|
206 | ==================
|
207 |
|
208 | * `.throw()` check if given object is a function
|
209 |
|
210 | 4.3.0 / 2014-11-10
|
211 | ==================
|
212 |
|
213 | * Remove node's version of .eql
|
214 | * Added reason why .eql failed
|
215 |
|
216 | 4.2.1 / 2014-11-07
|
217 | ==================
|
218 |
|
219 | * Move inspection from .formattedObj to be in .getMessage - to make inspection as late as possible.
|
220 |
|
221 | 4.2.0 / 2014-11-06
|
222 | ==================
|
223 |
|
224 | * Remove node util.inspect and use instead own inspection module with type detection and browser types compatibility
|
225 |
|
226 | 4.1.0 / 2014-10-19
|
227 | ==================
|
228 |
|
229 | * As inspect function was moved to repo, refine how it show Dates (added millis via custom format)
|
230 | * Added warnings for potential shoot in the leg: eql non strict and should unwrapping primitive wrappers
|
231 | * Added possibility to disable any warnings via environment variable SHOULDJS_WARN and should.warn = false
|
232 | * Added new deep equality check function
|
233 | * Nested assertions can contribute to parent assertions own messages
|
234 |
|
235 | 4.0.4 / 2014-06-09
|
236 | ==================
|
237 |
|
238 | * Make all assertions enumerable in Assertion.prototype
|
239 |
|
240 | 4.0.3 / 2014-06-09
|
241 | ==================
|
242 |
|
243 | * Fix wrong/strange behaviour of .containDeep with equal keys. Now it check to contain element once.
|
244 | * Added util.formatProp to format properties more accurate
|
245 |
|
246 | 4.0.1 / 2014-06-04
|
247 | ==================
|
248 |
|
249 | * Missing name in browser script
|
250 |
|
251 | 4.0.0 / 2014-05-29
|
252 | ==================
|
253 |
|
254 | * Breaking change: Move non core assertions out
|
255 | * Added casting in properties assertions to String for all property names
|
256 | * Added .propertyByPath assertion
|
257 | * Breaking change: Remove deprecated .includeEql and .include
|
258 | * Breaking change: .containDeep now do not check order for 2 arrays case
|
259 | * Added .containDeepOrdered for old .containDeep
|
260 | * Added support of array-like objects
|
261 | * Added to .throw matching by error properties with .match
|
262 |
|
263 | 3.3.2 / 2014-05-23
|
264 | ==================
|
265 |
|
266 | * Fix for should.format
|
267 |
|
268 | 3.3.1 / 2014-04-16
|
269 | ==================
|
270 |
|
271 | * Added aliases for es reserved words
|
272 | * Fix bug with ownProperty alias
|
273 | * Fix bug with not function alias
|
274 |
|
275 | 3.3.0 / 2014-04-07
|
276 | ==================
|
277 |
|
278 | * Added .enumerable(name, val)
|
279 |
|
280 | 3.2.0 / 2014-03-29
|
281 | ==================
|
282 |
|
283 | * Added first version of .any modifier that affect assertions with multiple parameters
|
284 | * .header now have more nice message
|
285 | * assertion can now override how to show object
|
286 |
|
287 | 3.1.4 / 2014-03-18
|
288 | ==================
|
289 |
|
290 | * .Error now do not throw assertion error for custom errors.
|
291 |
|
292 | 3.1.3 / 2014-02-25
|
293 | ==================
|
294 |
|
295 | * Fix TypeError in .containEql
|
296 |
|
297 | 3.1.2 / 2014-01-28
|
298 | ==================
|
299 |
|
300 | * Fix for adding .inspect for JQuery object only in case when it is exist
|
301 |
|
302 | 3.1.1 / 2014-01-28
|
303 | ==================
|
304 |
|
305 | * Fix for HTMLElement in DOM less environments
|
306 |
|
307 | 3.1.0 / 2014-01-23
|
308 | ==================
|
309 |
|
310 | * Added jquery based browser extension
|
311 |
|
312 | 3.0.1 / 2014-01-17
|
313 | ==================
|
314 |
|
315 | * Fix: .lengthOf()
|
316 |
|
317 | 3.0.0 / 2014-01-17
|
318 | ==================
|
319 |
|
320 | * Split everything to smaller files
|
321 | * Added huge extension to .match and .matchEach. Thanks @alsotang for initial code and idea.
|
322 | * Added .containDeep and .containEql
|
323 | * Separate build for browser and node.js
|
324 | * Basic plugin system
|
325 | * Breaking change: .Object now do not fail on arrays
|
326 | * Breaking change: Additional messages now replaces generated and do not added
|
327 | * Breaking change: .keys now check as is - no keys in args means no keys in object
|
328 | * Deprecated: assert extension
|
329 | * Deprecated: .include and .includeEql
|
330 | * Now all assertions define only positive cases, should.js take care about negations and chains
|
331 |
|
332 | 2.1.1 / 2013-12-05
|
333 | ==================
|
334 |
|
335 | * Move date formatting out of should.inspect
|
336 |
|
337 | 2.1.0 / 2013-11-11
|
338 | ==================
|
339 |
|
340 | * Override .inspect for Date's to convert them to ISOString
|
341 |
|
342 | 2.0.2 / 2013-10-21
|
343 | ==================
|
344 |
|
345 | * Add '#of' as getter for chaining.
|
346 | * Exclude browser script for .npmignore.
|
347 |
|
348 | 2.0.1 / 2013-10-10
|
349 | ==================
|
350 |
|
351 | * Fix wrong path in .npmignore.
|
352 |
|
353 | 2.0.0 / 2013-10-10
|
354 | ==================
|
355 |
|
356 | * breaking change: #a now getter like #an. Was replaced with #type(str)
|
357 | * breaking change: #empty does not check length for objects. Now it check if object do not have own properties.
|
358 | * #properties check if object have some properties
|
359 | * util.inspect now exposed as should.inspect
|
360 | * assertions for NaN, Infinity, Array, Object, String, Boolean, Number, Error, Function
|
361 | * #equal got alias #exactly
|
362 |
|
363 | 1.3.0 / 2013-09-13
|
364 | ==================
|
365 |
|
366 | * fix doc for .keys. Closes #108.
|
367 | * add #endWith()
|
368 | * add .startWith (#119)
|
369 |
|
370 | 1.2.2 / 2013-02-19
|
371 | ==================
|
372 |
|
373 | * fix should.be.instanceOf() failure on Date
|
374 |
|
375 | 1.2.1 / 2012-11-02
|
376 | ==================
|
377 |
|
378 | * add .showDiff
|
379 | * Make instanceOf and throwError be aliased like others [alFReD-NSH]
|
380 | * Fix should[.not].exist not having stack trace #84 [alFReD-NSH]
|
381 |
|
382 | 1.2.0 / 2012-09-21
|
383 | ==================
|
384 |
|
385 | * Added #approximately(value, delta, description) for doing assertions on results of operations with numbers. [titarenko]
|
386 |
|
387 | 1.1.1 / 2012-09-19
|
388 | ==================
|
389 |
|
390 | * add .type for eql()s assert
|
391 |
|
392 | 1.1.0 / 2012-07-30
|
393 | ==================
|
394 |
|
395 | * add enclosing of failure message functions. Closes #81
|
396 | * add mocha .actual / .expected string support for all assertion values
|
397 |
|
398 | 0.7.0 / 2012-07-17
|
399 | ==================
|
400 |
|
401 | * add `.throw(Constructor)` support [snakamura]
|
402 |
|
403 | 0.6.3 / 2012-04-26
|
404 | ==================
|
405 |
|
406 | * Added object inclusion support back
|
407 |
|
408 | 0.6.2 / 2012-04-26
|
409 | ==================
|
410 |
|
411 | * Added homepage to package.json
|
412 | * Fixed .equal() with dates. Closes #63
|
413 |
|
414 | 0.6.1 / 2012-04-10
|
415 | ==================
|
416 |
|
417 | * package: add "repository" section [TooTallNate]
|
418 | * use valueOf() to get the reference the object [TooTallNate]
|
419 |
|
420 | 0.6.0 / 2012-03-01
|
421 | ==================
|
422 |
|
423 | * Added `err.actual` and `err.expected` for .{eql,equal}()
|
424 | * Added 'return this;' to 'get json' and 'get html' in order to provide chaining for should.be.json and should.be.html
|
425 |
|
426 | 0.5.1 / 2012-01-13
|
427 | ==================
|
428 |
|
429 | * Added better `.json`
|
430 | * Added better `.html`
|
431 |
|
432 | 0.5.0 / 2012-01-12
|
433 | ==================
|
434 |
|
435 | * Added string matching to `.throw()` [serby]
|
436 | * Added regexp matching to `.throw()` [serby]
|
437 | * Added `.includeEql()` [RubenVerborgh]
|
438 | * Added `.should.be.html`
|
439 | * Added `.should.be.json`
|
440 | * Added optional description args to most matchers [Mike Swift]
|
441 |
|
442 | 0.4.2 / 2011-12-17
|
443 | ==================
|
444 |
|
445 | * Fixed .header() for realzzz
|
446 |
|
447 | 0.4.1 / 2011-12-16
|
448 | ==================
|
449 |
|
450 | * Fixed: chain .header() to retain negation
|
451 |
|
452 | 0.4.0 / 2011-12-16
|
453 | ==================
|
454 |
|
455 | * Added `.should.throw()`
|
456 | * Added `.include()` support for strings
|
457 | * Added `.include()` support for arrays
|
458 | * Removed `keys()` `.include` modifier support
|
459 | * Removed `.object()`
|
460 | * Removed `.string()`
|
461 | * Removed `.contain()`
|
462 | * Removed `.respondTo()` rubyism
|
463 | * expresso -> mocha
|
464 |
|
465 | 0.3.2 / 2011-10-24
|
466 | ==================
|
467 |
|
468 | * Fixed tests for 0.5.x
|
469 | * Fixed sys warning
|
470 |
|
471 | 0.3.1 / 2011-08-22
|
472 | ==================
|
473 |
|
474 | * configurable
|
475 |
|
476 | 0.3.0 / 2011-08-20
|
477 | ==================
|
478 |
|
479 | * Added assertion for inclusion of an object: `foo.should.include.object({ foo: 'bar' })`
|
480 |
|
481 | 0.2.1 / 2011-05-13
|
482 | ==================
|
483 |
|
484 | * Fixed .status(code). Closes #18
|
485 |
|
486 | 0.2.0 / 2011-04-17
|
487 | ==================
|
488 |
|
489 | * Added `res.should.have.status(code)` method
|
490 | * Added `res.should.have.header(field, val)` method
|
491 |
|
492 | 0.1.0 / 2011-04-06
|
493 | ==================
|
494 |
|
495 | * Added `should.exist(obj)` [aseemk]
|
496 | * Added `should.not.exist(obj)` [aseemk]
|
497 |
|
498 | 0.0.4 / 2010-11-24
|
499 | ==================
|
500 |
|
501 | * Added `.ok` to assert truthfulness
|
502 | * Added `.arguments`
|
503 | * Fixed double required bug. [thanks dominictarr]
|
504 |
|
505 | 0.0.3 / 2010-11-19
|
506 | ==================
|
507 |
|
508 | * Added `true` / `false` assertions
|
509 |
|
510 | 0.0.2 / 2010-11-19
|
511 | ==================
|
512 |
|
513 | * Added chaining support
|
514 |
|
515 | 0.0.1 / 2010-11-19
|
516 | ==================
|
517 |
|
518 | * Initial release
|