Skip to content

Releases: iopipe/serverless-plugin-iopipe

1.1.0

22 Feb 16:51
7c39dff

Choose a tag to compare

Features

  • The plugin will now properly pull in config from an iopipe entry in package.json or an iopipe.rc file
  • Do not wepback dependencies, move them into dependencies in package.json

Chores

  • Update docs to recommend $IOPIPE_TOKEN usage
  • Update docs with FAQ area
  • New test projects

Breaking Changes

  • None

Version 1.0.0

13 Feb 20:24
aaaf0fc

Choose a tag to compare

Hooray! The team at IOpipe has loved seeing the validation for this project, and we hope to continue to improve upon development workflows for serverless architectures.
We feel that this project has stabilized to a 1.0.0 point. Enjoy!

Breaking Changes

  • None

Bugfixes

  • Does not warn when using extra flavors of the IOpipe agent library including the recommended @iopipe/iopipe

Better support for environment variables

02 Feb 16:37
f240ec6

Choose a tag to compare

Bug Fixes

  • Previous functionality slightly discouraged use of environment variables implicitly. This has now been corrected. You will receive a warning if iopipeToken is not found in the serverless.yml custom section, but it will not actively error out.
  • Support YAML interpolation. Due to the structure of the code previously, interpolated values in the serverless.yml such as IOPIPE_TOKEN: ${env:IOPIPE_TOKEN} were improperly handled. This has been corrected.

Chores

  • Rename example folder to testProject (as it is used for unit tests)
  • Add actual example!

Breaking Changes

  • None

Allow missing package.json next to serverless.yml

31 Aug 16:31

Choose a tag to compare

Fixes a bug where the plugin erroneously relied on a certain user project folder structure.

Fix auto-upgrade

16 Aug 15:15

Choose a tag to compare

Bug Fixes

  • Auto-upgrade functionality failed if the user's source package.json threw warnings (missing license etc).

Bug fix

23 Jun 20:38

Choose a tag to compare

Webpack

21 Jun 19:42

Choose a tag to compare

  • Webpack for a small, compiled file. Decreases upload size to cloud provider!
  • Display errors better in the cli or console by using try/catch
  • Use Prettier for formatting

Support Node 4

09 Jun 23:47

Choose a tag to compare

  • Fixes bug where engines mismatched babel support option
  • Support Node 4.2.6

Drop AST Transform

09 Jun 17:27

Choose a tag to compare

Major Change!

One of the original goals of the plugin was to keep the file and handlers that AWS executes after package deploy the same when using this plugin. In order to do that, we chose to pursue a strategy of running handlers through an AST transform. While this was 🆒 in some ways, it was un-🆒 in others. Namely, the plugin was best installed globally and linked with npm link. This made the plugin more difficult to install and maintain.

So, we decided to drop the requirement of keeping the original file/handler. With this requirement gone, we can pursue a much simpler path of generating a single file that uses require to import the handlers and run them in-place.

There are technically no breaking changes for this release, other than the install method, which we now suggest npm install serverless-plugin-iopipe vs a global install. The plugin is much lighter weight and will not bloat your package size nearly as much.

Update dependency checks

25 May 14:45

Choose a tag to compare

Fixes an issue where plugin would fail on dependency checks.