72527d7Upgrade to breaking ESLint 10 and new shared config (#259) (Carl-Erik Kopseng)210f1fbnpm audit (Morgan Roderick)9da0bf7chore: upgrade esbuild to latest (Morgan Roderick)
Released by Carl-Erik Kopseng on 2026-04-11.
d75d082chore: add cdn fields to package.json (Morgan Roderick)This is basically the same changes as in https://github.com/sinonjs/sinon/pull/1520/files
Released by Morgan Roderick on 2024-02-10.
14949b9Use setup-node v4 and use lts/* as node-version (Maximilian Antoni)ecd5d7aDrop node 14, add node 20 (Maximilian Antoni)744fafbnpm audit (Maximilian Antoni)79cf800Upgrade mkdirp (Maximilian Antoni)f19019fUpdate esbuild (Maximilian Antoni)424f343Upgrade prettier to v3 and reformat files (Maximilian Antoni)bcb67ceUpgrade lint-staged (Maximilian Antoni)719ebb0Update @sinonjs/eslint-config (Maximilian Antoni)e4f0b29Upgrade sinon and @sinonjs/commons to latest (Maximilian Antoni)
Released by Maximilian Antoni on 2023-12-27.
4d3e91cUpgrade samsam to v8 to fix a matcher issue (Maximilian Antoni)957a3f9Add failing test for sinon.match.string (Maximilian Antoni)3e6ce3dUpdate sinon (Maximilian Antoni)d0dfef5Upgrade esbuild to fix the build (Maximilian Antoni)
Released by Maximilian Antoni on 2023-06-29.
039c5d2Remove support for node 12, add node 18 (Maximilian Antoni)c86946anpm audit (Maximilian Antoni)5c0129aUpdate util (Maximilian Antoni)a136e6aUpdate husky (Maximilian Antoni)bbe42aaUpdate eslint-config (Maximilian Antoni)cd5caf5Update prettier and reformat files (Maximilian Antoni)aa3978aUpgrade lint-staged (Maximilian Antoni)9878fc2Upgrade mocha (Maximilian Antoni)dd45436Upgrade samsam and sinon (Maximilian Antoni)
Released by Maximilian Antoni on 2023-01-24.
003d1a0Prefer @sinonjs/commons@2 (Morgan Roderick)That makes ES2017 support explicit
Released by Morgan Roderick on 2022-11-07.
3666289Fix pending promise in async assertion on error (Maximilian Antoni)Fail the test with the thrown error message by rejecting the internal assertion promise. Without handling the exception, the assertion promise wouldn't be resolved or rejected and a test case awaiting the promise would hang.
Released by Morgan Roderick on 2021-08-05.
910e80cAllow functions for assert and refute messages (Morgan Roderick)This allows for dynamic assert and refute messages, which is required to improve combined assertions like
calledOnceWithin@sinonjs/refere-sinon.f9d0c82Fix tests in node 12.14.1 (Morgan Roderick)Some tests were failing in node 12.14.1, because of changes (likely improvements) to object formatting. By using
util.inspectin tests, we can match the strings correctly, no matter the node version.
Released by Morgan Roderick on 2021-07-26.
d5e06d5Add support for Node 16 (Morgan Roderick)- Run tests in Node 16
c0a9a6bFix Node 16 (Morgan Roderick)The object formatting changed (improved) slightly between Node 14 and 16, which broke some of the tests.
Since #183, we're supposed to be using a frozen version of
utilfor formatting values for error messages. Looks like we missed a few places.
Released by Morgan Roderick on 2021-06-15.
cd4d34anpm audit (Maximilian Antoni)136f4a5Upgrade @sinonjs/samsam and sinon (Maximilian Antoni)95d9becUpdate @studio/changes (Maximilian Antoni)ac6ea7aUpdate @sinonjs/eslint-config (Maximilian Antoni)affa3dcUpdate @sinonjs/commons (Maximilian Antoni)71ce2d5Use npm 7 (Maximilian Antoni)5450458Bump glob-parent from 5.1.1 to 5.1.2 (dependabot[bot])85d4143Bump browserslist from 4.16.3 to 4.16.6 (dependabot[bot])564ec3bFix typo in isUndefined docs (Serkan Özel)cfa8bcdBump hosted-git-info from 3.0.5 to 3.0.8 (dependabot[bot])17c84baBump lodash from 4.17.20 to 4.17.21 (dependabot[bot])
Released by Maximilian Antoni on 2021-06-08.
f695dcaFix resolves and rejects arity (Maximilian Antoni)
Released on 2021-04-27.
06aeae4Bump y18n from 4.0.0 to 4.0.1 (dependabot[bot])Bumps y18n from 4.0.0 to 4.0.1.
Signed-off-by: dependabot[bot] support@github.com
Released on 2021-04-08.
84afaf0Upgrade linting config (Morgan Roderick)This drops support for IE11, legacy Edge and older Safari (pre 10)
Replace
eslint-config-sinonwith the new version under a new name@sinonjs/eslint-config. The new package includes the correct versions of all the dependencies to have a workingeslintsetup in downstream projects.
Released on 2021-03-12.
2a678f0Upgrade prettier to 2.x (Morgan Roderick)- upgrade
eslint-config-prettier - upgrade
eslint-plugin-prettier - run
prettieron all JavaScript files$(npm bin)/prettier -w -u .`
- upgrade
Released on 2020-11-16.
f5aaf56Add package util to improve platform independence (Morgan Roderick)36ce1faUse event-emitter instead of node builtin 'events' module (Morgan Roderick)This brings us closer to browser compatibility
Released on 2020-11-11.
0e9ab9bAdjust documentation for resolves and rejects (Maximilian Antoni)fe4616eSupport resolves and rejects without expectation (Maximilian Antoni)4b21019Use deepEqual to compare rejected promise value (Maximilian Antoni)b001fedUse deepEqual to compare resolved promise value (Maximilian Antoni)
Released by Maximilian Antoni on 2020-11-07.
9ea1198Allow to skip formatting values in placeholders (Maximilian Antoni)5bb9567Drop manual newline escapes in favor of inspect in equals (Maximilian Antoni)
Released by Maximilian Antoni on 2020-10-03.
- #183
Replace
@sinonjs/formatiowithutil.inspectfrom NodeJS 86fe254Add missing test case for actualForMatch (Maximilian Antoni)a02ff67Fix coverage for define-assertion promise handling (Maximilian Antoni)a0c54a3Fix coverage for tagName (Maximilian Antoni)b8e18ffFix tests in node 14 (Maximilian Antoni)828f839Drop node 10, add node 14 (Maximilian Antoni)6944bd2Fix tests in node 12 (Maximilian Antoni)14c6903Prettier (Maximilian Antoni)0f7a5feAdd support for special array interpolations (Maximilian Antoni)ababcddRefactor property interpolation (Maximilian Antoni)ed71199Fix formatting related assertions (Maximilian Antoni)61f8522Reinstall dependencies (Maximilian Antoni)6547c43Update lib/assertions/is-weak-map.test.js (Morgan Roderick)53bdcbbdadce5eAdd test for isURIError assertion included in API (Morgan Roderick)7b595dfConvert tests for isURIError to unit tests (Morgan Roderick)3546c9aAdd test for isWeakMap assertion included in API (Morgan Roderick)7094fe0Convert tests for isWeakMap to unit tests (Morgan Roderick)2479dc9Add test for isWeakSet assertion included in API (Morgan Roderick)060ea31Convert tests for isWeakSet to unit tests (Morgan Roderick)d579789Add test for json assertion included in API (Morgan Roderick)745c9c3Convert tests for json assertion to unit tests (Morgan Roderick)a501c4aAdd test for keys assertion included in API (Morgan Roderick)8f048a4Convert tests for keys assertion to unit tests (Morgan Roderick)eb3d756Add test for less assertion included in API (Morgan Roderick)d9c34d6Convert tests for less assertion to unit tests (Morgan Roderick)17cca82Add test for matchJson assertion included in API (Morgan Roderick)3c180f5Convert tests for matchJson assertion to unit tests (Morgan Roderick)dd15901Add test for keys assertion included in API (Morgan Roderick)160196cConvert tests for keys assertion to unit tests (Morgan Roderick)a5bfd2eAdd test for less assertion included in API (Morgan Roderick)9f9659cConvert tests for less assertion to unit tests (Morgan Roderick)60ac699Add test for matchJson assertion included in API (Morgan Roderick)9d52c7cConvert tests for matchJson assertion to unit tests (Morgan Roderick)e7f65dcAdd test for near assertion included in API (Morgan Roderick)fc649ddConvert tests for near assertion to unit tests (Morgan Roderick)0825ec3Add test for rejects assertion included in API (Morgan Roderick)1c526a8Convert tests for rejects to unit tests (Morgan Roderick)b8c4eecAdd test for resolves assertion included in API (Morgan Roderick)2b9700fConvert tests for resolves assertion to unit tests (Morgan Roderick)f891374Add test for same assertion included in API (Morgan Roderick)ef15eeeConvert tests for same assertion to unit tests (Morgan Roderick)727336bAdd test for tagName assertion included in API (Morgan Roderick)0682c81Convert tests for tagName assertion to unit tests (Morgan Roderick)593fd3fAdd test for isUint8ClampedArray assertion included in API (Morgan Roderick)72e9d30Convert test for isUint8ClampedArray to unit tests (Morgan Roderick)9fdfc2cAdd test for match assertion included in API (Morgan Roderick)a235f3fConvert tests for match to unit test (Morgan Roderick)5b7e628Add test for isMap assertion in use (Morgan Roderick)c1ea169Convert tests for isMap to unit test (Morgan Roderick)cb34d2eRemove unused @sinonjs/formatio dependency (Morgan Roderick)dc8d9a6Replace formatio with node's util.inspect (Morgan Roderick)91d1f87Add proxyquire dependency (Morgan Roderick)f5637ceBump lodash from 4.17.15 to 4.17.19 (dependabot[bot])
Released on 2020-10-02.
ed9ca59Properly stringify objects without prototype (Rens Groothuijsen)
Released on 2020-06-29.
b83a12enpm audit (Maximilian Antoni)9c29ff1test: exclude functions with underscore from public API assertions (Dominykas Blyžė)3010499chore: remove dependency on bane (Dominykas Blyžė)af98b83Fix using a regexp matcher to assert exceptions (Maximilian Antoni)
Released by Maximilian Antoni on 2020-06-16.
f7cb8a9Expose .equals (Morgan Roderick)This will make it easier for authors to write custom assertions
Released on 2020-05-27.
a02521cFix assert.equals referencing deprecated assert.defined (Ola Christian Gundelsby)c8c9ba0Bump @sinonjs/samsam from 5.0.2 to 5.0.3 (dependabot-preview[bot])b44daaaBump @sinonjs/commons from 1.7.0 to 1.7.1 (dependabot-preview[bot])
Released by Maximilian Antoni on 2020-03-03.
af554b1Upgrade formatio to v5, samsam to v5 and sinon to v9 (Maximilian Antoni)All three libraries have to be updated to consistently upgrade samsam.
f32b3a7Add missing expectation property for resolves/rejects (Morgan Roderick)When these assertions were introduced in 1af3c778914f044e601ecfaed7dcb070d301e53c, we overlooked the expectation property.
1590076Drop Node 8 support (Morgan Roderick)As can be seen at https://github.com/nodejs/Release, Node 8 reached "end" of life on 2019-12-31, and is no longer actively supported.
We will stop testing in Node 8 and start testing in Node 13, which will become the next LTS release from April 2020.
Released on 2020-02-28.
d475e62Upgrade @sinonjs/formatio and @sinonjs/samsam (Morgan Roderick)
Released on 2019-12-21.