v3.0.0
This release drops support for non-Go modules based setups. For those still requiring this support, it's recommended to stick with version 2.
There are no breaking API changes with the switch to v3. Migration from version 1 or 2 involves two steps:
- Change import paths as follows:
-import "github.com/petergtz/pegomock" +import "github.com/petergtz/pegomock/v3"
- Install the latest pegomock binary via
go install github.com/petergtz/pegomock/v3/pegomock@latest
For step 1, make sure to change sub-packages as follows:
-import "github.com/petergtz/pegomock/ginkgo_compatible"
+import "github.com/petergtz/pegomock/v3/ginkgo_compatible"