Better Firebase Functions Versions Save

This repo provides functionality for a better way of organising files, imports and function triggers in Firebase Cloud Functions

v6.0.0

1 year ago

6.0.0 (2023-03-12)

Build System

  • deps: modernize library & upgrade all deps (eeadb33), closes #55

BREAKING CHANGES

  • deps: Newer versions of all files should bump version number. Also, testing will now run on node 14, 16 & 18.

v5.0.0

1 year ago

5.0.0 (2023-02-19)

Features

  • exportfunctions: update search glob to sensible default to find both js and ts files (362ceab)

BREAKING CHANGES

  • exportfunctions: The new default search glob may break some setups in rare situations where js files and ts files are in the same directory.

v4.0.0

2 years ago

4.0.0 (2022-03-09)

Bug Fixes

  • exportfunctions: deep directory case was broken (4e29ad3)

Build System

  • deps: update all dependencies to latest versions & close dependabot generated auto updates (4b8c287)

Features

  • default.ts: remove deprecated default export function (f6fdbd2)

BREAKING CHANGES

  • deps: Version upgrade of Node may be a breaking change
  • default.ts: The breaking change with this update is that any codebases utilising the default export will no longer work. Please update to use the exported named function exportFunctions.

v3.4.1

3 years ago

3.4.1 (2020-06-08)

Bug Fixes

  • funcnamefromrelpath: handle windows path separator correctly (9ad72b8), closes #4

v3.4.0

3 years ago

3.4.0 (2020-06-06)

Features

  • extracttriggers: function name param to allow multi-trigger files (4e51dbb), closes #6

v3.3.2

3 years ago

3.3.2 (2020-06-06)

Bug Fixes

  • exportfunctions: backwards compatible with FUNCTION_NAME env var (ca95831), closes #7 #7

v3.3.1

3 years ago

3.3.1 (2020-06-06)

Bug Fixes

  • exportfunctions: process.env.FUNCTION_NAME is now called K_SERVICE (956e52c), closes #7

v3.3.0

4 years ago

3.3.0 (2020-05-05)

Features

  • funcnamefromrelpathdefault: export built in func name generator (6428095)

v3.2.2

4 years ago

3.2.2 (2020-05-05)

Bug Fixes

  • default: use eval() in require call for webpack compatibility (a52dd37)
  • exportpathmode: skip trying to load modules & just add paths (2f4d994)

v3.2.1

4 years ago

3.2.1 (2020-05-05)

Bug Fixes

  • exportfunctions: use eval() to preserve require call for webpack (4d4906c)