- Playwright driver by default
- Drop express and puppeteer drivers
- Fixed bug with
request.body: null
accounted for mockId - Remove page.onClose handler (no autostop on page close)
- Remove esm/type module (back to commonjs)
- Add Playwright support
- Request body matcher now uses lodash.isMatch, which support nested properties
- Add request and response
order
incremental mark for debug
- Add request id and request/response timestamps (see also spy.events)
- Request Body matching for application/json requests
- Remove content-encoding header for e-driver responses
- Update all deps
- Add formData support for interceptor.body predicate.
- Deprecate teremock.connections() ← there many race-conditions when awaiting connections() is confusing and may lead to hard debugging. E.g. you start awaiting connections before actual connections were made.
- Add teremock:trace logs for debugging.
- Fix bug when spies wehe not working with inline mocks
- Add docs about functional interceptors
- Fix case when teremock was started during request
- TypeScript target is changed to
ES2018