function formatReleaseNotes(releaseDate, version, body, frontmatter) {
  const releaseNotesBody = [
    '---',
    'subject: Node.js agent',
    `releaseDate: '${releaseDate}'`,
    `version: ${version.substring(1)}`, // remove the `v` from start of version
    "downloadLink: 'https://www.npmjs.com/package/newrelic'",
    `security: ${frontmatter.security}`,
    `bugs: ${frontmatter.bugfixes}`,
    `features: ${frontmatter.features}`,
    '---',
    '',
    '## Notes',
    '',
    body
  ].join('\n')

  console.log(`Release Notes Body \n${releaseNotesBody}`)
  return releaseNotesBody
}
Formats the .mdx to adhere to the docs team standards for
release notes.

@param {string} releaseDate date the release was created
@param {string} version version number
@param {string} body list of changes
@param {object} frontmatter agent version metadata information about the release
@returns {string} appropriately formatted release notes