context.iopipe
Features
- The
context
object that is passed to the invocation is now extended with a newiopipe
object. This allows for easier integration of iopipe specific tools and data.
Breaking Change
- If you are using custom metrics with
iopipe.log
, you'll now want to usecontext.iopipe.log
. This allows for more consistent metric logging. While you can still useiopipe.log
for a time, aconsole.warn
will be emitted and the functionality will eventually be removed in a future version.
Housekeeping
- Use babel for processing source files
- Move all source files into
/src
- Use Jest for testing
- Use Prettier for source files
- Add more tests, as well as refine previous tests to be more comprehensive.
- Use yarn for dependency install within CI