v2.0.2
·
28 commits
to v2
since this release
Major Version Changes (breaking)
- Fix Authentication struct to use a pointer so an empty field will NOT be passed in the JSON where we need to provide "authentication": null instead if authentication is not set. Now sends a null as expected by the API (breaking change unfortunately)
userAgent
needs to be a pointer so we can properly send a null when not part of a devices block
Other Changes:
- Fixes some fields that now must be passed as empty instead of totally omitted when empty otherwise API validation now returns a 4XX
- Add new settings for HTTP checks (authentication, user agent, verify certificates, etc that are not currently in docs but will be soon)
- validations fields updated
- setup fields updated
- add duration field for steps
- collect interactive metrics field added
- integration tests updated for new fields
- Re-wrote integration tests to test end to end lifecycle of check resources (and use more generic functions)