History.md (37611B)
1 ### Note 2 3 As of 3.0.0, the History.md file has been deprecated. [Please refer to the full 4 commit logs available on GitHub](https://github.com/chaijs/chai/commits/master). 5 6 --- 7 8 2.3.0 / 2015-04-26 9 ================== 10 11 * Merge pull request #423 from ehntoo/patch-1 12 * Merge pull request #422 from ljharb/fix_descriptor_tests 13 * Fix a small bug in the .null assertion docs 14 * Use a regex to account for property ordering issues across engines. 15 * Add `make test-firefox` 16 * Merge pull request #417 from astorije/astorije/minimalist-typo 17 * Remove trailing whitespaces 18 * Fix super minor typo in an example 19 * Merge pull request #408 from ljharb/enumerableProperty 20 * Add `ownPropertyDescriptor` assertion. 21 22 2.2.0 / 2015-03-26 23 ================== 24 25 * Merge pull request #405 from chaijs/deep-escape-doc-tweaks 26 * Tweak documentation on `.deep` flag. 27 * Merge pull request #402 from umireon/escaping-dot-should-be-taken 28 * Documentation of escaping in `.deep` flag. 29 * take regular expression apart 30 * Feature: backslash-escaping in `.deep.property` 31 * Escaping dot should be taken in deep property 32 33 2.1.2 / 2015-03-15 34 ================== 35 36 * Merge pull request #396 from chaijs/add-keith-cirkel-contributing-md 37 * Add Keith Cirkel to CONTRIBUTING.md 38 * Merge pull request #395 from cjqed/386-assert-operator-no-eval 39 * No longer using eval on assert operator #386 40 * Merge pull request #389 from chaijs/update-git-summary 41 * Update `git summary` in README 42 43 2.1.1 / 2015-03-04 44 ================== 45 46 * Merge pull request #385 from eldritch-fossicker/master 47 * updates to reflect code style preference from @keithamus 48 * fix indexing into array with deep propery 49 * Merge pull request #382 from astorije/patch-2 50 * Merge pull request #383 from gurdiga/config-doc-wording-improvement 51 * config.truncateThreshold docs: simpler wording 52 * Add missing docstring for showDiff argument of assert 53 * Merge pull request #381 from astorije/patch-1 54 * Add a minor precision that empty asserts on strings too. 55 * Merge pull request #379 from dcneiner/should-primitive-fix 56 * Primitives now use valueOf in shouldGetter 57 58 2.1.0 / 2015-02-23 59 ================== 60 61 * Merge pull request #374 from jmm/v2.0.1 62 * Increment version to 2.0.1. 63 * Merge pull request #365 from chaijs/fix-travis 64 * Fix travis.yml deploy 65 * Merge pull request #356 from Soviut/master 66 * documented fail methods for expect and should interfaces 67 * fail method added directly to expect 68 69 2.0.0 / 2015-02-09 70 ================== 71 72 * Merge pull request #361 from gregglind/b265-keys-object 73 * fix #359. Add `.keys(object)` 74 * Merge pull request #359 from gregglind/b359-unexpected-keys-sort 75 * Fix #359 keys() sorts input unexpectedly 76 * contrib: publish release strategy and travis npm creds #337 77 * Merge pull request #357 from danilovaz/master 78 * Update copyright date 79 * Merge pull request #349 from toastynerd/add-which-chain-method 80 * add the which chain method as per issue #347 81 * Merge pull request #333 from cmpolis/change-assertions 82 * more `by` cleanup 83 * cleaned out `.by` for #333 84 * Merge pull request #335 from DingoEatingFuzz/expose-util 85 * Expose chai util through the chai object 86 * cleanup (per notes on pr #333) 87 * updated `change` to work w/ non-number values + tests 88 * Merge pull request #334 from hurrymaplelad/patch-1 89 * Typo, the flag is called 'contains' with an 's' 90 * updated assertion interface with `change` (#330) 91 * added `change`,`increase`,`decrease` assertions (#330) 92 * assert tests for `change`,`increase`,`decrease` 93 * expect/should tests for `change`,`increase`,`decrease` 94 * Merge pull request #328 from lo1tuma/issue-327 95 * Add includes and contains alias (fixes #327) 96 * Merge pull request #325 from chasenlehara/overwriteChainableMethodDocs 97 * Fix docs for overwriteChainableMethod parameters 98 * Merge pull request #317 from jasonkarns/patch-2 99 * Merge pull request #318 from jasonkarns/patch-3 100 * Merge pull request #316 from jasonkarns/patch-1 101 * typos in docs 102 * minor docs typo 103 * update docs: getAllFlags -> transferFlags 104 * Merge pull request #313 from cjqed/254-expect-any-all 105 * Added the all and any flags for keys assertion, with all being the default behavior 106 * Merge pull request #312 from cjqed/291-assert-same-deep-members 107 * Changed public comment of sameDeepMemebers to be more clear 108 * Fixes issue #291, adds assert.sameDeepMembers 109 * Merge pull request #311 from cjqed/305-above-below-on-assert 110 * Merge pull request #308 from prodatakey/hasproperty 111 * Issue #305 fixed, added assert.isAbove and assert.isBelow 112 * Fix typo 113 * More unit tests for new utility functions 114 * Refactor common functionality, document, test 115 * Refactor if statement out 116 * Small unit test fix 117 * Handle array indexing terminating paths 118 * Merge pull request #309 from ericdouglas/iterableEqual-couting-once 119 * couting variables just once 120 * Fix properties with `undefined` value pass property assertion 121 * Merge pull request #306 from chaijs/revert-297-noopchainfunc 122 * Revert "Allows writing lint-friendly tests" 123 124 1.10.0 / 2014-11-10 125 ================== 126 127 * Merge pull request #297 from prodatakey/noopchainfunc 128 * Merge pull request #300 from julienw/299-fix-getMessage-test 129 * Fix #299: the test is defining global variables 130 * Add a couple more unit tests 131 * Add unit tests for chained terminating property asserts 132 * Revise documentation wording 133 * Add docs for function style NOOP asserts 134 * Make the NOOP function a shared constant 135 * Merge pull request #298 from dasilvacontin/negativeZeroLogging 136 * why not more assertions 137 * added test for inspecting `-0` 138 * a more readable/simple condition statement, as pointed out by @keithamus 139 * added check for logging negative zero 140 * Change test to not trigger argument bug 141 * Allows writing lint-friendly tests 142 * readme: update contributors for 1.9.2 143 144 1.9.2 / 2014-09-29 145 ================== 146 147 * Merge pull request #268 from charlierudolph/cr-lazyMessages 148 * Merge pull request #269 from charlierudolph/cr-codeCleanup 149 * Merge pull request #277 from charlierudolph/fix-doc 150 * Merge pull request #279 from mohayonao/fix-closeTo 151 * Merge pull request #292 from boneskull/mocha 152 * resolves #255: upgrade mocha 153 * Merge pull request #289 from charlierudolph/cr-dryUpCode 154 * Dry up code 155 * Merge pull request #275 from DrRataplan/master 156 * assert: .closeTo() verify value's type before assertion 157 * Rewrite pretty-printing HTML elements to prevent throwing internal errors Fixes errors occuring when using a non-native DOM implementation 158 * Fix assert documentation 159 * Remove unused argument 160 * Allow messages to be functions 161 * Merge pull request #267 from shinnn/master 162 * Use SVG badge 163 * Merge pull request #264 from cjthompson/keys_diff 164 * Show diff for keys assertion 165 166 1.9.1 / 2014-03-19 167 ================== 168 169 * deps update 170 * util: [getActual] select actual logic now allows undefined for actual. Closes #183 171 * docs: [config] make public, express param type 172 * Merge pull request #251 from romario333/threshold3 173 * Fix issue #166 - configurable threshold in objDisplay. 174 * Move configuration options to config.js. 175 * Merge pull request #233 from Empeeric/master 176 * Merge pull request #244 from leider/fix_for_contains 177 * Merge pull request #247 from didoarellano/typo-fixes 178 * Fix typos 179 * Merge pull request #245 from lfac-pt/patch-1 180 * Update `exports.version` to 1.9.0 181 * aborting loop on finding 182 * declaring variable only once 183 * additional test finds incomplete implementation 184 * simplified code 185 * fixing #239 (without changing chai.js) 186 * ssfi as it should be 187 * Merge pull request #228 from duncanbeevers/deep_members 188 * Deep equality check for collection membership 189 190 1.9.0 / 2014-01-29 191 ================== 192 193 * docs: add contributing.md #238 194 * assert: .throws() returns thrown error. Closes #185 195 * Merge pull request #232 from laconbass/assert-throws 196 * assert: .fail() parameter mismatch. Closes #206 197 * Merge branch 'karma-fixes' 198 * Add karma phantomjs launcher 199 * Use latest karma and sauce launcher 200 * Karma tweaks 201 * Merge pull request #230 from jkroso/include 202 * Merge pull request #237 from chaijs/coverage 203 * Add coverage to npmignore 204 * Remove lib-cov from test-travisci dependents 205 * Remove the not longer needed lcov reporter 206 * Test coverage with istanbul 207 * Remove jscoverage 208 * Remove coveralls 209 * Merge pull request #226 from duncanbeevers/add_has 210 * Avoid error instantiation if possible on assert.throws 211 * Merge pull request #231 from duncanbeevers/update_copyright_year 212 * Update Copyright notices to 2014 213 * handle negation correctly 214 * add failing test case 215 * support `{a:1,b:2}.should.include({a:1})` 216 * Merge pull request #224 from vbardales/master 217 * Add `has` to language chains 218 * Merge pull request #219 from demands/overwrite_chainable 219 * return error on throw method to chain on error properties, possibly different from message 220 * util: store chainable behavior in a __methods object on ctx 221 * util: code style fix 222 * util: add overwriteChainableMethod utility (for #215) 223 * Merge pull request #217 from demands/test_cleanup 224 * test: make it possible to run utilities tests with --watch 225 * makefile: change location of karma-runner bin script 226 * Merge pull request #202 from andreineculau/patch-2 227 * test: add tests for throwing custom errors 228 * Merge pull request #201 from andreineculau/patch-1 229 * test: updated for the new assertion errors 230 * core: improve message for assertion errors (throw assertion) 231 232 1.8.1 / 2013-10-10 233 ================== 234 235 * pkg: update deep-eql version 236 237 1.8.0 / 2013-09-18 238 ================== 239 240 * test: [sauce] add a few more browsers 241 * Merge branch 'refactor/deep-equal' 242 * util: remove embedded deep equal utility 243 * util: replace embedded deep equal with external module 244 * Merge branch 'feature/karma' 245 * docs: add sauce badge to readme [ci skip] 246 * test: [sauce] use karma@canary to prevent timeouts 247 * travis: only run on node 0.10 248 * test: [karma] use karma phantomjs runner 249 * Merge pull request #181 from tricknotes/fix-highlight 250 * Fix highlight for example code 251 252 1.7.2 / 2013-06-27 253 ================== 254 255 * coverage: add coveralls badge 256 * test: [coveralls] add coveralls api integration. testing travis-ci integration 257 * Merge branch 'master' of github.com:chaijs/chai 258 * Merge branch 'feature/bower' 259 * Merge pull request #180 from tricknotes/modify-method-title 260 * Merge pull request #179 from tricknotes/highlight-code-example 261 * Modify method title to include argument name 262 * Fix to highlight code example 263 * bower: granular ignores 264 265 1.7.1 / 2013-06-24 266 ================== 267 268 * Merge branch 'feature/bower'. #175 269 * bower: add json file 270 * build: browser 271 272 1.7.0 / 2013-06-17 273 ================== 274 275 * error: remove internal assertion error constructor 276 * core: [assertion-error] replace internal assertion error with dep 277 * deps: add chaijs/assertion-error@1.0.0 278 * docs: fix typo in source file. #174 279 * Merge pull request #174 from piecioshka/master 280 * typo 281 * Merge branch 'master' of github.com:chaijs/chai 282 * pkg: lock mocha/mocha-phantomjs versions (for now) 283 * Merge pull request #173 from chaijs/inspect-fix 284 * Fix `utils.inspect` with custom object-returning inspect()s. 285 * Merge pull request #171 from Bartvds/master 286 * replaced tabs with 2 spaces 287 * added assert.notOk() 288 * Merge pull request #169 from katsgeorgeek/topics/master 289 * Fix comparison objects. 290 291 1.6.1 / 2013-06-05 292 ================== 293 294 * Merge pull request #168 from katsgeorgeek/topics/master 295 * Add test for different RegExp flags. 296 * Add test for regexp comparison. 297 * Downgrade mocha version for fix running Phantom tests. 298 * Fix comparison equality of two regexps. 299 * Merge pull request #161 from brandonpayton/master 300 * Fix documented name for assert interfaces isDefined method 301 302 1.6.0 / 2013-04-29 303 ================== 304 305 * build: browser 306 * assert: [(not)include] throw on incompatible haystack. Closes #142 307 * assert: [notInclude] add assert.notInclude. Closes #158 308 * browser build 309 * makefile: force browser build on browser-test 310 * makefile: use component for browser build 311 * core: [assertions] remove extraneous comments 312 * Merge branch 'master' of github.com:chaijs/chai 313 * test: [assert] deep equal ordering 314 * Merge pull request #153 from NickHeiner/array-assertions 315 * giving members a no-flag assertion 316 * Code review comments - changing syntax 317 * Code review comments 318 * Adding members and memberEquals assertions for checking for subsets and set equality. Implements chaijs/chai#148. 319 * Merge pull request #140 from RubenVerborgh/function-prototype 320 * Restore the `call` and `apply` methods of Function when adding a chainable method. 321 * readme: 2013 322 * notes: migration notes for deep equal changes 323 * test: for ever err() there must be a passing version 324 325 1.5.0 / 2013-02-03 326 ================== 327 328 * docs: add Release Notes for non-gitlog summary of changes. 329 * lib: update copyright to 2013 330 * Merge branch 'refactor/travis' 331 * makefile: remove test-component for full test run 332 * pkg: script test now runs make test so travis will test browser 333 * browser: build 334 * tests: refactor some tests to support new objDisplay output 335 * test: [bootstrap] normalize boostrap across all test scenarios 336 * assertions: refactor some assertions to use objDisplay instead of inspect 337 * util: [objDisplay] normalize output of functions 338 * makefile: refactor for full build scenarios 339 * component: fix build bug where missing util:type file 340 * assertions: [throw] code cleanup 341 * Merge branch 'refactor/typeDetection' 342 * browser: build 343 * makefile: chai.js is .PHONY so it builds every time 344 * test: [expect] add arguments type detection test 345 * core/assertions: [type] (a/an) refactor to use type detection utility 346 * util: add cross-browser type detection utility 347 * Merge branch 'feature/component' 348 * browser: build 349 * component: add component.json file 350 * makefile: refactor for fine grain control of testing scenarios 351 * test: add mochaPhantomJS support and component test file 352 * deps: add component and mocha-phantomjs for browser testing 353 * ignore: update ignore files for component support 354 * travis: run for all branches 355 * Merge branch 'feature/showDiff' 356 * test: [Assertion] configruable showDiff flag. Closes #132 357 * lib: [Assertion] add configurable showDiff flag. #132 358 * Merge branch 'feature/saucelabs' 359 * Merge branch 'master' into feature/saucelabs 360 * browser: build 361 * support: add mocha cloud runner, client, and html test page 362 * test: [saucelabs] add auth placeholder 363 * deps: add mocha-cloud 364 * Merge pull request #136 from whatthejeff/message_fix 365 * Merge pull request #138 from timnew/master 366 * Fix issue #137, test message existence by using message!=null rather than using message 367 * Fixed backwards negation messages. 368 * Merge pull request #133 from RubenVerborgh/throw 369 * Functions throwing strings can reliably be tested. 370 * Merge pull request #131 from RubenVerborgh/proto 371 * Cache whether __proto__ is supported. 372 * Use __proto__ if available. 373 * Determine the property names to exclude beforehand. 374 * Merge pull request #126 from RubenVerborgh/eqls 375 * Add alias eqls for eql. 376 * Use inherited enumerable properties in deep equality comparison. 377 * Show inherited properties when inspecting an object. 378 * Add new getProperties and getEnumerableProperties utils. 379 * showDiff: force true for equal and eql 380 381 1.4.2 / 2012-12-21 382 ================== 383 384 * browser build: (object diff support when used with mocha) #106 385 * test: [display] array test for mocha object diff 386 * browser: no longer need different AssertionError constructor 387 388 1.4.1 / 2012-12-21 389 ================== 390 391 * showDiff: force diff for equal and eql. #106 392 * test: [expect] type null. #122 393 * Merge pull request #115 from eshao/fix-assert-Throw 394 * FIX: assert.Throw checks error type/message 395 * TST: assert.Throw should check error type/message 396 397 1.4.0 / 2012-11-29 398 ================== 399 400 * pre-release browser build 401 * clean up index.js to not check for cov, revert package.json to use index.js 402 * convert tests to use new bootstrap 403 * refactor testing bootstrap 404 * use spaces (not tabs). Clean up #114 405 * Merge pull request #114 from trantorLiu/master 406 * Add most() (alias: lte) and least() (alias: gte) to the API with new chainers "at" and "of". 407 * Change `main` to ./lib/chai. Fixes #28. 408 * Merge pull request #104 from connec/deep_equals_circular_references_ 409 * Merge pull request #109 from nnarhinen/patch-1 410 * Check for 'actual' type 411 * Added support for circular references when checking deep (in)equality. 412 413 1.3.0 / 2012-10-01 414 ================== 415 416 * browser build w/ folio >= 0.3.4. Closes #99 417 * add back buffer test for deep equal 418 * do not write flags to assertion.prototype 419 * remove buffer test from expect 420 * browser build 421 * improve documentation of custom error messages 422 * Merge branch 'master' of git://github.com/Liffft/chai into Liffft-master 423 * browser build 424 * improved buffer deep equal checking 425 * mocha is npm test command 426 * Cleaning up the js style… 427 * expect tests now include message pass-through 428 * packaging up browser-side changes… 429 * Increasing Throws error message verbosity 430 * Should syntax: piping message through 431 * Make globalShould test work in browser too. 432 * Add a setter for `Object.prototype.should`. Closes #86. 433 434 1.2.0 / 2012-08-07 435 ================== 436 437 * Merge branch 'feature/errmsg' 438 * browser build 439 * comment updates for utilities 440 * tweak objDislay to only kick in if object inspection is too long 441 * Merge branch 'master' into feature/errmsg 442 * add display sample for error message refactor 443 * first draft of error message refactor. #93 444 * add `closeTo` assertion to `assert` interface. Closes #89. 445 * update folio build for better require.js handling. Closes #85 446 * Merge pull request #92 from paulmillr/topics/add-dom-checks 447 * Add check for DOM objects. 448 * browser build 449 * Merge branch 'master' of github.com:chaijs/chai 450 * bug - getActual not defaulting to assertion subject 451 * Merge pull request #88 from pwnall/master 452 * Don't inspect() assertion arguments if the assertion passes. 453 454 1.1.1 / 2012-07-09 455 ================== 456 457 * improve commonjs support on browser build 458 * Merge pull request #83 from tkazec/equals 459 * Document .equals 460 * Add .equals as an alias of .equal 461 * remove unused browser prefix/suffix 462 * Merge branch 'feature/folio-build' 463 * browser build 464 * using folio to compile 465 * clean up makefile 466 * early folio 0.3.x support 467 468 1.1.0 / 2012-06-26 469 ================== 470 471 * browser build 472 * Disable "Assertion.includeStack is false" test in IE. 473 * Use `utils.getName` for all function inspections. 474 * Merge pull request #80 from kilianc/closeTo 475 * fixes #79 476 * browser build 477 * expand docs to indicate change of subject for chaining. Closes #78 478 * add `that` chain noop 479 * Merge branch 'bug/74' 480 * comments on how to property use `length` as chain. Closes #74 481 * tests for length as chainable property. #74 482 * add support for `length` as chainable prop/method. 483 * Merge branch 'bug/77' 484 * tests for getPathValue when working with nested arrays. Closes #77 485 * add getPathValue support for nested arrays 486 * browser build 487 * fix bug for missing browser utils 488 * compile tool aware of new folder layout 489 * Merge branch 'refactor/1dot1' 490 * move core assertions to own file and refactor all using utils 491 * rearrange folder structure 492 493 1.0.4 / 2012-06-03 494 ================== 495 496 * Merge pull request #68 from fizker/itself 497 * Added itself chain. 498 * simplify error inspections for cross browser compatibility 499 * fix safari `addChainableMethod` errors. Closes #69 500 501 1.0.3 / 2012-05-27 502 ================== 503 504 * Point Travis badge to the right place. 505 * Make error message for eql/deep.equal more clear. 506 * Fix .not.deep.equal. 507 * contributors list 508 509 1.0.2 / 2012-05-26 510 ================== 511 512 * Merge pull request #67 from chaijs/chaining-and-flags 513 * Browser build. 514 * Use `addChainableMethod` to get away from `__proto__` manipulation. 515 * New `addChainableMethod` utility. 516 * Replace `getAllFlags` with `transferFlags` utility. 517 * browser build 518 * test - get all flags 519 * utility - get all flags 520 * Add .mailmap to .npmignore. 521 * Add a .mailmap file to fix my name in shortlogs. 522 523 1.0.1 / 2012-05-18 524 ================== 525 526 * browser build 527 * Fixing "an" vs. "a" grammar in type assertions. 528 * Uniformize `assert` interface inline docs. 529 * Don't use `instanceof` for `assert.isArray`. 530 * Add `deep` flag for equality and property value. 531 * Merge pull request #64 from chaijs/assertion-docs 532 * Uniformize assertion inline docs. 533 * Add npm-debug.log to .gitignore. 534 * no reserved words as actuals. #62 535 536 1.0.0 / 2012-05-15 537 ================== 538 539 * readme cleanup 540 * browser build 541 * utility comments 542 * removed docs 543 * update to package.json 544 * docs build 545 * comments / docs updates 546 * plugins app cleanup 547 * Merge pull request #61 from joliss/doc 548 * Fix and improve documentation of assert.equal and friends 549 * browser build 550 * doc checkpoint - texture 551 * Update chai-jquery link 552 * Use defined return value of Assertion extension functions 553 * Update utility docs 554 555 1.0.0-rc3 / 2012-05-09 556 ================== 557 558 * Merge branch 'feature/rc3' 559 * docs update 560 * browser build 561 * assert test conformity for minor refactor api 562 * assert minor refactor 563 * update util tests for new add/overwrite prop/method format 564 * added chai.Assertion.add/overwrite prop/method for plugin toolbox 565 * add/overwrite prop/method don't make assumptions about context 566 * doc test suite 567 * docs don't need coverage 568 * refactor all simple chains into one forEach loop, for clean documentation 569 * updated npm ignore 570 * remove old docs 571 * docs checkpoint - guide styled 572 * Merge pull request #59 from joliss/doc 573 * Document how to run the test suite 574 * don't need to rebuild docs to view 575 * dep update 576 * docs checkpoint - api section 577 * comment updates for docs 578 * new doc site checkpoint - plugin directory! 579 * Merge pull request #57 from kossnocorp/patch-1 580 * Fix typo: devDependancies → devDependencies 581 * Using message flag in `getMessage` util instead of old `msg` property. 582 * Adding self to package.json contributors. 583 * `getMessage` shouldn't choke on null/omitted messages. 584 * `return this` not necessary in example. 585 * `return this` not necessary in example. 586 * Sinon–Chai has a dash 587 * updated plugins list for docs 588 589 1.0.0-rc2 / 2012-05-06 590 ================== 591 592 * Merge branch 'feature/test-cov' 593 * browser build 594 * missing assert tests for ownProperty 595 * appropriate assert equivalent for expect.to.have.property(key, val) 596 * reset AssertionError to include full stack 597 * test for plugin utilities 598 * overwrite Property and Method now ensure chain 599 * version notes in readme 600 601 1.0.0-rc1 / 2012-05-04 602 ================== 603 604 * browser build (rc1) 605 * assert match/notMatch tests 606 * assert interface - notMatch, ownProperty, notOwnProperty, ownPropertyVal, ownPropertyNotVal 607 * cleaner should interface export. 608 * added chai.Assertion.prototype._obj (getter) for quick access to object flag 609 * moved almostEqual / almostDeepEqual to stats plugin 610 * added mocha.opts 611 * Add test for `utils.addMethod` 612 * Fix a typo 613 * Add test for `utils.overwriteMethod` 614 * Fix a typo 615 * Browser build 616 * Add undefined assertion 617 * Add null assertion 618 * Fix an issue with `mocha --watch` 619 * travis no longer tests on node 0.4.x 620 * removing unnecissary carbon dep 621 * Merge branch 'feature/plugins-app' 622 * docs build 623 * templates for docs express app for plugin directory 624 * express app for plugin and static serving 625 * added web server deps 626 * Merge pull request #54 from josher19/master 627 * Remove old test.assert code 628 * Use util.inspect instead of inspect for deepAlmostEqual and almostEqual 629 * browser build 630 * Added almostEqual and deepAlmostEqual to assert test suite. 631 * bug - context determinants for utils 632 * dec=0 means rounding, so assert.deepAlmostEqual({pi: 3.1416}, {pi: 3}, 0) is true 633 * wrong travis link 634 * readme updates for version information 635 * travis tests 0.5.x branch as well 636 * [bug] util `addProperty` not correctly exporting 637 * read me version notes 638 * browser build 1.0.0alpha1 639 * not using reserved words in internal assertions. #52 640 * version tick 641 * clean up redundant tests 642 * Merge branch 'refs/heads/0.6.x' 643 * update version tag in package 1.0.0alpha1 644 * browser build 645 * added utility tests to browser specs 646 * beginning utility testing 647 * updated utility comments 648 * utility - overwriteMethod 649 * utility - overwriteProperty 650 * utility - addMethod 651 * utility - addProperty 652 * missing ; 653 * contributors list update 654 * Merge branch 'refs/heads/0.6.x-docs' into 0.6.x 655 * Added guide link to docs. WIP 656 * Include/contain are now both properties and methods 657 * Add an alias annotation 658 * Remove usless function wrapper 659 * Fix a typo 660 * A/an are now both properties and methods 661 * [docs] new site homepage layout / color checkpoint 662 * Ignore IE-specific error properties. 663 * Fixing order of error message test. 664 * New cross-browser `getName` util. 665 * Fixing up `AssertionError` inheritance. 666 * backup docs 667 * Add doctypes 668 * [bug] was still using `constructor.name` in `throw` assertion 669 * [bug] flag Object.create(null) instead of new Object 670 * [test] browser build 671 * [refactor] all usage of Assertion.prototype.assert now uses template tags and flags 672 * [refactor] remove Assertion.prototype.inspect for testable object inspection 673 * [refactor] object to test is now stored in flag, with ssfi and custom message 674 * [bug] flag util - don't return on `set` 675 * [docs] comments for getMessage utility 676 * [feature] getMessage 677 * [feature] testing utilities 678 * [refactor] flag doesn't require `call` 679 * Make order of source files well-defined 680 * Added support for throw(errorInstance). 681 * Use a foolproof method of grabbing an error's name. 682 * Removed constructor.name check from throw. 683 * disabled stackTrack configuration tests until api is stable again 684 * first version of line displayed error for node js (unstable) 685 * refactor core Assertion to use flag utility for negation 686 * added flag utility 687 * tests for assert interface negatives. Closed #42 688 * added assertion negatives that were missing. #42 689 * Support for expected and actual parameters in assert-style error object 690 * chai as promised - readme 691 * Added assert.fail. Closes #40 692 * better error message for assert.operator. Closes #39 693 * [refactor] Assertion#property to use getPathValue property 694 * added getPathValue utility helper 695 * removed todo about browser build 696 * version notes 697 * version bumb 0.6.0 698 * browser build 699 * [refactor] browser compile function to replace with `require('./error')' with 'require('./browser/error')' 700 * [feature] browser uses different error.js 701 * [refactor] error without chai.fail 702 * Assertion & interfaces use new utils helper export 703 * [refactor] primary export for new plugin util usage 704 * added util index.js helper 705 * added 2012 to copyright headers 706 * Added DeepEqual assertions 707 708 0.5.3 / 2012-04-21 709 ================== 710 711 * Merge branch 'refs/heads/jgonera-oldbrowsers' 712 * browser build 713 * fixed reserved names for old browsers in interface/assert 714 * fixed reserved names for old browsers in interface/should 715 * fixed: chai.js no longer contains fail() 716 * fixed reserved names for old browsers in Assertion 717 * Merge pull request #49 from joliss/build-order 718 * Make order of source files well-defined 719 * Merge pull request #43 from zzen/patch-1 720 * Support for expected and actual parameters in assert-style error object 721 * chai as promised - readme 722 723 0.5.2 / 2012-03-21 724 ================== 725 726 * browser build 727 * Merge branch 'feature/assert-fail' 728 * Added assert.fail. Closes #40 729 * Merge branch 'bug/operator-msg' 730 * better error message for assert.operator. Closes #39 731 * version notes 732 733 0.5.1 / 2012-03-14 734 ================== 735 736 * chai.fail no longer exists 737 * Merge branch 'feature/assertdefined' 738 * Added asset#isDefined. Closes #37. 739 * dev docs update for Assertion#assert 740 741 0.5.0 / 2012-03-07 742 ================== 743 744 * [bug] on inspect of reg on n 0.4.12 745 * Merge branch 'bug/33-throws' 746 * Merge pull request #35 from logicalparadox/empty-object 747 * browser build 748 * updated #throw docs 749 * Assertion#throw `should` tests updated 750 * Assertion#throw `expect` tests 751 * Should interface supports multiple throw parameters 752 * Update Assertion#throw to support strings and type checks. 753 * Add more tests for `empty` in `should`. 754 * Add more tests for `empty` in `expect`. 755 * Merge branch 'master' into empty-object 756 * don't switch act/exp 757 * Merge pull request #34 from logicalparadox/assert-operator 758 * Update the compiled verison. 759 * Add `assert.operator`. 760 * Notes on messages. #22 761 * browser build 762 * have been test 763 * below tests 764 * Merge branch 'feature/actexp' 765 * browser build 766 * remove unnecessary fail export 767 * full support for actual/expected where relevant 768 * Assertion.assert support expected value 769 * clean up error 770 * Update the compiled version. 771 * Add object & sane arguments support to `Assertion#empty`. 772 773 0.4.2 / 2012-02-28 774 ================== 775 776 * fix for `process` not available in browser when used via browserify. Closes #28 777 * Merge pull request #31 from joliss/doc 778 * Document that "should" works in browsers other than IE 779 * Merge pull request #30 from logicalparadox/assert-tests 780 * Update the browser version of chai. 781 * Update `assert.doesNotThrow` test in order to check the use case when type is a string. 782 * Add test for `assert.ifError`. 783 * Falsey -> falsy. 784 * Full coverage for `assert.throws` and `assert.doesNotThrow`. 785 * Add test for `assert.doesNotThrow`. 786 * Add test for `assert.throws`. 787 * Add test for `assert.length`. 788 * Add test for `assert.include`. 789 * Add test for `assert.isBoolean`. 790 * Fix the implementation of `assert.isNumber`. 791 * Add test for `assert.isNumber`. 792 * Add test for `assert.isString`. 793 * Add test for `assert.isArray`. 794 * Add test for `assert.isUndefined`. 795 * Add test for `assert.isNotNull`. 796 * Fix `assert.isNotNull` implementation. 797 * Fix `assert.isNull` implementation. 798 * Add test for `assert.isNull`. 799 * Add test for `assert.notDeepEqual`. 800 * Add test for `assert.deepEqual`. 801 * Add test for `assert.notStrictEqual`. 802 * Add test for `assert.strictEqual`. 803 * Add test for `assert.notEqual`. 804 805 0.4.1 / 2012-02-26 806 ================== 807 808 * Merge pull request #27 from logicalparadox/type-fix 809 * Update the browser version. 810 * Add should tests for type checks. 811 * Add function type check test. 812 * Add more type checks tests. 813 * Add test for `new Number` type check. 814 * Fix type of actual checks. 815 816 0.4.0 / 2012-02-25 817 ================== 818 819 * docs and readme for upcoming 0.4.0 820 * docs generated 821 * putting coverage and tests for docs in docs/out/support 822 * make docs 823 * makefile copy necessary resources for tests in docs 824 * rename configuration test 825 * Merge pull request #21 from logicalparadox/close-to 826 * Update the browser version. 827 * Update `closeTo()` docs. 828 * Add `Assertion.closeTo()` method. 829 * Add `.closeTo()` should test. 830 * Add `.closeTo()` expect test. 831 * Merge pull request #20 from logicalparadox/satisfy 832 * Update the browser version. 833 * `..` -> `()` in `.satisfy()` should test. 834 * Update example for `.satisfy()`. 835 * Update the compiled browser version. 836 * Add `Assertion.satisfy()` method. 837 * Add `.satisfy()` should test. 838 * Add `.satisfy()` expect test. 839 * Merge pull request #19 from logicalparadox/respond-to 840 * Update the compiled browser version. 841 * Add `respondTo` Assertion. 842 * Add `respondTo` should test. 843 * Add `respondTo` expect test. 844 * Merge branch 'feature/coverage' 845 * mocha coverage support 846 * doc contributors 847 * README contributors 848 849 0.3.4 / 2012-02-23 850 ================== 851 852 * inline comment typos for #15 853 * Merge branch 'refs/heads/jeffbski-configErrorStackCompat' 854 * includeStack documentation for all interfaces 855 * suite name more generic 856 * Update test to be compatible with browsers that do not support err.stack 857 * udpated compiled chai.js and added to browser tests 858 * Allow inclusion of stack trace for Assert error messages to be configurable 859 * docs sharing buttons 860 * sinon-chai link 861 * doc updates 862 * read me updates include plugins 863 864 0.3.3 / 2012-02-12 865 ================== 866 867 * Merge pull request #14 from jfirebaugh/configurable_properties 868 * Make Assertion.prototype properties configurable 869 870 0.3.2 / 2012-02-10 871 ================== 872 873 * codex version 874 * docs 875 * docs cleanup 876 877 0.3.1 / 2012-02-07 878 ================== 879 880 * node 0.4.x compat 881 882 0.3.0 / 2012-02-07 883 ================== 884 885 * Merge branch 'feature/03x' 886 * browser build 887 * remove html/json/headers testign 888 * regex error.message testing 889 * tests for using plugins 890 * Merge pull request #11 from domenic/master 891 * Make `chai.use` a no-op if the function has already been used. 892 893 0.2.4 / 2012-02-02 894 ================== 895 896 * added in past tense switch for `been` 897 898 0.2.3 / 2012-02-01 899 ================== 900 901 * try that again 902 903 0.2.2 / 2012-02-01 904 ================== 905 906 * added `been` (past of `be`) alias 907 908 0.2.1 / 2012-01-29 909 ================== 910 911 * added Throw, with a capital T, as an alias to `throw` (#7) 912 913 0.2.0 / 2012-01-26 914 ================== 915 916 * update gitignore for vim *.swp 917 * Merge branch 'feature/plugins' 918 * browser build 919 * interfaces now work with use 920 * simple .use function. See #9. 921 * readme notice on browser compat 922 923 0.1.7 / 2012-01-25 924 ================== 925 926 * added assert tests to browser test runner 927 * browser update 928 * `should` interface patch for primitives support in FF 929 * fix isObject() Thanks @milewise 930 * travis only on branch `master` 931 * add instanceof alias `instanceOf`. #6 932 * some tests for assert module 933 934 0.1.6 / 2012-01-02 935 ================== 936 937 * commenting for assert interface 938 * updated codex dep 939 940 0.1.5 / 2012-01-02 941 ================== 942 943 * browser tests pass 944 * type in should.not.equal 945 * test for should (not) exist 946 * added should.exist and should.not.exist 947 * browser uses tdd 948 * convert tests to tdd 949 950 0.1.4 / 2011-12-26 951 ================== 952 953 * browser lib update for new assert interface compatiblitiy 954 * inspect typos 955 * added strict equal + negatives and ifError 956 * interface assert had doesNotThrow 957 * added should tests to browser 958 * new expect empty tests 959 * should test browser compat 960 * Fix typo for instanceof docs. Closes #3 [ci skip] 961 962 0.1.3 / 2011-12-18 963 ================== 964 965 * much cleaner reporting string on error. 966 967 0.1.2 / 2011-12-18 968 ================== 969 970 * [docs] for upcoming 0.1.2 971 * browser version built with pre/suffix … all tests passing 972 * make / compile now use prefix/suffix correctly 973 * code clean 974 * prefix/suffix to wrap browser output to prevent conflicts with other `require` methods. 975 * Merge branch 'feature/should4xcompatibility' 976 * compile for browser tests.. all pass 977 * added header/status/html/json 978 * throw tests 979 * should.throw & should.not.throw shortcuts 980 * improved `throw` type detection and messaging 981 * contain is now `include` … keys modifier is now `contain` 982 * removed object() test 983 * removed #respondTo 984 * Merge branch 'bug/2' 985 * replaced __defineGetter__ with defineProperty for all uses 986 * [docs] change mp tracking code 987 * docs site updated with assert (TDD) interface 988 * updated doc comments for assert interface 989 990 0.1.1 / 2011-12-16 991 ================== 992 993 * docs ready for upcoming 0.1.1 994 * readme image fixed [ci skip] 995 * more readme tweaks [ci skip] 996 * réadmet image fixed [ci skip] 997 * documentation 998 * codex locked in version 0.0.5 999 * more comments to assertions for docs 1000 * assertions fully commented, browser library updated 1001 * adding codex as doc dependancy 1002 * prepping for docs 1003 * assertion component completely commented for documentation 1004 * added exist test 1005 * var expect outside of browser if check 1006 * added keywords to package.json 1007 1008 0.1.0 / 2011-12-15 1009 ================== 1010 1011 * failing on purpose successful .. back to normal 1012 * testing travis failure 1013 * assert#arguments getter 1014 * readme typo 1015 * updated README 1016 * added travis and npmignore 1017 * copyright notices … think i got them all 1018 * moved expect interface to own file for consistency 1019 * assert ui deepEqual 1020 * browser tests expect (all working) 1021 * browser version built 1022 * chai.fail (should ui) 1023 * expect tests browser compatible 1024 * tests for should and expect (all pass) 1025 * moved fail to primary export 1026 * should compatibility testing 1027 * within, greaterThan, object, keys, 1028 * Aliases 1029 * Assertion#property now correctly works with negate and undefined values 1030 * error message language matches should 1031 * Assertion#respondTo 1032 * Assertion now uses inspect util 1033 * git ignore node modules 1034 * should is exported 1035 * AssertionError __proto__ from Error.prototype 1036 * add should interface for should.js compatibility 1037 * moved eql to until folder and added inspect from (joyent/node) 1038 * added mocha for testing 1039 * browser build for current api 1040 * multiple .property assertions 1041 * added deep equal from node 1042 1043 0.0.2 / 2011-12-07 1044 ================== 1045 1046 * cleaner output on error 1047 * improved exists detection 1048 * package remnant artifact 1049 * empty deep equal 1050 * test browser build 1051 * assertion cleanup 1052 * client compile script 1053 * makefile 1054 * most of the basic assertions 1055 * allow no parameters to assertion error 1056 * name change 1057 * assertion error instance 1058 * main exports: assert() & expect() 1059 * initialize