Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Latest commit

 

History

History
1037 lines (705 loc) · 84.6 KB

CHANGELOG.md

File metadata and controls

1037 lines (705 loc) · 84.6 KB

Node.js Agent for Google Cloud Debug ChangeLog

9.0.1 (2024-02-01)

Bug Fixes

9.0.0 (2023-12-21)

⚠ BREAKING CHANGES

  • upgrade to node 14 (#1160)

Bug Fixes

  • deps: Update dependency firebase-admin to v12 (#1185) (f757913)
  • Increase capture limit to allow Windows tests to pass (#1188) (728b90e)
  • Remove unused second parameter (#1161) (f8815fc)

Miscellaneous Chores

8.0.0 (2023-06-06)

⚠ BREAKING CHANGES

  • Remove support for deprecated Cloud Debugger API. (#1144)

Features

  • Add stop function to allow shutting down the debug agent (#1147) (c292200)
  • Remove support for deprecated Cloud Debugger API. (#1144) (7ed8fb2)

Bug Fixes

7.2.2 (2023-01-16)

Bug Fixes

  • Add timeout to firebase db connection attempt (#1132) (8cd89c8)

7.2.1 (2022-12-15)

Bug Fixes

  • Correctly propagate the firebase app name (#1122) (443e902)

7.2.0 (2022-12-09)

Features

Bug Fixes

  • Correctly send labels on register calls. (#1118) (007cbbd)

7.1.1 (2022-11-18)

Bug Fixes

7.1.0 (2022-07-26)

Features

7.0.0 (2022-06-25)

⚠ BREAKING CHANGES

  • upgrade to stable (#1088)
  • update library to use Node 12 (#1084)

Features

Bug Fixes

  • deps: update dependency @google-cloud/common to v4 (#1090) (f4f6ad4)
  • deps: update dependency firebase-admin to v10 (#1080) (957ea3c)
  • deps: update dependency gcp-metadata to v5 (#1068) (20ff5c5)

Build System

6.0.1 (2022-05-16)

Bug Fixes

6.0.0 (2022-05-12)

⚠ BREAKING CHANGES

  • Add ability to store breakpoint data in firebase realtime database (#1076)

Features

  • Add ability to store breakpoint data in firebase realtime database (#1076) (4bbcc10)

5.2.9 (2022-05-12)

Bug Fixes

  • deps: update dependency express to v4.18.1 (#1054) (4fcfd32)

5.2.8 (2021-08-09)

Bug Fixes

5.2.7 (2021-07-09)

Bug Fixes

  • do not throw when meeting empty source map file (#992) (374c1a7)

5.2.6 (2021-07-06)

Bug Fixes

  • Add more debugging info to the system e2e test (#983) (5f670ee)

5.2.5 (2021-06-24)

Bug Fixes

  • Add debugging information for sourcemapper (#977) (b647106)
  • source mapping original path instead of user-provided input (#978) (108225c)

5.2.4 (2021-06-17)

Bug Fixes

  • attach to v8 debugger session only when having active breakpoints (#975) (031a7ad)

5.2.3 (2021-06-14)

Bug Fixes

  • surface correct error message for ambiguous sourcemap matches (#971) (d5abfac)

5.2.2 (2021-06-04)

Bug Fixes

5.2.1 (2021-05-31)

Bug Fixes

  • periodically reset v8 session to prevent memory leak (#957) (7735425)

5.2.0 (2021-05-04)

Features

  • Add region in Debuggee labels in GCF env (#951) (a88e904)

5.1.3 (2020-11-03)

Bug Fixes

  • add required parameter to fix build breakage (#928) (1e77a61)
  • deps: update dependency acorn to v8 (#916) (2f2c421)

5.1.2 (2020-07-09)

Bug Fixes

5.1.1 (2020-07-07)

Bug Fixes

  • dep: update dependency p-limit to v3 (#902) (cf8b0c7)

5.1.0 (2020-06-25)

Features

5.0.0 (2020-05-20)

⚠ BREAKING CHANGES

  • drop support for node.js 8.x (#851)
  • require node 10 in engines field (#852)

Features

Bug Fixes

Build System

4.2.2 (2020-01-23)

Bug Fixes

4.2.1 (2019-12-15)

Bug Fixes

  • deps: pin TypeScript below 3.7.0 (35589fb)
  • deps: update dependency semver to v7 (#800) (70edb78)

4.2.0 (2019-11-21)

Features

  • improve experience when multiple files match a breakpoint location (#784) (8b50f38)

Bug Fixes

4.1.0 (2019-11-08)

Features

  • introduce javascriptFileExtensions config parameter. (#779) (bf79ce8)

4.0.4 (2019-10-02)

Bug Fixes

  • deps: update dependency gcp-metadata to v3 (#757) (77d0d93)

4.0.3 (2019-08-22)

Bug Fixes

  • correct column numbers for line-1 breakpoints (#751) (f6d4f76)

4.0.2 (2019-08-21)

Bug Fixes

  • allow calls with no request, add JSON proto (bb1bcc9)
  • warn if maxDataSize=0 (#744) (e322b6c)
  • deps: update @sindresorhus/is to v1 (#747) (dac1102)
  • deps: update dependency acorn to v7 (#748) (ddc3629)
  • deps: use the latest extend (#735) (2d60f49)
  • docs: link to reference docs section on googleapis.dev (#724) (6d809e6)

4.0.1 (2019-06-24)

Bug Fixes

4.0.0 (2019-06-05)

⚠ BREAKING CHANGES

  • upgrade engines field to >=8.10.0 (#680)

Bug Fixes

  • deps: update dependency @google-cloud/common to v1 (#692) (eeaeac8)
  • deps: update dependency express to v4.17.0 (#695) (90420bd)
  • deps: update dependency express to v4.17.1 (#708) (97bfa7b)
  • deps: update dependency gcp-metadata to v2 (#691) (3a4b275)

Build System

Features

v3.2.0

05-02-2019 08:18 PDT

Implementation Changes

New Features

  • feat: add debugger support for Cloud Run. See b/112087600 for context (#671)
  • fix: use stableObjectId field for object equality in Node 10+ (#524)

Dependencies

  • chore(deps): update dependency @types/nock to v10 (#674)
  • chore(deps): update dependency nyc to v14 (#669)
  • fix(deps): update dependency @google-cloud/common to ^0.32.0 (#667)
  • chore(deps): update dependency @types/semver to v6
  • chore(deps): drop unused dependency on broken-link-checker-local
  • chore(deps): update dependency typescript to ~3.4.0
  • fix(deps): update dependency semver to v6
  • chore(deps): update dependency @types/node to ~10.14.0

Documentation

Internal / Testing Changes

  • update to .nycrc with --all enabled (#675)
  • test: add smoke test for app sample (#663)
  • chore: drop duplicate nyc config (#665)
  • chore: publish to npm using wombat (#655)
  • build: use per-repo publish token (#654)

v3.1.0

03-12-2019 16:20 PDT

New Features

  • feat: make logpoint function customizable (#634)

Bug Fixes

  • fix: correct typings for SourceContext (#626)
  • fix: add webpack support to the Sourcemapper (#640)
  • fix: avoid spurious 'unable to clear' errors (#624)

Dependencies

  • fix: update @google-cloud/common to ^0.31.0 (#639)
  • fix(deps): update dependency gcp-metadata to v1
  • fix(deps): update dependency @sindresorhus/is to ^0.15.0 (#619)

Documentation

  • docs: add samples code (#633)
  • docs: update links in contrib guide (#637)
  • docs: update contributing guide (#628)
  • docs: add lint/fix example to contributing guide (#621)

Internal / Testing Changes

  • build: Add docuploader credentials to node publish jobs (#648)
  • build: use node10 to run samples-test, system-test etc (#647)
  • build: add configs to import keys for builds
  • chore: remove p-limit types (#645)
  • chore: Delete unused region tags (#644)
  • chore(deps): update dependency mocha to v6
  • build: use linkinator for docs test (#636)
  • test: use unique service context for e2e tests (#638)
  • chore: add missing dev dependency (#635)
  • test: add grpcjs system tests (#631)
  • refactor: address TODO about id type (#627)
  • build: create docs test npm scripts (#630)
  • chore: remove unneeded code (#625)
  • chore: update acorn to version 6 (#620)
  • chore: upgrade typescript to ~3.3.0 (#618)
  • build: ignore googleapis.com in doc link check (#615)
  • build: check broken links in generated docs (#612)
  • chore(build): inject yoshi automation key (#608)

v3.0.1

12-11-2018 14:18 PST

Implementation Changes

  • fix: use well-formatted URLs when setting breakpoints (#535)

Dependencies

  • chore: update teeny-request (#589)
  • fix(deps): update dependency @google-cloud/common to ^0.27.0 (#586)
  • refactor: drop dependencies on request and lodash (#585)
  • chore(deps): update dependency @types/node to ~10.12.0 (#546)
  • refactor: remove a few unused dependencies (#584)
  • chore: make npm test platform independent (#583)
  • chore(deps): update dependency gts to ^0.9.0 (#580)
  • fix(deps): update dependency @google-cloud/common to ^0.26.0 (#552)
  • fix(deps): update dependency gcp-metadata to ^0.9.0 (#566)
  • chore: update issue templates (#565)
  • fix(deps): update dependency gcp-metadata to ^0.8.0 (#548)
  • chore(deps): update dependency @types/glob to v7 (#549)
  • chore(deps): update dependency typescript to ~3.1.0 (#547)
  • chore(deps): update dependency nock to v10 (#551)
  • fix(deps): update dependency @google-cloud/common to ^0.25.0 (#520)

Internal / Testing Changes

  • chore: update nyc and eslint configs (#607)
  • chore: fix publish.sh permission +x (#605)
  • fix(build): fix Kokoro release script (#604)
  • build: add Kokoro configs for autorelease (#603)
  • chore: always nyc report before calling codecov (#600)
  • chore: nyc ignore build/test by default (#599)
  • chore(build): update prettier and renovate config (#597)
  • chore: update system tests key (#596)
  • chore: update license file (#595)
  • fix(build): fix system key decryption (#591)
  • chore: use a uuid in system tests (#590)
  • chore: add encrypted key for system tests (#588)
  • chore: add synth.metadata
  • chore: update eslintignore config (#579)
  • chore: drop contributors from multiple places (#578)
  • chore: use latest npm on Windows (#576)
  • chore: update CircleCI config (#574)
  • chore: include build in eslintignore (#571)
  • fix: fix Node 11 tests (#569)
  • chore: remove old issue template (#563)
  • fix: fix Node 10.12.0 specific test failures (#560)
  • build: run tests on node11 (#561)
  • chores(build): do not collect sponge.xml from windows builds (#550)
  • chore: update new issue template (#544)
  • build: fix codecov uploading on Kokoro (#540)
  • Update kokoro config (#538)
  • Update kokoro config (#534)
  • test: remove appveyor config (#533)
  • chore: update kokoro config (#532)
  • Enable prefer-const in the eslint config (#531)

2018-09-18, Version 3.0.0 (Beta), @dominickramer

This version drops support for Node 4, adds the pathResolver configuration option to support debugging files that have ambiguous paths, and adds a fix to handle debugging objects with circular references (for Node <10).

Breaking Changes

  • chore: drop support for node.js 4 (#440) d6318d8

Features

  • feat: pathResolver to allow arbitrary path mapping on behalf of agent (#461) a0a27f0
  • feat: use small HTTP dependency (#510) ce903bc

Fixes

  • fix: handle circular refs correctly with legacy debugging API (#515) 8e6cf9b
  • fix: allow snapshots in shorter transpiled files (#513) 9512bac
  • fix: move vm.runInDebugContext to constructor (#509) 6b33feb
  • fix(deps): update @google-cloud/common to ^0.23.0 (#506) f67d1af
  • fix: fix the workingDirectory root dir test (#492) dd8e4af
  • fix: delegate auth logic to google-auth-library (#489) 841609a
  • fix: fix installation tests (#488) 8356b15
  • fix(deps): update dependency gcp-metadata to ^0.7.0 (#474) 3a2369d
  • fix(deps): update dependency coffeescript to v2 (#476) 30747fa
  • fix: fix package warnings for coffee-script and source-maps (#441) 4a7ee90
  • fix: stop testing node 4 on appveyor (#444) 9df77ea
  • fix: clean up the readme (#442) 521aa69

2018-06-12, Version 2.6.0 (Beta), @dominickramer

This release adds side-effect-free evaluation #335 and fixes an issue where when a breakpoint is hit in a transpiled file, the line number of the breakpoint incorrectly changes #436.

Commits

  • fix: line numbers don't change in transpiled files (#436) 2d7a0f7
  • docs: fix image links on npmjs.com (#435) 71ae615
  • chore: remove stripResults parameter (#432) e42836f
  • chore: clean up test-e2e.ts (#431) a627642
  • feat: implement side-effect-free expression evaluation (#335) 173c9e7
  • chore: remove the GCLOUD_USE_INSPECTOR env var (#429) 73b171e
  • chore: change the gts version to ^0.5.4 (#427) 54d3d10
  • chore: add tests to verify evaluated expressions (#425) d03e0e5
  • chore(package): update @types/node to version 10.0.3 (#424) cc40309

2018-04-27, Version 2.5.1 (Beta), @dominickramer

This release addresses issue #420. In particular, if semver version 5.1.0 was already installed as a dependency prior to installing @google-cloud/debug-agent, the agent would have an out of date version of semver and would fail to start.

Commits

  • chore: update semver to 5.5.0 (#421) 960bbc7
  • chore: test on Node 10 (#419) 9b15b29
  • chore(package): update @types/estree to version 0.0.39 (#416) 9c4427e

2018-04-17, Version 2.5.0 (Beta), @dominickramer

This release adds support for Node 10 by always using the inspector protocol on Node >= 10. This is needed because the vm.runInDebugContext function, needed to use the legacy debug protocol, is no longer available in Node 10.

Commits

  • feat: support Node 10 (#412) b21b084
  • fix(package): update @google-cloud/common to version 0.17.0 (#410) 6c4a878
  • chore(package): update @types/mocha to version 5.0.0 (#411) 87fdf0e

2018-03-16, Version 2.4.0 (Beta), @dominickramer

With this release:

  • @google-cloud/common has been updated to version 0.16.0. This addresses issue #405.
  • The GAE_DEPLOYMENT_ID environment variable (with a fallback to GAE_MINOR_VERSION) will now be used as the default value of minorVersion_.

Commits

  • [d2cf1bcdc9] - chore: remove js-green-licenses.json (#408) (Dominic Kramer)
  • [ca643666e5] - chore: update proxyquire to 2.0.0 (#406) (Dominic Kramer)
  • [9c4c1bb5a9] - chore: update gcp-metadata to 0.6.3 (#407) (Dominic Kramer)
  • [6e933cb331] - chore(package): update js-green-licenses to version 0.5.0 (#404) (greenkeeper[bot])
  • [f6985f7a6a] - feat: GAE_DEPLOYMENT_ID used for minor version (#400) (Dominic Kramer)
  • [e19e514a67] - Update gcp-metadata to the latest version 🚀 (#395) (greenkeeper[bot])
  • [9c93e7fb4e] - fix(package): update @google-cloud/common to version 0.16.0 (#394) (greenkeeper[bot])
  • [9a5d8a1066] - chore(package): update mocha to version 5.0.0 (#392) (greenkeeper[bot])
  • [b09419ebf6] - chore(package): update js-green-licenses to version 0.4.0 (#390) (greenkeeper[bot])
  • [bcab5cb0b1] - chore(package): update js-green-licenses to version 0.3.1 (#389) (greenkeeper[bot])
  • [3b2a3ef412] - chore: license check as posttest (#384) (Jinwoo Lee)
  • [56b8340153] - chore(package): update @types/node to version 9.3.0 (#385) (greenkeeper[bot])
  • [bcc3b893fa] - Update LICENSE (#386) (chenyumic)

2017-12-21, Version 2.3.2 (Beta), @dominickramer

This release addresses issues:

Commits

  • [3b97598725] - fix: refuse to start if working dir is root dir (#381) (Dominic Kramer)
  • [5c93c445b6] - fix: Address startup failure from file access errors (#379) (Dominic Kramer)
  • [e38854efdc] - fix: index only .js.map source map files (#371) (Dominic Kramer)
  • [c75494cfc1] - chore: Replace it.only with it in test-install.ts (#380) (Dominic Kramer)
  • [f24a466290] - chore(package): update @types/nock to version 9.1.0 (#378) (greenkeeper[bot])
  • [7fef0a432e] - fix: Remove the process warning listener (#376) (Dominic Kramer)

2017-12-11, Version 2.3.1 (Beta), @dominickramer

This release addresses issue #367 where compile time errors would occur when using the agent within Typescript code.

In addition, the isReady functionality has been documented.

Commits

  • [cc8803122e] - chore: Remove casts when accessing config props (#374) (Dominic Kramer)
  • [5b493170be] - fix: only look for relevant files in scanner test (#372) (Dominic Kramer)
  • [37399c2e70] - fix: Address compilation errors when using the agent with Typescript (#370) (Dominic Kramer)
  • [d7bec412f0] - chore: Run gts fix and manually fix some errors (#369) (Dominic Kramer)
  • [1d300ace78] - chore: Update Readme to include isReady interface (#368) (Michael Gao)

2017-11-20, Version 2.3.0 (Beta), @dominickramer

This release introduces a new isReady method that returns a Promise that is resolved either when the debug agent has received snapshot information from the Stackdriver service, or has determined that it is not possible to receive this information.

This is needed in environments such as Google Cloud Functions where, without this functionality, application code is completed before the debug agent has received its snapshot information.

This release also fixes an issue so that now a more friendly error message is provided in the case when the debug agent cannot determine the project ID.

Commits

  • [a828ea62a4] - feat: Enable isReady for debugger for GCF (#358) (Michael Gao)
  • [bbf4b98848] - chore: Move install tests to system-test (#361) (Dominic Kramer)
  • [acdefca12e] - test: add installation verification (#359) (Dominic Kramer)
  • [6e0088e5bf] - fix: Give useful message with unresolved projectID (#360) (Dominic Kramer)
  • [a530d1cdb2] - Update dependencies to enable Greenkeeper 🌴 (#348) (greenkeeper[bot])
  • [cdee56fda5] - chore: Upgrade to Typescript ~2.6.1 (#355) (Dominic Kramer)
  • [1553565742] - fix: broken link in README (#353) (Ali Ijaz Sheikh)
  • [b95bae2d9c] - chore: Use gts instead of gulp (#344) (Dominic Kramer)
  • [e1089673f2] - fix: Skip 32bit platform warning starting on 8.9 (#351) (Michael Gao)
  • [185f1c2e5d] - fix: make debugee variables public (#352) (Michael Gao)

2017-10-25, Version 2.2.2 (Beta), @dominickramer

This release fixes an issue that prevented this module from being published, and it contains all of the changes that would have been in the 2.2.0 and 2.2.1 releases (if those releases would have actually been successfully published).

Commits

  • [bc486043b8] - Remove package.json from build directory (#349) (Dominic Kramer)
  • [c4d61f2435] - chore: update dep: gcp-metadata (#346) (Ali Ijaz Sheikh)
  • [b9085453fe] - Allow a single direct access point to package.json (#347) (Dominic Kramer)

2017-10-23, Version 2.2.1 (Beta), @dominickramer

This release is identical to version 2.2.0 and only exists because a publishing error occurred that prevented the release of version 2.2.0.

2017-10-23, Version 2.2.0 (Beta), @dominickramer

  • This release includes experimental support for the new V8 Inspector Protocol (#329) and fixes an issue with setting snapshots on lines that cannot directly have snapshots set, such as comments (#330).

    • The Stackdriver Debugger will use the V8 Inspector Protocol if and only if the GCLOUD_USE_INSPECTOR environment variable is set and the running version of Node supports the inspector protocol (Node 8+).

    • If the GCLOUD_USE_INSPECTOR environment variable is set, but the running version of Node does not support the inspector protocol, the agent will fall back to the legacy debugger protocol and a warning message will be logged.

Commits

  • [c15872df2c] - Inspector only enabled when specified (#343) (Michael Gao)
  • [964cc31a0f] - Elaborate on async stack trace warning (#340) (Michael Gao)
  • [82fb478bca] - Reorganize code (#337) (Dominic Kramer)
  • [d4cf182924] - Remove powerscript in appveyor config (#339) (Michael Gao)
  • [fa41721e96] - Fix system test break (#333) (Michael Gao)
  • [be0f2fde64] - fix: update dep gcp-metadata (#334) (Ali Ijaz Sheikh)
  • [3114892715] - Implement v8 Inspector Protocol (#329) (Michael Gao)
  • [015f29c842] - Add dependency on extend@3 (#332) (Kelvin Jin) #332
  • [7a7b20dcd9] - Adjust api breakpoint if resolved in another line (#330) (Michael Gao)
  • [bd4a59c5ec] - Remove args in state.ts#resolveLocalList (#331) (Michael Gao)
  • [9ecff8bd9b] - Change v8debugAPI clear to async. (#327) (Michael Gao)
  • [fa36973fbf] - Address a formating error across Node versions (#328) (Dominic Kramer)
  • [17be882a3a] - Fix .ts files being copied to the build dir (#325) (Dominic Kramer)
  • [b58b2f7308] - Address Some TODOs (#324) (Dominic Kramer)
  • [1a253cee5b] - Update package-lock.json for tests to Typescript (#323) (Dominic Kramer)
  • [e8bd0cf56b] - Enable checking test linting/formatting errors (#322) (Dominic Kramer)
  • [40365fbcac] - Enable all compiler options (#321) (Dominic Kramer)
  • [29ba46bf4e] - Add type annotations (#320) (Dominic Kramer)
  • [3bf2276165] - Remove usage of use strict (#319) (Dominic Kramer)
  • [3c2dbba02c] - The test/debugger.ts file uses class syntax (#318) (Dominic Kramer)
  • [7952610ad0] - Update tests to use let or const instead of var (#317) (Dominic Kramer)
  • [df2c5651d7] - Update the tests to use import syntax (#316) (Dominic Kramer)
  • [a21c83d920] - Update test files to use the .ts extension (#315) (Dominic Kramer)
  • [232e494774] - Run tests from within the build directory (#314) (Dominic Kramer) #314

2017-07-17, Version 2.1.3 (Beta), @ofrobots

This module is now in Beta. This release (re)-fixes the naming of debug targets on GKE (#308) along with a fuzzy search for sourcemaps (#306).

Commits

  • [eff37c20f5] - beta (#310) (Ali Ijaz Sheikh)
  • [70d8730d13] - Use clusterName as service name on GKE (#309) (Ali Ijaz Sheikh)
  • [8ddb5ec87f] - Simplify metadata (#308) (Ali Ijaz Sheikh)
  • [800ed08d5e] - Start using async/await to flatten the pyramid in Debuglet.start (#307) (Ali Ijaz Sheikh)
  • [db21564549] - Use fuzzy search when using sourcemaps (#306) (Dominic Kramer)
  • [f13d122718] - lint, tooling, and other misc. changes (#304) (Ali Ijaz Sheikh)
  • [dd8ef67432] - switch to package-lock.json (#305) (Ali Ijaz Sheikh)
  • [2d07105969] - tune up configuration types (#300) (Ali Ijaz Sheikh)
  • [9eb42e66e7] - npm scripts cleanup (#302) (Ali Ijaz Sheikh)
  • [2297c09557] - Lint and yarn (#301) (Ali Ijaz Sheikh)
  • [7ccdcd7274] - drop test dependency on proxyquire (#303) (Ali Ijaz Sheikh)
  • [0679ec7835] - v2.1.2 (Ali Ijaz Sheikh)

2017-07-05, Version 2.1.2 (Experimental), @ofrobots

This release fixes the handling of waitExpired (#287) which was causing breakpoints to be expired too early.

Commits

  • [16bf513a82] - move src.ts back to src (#297) (Ali Ijaz Sheikh)
  • [edfb19bc91] - delete accidentally committed file (#298) (Ali Ijaz Sheikh)
  • [31b6e9f231] - Build and packaging cleanups (#296) (Ali Ijaz Sheikh)
  • [334fba2f06] - fixe typos: waitExpired, successOnTimeout (#287) (Ali Ijaz Sheikh)
  • [8906108524] - Update debug.ts to use class syntax (#295) (Dominic Kramer) #295
  • [8d044a28ae] - Format the code (#294) (Dominic Kramer) #294
  • [8202cf044b] - Enable all tsconfig.json options (#293) (Dominic Kramer) #293
  • [499112ccf2] - Reformat the code and enable linting (#292) (Dominic Kramer) #292
  • [675ef726af] - Add types to all non-test files (#291) (Dominic Kramer) #291
  • [2733e5c711] - Convert var to const or let (#290) (Dominic Kramer) #290
  • [a0f9cc47d0] - Convert requires to imports (#289) (Dominic Kramer) #289
  • [e135835ac6] - TS: Convert debug-assert.js to Typescript (#288) (Dominic Kramer) #288
  • [8d4467ebb0] - Update README. (#282) (Jason Dobry)
  • [ccf504b5fc] - Fix the system tests (#286) (Dominic Kramer) #286
  • [ec19973ce4] - Use Typescript class syntax (#285) (Dominic Kramer) #285
  • [8ee9583f18] - Initial gulpfile that only maps src.ts to src (#281) (Dominic Kramer) #281
  • [4bf7b8f5b8] - v2.1.1 (Ali Ijaz Sheikh)

2017-06-18, Version 2.1.1 (Experimental), @ofrobots

This release reverts #275 which was regressing debuggee identification on GAE and GCE.

  • [66d67f8b1b] - Revert "Use service name as debuggee id on gke (#275)" (#278)" (Ali Ijaz Sheikh)
  • [e3c4853fdb] - Document the support of transpiled code (#277) (Dominic Kramer) #277

2017-06-12, Version 2.1.0 (Experimental), @matthewloring

Notable changes

UI

  • [53562ccc89] - Update truncated object message (#269) (Matthew Loring) #269
  • [a87007a4b6] - Use FUNCTION_NAME as service id on GCF (#274) (Matthew Loring) #274
  • [d3994f8959] - Use service name as debuggee id on gke (#275) (Matthew Loring) #275

Commits

  • [9377a112df] - disableable assertions (#272) (Ali Ijaz Sheikh) #272
  • [d3994f8959] - Use service name as debuggee id on gke (#275) (Matthew Loring) #275
  • [a87007a4b6] - Use FUNCTION_NAME as service id on GCF (#274) (Matthew Loring) #274
  • [37d7745a67] - include variables from outer scopes (#271) (Ali Ijaz Sheikh)
  • [adcf3aec84] - Avoid repeated indexOf checks in tests (#273) (Matthew Loring) #273
  • [53562ccc89] - Update truncated object message (#269) (Matthew Loring) #269
  • [7e2bc4fec7] - Indicate breakpoint expiration using the refers_to field (#268) (Matthew Loring) #268
  • [14fee8277e] - improve message for allowExpressions=false (#270) (Ali Ijaz Sheikh)
  • [e2af53533b] - start testing against Node 8 (#267) (Ali Ijaz Sheikh)
  • [6956da821b] - stringify sourceContext before concat (#265) (Ali Ijaz Sheikh)
  • [e7f15f5f56] - add note about scopes on GKE (#264) (Ali Ijaz Sheikh)
  • [8571d8544f] - Specify test-only client version in test debugger (#262) (Matthew Loring) #262

2017-05-15, Version 2.0.0 (Experimental), @matthewloring

Notable changes

This release drops support for versions of Node.js <4.

Semver Major

  • [8a119de64f] - Update deps, drop support for 0.12 (#258) (Matthew Loring) #258

Commits

  • [0045ad5702] - Add test notifications to travis (#261) (Matthew Loring) #261
  • [5f45dbf2c6] - Avoid retries in e2e tests (#260) (Matthew Loring) #260
  • [8a119de64f] - Update deps, drop support for 0.12 (#258) (Matthew Loring) #258
  • [022d1ba5cb] - Add yarn.lock (#257) (Matthew Loring) #257
  • [4360f88e6a] - drop dependency on dummy counter module (#256) (Ali Ijaz Sheikh)

2017-03-14, Version 1.0.0 (Experimental), @dominicdkramer

Semver-major changes

  • Evaluation of expressions is no longer allowed by default. It can be enabled using the allowExpressions configuration option.

Commits

  • [3256eed494] - Update options in README (#249) (Matthew Loring) #249
  • [36a0c2c012] - Add allowExpressions option (#244) (Matthew Loring) #244
  • [48a9952ec0] - Report FUNCTION_NAME as the description (#247) (Ali Ijaz Sheikh)
  • [cfc4f3fedf] - Relax configuration rules for agent (#245) (Matthew Loring) #245
  • [8358f670e2] - Remove unused dependencies (#246) (Matthew Loring) #246
  • [6615823884] - Reduce test loudness (#243) (Ali Ijaz Sheikh)
  • [52b5bd3f52] - deal with source-context read errors (#242) (Ali Ijaz Sheikh)
  • [ce7ce0bbe9] - improve normalizeConfig test (#241) (Ali Ijaz Sheikh)
  • [21a8f5accf] - merge configs using a deep copy (#240) (Ali Ijaz Sheikh)
  • [75974f56d5] - Document minorVersion_ as an internal property (#239) (Ali Ijaz Sheikh)

2017-02-08, Version 0.10.2 (Experimental), @ofrobots

This release fixes an issue with being able to debug applications on AppEngine Flexible.

Commits

  • [f651b8e776] - provide minorversion label on AppEngine (#237) (Ali Ijaz Sheikh)
  • [683448ceb4] - update the logger tag (#236) (Ali Ijaz Sheikh)

2017-02-07, Version 0.10.1 (Experimental), @ofrobots

This module has been renamed to @google-cloud/debug-agent with this release. This is a semver-major release with a few behaviour changes summarized below.

Semver-major changes

  • Remove undocumented env. vars.: GCLOUD_DIAGNOSTICS_CONFIG, GCLOUD_DEBUG_DISABLE (#184) and GCLOUD_DEBUG_REPO_APP_PATH (#186).
  • This module now uses the same authentication code as google-cloud-node API libraries. This changes the precedence of accepting auth credentials via config.credentials vs. config.keyFileName vs. the environment variable GOOGLE_APPLICATION_CREDENTIALS. (#190)
  • Fix precedence of how we acquire the projectId. Previously we would prefer the projectId acquired automatically over the user-provided projectId. This has been reversed to make it less surprising to users. (#193)
  • The agent no longer requires cloud-platform scope in order to operate. (#211)

Commits

  • [91e4b50e14] - upgrade to @google-cloud/common@0.12.0 to lose grpc dependency (#234) (Ali Ijaz Sheikh)
  • [82e0ac52f2] - undo version change to be able to publish properly (#233) (Ali Ijaz Sheikh)
  • [66c0cf7a4e] - 0.10.0 Release Proposal (#232) (Ali Ijaz Sheikh)
  • [b88548717a] - Increase timeout in system test (#231) (Ali Ijaz Sheikh)
  • [61e21fb260] - Rename module to @google-cloud/debug-agent (#229) (Ali Ijaz Sheikh)
  • [8d7bdf6939] - Revert "Temporarily stop building Node 7 on Windows" (#230)" (Ali Ijaz Sheikh)
  • [7cbee73256] - Get rid of module returning a constructor (#228) (Ali Ijaz Sheikh)
  • [fdbbea55ed] - Describe enabling Debugging API access scopes for GCE instances in README (#224) (Kelvin Jin) #224
  • [1e8e6bc180] - test: reduce dependence on repo layout (#227) (Ali Ijaz Sheikh)
  • [daf015f974] - test: reduce dependence on repo layout (#225) (Ali Ijaz Sheikh)
  • [04103e525a] - Fix bugs in findScripts (#223) (Ali Ijaz Sheikh)
  • [cc29b29a8e] - improve error stack traces in v8debugapi.js (#222) (Ali Ijaz Sheikh)
  • [f1faef608f] - Also try to detect serviceContext from Flex environment variables (#221) (Ali Ijaz Sheikh)
  • [a00ce2ae45] - Make all tests runnable together (#218) (Kelvin Jin) #218
  • [474c2dc99c] - Remove misleading arguments/locals message (#220) (Cristian Cavalli)
  • [944c1d582f] - Update README markdown (#219) (Cristian Cavalli)
  • [d2d1d214e2] - Removed dependency on @google/cloud-diagnostics-common (#215) (Kelvin Jin) #215
  • [90be573b48] - Test success_on_timeout behavior (#217) (Matthew Loring) #217
  • [b5c29105ad] - Move some tests out of test/standalone (#214) (Kelvin Jin) #214
  • [a28d719325] - Use mocha for end-to-end tests (#212) (Kelvin Jin) #212
  • [c48c7dbbfc] - fix stale code/test from test-controller (#213) (Ali Ijaz Sheikh)
  • [cebcb69b21] - Add Debugger API to test/ and changed E2E tests to use them (#208) (Kelvin Jin) #208
  • [9b80c077e2] - use correct auth scopes (#211) (Ali Ijaz Sheikh)
  • [e5d9eb9b51] - start using gcp-metadata for metadata queries (#210) (Ali Ijaz Sheikh)
  • [5e3a0eff8a] - debuglet: stop can only be called on running agents (#209) (Ali Ijaz Sheikh)
  • [a680d8706e] - fix flakiness in test-debuglet.js (#207) (Ali Ijaz Sheikh)
  • [80cd5a18b9] - Remove duplicate isDisabled logic from controller (#206) (Ali Ijaz Sheikh)
  • [2ec17329fb] - Change argument order in updateBreakpoint (#204) (Kelvin Jin)
  • [b19b32d420] - controller API requires Debuggee.description (#205) (Ali Ijaz Sheikh)
  • [03f4b97596] - Change e2e tests to use native Promises (#201) (Kelvin Jin) #201
  • [dbff4dc0ee] - Move debuggee agent logic to agent/ (#203) (Ali Ijaz Sheikh)
  • [416031f807] - Move initConfig logic to debuglet (#202) (Ali Ijaz Sheikh)
  • [30bd5288f7] - creds accepted in options only now (#200) (Ali Ijaz Sheikh)
  • [b5b691fca0] - move config to src/agent and add jsdocs (#196) (Ali Ijaz Sheikh)
  • [4dc2aa0eab] - Fill in unimplemented tests (#199) (Matthew Loring) #199
  • [c580792c10] - Remove unimplementable test (#198) (Matthew Loring) #198
  • [5fd09465c7] - Spelling (#197) (Matthew Loring) #197
  • [225e7db1d5] - Refactor debuggee state out of controller and make Controller a ServiceObject (#195) (Ali Ijaz Sheikh)
  • [a807998261] - move business logic from controller service to the debuglet (#194) (Ali Ijaz Sheikh)
  • [f7de637af4] - fix precedence for where the projectId is acquired from (#193) (Ali Ijaz Sheikh)
  • [638f902287] - refactorings (Ali Ijaz Sheikh)
  • [c5d3d226c9] - switch to using @google-cloud/common (#190) (Ali Ijaz Sheikh)
  • [75b08e90cf] - Temporarily stop building Node 7 on Windows (Ali Ijaz Sheikh)
  • [c5eafdd09f] - Update travis config to use trusty (#191) (Ali Ijaz Sheikh)
  • [d3d648ee3f] - Move agent code into an agent/ directory (#189) (Ali Ijaz Sheikh)
  • [4c37f32fc5] - listBreakpoint querystring encoding was incorrect (#188) (Ali Ijaz Sheikh)
  • [85573b29c3] - add system test for the debuglet api (#187) (Ali Ijaz Sheikh)
  • [35e303938e] - Remove relative repository env var (#186) (Matthew Loring) #186
  • [94fd29912c] - AUTHORS file (#185) (Matthew Loring) #185
  • [69ca4e8ade] - Remove unncessary environment variables (#184) (Matthew Loring) #184
  • [e410c36707] - API changes bring us closer to google-cloud (#180) (Ali Ijaz Sheikh)
  • [d6cb2fbfae] - Also test against Node 7 on AppVeyor (#182) (Ali Ijaz Sheikh)
  • [2383d08452] - Switch from findit to findit2 (#183) (Ali Ijaz Sheikh)
  • [e5637c787b] - fix race condition with log points (#181) (Ali Ijaz Sheikh)

2016-11-29, Version 0.9.1 (Experimental), @matthewloring

Notable changes

UI:

  • [d370e20e1e] - Prioritize capturing expressions (#162) (Dominic Kramer)
  • [b89e31cb5f] - Evaluated expressions respect capture.maxProperties (#174) (Dominic Kramer)
  • [36d9a7b980] - improve UX for truncated objects properties (#175) (Ali Ijaz Sheikh)

Commits

  • [afc6edd7c7] - Add badges + update dependencies (Matt Loring)
  • [d666c99fb1] - Now status messages include config values (#177) (Dominic Kramer)
  • [36d9a7b980] - improve UX for truncated objects properties (#175) (Ali Ijaz Sheikh)
  • [9b6961d8d0] - Begin testing against v7 on travis (#176) (Matthew Loring) #176
  • [b89e31cb5f] - Evaluated expressions respect capture.maxProperties (#174) (Dominic Kramer)
  • [2a131c228f] - Correct the status shown if maxDataSize is reached (#173) (Dominic Kramer)
  • [d370e20e1e] - Prioritize capturing expressions (#162) (Dominic Kramer)
  • [398d04a2eb] - Update the gen-repo-info-file command (#172) (Ali Ijaz Sheikh)

2016-11-03, Version 0.9.0 (Experimental), @dominickramer

Notable changes

sourcemap support:

  • [f8bb4dc16d] - Add improved support for transpiled code (#159) (Dominic Kramer)

configuration:

  • [a131faf7a8] - Add the start() Method and the Ability to Specify the Service Name/Version in the Debug Config (#167) (Dominic Kramer)
  • [5b35412827] - Added keyFilename/credentials to config object (#169) (Kelvin Jin) #169

Commits

  • [5b35412827] - Added keyFilename/credentials to config object (#169) (Kelvin Jin) #169
  • [71665343c2] - Add a configuration section to the README (#170) (Dominic Kramer)
  • [cd1f579c9f] - Revert "Promote to Beta in README.md (#161)" (#168)" (Dominic Kramer)
  • [a131faf7a8] - Add the start() Method and the Ability to Specify the Service Name/Version in the Debug Config (#167) (Dominic Kramer)
  • [f8bb4dc16d] - Add improved support for transpiled code (#159) (Dominic Kramer)
  • [fd05077c2a] - Fixes spelling error (Strackdriver => Stackdriver) (#165) (Jason) #165
  • [8b5550b75b] - Promote to Beta in README.md (#161) (Ali Ijaz Sheikh)
  • [66e57868c4] - Avoid doubly expiring breakpoints (#157) (Matthew Loring) #157
  • [7cfffa6d81] - Reduce flakiness caused by short timeout (#158) (Matthew Loring) #158
  • [9f0e2fdd92] - Add debuggee name to the re-register log message (#154) (Dominic Kramer) #154

2016-10-03, Version 0.8.5 (Experimental), @matthewloring

Commits

  • [ca08055108] - Update diagnostics common (#155) (Matthew Loring) #155

2016-09-07, Version 0.8.4 (Experimental), @matthewloring

Notable changes

bug fixes:

  • [edcfb043a9] - Add ScopeMirror traversal to state.js (#142) (Cristian Cavalli)

Commits

  • [198fb1ec9a] - Make E2E tests ScopeMirror aware (#149) (Cristian Cavalli)
  • [edcfb043a9] - Add ScopeMirror traversal to state.js (#142) (Cristian Cavalli)
  • [ab7273dc84] - Update acorn/mocha dependencies (#144) (Matthew Loring) #144
  • [2ec5d1cd08] - Fix typo in readme (#145) (Matthew Loring)
  • [df9276b63a] - remove preview from gcloud app (#141) (Justin Beckwith)

2016-06-14, Version 0.8.3 (Experimental), @matthewloring

Notable changes

configuration:

  • [4aab7bfc1a] - Configurable throttling for log points (Matt Loring)

watch expressions:

  • [251e8aaaf7] - Allow ES6 conditions and watches (Ali Ijaz Sheikh)

Commits

  • [0b98240eb2] - Documentation updates (Ali Ijaz Sheikh)
  • [4d2dfffa79] - Get e2e tests on travis (Matt Loring)
  • [1e083488f6] - Resume logging after log quota is hit (Matt Loring)
  • [a26278e702] - Prevent calls to deleted breakpoint listeners (Matt Loring)
  • [251e8aaaf7] - Allow ES6 conditions and watches (Ali Ijaz Sheikh)
  • [49f5d9579c] - Add LOGPOINT prefix to log point messages (Matt Loring)
  • [4aab7bfc1a] - Configurable throttling for log points (Matt Loring)
  • [fedd5f4ec9] - Special case array length reporting (Matt Loring)
  • [8c0d15fa03] - Clarify module loading order in readme (Matt Loring)
  • [fbb419503b] - Merge pull request #131 from bradabrams/patch-1 (Justin Beckwith)
  • [d2a6ac1a53] - Update README.md (Brad Abrams)
  • [da40e94f03] - support log statements with no expressions (Matt Loring)
  • [fbd31fe627] - Rename Managed VMs to Flexible Environment (#129) (Steren)
  • [58fe3f3d45] - Fixes crash if gcloud project isn't identified (Matt Loring)
  • [594aa68c34] - Change language to use snapshot instead of breakpoint (Matt Loring)
  • [b1027d2273] - Add registration retries (Matt Loring)
  • [222209b450] - Report file and line number on invalid bp position (Matt Loring)

2016-05-13, Version 0.8.2 (Experimental), @matthewloring

Notable changes

log points:

  • [61846c5062] - Add support for log points (Matt Loring)

configuration:

  • [c7e157226b] - Add config and more descriptive names on GCE/GKE (Matt Loring)

Commits

  • [240a74858e] - Correct log formatting for non-primitives (Matt Loring)
  • [58006f0a00] - Fix breakpoint format on large variables (Matt Loring)
  • [61846c5062] - Add support for log points (Matt Loring)
  • [5a39240e7c] - Improve summarization of breakpoint capture (Matt Loring)
  • [a67692df5c] - exit 1 on test failure (Matt Loring)
  • [c7e157226b] - Add config and more descriptive names on GCE/GKE (Matt Loring)
  • [3fcf3e86bb] - Remove e2e tests from travis (Matt Loring)
  • [a48084b8c8] - Test debugger with cluster (Matt Loring)
  • [430a8742a0] - Update tests to use v2 debugger api (Matt Loring)
  • [21ef3b20a4] - Allow for unlimited data capture size (Matt Loring)
  • [1f07e000ff] - Start windows CI runs (Matt Loring)

2016-04-26, Version 0.8.1 (Experimental), @matthewloring

Commits

  • [5573e84fc5] - Report unique ids when not on GCP (Matt Loring)
  • [442e1bdcc0] - Add support for Node.js v6 (Matt Loring)

2016-04-25, Version 0.8.0 (Experimental), @matthewloring

Notable changes

configuration:

  • [af8aa79b65] - Rename source-contexts -> source-context (Matt Loring)

Commits

  • [26a5bd6a7f] - Update list breakpoint longpoll mechanism (Matt Loring)
  • [6cc78e67d5] - Add projectid label/omit default module (Matt Loring)
  • [3a44bfd199] - Update agent version format (Matt Loring)
  • [1db03bbc12] - Warn on debug logpoints (Matt Loring)
  • [af8aa79b65] - Rename source-contexts -> source-context (Matt Loring)
  • [338f9ab34c] - Fix typo in resolveMirrorProperty_ (Ali Ijaz Sheikh)
  • [57d88a5936] - test to ensure memeber names are valid (Ali Ijaz Sheikh)
  • [291ef02d74] - coerce mirror property names to strings (Ali Ijaz Sheikh)
  • [7967cc949c] - validate breakpoint schema in tests (Ali Ijaz Sheikh)
  • [0dbf25c876] - defer breakpoint callback (Ali Ijaz Sheikh)
  • [27692c1b11] - Pin diagnostics common version (Matt Loring)

2016-04-18, Version 0.7.0 (Experimental), @matthewloring

Notable changes

configuration:

  • [2bc75d8f18] - GCLOUD_PROJECT instead of GCLOUD_PROJECT_NUM (Matt Loring)
  • [08fb68ce50] - Enable maxFrames config option (Matt Loring)
  • [14ac9e4abc] - Enable maxExpandFrames config option (Matt Loring)

performance:

  • [d9f86a5f27] - Speed up variable resolution ~10x on node 1.6+ (Matt Loring)

Commits

  • [2bc75d8f18] - GCLOUD_PROJECT instead of GCLOUD_PROJECT_NUM (Matt Loring)
  • [fd1f643c49] - Update README images (Matt Loring)
  • [1169689eaa] - Update dependencies (Matt Loring)
  • [7f2010a156] - Remove outstanding todo (Matt Loring)
  • [06f5beafcc] - Formatting and comments for state.js (Matt Loring)
  • [08fb68ce50] - Enable maxFrames config option (Matt Loring)
  • [14ac9e4abc] - Enable maxExpandFrames config option (Matt Loring)
  • [82bb2b89f1] - Store breakpoint id instead of breakpoint where possible (Matt Loring)
  • [4828beee6c] - Enable maxStringLength config option (Matt Loring)
  • [c0f3350d7f] - Display error for native properties/getters (Matt Loring)
  • [215d748d14] - Only compute hash if no other uid available (Matt Loring)
  • [d667fa646b] - Remove TODO to use v8 as parser (Matt Loring)
  • [3550675eff] - Only mark breakpoints done when api call succeeds (Matt Loring)
  • [0d9a312cb5] - Add performance test to monitor capture time (Matt Loring)
  • [d9f86a5f27] - Speed up variable resolution ~10x on node 1.6+ (Matt Loring)
  • [2ba5bbd488] - Removed event emitter from v8 debug api (Matt Loring)
  • [8eadace06b] - Add testing for map subtract (Matt Loring)
  • [2ececd6e8f] - Give proper type to execState (Matt Loring)
  • [3fcc8fae0e] - Warn if malformed source-contexts is found (Matt Loring)
  • [a782875532] - Cleanup todos (Matt Loring)
  • [a95b308b78] - Test for source context (Matt Loring)
  • [4de169b128] - Clean up coffeescript error messages (Matt Loring)
  • [2d45b8ce97] - Regression test for #50 on GH (Matt Loring)
  • [df8b6f6bf0] - Regression test for #56 on GH (Matt Loring)
  • [60ea5a00e0] - Expand testing for invalid watch expressions (Matt Loring)
  • [42277e65dc] - Unify warnings for using v5.2 and <v0.12 (Matt Loring)
  • [54c8a97c73] - Don't repeat frame arguments in frame locals (Matt Loring)
  • [1c36ba5b66] - Error message when agent is run with node 5.2 (Matt Loring)
  • [d946f8715f] - Update dev dependencies (Matt Loring)
  • [df69fdad2f] - Improve debug test coverage (Matt Loring)