GitHub repository: googlearchive/cloud-functions-emulator
Description: A local emulator for deploying, running, and debugging Google Cloud Functions.
Topics: cloud-functions-emulator, emulator, google-cloud, google-cloud-functions

1.0.0-beta.6: tag_name: 1.0.0-beta.6
body: ## Note: This release has not been published to npm

##### 1.0.0-beta.6 - 16 April 2019

This release patches various issues with the emulator.

Thanks to @rika-t for a brief changelog.

###### Bug fixes

- [#287](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/pull/287) - Update engines requirement
- [#286](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/pull/286) - Add support for Firebase Remote Config events
- [#210](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/210) - "logs" location is not writable if node.js is installed via a package manager
- [#207](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/207) - Hot reloading does not work for subdirectories in Linux
- [#204](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/pull/204) - Inspect fails when the supervisor is running on an unexpected port.
- [#199](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/pull/199) - Handle missing logfiles correctly
- There may be other resolved bugs are not mentioned in this release.

###### Other

- Updated dependencies
- Fix documents and help messages
1.0.0-beta.5: tag_name: 1.0.0-beta.5
body: ##### 1.0.0-beta.5 - 01 August 2018

###### Bug fixes
- [#161](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/161) - The emulator behaves differently than the production version with respect to the rawBody property
- [#261](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/pull/261) - Update Node.js version warning message

###### Other
- Updated dependencies
1.0.0-beta.4: tag_name: 1.0.0-beta.4
body: ##### 1.0.0-beta.4 - 06 March 2018

###### Bug fixes
- [#191](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/191) - allow for nested functions from firebase
1.0.0-beta.3: tag_name: 1.0.0-beta.3
body: ##### 1.0.0-beta.3 - 23 February 2017

###### Bug fixes
- Fixed missing promise
- Fixed default `source` value in Controller#deploy
- Fixed outdated discovery doc
1.0.0-beta.2: tag_name: 1.0.0-beta.2
body: ##### 1.0.0-beta.2 - 20 February 2017

###### Other
- Updated dependencies
1.0.0-beta.1: tag_name: 1.0.0-beta.1
body: ##### 1.0.0-beta.1 - 20 February 2017

###### Breaking changes
- Removed all support for gRPC.

###### Backwards compatible changes
- Added new `--event-type` and `--resource` flags to the `deploy` command.
- Added support for `generateUploadUrl`.

###### Bug fixes
- [#176](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/176) - Wrong error message

###### Other
- Updated dependencies
1.0.0-alpha.21: tag_name: 1.0.0-alpha.21
body: ##### 1.0.0-alpha.21 - 16 June 2017

###### Bug fixes
- [#59](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/59) - New logs not written
- [#110](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/110) - Not working with latest stable version of node

###### Other
- Upgraded dependencies
1.0.0-alpha.20: tag_name: 1.0.0-alpha.20
body: ##### 1.0.0-alpha.20 - 20 June 2017

###### Bug fixes
- [#105](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/105) - Warning probably not needed for semver minor changes
- [#108](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/108) - Call command does not appear in help text

###### Other
- Upgraded dependencies
1.0.0-alpha.19: tag_name: 1.0.0-alpha.19
body: ##### 1.0.0-alpha.19 - 11 May 2017

###### Bug fixes
- [#103](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/103) - Prevent emulator from hanging from requiring user code that doesn't exit., by @laurenlong

###### Other
- Upgraded dependencies
1.0.0-alpha.18: tag_name: 1.0.0-alpha.18
body: ##### 1.0.0-alpha.18 - 08 May 2017

###### Backwards compatible changes
- Hid some annoying warning messages
- Add ability to set more options on the Emulator child process
1.0.0-alpha.17: tag_name: 1.0.0-alpha.17
body: ##### 1.0.0-alpha.17 - 04 May 2017

###### Breaking changes
- [#92](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/92) - Switch to `host` and `bindHost` options, by @kpruden
  - Fixes [#91](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/91) (Support connecting to an emulator behind a NAT)

###### Backwards compatible changes
- [#89](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/89) - Refactor how the logs work, by @laurenlong
  - Added a `--tail` option to `functions start`. If `true`, `functions start`
    will not exit right away. Instead the Emulator's logs will be streamed to
    the terminal. Pressing Ctrl+C would stop the Emulator.

###### Bug fixes
- [#90](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/90) - JSON payload not being parsed correctly on Windows Shell
- [#97](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/97) - Improve --stage-bucket support

###### Other
- Upgraded dependencies
1.0.0-alpha.16: tag_name: 1.0.0-alpha.16
body: ##### 1.0.0-alpha.16 - 13 April 2017

###### Backwards compatible changes
- [#73](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/73) - Warn user when local version of Node is greater than 6.9.
- When calling `Controller#start` programmatically, you can now pass an options object to configure the child process, and you'll receive the handle to the child process when the promise resolves.
- Add a `getOperation` method to the clients
- Added more debug logging
- [#84](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/84) - Support for testing a database trigger

###### Bug fixes
- Function timeouts now work
- Fixed gRPC client request deadlines
- Hopefully fixed the following (they're hard to reproduce):
  - [#76](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/76) - Progress bar for deploying functions?
  - [#77](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/77) - Emulator fails to start
  - [#80](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/80) - NotFoundError
1.0.0-alpha.15: tag_name: 1.0.0-alpha.15
body: ##### 1.0.0-alpha.15 - 10 March 2017

###### Bug fixes
- [#71](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/71) - "status" option produces bad 'HTTP Trigger' path
1.0.0-alpha.14: tag_name: 1.0.0-alpha.14
body: ##### 1.0.0-alpha.14 - 08 March 2017

###### Bug fixes
- Fixes undefined method error when trying to invoke functions that don't exist.
1.0.0-alpha.13: tag_name: 1.0.0-alpha.13
body: ##### 1.0.0-alpha.13 - 08 March 2017

###### Breaking changes
- [#69](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/69) - Move --debug and --inspect into their own commands. Debugging has changed, please see [Debugging-functions](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki/Debugging-functions) for details.
1.0.0-alpha.12: tag_name: 1.0.0-alpha.12
body: ##### 1.0.0-alpha.12 - 06 March 2017

###### Bug fixes
- [#64](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/64) - Can start Emulator with mismatching versions
1.0.0-alpha.11: tag_name: 1.0.0-alpha.11
body: ##### 1.0.0-alpha.11 - 06 March 2017

###### Breaking changes
- Some options have been removed from commands where they weren't needed

###### Other
- Cleaned up of the CLI help text
1.0.0-alpha.10: tag_name: 1.0.0-alpha.10
body: ##### 1.0.0-alpha.10 - 05 March 2017

###### Backwards compatible changes
- Export all Emulator classes
1.0.0-alpha.9: tag_name: 1.0.0-alpha.9
body: ##### 1.0.0-alpha.9 - 05 March 2017

###### Breaking changes
- [#62](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/62) - Add support for live-reloading of functions. Function workings will now automatically shutdown when they detect changes to the function's code. A new worker will be started the next time the function is called.
1.0.0-alpha.8: tag_name: 1.0.0-alpha.8
body: ##### 1.0.0-alpha.8 - 05 March 2017

###### Bug fixes
- [#48](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/48) - Deploying an already deployed function should update the existing function, not fail
1.0.0-alpha.7: tag_name: 1.0.0-alpha.7
body: ##### 1.0.0-alpha.7 - 05 March 2017

###### Breaking changes
- [#35](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/35), [#44](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/44) - Re-architect to process per function, allowing simulation of "warm" functions
- [#43](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/43) - Improve upgrade awareness of the Emulator. CLI and Emulator version can no longer mismatch.
- [#31](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/31), [#54](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/54) - Cleanup temporary archives

###### Backwards compatible changes
- [#52](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/52) - Display on default console window in Mac is difficult to read

###### Bug fixes
- [#46](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/46) (again) - Inconsistent behaviour for parsing path and path params
- [#53](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/53) - HTTP Function hangs when debugging
- [#56](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/56) - Deployments are slow
- [#60](https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/60) - `GCP_PROJECT` environment variable not set
1.0.0-alpha.2: tag_name: 1.0.0-alpha.2
body: ##### 1.0.0-alpha.2 - 13 February 2017

###### Bug fixes
- #32 - custom headers request headers are lost
- #34 - functions deploy fails on Windows

1.0.0-alpha.1: tag_name: 1.0.0-alpha.1
body: ##### 1.0.0-alpha.1 - 01 February 2017

###### Breaking changes
- This release includes a complete rewrite of the entire Emulator.
- Documentation for the new release can be found at https://github.com/GoogleCloudPlatform/cloud-functions-emulator/wiki
- If you have trouble upgrading, delete the following folder:
  - OSX/Linux - `/Users/YOUR_USERNAME/.config/configstore/@google-cloud/functions-emulator`
  - Windows - `C:\Users\YOUR_USERNAME\.config\configstore\@google-cloud\functions-emulator`

0.4.0: tag_name: 0.4.0
body: ##### 0.4.0 - 05 December 2016

###### Breaking changes
- The emulator now **requires** Node.js v6.9.1 so as to match the production Google Cloud Functions environment.
- `functions call` - Switched position of `modulePath` and `functionName` arguments for consistency with other commands.
- Moved the config file from `config.js` to a `config.json` file in the user's home directory.

###### Backwards compatible changes
- Added `functions config list` and `functions config set` commands.

###### Other
- Refactored the tests to exercise the CLI itself.
- Lots of architectural changes in the code for better maintainability, testability, and extensibility.

0.3.2: tag_name: 0.3.2
body: ##### 0.3.2 - 25 November 2016

###### Backwards compatible changes
- #8, #9 - Added `--file` option to `call` command.

0.3.1: tag_name: 0.3.1
body: ##### 0.3.1 - 23 November 2016

Adds checks to deploy command to ensure module path is a directory
Adds more clarity to README for deploy command