Skip to content

context.iopipe

Compare
Choose a tag to compare
@coreylight coreylight released this 19 Jul 19:15
· 185 commits to master since this release

Features

  • The context object that is passed to the invocation is now extended with a new iopipe 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 use context.iopipe.log. This allows for more consistent metric logging. While you can still use iopipe.log for a time, a console.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