Sinon.JS v2.0.0-pre.5 Release Notes

Release Date: 2016-12-31 // over 7 years ago
    • 2.0.0-pre.5
    • Update Changelog.txt and AUTHORS for new release
    • Update changelog for pre.4
    • Remove polyfill for Promise
    • Remove old, unused, ci script for BusterJS
    • Abort pre-commit script when no files are changed
    • Check for required arguments
    • Make SED in-place update switch work on BSD
    • Upgrade text-encoding to the latest version
    • Improve rendering of sandbox.create(config) example
    • Remove sinon.test from sandbox documentation
    • Use baseurl to render links correctly on github pages
    • Specify same version of github-pages as github
    • Remove release_id from front matter
    • Update Gemfile.lock to use latest supported Jekyll
    • Fix #614: Add missing documentation for sandbox methods
    • Add missing documentation for stubs
    • Fix #1026: stub watch method on object
    • Fix invalid test for "does not walk the same property twice"
    • Add test for issue #1026
    • Fix 810 - Added documentation for sinon.restore()
    • Add docs for new array matchers
    • Array contains matcher fails when actual is not an array
    • Array endsWith matcher fails when actual is not an array
    • Array startsWith matcher fails when actual is not an array
    • Array deepEquals matcher fails when actual is not an array
    • Add .resolves and .rejects to stub (#1211)
    • Accept routing DSLs on fake server
    • Convert remaining calledWith methods to use diff color formatting
    • Color diffs for sinon matchers
    • Print diffs for multiple spy calls
    • Add new spy output formatter for handling diffs
    • Add contains array matcher
    • Add endsWith array matcher
    • Add startsWith array matcher
    • Add deepEquals array matcher
    • Add more array matchers
    • Extract deprecated.printWarning
    • Move empty stub creation to avoid unnecessary stub.create
    • Fix typo on property name called 'matchingAguments'
    • Soften migration path with deprecation warning
    • Update docs and migration guide
    • Convert 3 arg stub to callsFake
    • Update format docs to refer to formatio
    • Fix being able to spy Error
    • Prepare documentation using site in GitHub Pages
    • Add link to LICENSE in README.md
    • Add documentation for accessor method support for stubs and spies
    • Previous expectation failures are checked and re-thrown again in mock.verify()
    • Expose XHR.setStatus to simplify asynchronous answers
    • Fix typo
    • Add a how-to article about using links seams for CommonJS modules
    • stub() will fail if passed an empty property descriptor
    • Rename func argument to funcOrDescriptor
    • Add documentation for sinon.assert.match
    • XHR: test for readystatechange not dispatching after .abort() in DONE state
    • XHR: fix readystatechange event after .abort() in DONE state
    • Add tests for xhr.readyState after abort()
    • Test that demonstrates that a mock can be called more times than expected without failing (if the exception is silenced).

    n.n.n / 2017-02-27