Skip to content

2.0.0

Compare
Choose a tag to compare
@sdewitt-newrelic sdewitt-newrelic released this 04 Sep 15:28
· 70 commits to main since this release
5fb2c76

Changelog

2.0.0 - 2023/9/04

Adds

  • Email channel
    • Added support to set email format to text or html
    • Support rendered raw report output as attachment using outputFileName
    • Support rendered raw report output as email message
    • Support rendered raw report output as variable in email template
  • File channel
    • Support rendered raw report output as file content using outputFileName
  • S3 channel
    • Support rendered raw report output as file content using outputFileName
  • Added Slack channel
    • Send rendered raw report output as payload
    • Send rendered raw report output as simple text
  • Template reports
    • Default report name to template name
    • Added option to skip rendering and publish raw report output
  • Dashboard reports
    • Default report name to dashboard-report
    • Support combinePdfs from options in addition to manifest file
  • Query reports
    • Default report name to query-report
    • Added passThrough option to publish raw GraphQL response
    • By default publish CSV results as object of rows and columns instead of rendered CSV

Updates

  • Email channel
    • Throw error if missing SMTP server environment variable
    • Use emailTemplateName instead of template for consistency
  • Bumped CLI docker base to alpine:3.18
  • Bumped minimum Node runtime to 14.0.0
  • Removed old example templates and aligned with getting started section
  • Updated CLI help
  • Fixed error message in nrql tag extension
  • Fixed syntax error thrown in Lambda causing hang
  • Explicitly specify linux/amd64 platform for Lambda images
  • Bumped New Relic Lambda Node 14 layer to 118

1.4.0 - 2023/03/24

Adds

  • New Relic APM agent support

Updates

  • Move from logger "facade" to straight pino
  • Switch log levels to account for straight pino

1.3.0 - 2023/02/27

Adds

  • Multi-account query support for query reports and the NRQL extension with three different modes
    • cross-account - Run the query once against multiple accounts simultaneously and aggregate the results using cross-account queries
    • per-account - Run each query individually against multiple accounts in serial and include a result for each account (no aggregation)
    • per-account-concurrent - Run each query individually against multiple accounts concurrently include a result for each account (no aggregation)
  • Switch from basic console logging to use pino

Updates

  • Update third-party notices and manifest
  • Bump all versions to 1.0.3 and update package-lock.json files

1.2.0 - 2023/02/14

Adds

  • render option on template reports to control PDF rendering
  • outputFileName option for template and query reports
  • YAML manifest support
  • Manifest variables and config support
  • Query report type

Fixes

1.1.0 - 2023/02/07

This release is almost a complete overhaul of the engine to provide parity between the CLI and Lambda. For this reason, most of the code that used to be in either of these is now in the engine and the entry points to the CLI and Lambda are more or less "stubs". CLI/Lambda specific behavior is achieved by passing functions with specific interfaces into the engine from the stubs. The engine then simply invokes the passed in function.