Skip to content

v2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Jun 07:01
· 693 commits to main since this release

2.1.0 (2022-06-02)

Features

Details

Features:

  • loads the /.helix/config-all.json by default, if not found, falls back to loading /metadata.json
  • uses the host or cdn.prod.host as production host (fallback to xfh header)
  • respects the cdn.prod.route config entries when rewriting links

Bug fixes:

  • only set custom response Link header for html pipe

Breaking Changes:

  • uses ECMA 2022 / node16 features (static class fields, String.replaceAll())
  • removes export of fetchMetadata
  • removes export of fetchConfig
  • removes export of setCustomResponseHeaders
  • removes export of getOriginalHost