Skip to content

Latest commit

 

History

History
411 lines (248 loc) · 23.5 KB

CHANGELOG.md

File metadata and controls

411 lines (248 loc) · 23.5 KB

Changelog

npm history

3.4.0 (2024-04-29)

Features

Bug Fixes

  • etag should not be set on any response (#571) (89a3abb)
  • framework fails to shutdown gracefully when exit code is a string (#545) (5355069)

3.3.0 (2023-06-28)

Features

  • introduce strongly typed function signature (#525) (65f3f34)

3.2.1 (2023-06-20)

Bug Fixes

  • module resolution returns early and accurate error messages on failure (#534) (51f20a4)

3.2.0 (2023-04-07)

Features

  • configure security score card action (#509) (1e63fd0)

Bug Fixes

  • make renovatebot's ignorePath and grouping of non-major updates work correctly (#505) (e4f3c57)
  • remove default fallback when target function does not exist (#497) (f3325d3)

3.1.3 (2022-11-17)

Bug Fixes

  • deps: bump minimist from 1.2.5 to 1.2.7 (#486) (df1e2ed)

3.1.2 (2022-06-06)

Bug Fixes

3.1.1 (2022-04-22)

Bug Fixes

  • deps: Move @types/express to dependencies (#457) (1682e07)
  • deps: update dependency cloudevents to v6 (#451) (33d6a5b)

3.1.0 (2022-03-31)

Features

  • Disable Express eTag response header for consistent FF behaviour across FF runtimes (#439) (07668f6)

Bug Fixes

  • deps: update dependency minimist to v1.2.6 [security] (#432) (32bb723)

3.0.0 (2022-02-15)

⚠ BREAKING CHANGES

  • send correct response code on exception (#427)

Bug Fixes

  • send correct response code on exception (#427) (5d996fe)

2.1.1 (2022-02-01)

Bug Fixes

2.1.0 (2021-12-07)

Features

  • add testing helpers and instructions (#392) (9c25913)
  • update to latest version of clouevents sdk (#402) (bd36243)

2.0.0 (2021-11-10)

⚠ BREAKING CHANGES

  • remove eventarc cloudevent types (#385)
  • update the build to use api-extractor types (#383)
  • use snake case for generated cloudevent files (#382)
  • rename cloudevent to CloudEvent (#379)
  • Add type annotation for Request.rawBody
  • move function wrapping earlier (#335)
  • This commit refactors the SignatureType enum into an array of strings declared as const. This allows the SignatureType type to be expressed as a union type, which works a bit better when parsing a users provided string.

Features

  • add google CloudEvent types (#376) (292ade9)
  • enable traceparent header for cloudevents (#336) (aba9cb4)
  • generate cloudevent types from googleapis/google-cloudevents (#371) (7617801)
  • introduce declarative function signatures (#347) (db1ba9e)
  • update the build to use api-extractor types (#383) (752c49c)

Bug Fixes

Reverts

Code Refactoring

1.10.1 (2021-09-20)

Bug Fixes

  • update publish to include directories (#328) (5fb44a2)

1.10.0 (2021-09-16)

Features

1.9.0 (2021-06-25)

Features

Bug Fixes

v1.8.0

06-04-2021 16:11 PDT

Features

  • Update event and cloudevent interfaces (#276)
  • Support local development with Pub/Sub emulator (#272)
  • Disable x-powered-by header (#223)

Bug Fixes

  • Allow killing process with CTRL+C (#264)
  • Do not pass numeric arguments to res.send (#242)
  • Fix cloudevent signature callbacks (#234)
  • Log function signature type (#228)
  • Export the public interfaces (#218)

Dependencies

  • update lodash to 4.17.21 (#284)
  • update hosted-git-info to 2.8.9 (#282)
  • update googlecloudplatform/functions-framework-conformance action to v0.3.9 (#271)
  • update typescript to v4.2.3 (#269)
  • update mocha to v8.3.2 (#268)
  • update @types/supertest to v2.0.11 (#267)
  • update @types/node to v11.15.50 (#266)
  • update supertest to v6 (#251)
  • update gts to v3 (#250)
  • update actions/setup-node action to v2 (#249)
  • update @types/minimist to v1.2.1 (#245)
  • update @types/express to v4.17.11 (#244)
  • update ini to 1.3.7 (#240)
  • update @types/mocha to v8.0.3 (#201)
  • update minimist to 1.2.5 (#259)

Documentation

  • Add buildpacks/docker quickstart (#212)
  • Mention express as the request/response parameters (#200)

Internal / Testing Changues

  • Updates to functions-framework-conformance action (#224, #236, #279, #280)
  • Split up invoker tests into separate integration test files (#281)
  • Enable eslint for tests (#275)
  • Add useful npm scripts (#274)
  • CI configuration updates (#219, #217)
  • Refactor: split invoker and router (#213)
  • Update renovate.json schedule (#210)

v1.7.1

08-10-2020 11:13 PDT

Implementation Changes

  • fix: Don't call function after 404 on /{robots.txt,favicon.ico} (#193)

New Features

Dependencies

  • chore(deps): update dependency mocha to v8.1.1 (#194)
  • chore: remove tslint.json (#190)

Documentation

Internal / Testing Changes

v1.7.0

08-06-2020 12:01 PDT

Implementation Changes

  • fix: do not send error when error code is fine (#187)

New Features

  • fix: add functions-framework-nodejs executable (#152)

Dependencies

  • chore(deps): use gts v2 (#186)
  • chore(deps): update dependency @types/express to v4.17.7 (#166)
  • chore(deps): update dependency @types/node to v11.15.20 (#172)
  • chore(deps): update dependency @types/supertest to v2.0.10 (#173)
  • chore(deps): update dependency mocha to v8 (#178)
  • chore(deps): update dependency supertest to v4 (#179)
  • chore(deps): automerge all but major updates (#183)
  • chore(deps): update dependency typescript to v3.9.7 (#176)
  • chore: make renovate not update as often (#170)
  • chore(deps): bump lodash from 4.17.14 to 4.17.19 (#156)
  • chore(deps): pin dependencies (#163)
  • chore(deps): add renovate.json (#65)

Documentation

  • docs: change badge to GitHub Actions (#180)
  • Fix typo: https -> http (#153)

Internal / Testing Changes

v1.6.0

06-17-2020 14:53 PDT

Implementation Changes

  • refactor: extract cloudevents functions, privateize file-global identifiers (#138)
  • refactor: Move the logic to load user's function to loader.ts (#136)
  • refactor: split files (#135)

New Features

  • feat: prototype cloudevent function signature type (#147)

Dependencies

Documentation

  • docs: remove incorrect pubsub docs (#145)
  • Fix PubSub Event Example (#141)

Internal / Testing Changes

  • Use CloudEvents v1.0 in CloudEventsContext and tests (#139)

v1.5.1

03-30-2020 11:05 PDT

Implementation Changes

  • fix: handle SIGINT in ErrorHandler (#126)

New Features

Dependencies

  • chore(deps): bump acorn from 5.7.3 to 5.7.4 (#124)
  • chore(deps): bump minimist from 1.2.0 to 1.2.2 (#123)
  • chore(deps): bump minimist from 1.2.2 to 1.2.3 (#128)

Documentation

Internal / Testing Changes

v1.5.0

03-06-2020 08:15 PST

Implementation Changes

  • Adjust path handling (#121)

New Features

Dependencies

Documentation

Internal / Testing Changes

v1.4.0

01-30-2020 11:54 PST

Implementation Changes

New Features

  • feat: add --dry-run option to load user's function but not start a server (#118)

Dependencies

Documentation

  • docs: Remove beta from gcloud run (#114)
  • Update README.md (#115)
  • docs: update pub sub docs with instructions that work (#109)
  • Fix double quotation from full-width character (#107)
  • docs: add video about FF (#102)
  • Changed curl command to include json content-type (#100)

Internal / Testing Changes

v1.3.2

09-13-2019 18:06 PDT

  • Revert "fixes #33: Only listen to functionTarget. (#81)"

Implementation Changes

New Features

Dependencies

Documentation

Internal / Testing Changes

v1.3.1

09-13-2019 10:00 PDT

Implementation Changes

  • fix: use empty string path when function source is not specified (#90)

New Features

Dependencies

Documentation

Internal / Testing Changes

v1.3.0

09-11-2019 10:17 PDT

Implementation Changes

  • fixes #33: Only listen to functionTarget. (#81)
  • fix: change the default function directory to the current working directory instead of root ('/') (#77)
  • Adding null check in catch block (#71)
  • fix: Adds types for superagent. Fixes #68 (#69)

New Features

  • Add a source flag/env option to add flexibility to execution path (#53)

Dependencies

Documentation

  • Docs Updates (#70)
  • Fix small typo on link (#79)
  • New section documentation on how to perform local PubSub testing (#76)
  • Docs: Add Docker Tutorial Doc (#58)

Internal / Testing Changes

  • chore: remove the converter