Skip to content

feat!: drop node8 support, support for async iterators#778

Merged
xiaozhenliu-gg5 merged 7 commits intomasterfrom
finally-drop-node8
Apr 2, 2020
Merged

feat!: drop node8 support, support for async iterators#778
xiaozhenliu-gg5 merged 7 commits intomasterfrom
finally-drop-node8

Conversation

@alexander-fenster
Copy link
Contributor

BREAKING CHANGE: The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.

New feature: methods with pagination now support async iteration.

BREAKING CHANGE: The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.

New feature: methods with pagination now support async iteration.
@alexander-fenster alexander-fenster requested a review from bcoe April 1, 2020 22:15
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 1, 2020
@codecov
Copy link

codecov bot commented Apr 2, 2020

Codecov Report

Merging #778 into master will increase coverage by 10.32%.
The diff coverage is 98.91%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #778       +/-   ##
===========================================
+ Coverage   87.32%   97.65%   +10.32%     
===========================================
  Files          16       16               
  Lines       10244    10784      +540     
  Branches      362      364        +2     
===========================================
+ Hits         8946    10531     +1585     
+ Misses       1297      252     -1045     
  Partials        1        1               
Impacted Files Coverage Δ
src/common.ts 86.28% <71.42%> (-0.39%) ⬇️
src/v2/logging_service_v2_client.ts 98.45% <98.62%> (+16.70%) ⬆️
src/v2/config_service_v2_client.ts 98.61% <99.13%> (+13.31%) ⬆️
src/v2/metrics_service_v2_client.ts 98.18% <99.35%> (+19.31%) ⬆️
src/entry.ts 100.00% <100.00%> (ø)
src/index.ts 99.85% <100.00%> (-0.15%) ⬇️
src/log.ts 99.49% <100.00%> (-0.30%) ⬇️
src/sink.ts 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96bed17...b0d8ffd. Read the comment docs.

@xiaozhenliu-gg5 xiaozhenliu-gg5 merged commit ce29b49 into master Apr 2, 2020

it('should create a sink with a Dataset destination', async () => {
const sink = logging.sink(generateName());
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of the eslint disable, could have refactored the next line as const [, apiResponse] = ... (omit the _)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the suggestion! Checking the fix out!


describe('Entry', () => {
// tslint:disable-next-line no-any variable-name
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happened to the variable-name disable for the cap E in Entry within a let. do the linting rules no longer have this check?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linter does not complain about the variable name, just checked the gts package, it might be related with this rule: "@typescript-eslint/camelcase": "off",?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stephenplusplus stephenplusplus deleted the finally-drop-node8 branch April 6, 2020 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants