UNPKG

12.6 kBMarkdownView Raw
18.2.1 / 2016-01-27
2==================
3
4 * Fix bug with new option, thanks @VinGarcia
5
68.2.0 / 2016-01-24
7==================
8
9 * Add option to should.equal to treat -0 and +0 as equals
10
118.1.1 / 2016-01-10
12==================
13
14 * Fix browser build to do not loose window.Should
15
168.1.0 / 2016-01-10
17==================
18
19 * Add .Date() assertion to test if given object is Date instance
20
218.0.2 / 2015-12-18
22==================
23
24 * Update should-format to fix bug in formatting arrow functions
25
268.0.1 / 2015-12-11
27==================
28
29 * Fix throwing TypeError in .match
30
318.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
377.1.1 / 2015-10-20
38==================
39
40 * Update format package to fix node 0.12 Symbol formatting
41
427.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
497.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
557.0.3 / 2015-08-09
56==================
57
58 * Add alias .deepEqual for .eql
59
607.0.2 / 2015-07-09
61==================
62
63 * Bug in browser script and build
64
657.0.1 / 2015-06-18
66==================
67
68 * Fixes in should-type for dom nodes, host object and promises
69
707.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
846.0.3 / 2015-05-18
85==================
86
87 * Replace rest of usage after 6.0.2
88
896.0.2 / 2015-05-18
90==================
91
92 * Replace in all internal assertions `should` usage to non getter form
93
946.0.1 / 2015-04-15
95==================
96
97 * Remove dummy debug messages
98
996.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
1055.2.0 / 2015-03-12
106==================
107
108 * Added `.matchAny`, like `.matchEach` but with `some` semantics
109
1105.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
1175.0.1 / 2015-02-21
118==================
119
120 * Export utils via should.util
121
1225.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
1314.6.5 / 2015-02-05
132==================
133
134 * Fix perfomance degradation on large objects
135
1364.6.4 / 2015-02-05
137==================
138
139 * Fix end cases for .containDeep and .containDeepOrdered
140
1414.6.3 / 2015-02-01
142==================
143
144 * Added small check for .noConflict
145 * Fix end cases for .containDeep and .containDeepOrdered
146
1474.6.2 / 2015-01-28
148==================
149
150 * Make assertion properties configurable
151
1524.6.1 / 2015-01-18
153==================
154
155 * Bump deps
156 * Set showDiff only if the same types
157
1584.6.0 / 2015-01-13
159==================
160
161 * Wrap everywhere returned assertion with Proxy if available.
162
1634.5.2 / 2015-01-13
164==================
165
166 * Fixed null properties in .containDeep and .containDeepOrdered
167
1684.5.1 / 2015-01-13
169==================
170
171 * Fixed leaked \_eql
172
1734.5.0 / 2015-01-11
174==================
175
176 * Added config flag .useOldDeepEqual to use old .eql implementation
177
1784.4.4 / 2015-01-08
179==================
180
181 * Added .enumerables
182
1834.4.3 / 2015-01-08
184==================
185
186 * Bump dependencies to get more accurate format of promise
187 * Added a lot of jsdocs
188
1894.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
1944.4.1 / 2014-12-13
195==================
196
197 * bump deps
198
1994.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
2054.3.1 / 2014-12-08
206==================
207
208 * `.throw()` check if given object is a function
209
2104.3.0 / 2014-11-10
211==================
212
213 * Remove node's version of .eql
214 * Added reason why .eql failed
215
2164.2.1 / 2014-11-07
217==================
218
219 * Move inspection from .formattedObj to be in .getMessage - to make inspection as late as possible.
220
2214.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
2264.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
2354.0.4 / 2014-06-09
236==================
237
238 * Make all assertions enumerable in Assertion.prototype
239
2404.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
2464.0.1 / 2014-06-04
247==================
248
249 * Missing name in browser script
250
2514.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
2633.3.2 / 2014-05-23
264==================
265
266 * Fix for should.format
267
2683.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
2753.3.0 / 2014-04-07
276==================
277
278 * Added .enumerable(name, val)
279
2803.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
2873.1.4 / 2014-03-18
288==================
289
290 * .Error now do not throw assertion error for custom errors.
291
2923.1.3 / 2014-02-25
293==================
294
295 * Fix TypeError in .containEql
296
2973.1.2 / 2014-01-28
298==================
299
300 * Fix for adding .inspect for JQuery object only in case when it is exist
301
3023.1.1 / 2014-01-28
303==================
304
305 * Fix for HTMLElement in DOM less environments
306
3073.1.0 / 2014-01-23
308==================
309
310 * Added jquery based browser extension
311
3123.0.1 / 2014-01-17
313==================
314
315 * Fix: .lengthOf()
316
3173.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
3322.1.1 / 2013-12-05
333==================
334
335 * Move date formatting out of should.inspect
336
3372.1.0 / 2013-11-11
338==================
339
340 * Override .inspect for Date's to convert them to ISOString
341
3422.0.2 / 2013-10-21
343==================
344
345 * Add '#of' as getter for chaining.
346 * Exclude browser script for .npmignore.
347
3482.0.1 / 2013-10-10
349==================
350
351 * Fix wrong path in .npmignore.
352
3532.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
3631.3.0 / 2013-09-13
364==================
365
366 * fix doc for .keys. Closes #108.
367 * add #endWith()
368 * add .startWith (#119)
369
3701.2.2 / 2013-02-19
371==================
372
373 * fix should.be.instanceOf() failure on Date
374
3751.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
3821.2.0 / 2012-09-21
383==================
384
385 * Added #approximately(value, delta, description) for doing assertions on results of operations with numbers. [titarenko]
386
3871.1.1 / 2012-09-19
388==================
389
390 * add .type for eql()s assert
391
3921.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
3980.7.0 / 2012-07-17
399==================
400
401 * add `.throw(Constructor)` support [snakamura]
402
4030.6.3 / 2012-04-26
404==================
405
406 * Added object inclusion support back
407
4080.6.2 / 2012-04-26
409==================
410
411 * Added homepage to package.json
412 * Fixed .equal() with dates. Closes #63
413
4140.6.1 / 2012-04-10
415==================
416
417 * package: add "repository" section [TooTallNate]
418 * use valueOf() to get the reference the object [TooTallNate]
419
4200.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
4260.5.1 / 2012-01-13
427==================
428
429 * Added better `.json`
430 * Added better `.html`
431
4320.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
4420.4.2 / 2011-12-17
443==================
444
445 * Fixed .header() for realzzz
446
4470.4.1 / 2011-12-16
448==================
449
450 * Fixed: chain .header() to retain negation
451
4520.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
4650.3.2 / 2011-10-24
466==================
467
468 * Fixed tests for 0.5.x
469 * Fixed sys warning
470
4710.3.1 / 2011-08-22
472==================
473
474 * configurable
475
4760.3.0 / 2011-08-20
477==================
478
479 * Added assertion for inclusion of an object: `foo.should.include.object({ foo: 'bar' })`
480
4810.2.1 / 2011-05-13
482==================
483
484 * Fixed .status(code). Closes #18
485
4860.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
4920.1.0 / 2011-04-06
493==================
494
495 * Added `should.exist(obj)` [aseemk]
496 * Added `should.not.exist(obj)` [aseemk]
497
4980.0.4 / 2010-11-24
499==================
500
501 * Added `.ok` to assert truthfulness
502 * Added `.arguments`
503 * Fixed double required bug. [thanks dominictarr]
504
5050.0.3 / 2010-11-19
506==================
507
508 * Added `true` / `false` assertions
509
5100.0.2 / 2010-11-19
511==================
512
513 * Added chaining support
514
5150.0.1 / 2010-11-19
516==================
517
518 * Initial release