You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1059 lines
37 KiB

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