Skip to content

v3.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Feb 15:56
· 4 commits to main since this release
46a7a56

๐ŸŽ‰ What's Changed

The inimum required version of vitest is now the 1.2.2.
@codspeed/vitest-plugin now supports the before* and after* hooks from vitest ๐Ÿช
This brings a benchmark authoring experience similar to writing unit and integration tests.
Take a look at the documentation on Database instrumentation to see it in action!

Since this feature is not available yet in the actual vitest's bench API, enabling the codspeedPlugin will now always activate the CodSpeed benchmark runner instead of the default one, even in local environments.

๐Ÿš€ Migration Path

We recommend you create a standalone PR to update the @codspeed/* dependencies, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

๐Ÿ“š Details

Full Changelog: v3.0.0...v3.1.0