sinonjs/sinon (sinon)
### [`v19.0.2`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1902)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v19.0.1...v19.0.2)
- [`4eb4c4bc`](https://redirect.github.com/sinonjs/sinon/commit/4eb4c4bc0266d90d1624e5067029599ed57f7fb2)
Use fix 13.0.2 version of fake-timers to get Date to pass instanceof checks (Carl-Erik Kopseng)
- [`a5b03db3`](https://redirect.github.com/sinonjs/sinon/commit/a5b03db3af8948fe57c9f6818d7ae51fdef7ab52)
Add links to code that is affected by the breaking changes (Carl-Erik Kopseng)
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.*
### [`v19.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1901)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v19.0.0...v19.0.1)
- [`037ec2d2`](https://redirect.github.com/sinonjs/sinon/commit/037ec2d2a995fb1f84f7b63ed00e632316648612)
Update migration docs (Carl-Erik Kopseng)
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.*
### [`v19.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1900)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.1...v19.0.0)
- [`3534ab4f`](https://redirect.github.com/sinonjs/sinon/commit/3534ab4fb02803173d9ca34f6020c3701d82abc9)
Bump samsam and nise to latest versions ([#2617](https://redirect.github.com/sinonjs/sinon/issues/2617)) (Carl-Erik Kopseng)
> Ensures consistency and less breakage when there are "circular" dependencies.
- [`912c568d`](https://redirect.github.com/sinonjs/sinon/commit/912c568d3038dc0bea0e8a7b25e4298087c7c99c)
upgrade fake timers and others ([#2612](https://redirect.github.com/sinonjs/sinon/issues/2612)) (Carl-Erik Kopseng)
> - Upgrade dependencies (includes breaking API in Fake Timers)
> - fake-timers: no longer creating dates using the original Date class, but a subclass (proxy)
- [`9715798e`](https://redirect.github.com/sinonjs/sinon/commit/9715798e30e59b110a1349cd0bd087b0fa5f9af2)
Use newer @mochify/\* packages ([#2609](https://redirect.github.com/sinonjs/sinon/issues/2609)) (Carl-Erik Kopseng)
> Co-authored-by: Maximilian Antoni
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.*
### [`v18.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1801)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.0...v18.0.1)
Basically a patch release to update a transitive dependency in Nise.
- [`03e33ec6`](https://redirect.github.com/sinonjs/sinon/commit/03e33ec6475d7e7acfe62676af63eb2344cd6db0)
Pin fake-timers@11.2.2 to avoid breaking change (Carl-Erik Kopseng)
- [`5a7924ad`](https://redirect.github.com/sinonjs/sinon/commit/5a7924ad94f37b9985899fc8a1dbfd29cbdd7967)
Add createStubInstance header in stubs.md (Daniel Kaplan)
- [`ad6804cd`](https://redirect.github.com/sinonjs/sinon/commit/ad6804cd4143eaaaa8f989dae20dbf7295444893)
Bump elliptic from 6.5.5 to 6.5.7 ([#2608](https://redirect.github.com/sinonjs/sinon/issues/2608)) (dependabot\[bot])
- [`033287bd`](https://redirect.github.com/sinonjs/sinon/commit/033287bded8dfce16653b33292ef2fef9ed487b0)
Bump path-to-regexp and nise ([#2611](https://redirect.github.com/sinonjs/sinon/issues/2611)) (dependabot\[bot])
> Bumps [path-to-regexp](https://redirect.github.com/pillarjs/path-to-regexp) to 8.1.0 and updates ancestor dependency [nise](https://redirect.github.com/sinonjs/nise). These dependencies need to be updated together.
>
> Updates `path-to-regexp` from 6.2.2 to 8.1.0
>
> - [Release notes](https://redirect.github.com/pillarjs/path-to-regexp/releases)
> - [Changelog](https://redirect.github.com/pillarjs/path-to-regexp/blob/master/History.md)
> - [Commits](https://redirect.github.com/pillarjs/path-to-regexp/compare/v6.2.2...v8.1.0)
>
> Updates `nise` from 6.0.0 to 6.0.1
>
> - [Changelog](https://redirect.github.com/sinonjs/nise/blob/main/History.md)
> - [Commits](https://redirect.github.com/sinonjs/nise/commits)
>
> ***
>
> updated-dependencies:
>
> - dependency-name: path-to-regexp
>
> dependency-type: indirect
>
> - dependency-name: nise
>
> dependency-type: direct:production
>
> ...
>
> Signed-off-by: dependabot\[bot]
>
> Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@users](https://redirect.github.com/users).noreply.github.com>
- [`0c609f95`](https://redirect.github.com/sinonjs/sinon/commit/0c609f95b1f4f18e02896b5a87bbc59f5787093e)
re-add testing of esm browser builds (Carl-Erik Kopseng)
> It seems unclear why it was removed in the first place: I have tested extensively that it
> does work and it does fail the build if changing any assertion in the script
- [`da4230a0`](https://redirect.github.com/sinonjs/sinon/commit/da4230a00c929f56738d272da469a5ecb9d40da7)
Bump braces from 3.0.2 to 3.0.3 ([#2605](https://redirect.github.com/sinonjs/sinon/issues/2605)) (dependabot\[bot])
> Bumps [braces](https://redirect.github.com/micromatch/braces) from 3.0.2 to 3.0.3.
>
> - [Changelog](https://redirect.github.com/micromatch/braces/blob/master/CHANGELOG.md)
> - [Commits](https://redirect.github.com/micromatch/braces/compare/3.0.2...3.0.3)
>
> ***
>
> updated-dependencies:
>
> - dependency-name: braces
>
> dependency-type: indirect
>
> ...
>
> Signed-off-by: dependabot\[bot]
>
> Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@users](https://redirect.github.com/users).noreply.github.com>
- [`02542370`](https://redirect.github.com/sinonjs/sinon/commit/02542370a4d92ef12270638f97db29ca4f1cca66)
feat(ci): add node v22 ([#2600](https://redirect.github.com/sinonjs/sinon/issues/2600)) (Rotzbua)
- [`794cb81a`](https://redirect.github.com/sinonjs/sinon/commit/794cb81a3bf639c8fb0880f4509a5a1a42066b6e)
fix(tests): typo ([#2603](https://redirect.github.com/sinonjs/sinon/issues/2603)) (Rotzbua)
- [`1eb2a254`](https://redirect.github.com/sinonjs/sinon/commit/1eb2a25486564ff6b834cfe0a62329dd8bd455fe)
Use NodeJS 22.2.0 as base development version (Carl-Erik Kopseng)
- [`1aa713fd`](https://redirect.github.com/sinonjs/sinon/commit/1aa713fd413e1b34645fddff1871da99c6d263f8)
Bump rexml from 3.2.5 to 3.2.8 ([#2599](https://redirect.github.com/sinonjs/sinon/issues/2599)) (dependabot\[bot])
> Bumps [rexml](https://redirect.github.com/ruby/rexml) from 3.2.5 to 3.2.8. >
>
> - [Release notes](https://redirect.github.com/ruby/rexml/releases) >
> - [Changelog](https://redirect.github.com/ruby/rexml/blob/master/NEWS.md) >
> - [Commits](https://redirect.github.com/ruby/rexml/compare/v3.2.5...v3.2.8) > >
> \--- >
> updated-dependencies: >
> - dependency-name: rexml >
> dependency-type: indirect >
> ... > >
> Signed-off-by: dependabot\[bot] >
> Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@users](https://redirect.github.com/users).noreply.github.com>
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-10.*
### [`v18.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1800)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)
This is what 17.0.2 should have been, as that contained two breaking changes. After updating
Nise we are down to one breaking change, which only affects sinon-test (which has been updated),
so most people are not affected. The legacyRoutes flag that is currently enabled in Nise by default
will at some later version be disabled. We will then issue a little migration note.
- [`01d45312`](https://redirect.github.com/sinonjs/sinon/commit/01d45312e82bbd0b2f435f16bd4a834b98d08e11)
Use Nise 6 with legacyRoutes flag enabled (Carl-Erik Kopseng)
> This should be disabled in a future Sinon version by default.
- [`c618edc5`](https://redirect.github.com/sinonjs/sinon/commit/c618edc51e0302f047914e121cb788ac9cc43382)
fix [#2594](https://redirect.github.com/sinonjs/sinon/issues/2594): remove needless sandbox creation (Carl-Erik Kopseng)
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-05-15.*
### [`v17.0.2`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1702)
[Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v17.0.1...v17.0.2)
- [`f6dca0ba`](https://redirect.github.com/sinonjs/sinon/commit/f6dca0bac3f228fa917165eca8815d5e2b8a6793)
upgrade packages ([#2595](https://redirect.github.com/sinonjs/sinon/issues/2595)) (Carl-Erik Kopseng)
- [`5025d001`](https://redirect.github.com/sinonjs/sinon/commit/5025d001401091fd2086cfa2ec69e40cc0da9b65)
Avoid return and callArg\* clearing each other's state ([#2593](https://redirect.github.com/sinonjs/sinon/issues/2593)) (Carl-Erik Kopseng)
> - Partially revert "fix returns does not override call through ([#2567](https://redirect.github.com/sinonjs/sinon/issues/2567))"
>
>
>
> - revert to the old manual clearing of props
- [`ed068a88`](https://redirect.github.com/sinonjs/sinon/commit/ed068a886fa37cbd5f886d355824debd69aa1b16)
Bump ip from 1.1.8 to 1.1.9 ([#2587](https://redirect.github.com/sinonjs/sinon/issues/2587)) (dependabot\[bot])
- [`ec4d592e`](https://redirect.github.com/sinonjs/sinon/commit/ec4d592ee4faf87d7e592c4b99b3e6fec99105c8)
fix [#2589](https://redirect.github.com/sinonjs/sinon/issues/2589): avoid invoking getter as side-effect ([#2592](https://redirect.github.com/sinonjs/sinon/issues/2592)) (Carl-Erik Kopseng)
- [`9972e1e3`](https://redirect.github.com/sinonjs/sinon/commit/9972e1e3997198ff7f403ca5c000187f890f1699)
Fix typo in mocks documentation ([#2591](https://redirect.github.com/sinonjs/sinon/issues/2591)) (Eduardo de la Cruz Palacios)
- [`52e6e4c5`](https://redirect.github.com/sinonjs/sinon/commit/52e6e4c540d8d0b95727c9bbde8328f6692a6675)
chore: prefer cache option of setup-node (Morgan Roderick)
- [`08da1235`](https://redirect.github.com/sinonjs/sinon/commit/08da123555dc4ee4866720c925215dca4d3c799b)
Bump actions/cache from 3 to 4 (dependabot\[bot])
- [`404ef47e`](https://redirect.github.com/sinonjs/sinon/commit/404ef47e1119c7b8229e9d6a3c6ae9a912305d1f)
Bump nokogiri from 1.14.3 to 1.16.2 (dependabot\[bot])
- [`fd79612c`](https://redirect.github.com/sinonjs/sinon/commit/fd79612c3324bf3264533baa7159bb1722dd9788)
Update Bug_report.md (Carl-Erik Kopseng)
- [`1fbc812a`](https://redirect.github.com/sinonjs/sinon/commit/1fbc812a9f3351f55a06758bdc8b1a053135d826)
Re-add about (Carl-Erik Kopseng)
- [`fc8f6c3e`](https://redirect.github.com/sinonjs/sinon/commit/fc8f6c3e111473fcb53b2338eb8654b256c06e01)
Fix formatting :clown: (Carl-Erik Kopseng)
- [`c57e38ae`](https://redirect.github.com/sinonjs/sinon/commit/c57e38ae2ec6c466f83c4e38e85d3d324f72bb13)
Remove old template (Carl-Erik Kopseng)
- [`754bf7a9`](https://redirect.github.com/sinonjs/sinon/commit/754bf7a98b54a01472677772c7a34859f483adeb)
Update Bug_report.md (Carl-Erik Kopseng)
- [`87eed9d2`](https://redirect.github.com/sinonjs/sinon/commit/87eed9d255e9493b981494188abd12a9e1d95bf0)
Fix some typos at code comments ([#2581](https://redirect.github.com/sinonjs/sinon/issues/2581)) (EliyahuMachluf)
- [`cbae6997`](https://redirect.github.com/sinonjs/sinon/commit/cbae69978c29d0420fa39d11496bb29b180361b0)
Link to createStubInstance util.md docs in stubs.md ([#2577](https://redirect.github.com/sinonjs/sinon/issues/2577)) (Daniel Kaplan)
- [`adcf936d`](https://redirect.github.com/sinonjs/sinon/commit/adcf936de0e946e2b72a513436c0469319f3da79)
Fix Mocha watch task by delegating to Node ([#2573](https://redirect.github.com/sinonjs/sinon/issues/2573)) (Carl-Erik Kopseng)
- [`30ad2372`](https://redirect.github.com/sinonjs/sinon/commit/30ad23729568d70f865a5e6d323109fd06c7913e)
prettier:write (Carl-Erik Kopseng)
- [`45c4d6b9`](https://redirect.github.com/sinonjs/sinon/commit/45c4d6b9b80841947d6ebc4af5046a11b216d598)
Remove outdated info from README ([#2571](https://redirect.github.com/sinonjs/sinon/issues/2571)) (Carl-Erik Kopseng)
- [`6c9f5c2a`](https://redirect.github.com/sinonjs/sinon/commit/6c9f5c2ade9befeadd6fd7d10232883c147a9f1d)
Add a notice that the Fake Timers API doc is incomplete ([#2570](https://redirect.github.com/sinonjs/sinon/issues/2570)) (Carl-Erik Kopseng)
- [`93db3ef3`](https://redirect.github.com/sinonjs/sinon/commit/93db3ef3b0b49458954eb6e7ed765aa1ea34b21d)
breaking: Remove sinon.defaultConfig and related modules ([#2565](https://redirect.github.com/sinonjs/sinon/issues/2565)) (Carl-Erik Kopseng)
> - breaking: Remove sinon.defaultConfig and related modules
>
> default-config and get-config are leftovers from when Sinon
>
> shipped with sinon.test (now the independent NPM module
>
> 'sinon-test').
*Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-05-07.*
Configuration
📅 Schedule: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^17.0.0
->^19.0.0
Release Notes
sinonjs/sinon (sinon)
### [`v19.0.2`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1902) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v19.0.1...v19.0.2) - [`4eb4c4bc`](https://redirect.github.com/sinonjs/sinon/commit/4eb4c4bc0266d90d1624e5067029599ed57f7fb2) Use fix 13.0.2 version of fake-timers to get Date to pass instanceof checks (Carl-Erik Kopseng) - [`a5b03db3`](https://redirect.github.com/sinonjs/sinon/commit/a5b03db3af8948fe57c9f6818d7ae51fdef7ab52) Add links to code that is affected by the breaking changes (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.* ### [`v19.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1901) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v19.0.0...v19.0.1) - [`037ec2d2`](https://redirect.github.com/sinonjs/sinon/commit/037ec2d2a995fb1f84f7b63ed00e632316648612) Update migration docs (Carl-Erik Kopseng) *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.* ### [`v19.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1900) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.1...v19.0.0) - [`3534ab4f`](https://redirect.github.com/sinonjs/sinon/commit/3534ab4fb02803173d9ca34f6020c3701d82abc9) Bump samsam and nise to latest versions ([#2617](https://redirect.github.com/sinonjs/sinon/issues/2617)) (Carl-Erik Kopseng) > Ensures consistency and less breakage when there are "circular" dependencies. - [`912c568d`](https://redirect.github.com/sinonjs/sinon/commit/912c568d3038dc0bea0e8a7b25e4298087c7c99c) upgrade fake timers and others ([#2612](https://redirect.github.com/sinonjs/sinon/issues/2612)) (Carl-Erik Kopseng) > - Upgrade dependencies (includes breaking API in Fake Timers) > - fake-timers: no longer creating dates using the original Date class, but a subclass (proxy) - [`9715798e`](https://redirect.github.com/sinonjs/sinon/commit/9715798e30e59b110a1349cd0bd087b0fa5f9af2) Use newer @mochify/\* packages ([#2609](https://redirect.github.com/sinonjs/sinon/issues/2609)) (Carl-Erik Kopseng) > Co-authored-by: Maximilian AntoniConfiguration
📅 Schedule: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.