author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
305,159
02.12.2019 10:50:43
-3,600
029cc744cec0f0042e914e138c03424e6625e5df
remove client factory, preffer builtins in rollup
[ { "change_type": "MODIFY", "old_path": "rollup.config.js", "new_path": "rollup.config.js", "diff": "@@ -10,7 +10,7 @@ import tsc from 'typescript'\nconst pkg = require('./package.json')\nlet plugins = [\n- resolve({}),\n+ resolve({preferBuiltins: true}),\ncommonjs(),\nbuiltins(),\nsourceMaps(),\n" ...
TypeScript
MIT License
influxdata/influxdb-client-js
remove client factory, preffer builtins in rollup
305,159
02.12.2019 11:29:02
-3,600
253b87219901db9a4e1bea4b77495b78259a51c6
include authorization token in transport
[ { "change_type": "MODIFY", "old_path": "src/client/impl/NodeHttpTransport.ts", "new_path": "src/client/impl/NodeHttpTransport.ts", "diff": "@@ -80,7 +80,9 @@ export class NodeHttpTransport {\n* Creates a node transport using for the client options supplied.\n* @param connectionOptions client options...
TypeScript
MIT License
influxdata/influxdb-client-js
include authorization token in transport
305,159
02.12.2019 11:45:58
-3,600
85a718a3a89cd8ed336a4c7285f809adb3520499
add simple documentation generator using typedoc
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "node_modules\n.vscode\ndist\n+coverage\n+doc\n.rpt2_cache\n.DS_Store\n" }, { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"main\": \"dist/index.js...
TypeScript
MIT License
influxdata/influxdb-client-js
add simple documentation generator using typedoc
305,159
03.12.2019 12:01:26
-3,600
2716af0cac7a8060f01e57eccd5ea025d5cbae4c
add transport options to client options
[ { "change_type": "MODIFY", "old_path": "src/client/impl/NodeHttpTransport.ts", "new_path": "src/client/impl/NodeHttpTransport.ts", "diff": "@@ -86,10 +86,9 @@ export class NodeHttpTransport {\nconst url = parse(connectionOptions.url)\nthis.defaultOptions = {\n...DEFAULT_OPTIONS,\n- ...connectionOpti...
TypeScript
MIT License
influxdata/influxdb-client-js
add transport options to client options
305,159
03.12.2019 17:21:21
-3,600
426776f7c679d8008ecbdb49c54ebed1ac23473f
introduce transport as a communication interface
[ { "change_type": "MODIFY", "old_path": ".eslintrc.json", "new_path": ".eslintrc.json", "diff": "\"plugin:prettier/recommended\",\n\"prettier/@typescript-eslint\"\n],\n+ \"overrides\": [\n+ {\n+ \"files\": [\"**/*.ts\"]\n+ },\n+ {\n+ \"files\": [\"**/*.js\"],\n+ \"plugins\": [\"prettier\"]\n+ }\n+ ],...
TypeScript
MIT License
influxdata/influxdb-client-js
introduce transport as a communication interface
305,159
04.12.2019 11:18:06
-3,600
fffec06fa32f8df957737d6b056d62caab26425a
initial write API implementation
[ { "change_type": "MODIFY", "old_path": ".vscode/launch.json", "new_path": ".vscode/launch.json", "diff": "\"version\": \"0.2.0\",\n\"configurations\": [\n{\n- \"name\": \"Run Tests\",\n+ \"name\": \"Tests\",\n\"type\": \"node\",\n\"request\": \"launch\",\n\"cwd\": \"${workspaceRoot}\",\n" }, { ...
TypeScript
MIT License
influxdata/influxdb-client-js
initial write API implementation
305,159
04.12.2019 20:48:23
-3,600
705b1f410aab1d4e6ff42473c37a8a6fe594f08f
add tests for node transport layer
[ { "change_type": "MODIFY", "old_path": ".vscode/launch.json", "new_path": ".vscode/launch.json", "diff": "\"version\": \"0.2.0\",\n\"configurations\": [\n{\n- \"name\": \"Tests\",\n+ \"name\": \"Mocha Tests\",\n\"type\": \"node\",\n\"request\": \"launch\",\n\"cwd\": \"${workspaceRoot}\",\n- \"progra...
TypeScript
MIT License
influxdata/influxdb-client-js
add tests for node transport layer
305,159
04.12.2019 23:25:35
-3,600
04a76266de9e201e3d0d9e495fdfbc0ba74016ca
enhance testing of node transport with nock
[ { "change_type": "MODIFY", "old_path": "src/client/impl/NodeHttpTransport.ts", "new_path": "src/client/impl/NodeHttpTransport.ts", "diff": "@@ -89,11 +89,12 @@ export class NodeHttpTransport implements Transport {\nbody: string,\noptions: SendOptions,\ncallbacks?: Partial<CommunicationObserver>\n- )...
TypeScript
MIT License
influxdata/influxdb-client-js
enhance testing of node transport with nock
305,159
05.12.2019 10:32:38
-3,600
484c520cbce07949ef81ffdf74e690b2f63a0397
finalize node transport test with full coverage
[ { "change_type": "MODIFY", "old_path": "test/unit/impl/NodeHttpTransport.test.ts", "new_path": "test/unit/impl/NodeHttpTransport.test.ts", "diff": "@@ -9,6 +9,7 @@ import {SendOptions, Cancellable} from '../../../src/client/transport'\nimport * as http from 'http'\nimport * as https from 'https'\nim...
TypeScript
MIT License
influxdata/influxdb-client-js
finalize node transport test with full coverage
305,159
05.12.2019 20:47:08
-3,600
8d4aad0b26f3c8b7632e980e232e9f049a59be12
wip: write api tests
[ { "change_type": "MODIFY", "old_path": "src/client/WriteApi.ts", "new_path": "src/client/WriteApi.ts", "diff": "*/\nexport default interface WriteApi {\n/**\n- * Write Line Protocol record into specified bucket.\n+ * Write Line Protocol record.\n*\n- * @param record specifies the record in InfluxDB ...
TypeScript
MIT License
influxdata/influxdb-client-js
wip: write api tests
305,159
06.12.2019 08:01:35
-3,600
59aa4b62e1f3bcd7b2b266dec622870cbd21e6c8
use non-localhost URL in tests to avoid node defaults
[ { "change_type": "MODIFY", "old_path": "src/client/impl/Logger.ts", "new_path": "src/client/impl/Logger.ts", "diff": "+/**\n+ * Logging interface.\n+ */\nexport interface Logger {\nerror(message: string, err: any): void\nwarn(message: string, err: any): void\n}\n+/**\n+ * Logger that logs to console...
TypeScript
MIT License
influxdata/influxdb-client-js
use non-localhost URL in tests to avoid node defaults
305,159
06.12.2019 08:49:42
-3,600
9c6dfe7f656cade70b02f238d60a7a3b2313010e
introduce max-retries for write operation
[ { "change_type": "MODIFY", "old_path": "src/client/impl/WriteApiImpl.ts", "new_path": "src/client/impl/WriteApiImpl.ts", "diff": "@@ -68,18 +68,14 @@ export default class WriteApiImpl implements WriteApi {\nconst httpPath = `/write?org=${encodeURIComponent(\norg\n)}&bucket=${encodeURIComponent(bucke...
TypeScript
MIT License
influxdata/influxdb-client-js
introduce max-retries for write operation
305,159
06.12.2019 09:10:31
-3,600
8aef3313bea3f9559a301466de12f77890dc751b
retry calls on unknown errors
[ { "change_type": "MODIFY", "old_path": "src/client/errors.ts", "new_path": "src/client/errors.ts", "diff": "@@ -93,7 +93,7 @@ export function getRetryDelay(error: Error, retryJitter: number): number {\nreturn delay\n}\n} else {\n- return 0\n+ return 1 + Math.round(Math.random() * retryJitter)\n}\n}\...
TypeScript
MIT License
influxdata/influxdb-client-js
retry calls on unknown errors
305,159
06.12.2019 13:16:34
-3,600
93c52313ffc1c16e02e67b377c18ee08d8bf5f13
finalize test for write API essentials
[ { "change_type": "MODIFY", "old_path": "src/client/WriteApi.ts", "new_path": "src/client/WriteApi.ts", "diff": "@@ -30,4 +30,10 @@ export default interface WriteApi {\n* @return completition promise\n*/\nclose(): Promise<void>\n+\n+ /**\n+ * Unlike close, dispose simply quits without trying to send\...
TypeScript
MIT License
influxdata/influxdb-client-js
finalize test for write API essentials
305,159
06.12.2019 15:13:28
-3,600
ecf92e0bbabb02bb5191008e3b09a3972c916ab4
defactor the code, remove client directory
[ { "change_type": "RENAME", "old_path": "src/client/InfluxDB.ts", "new_path": "src/InfluxDB.ts", "diff": "" }, { "change_type": "RENAME", "old_path": "src/client/WriteApi.ts", "new_path": "src/WriteApi.ts", "diff": "" }, { "change_type": "DELETE", "old_path": "src/clie...
TypeScript
MIT License
influxdata/influxdb-client-js
defactor the code, remove client directory
305,159
06.12.2019 22:12:05
-3,600
001fc9acbe4aed1fa21b42a64cec7c17cd8bae5c
wip: add Point to represent measurement
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Point.ts", "diff": "+/**\n+ * Point defines the values that will be written to the database.\n+ * <a href=\"http://bit.ly/influxdata-point\">See Go Implementation</a>.\n+ */\n+export default class Point {\n+ private name: string\n+ private t...
TypeScript
MIT License
influxdata/influxdb-client-js
wip: add Point to represent measurement
305,159
08.12.2019 20:15:21
-3,600
7c353377b0f28e2e4856ed9fccfd2ab2aa2bbd6d
add point implementation with tests
[ { "change_type": "MODIFY", "old_path": "src/Point.ts", "new_path": "src/Point.ts", "diff": "+import {escape} from './grammar/escape'\n+import {PointSettings} from './options'\n/**\n* Point defines the values that will be written to the database.\n* <a href=\"http://bit.ly/influxdata-point\">See Go I...
TypeScript
MIT License
influxdata/influxdb-client-js
add point implementation with tests
305,159
09.12.2019 11:34:48
-3,600
13ffffaae5d494a665aa94f161a450a077751af8
add generated time support to Point + tests + refactoring
[ { "change_type": "MODIFY", "old_path": "src/Point.ts", "new_path": "src/Point.ts", "diff": "-import {escape} from './grammar/escape'\n+import {escape} from './util/escape'\nimport {PointSettings} from './options'\n/**\n* Point defines the values that will be written to the database.\n@@ -8,7 +8,7 @@...
TypeScript
MIT License
influxdata/influxdb-client-js
add generated time support to Point + tests + refactoring
305,159
09.12.2019 12:45:45
-3,600
4d28d26338d5b46658b3632c9b60f9e3b76beca8
chore: access current time functions also by name
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"scripts\": {\n\"build\": \"yarn run clean && NODE_ENV=production rollup -c\",\n\"build:doc\": \"yarn run clean && typedoc --out ./doc ./src\",\n- \"clean\": \"rimraf dist build coverage doc\",\n+ \"clean\":...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: access current time functions also by name
305,159
09.12.2019 15:53:49
-3,600
42cc0bc7a59ad3725ad50861f12299cfeba698eb
feat: add codecov for reporting code coverage
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"yarn run clean && NODE_ENV=production rollup -c\",\n\"build:doc\": \"yarn run clean && typedoc --out ./doc ./src\",\n\"clean\": \"rimraf dist build coverage .nyc_output doc\",\n+ \"codecov\": \"n...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add codecov for reporting code coverage
305,159
09.12.2019 15:56:37
-3,600
40ed66916b63ad2d8b615a7743df040827a6db58
feat: add circle CI
[ { "change_type": "ADD", "old_path": null, "new_path": ".circleci/config.yaml", "diff": "+version: 2.1\n+\n+workflows:\n+ build:\n+ jobs:\n+ - lint\n+ - unit-tests:\n+ version: 8\n+ - coverage\n+\n+jobs:\n+ lint:\n+ docker:\n+ - image: circleci/node:8\n+ steps:\n+ - checkout\n+ - restore_cache:\n+ na...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add circle CI
305,159
09.12.2019 16:11:30
-3,600
0ec3556d0a2c29a9cc9afded2576a0bc8bbf7e83
chore: increase node version
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -5,13 +5,13 @@ workflows:\njobs:\n- lint\n- unit-tests:\n- version: '8'\n+ version: '12'\n- coverage\njobs:\nlint:\ndocker:\n- - image: circleci/node:8\n+ - image: circleci/node:12\nsteps:\...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: increase node version
305,159
09.12.2019 16:24:16
-3,600
5cb21eaf67536d1f574a77bbdb20124a9c164190
chore: repair lint errors
[ { "change_type": "MODIFY", "old_path": "src/util/currentTime.ts", "new_path": "src/util/currentTime.ts", "diff": "@@ -2,14 +2,14 @@ import {WritePrecission} from '../options'\ndeclare let process: any\nconst zeroPadding = '000000000'\n-let useHrTime: boolean = false\n+let useHrTime = false\nexport f...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: repair lint errors
305,159
09.12.2019 16:25:00
-3,600
b69c067266e7047e2c3086233d27003c55a0d703
chore: repair coverage job in circle ci
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -71,7 +71,7 @@ jobs:\npaths:\n- ~/.cache/yarn\n- run:\n- name: Run tests and coverage\n+ name: Run tests and reports coverage\ncommand: |\n- yarn test:unit\n+ yarn coverage\nyarn codecov\n"...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: repair coverage job in circle ci
305,159
09.12.2019 16:31:29
-3,600
738807e3a00e0276e85b1ed21fa75c832e1b475c
feat: add codecov dev dependency
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"@typescript-eslint/eslint-plugin\": \"^2.9.0\",\n\"@typescript-eslint/parser\": \"^2.9.0\",\n\"chai\": \"^4.2.0\",\n- \"codedoc\": \"^0.0.0\",\n+ \"codecov\": \"^3.6.1\",\n\"eslint\": \"^6.7.1\",\n\"eslint-...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add codecov dev dependency
305,159
09.12.2019 19:57:43
-3,600
5cb97d80c5ed122550c456033ca858a66b6f6d9f
feat: trying to make code coverage work
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"yarn run clean && NODE_ENV=production rollup -c\",\n\"build:doc\": \"yarn run clean && typedoc --out ./doc ./src\",\n\"clean\": \"rimraf dist build coverage .nyc_output doc\",\n- \"codecov\": \"n...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: trying to make code coverage work
305,159
09.12.2019 20:38:43
-3,600
ac2e96fcb86c1ec415960c1dddccc64801d72309
chore: simplify circle CI
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -3,32 +3,11 @@ version: 2.1\nworkflows:\nbuild:\njobs:\n- - lint\n- unit-tests:\nversion: '12'\n- coverage\njobs:\n- lint:\n- docker:\n- - image: circleci/node:12\n- steps:\n- - checkout\n-...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: simplify circle CI
305,159
09.12.2019 20:51:55
-3,600
f06d0c05703e333a3b41fb08096f88a81b0989e4
chore: enhance clean target, add default codecov.yml
[ { "change_type": "ADD", "old_path": null, "new_path": "codecov.yml", "diff": "+coverage:\n+ status:\n+ project:\n+ default: true\n" }, { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"scripts\": {\n\"build\": \"yarn run clean && NODE_E...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: enhance clean target, add default codecov.yml
305,159
09.12.2019 21:23:46
-3,600
0ceb27952bcbf99ab575e7d7fcaaf6c6f7bf2199
chore: disable gcov coverage
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"yarn run clean && NODE_ENV=production rollup -c\",\n\"build:doc\": \"yarn run clean && typedoc --out ./doc ./src\",\n\"clean\": \"rimraf dist build coverage .nyc_output doc *.lcov\",\n- \"codecov...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: disable gcov coverage
305,159
10.12.2019 09:46:15
-3,600
90ea379001f18708734b555d7f3bc13aaa34a86d
chore: change badges
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "# influxdb-client-javascript\n-[![CircleCI](https://circleci.com/gh/sranka/influxdb-client-js.svg?style=svg)](https://circleci.com/gh/sranka/influxdb-client-js)\n-[![codecov](https://codecov.io/gh/sranka/influxdb-c...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: change badges
305,159
10.12.2019 10:19:58
-3,600
58b8949b9fe2e8b337ca40b5a8f8118287222792
chore: trying to fix code coverage with circle CI
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build\": \"yarn run clean && NODE_ENV=production rollup -c\",\n\"build:doc\": \"yarn run clean && typedoc --out ./doc ./src\",\n\"clean\": \"rimraf dist build coverage .nyc_output doc *.lcov\",\n- \"codecov...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: trying to fix code coverage with circle CI
305,159
10.12.2019 10:39:53
-3,600
b4f0226153587a3d21ab5aca08cfae804af1875b
chore: add and use CI targets from package.json
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -28,11 +28,19 @@ jobs:\nkey: yarn-packages-{{ checksum \"yarn.lock\" }}\npaths:\n- ~/.cache/yarn\n+ - run: mkdir reports\n- run:\n- name: Run test\n+ name: Run tests\ncommand: |\n- yarn lin...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: add and use CI targets from package.json
305,159
10.12.2019 11:19:59
-3,600
0d4f6e22b0f5e671467caee845e02ca9e8d8eb8b
chore: tune coverage reporting
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -60,10 +60,15 @@ jobs:\npaths:\n- ~/.cache/yarn\n- run:\n- name: Run tests and reports coverage to codecov\n- command: |\n- yarn coverage\n- yarn codecov\n- - store_artifacts: # upload test...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: tune coverage reporting
305,159
10.12.2019 12:47:33
-3,600
2ef94eea7f5f15967b1d4b33f22fb4fcec3949bf
chore: print yarn version in circle ci coverage
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -61,7 +61,9 @@ jobs:\n- ~/.cache/yarn\n- run:\nname: Runs tests with coverage\n- command: yarn coverage\n+ command: |\n+ yarn --version\n+ yarn coverage\n- run:\nname: Report test results t...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: print yarn version in circle ci coverage
305,159
10.12.2019 13:02:54
-3,600
d9efe970d04e0be97badb2715ead584c27f4016c
fix: preair coverage reporting by using npm, workaround
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -67,10 +67,7 @@ jobs:\n- run:\nname: Report test results to codecov\ncommand: yarn codecov\n- - store_artifacts:\n- path: ./.nyc_output\n- store_artifacts:\npath: ./coverage\n- # - store_ar...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: preair coverage reporting by using npm, workaround https://github.com/istanbuljs/nyc/issues/921
305,159
10.12.2019 13:17:18
-3,600
30fbd76d934ae58ab457b61eba5f08e6f7ac2c17
fix: repair coverage reporting, use npm to workaround
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "version: 2.1\n-workflows:\n- build:\n- jobs:\n- - unit-tests:\n- version: '12'\n- - coverage\n-\n-jobs:\n- unit-tests:\n- parameters:\n- version:\n- type: string\n- docker:\n- - image: circlec...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: repair coverage reporting, use npm to workaround https://github.com/istanbuljs/nyc/issues/921
305,159
10.12.2019 13:43:06
-3,600
3ec912d665a753c45216a14c9bcc9b6f366f20fa
feat: simplify point API
[ { "change_type": "MODIFY", "old_path": "src/Point.ts", "new_path": "src/Point.ts", "diff": "@@ -38,7 +38,7 @@ export default class Point {\n* @param value tag value\n* @return this\n*/\n- public addTag(name: string, value: string): Point {\n+ public tag(name: string, value: string): Point {\nthis.ta...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: simplify point API
305,159
10.12.2019 14:11:44
-3,600
b6e5644132aeb1dfd99217f04d522d6b01ab17ee
feat: improve code coverage
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -156,7 +156,8 @@ export class NodeHttpTransport implements Transport {\nres.on('aborted', () => {\nlisteners.error(new ResponseAbortedError())\n})\n- const statusCode = re...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: improve code coverage
305,159
10.12.2019 14:16:26
-3,600
81dc9189806aa2dd768dbe65047e22c1f7e284fb
fix: improve coverage of errors
[ { "change_type": "MODIFY", "old_path": "src/errors.ts", "new_path": "src/errors.ts", "diff": "@@ -12,6 +12,7 @@ export function isStatusCodeRetriable(statusCode: number): boolean {\n}\nexport class IllegalArgumentError extends Error {\n+ /* istanbul ignore next */\nconstructor(message: string) {\nsu...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: improve coverage of errors
305,159
10.12.2019 14:18:53
-3,600
1012242c6d35a49784eb0c5e0e58f8d0f0cc4844
fix: improve coverage of WriteApiImpl
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -135,6 +135,7 @@ export default class WriteApiImpl implements WriteApi, PointSettings {\nconst scheduleNextSend = (): void => {\nif (writeOptions.flushInterval > 0) {\nthis._clearFl...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: improve coverage of WriteApiImpl
305,159
11.12.2019 09:00:32
-3,600
dd98dc829abd9d3fc59945c4a5089a40e980eea1
feat(errors): improve tests for errors
[ { "change_type": "MODIFY", "old_path": "src/errors.ts", "new_path": "src/errors.ts", "diff": "@@ -25,7 +25,7 @@ export class IllegalArgumentError extends Error {\nexport class HttpError extends Error implements RetriableDecision {\nprivate _retryAfter: number\n- /* istanbul ignore next */\n+ /* ista...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(errors): improve tests for errors
305,159
11.12.2019 09:09:56
-3,600
7ac8cf7a13804b718272239995c0ecdc1b6eb4cd
feat: change iface to use ArrayLike
[ { "change_type": "MODIFY", "old_path": "src/WriteApi.ts", "new_path": "src/WriteApi.ts", "diff": "@@ -40,7 +40,7 @@ export default interface WriteApi {\n*\n* @param records lines in InfluxDB Line Protocol\n*/\n- writePoints(points: Array<Point>): void\n+ writePoints(points: ArrayLike<Point>): void\n...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: change iface to use ArrayLike
305,159
11.12.2019 09:37:18
-3,600
77d561c261448747f17582f5d6404efd2b433595
feat: generate API documentation
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -31,6 +31,7 @@ jobs:\ncommand: |\nyarn test:unit:ci\nyarn lint:ci\n+ yarn typedoc\n# Upload results\n- store_test_results:\npath: reports\n@@ -38,6 +39,8 @@ jobs:\npath: ./reports/mocha/tes...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: generate API documentation
305,159
11.12.2019 09:50:38
-3,600
f5ed57df787d0b97ad625480bde39bd2c2d163c0
chore: tune generator of api documentation
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"test:unit:ci\": \"yarn run test:unit --exit --reporter mocha-junit-reporter --reporter-options mochaFile=reports/mocha/test-results.xml\",\n\"test:watch\": \"mocha --require ts-node/register 'test/unit/**/*...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: tune generator of api documentation
305,159
11.12.2019 11:20:43
-3,600
deaabfa0f7f4f4b2128b2d65c5be6c77ae49a67f
feat: change observer to be a multi-purpose interface
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -88,7 +88,7 @@ export class NodeHttpTransport implements Transport {\npath: string,\nbody: string,\noptions: SendOptions,\n- callbacks?: Partial<CommunicationObserver>\n+ ...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: change observer to be a multi-purpose interface
305,159
11.12.2019 12:50:17
-3,600
8c843723924efd11f4178d177c44690bf7908b05
feat: change default content type to application/json
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -118,7 +118,7 @@ export class NodeHttpTransport implements Transport {\npath,\nmethod: sendOptions.method,\nheaders: {\n- 'content-type': 'text/plain; charset=utf-8',\n+ '...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: change default content type to application/json
305,159
11.12.2019 13:10:39
-3,600
ff58e6dbf773dad36e171c16f64223e224692542
chire: change package name
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n- \"name\": \"influxdb-client\",\n+ \"name\": \"@influxdata/influxdb2-client\",\n\"version\": \"0.0.1\",\n- \"description\": \"InfluxDB client\",\n+ \"description\": \"InfluxDB 2.0 client\",\n\"main\": \"d...
TypeScript
MIT License
influxdata/influxdb-client-js
chire: change package name
305,159
11.12.2019 13:11:27
-3,600
8a483af901ecfab0bb9b8e259604af7b11b7731f
use api/v2 prefix
[ { "change_type": "MODIFY", "old_path": "src/WriteApi.ts", "new_path": "src/WriteApi.ts", "diff": "import Point from './Point'\n/**\n- * The asynchronous non-blocking API to Write time-series data into InfluxDB 2.0.\n+ * The asynchronous buffering API to Write time-series data into InfluxDB 2.0.\n* <...
TypeScript
MIT License
influxdata/influxdb-client-js
use api/v2 prefix
305,159
11.12.2019 15:59:40
-3,600
d2c270dee98c4e7c5552a75bf9f594d81d9e4136
feat: add line splitter from Buffer chunks
[ { "change_type": "ADD", "old_path": null, "new_path": "src/impl/ChunksToLines.ts", "diff": "+import {CommunicationObserver, Cancellable} from '../transport'\n+import {Buffer} from 'buffer'\n+/**\n+ * Receives data in chunks and fires just lines\n+ */\n+export default class ChunksToLines implements C...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add line splitter from Buffer chunks
305,159
11.12.2019 18:04:40
-3,600
2f9a1134b6be32dacd84eef5ac1a4bb2659d544c
feat: add query api with simple raw query
[ { "change_type": "MODIFY", "old_path": "src/InfluxDB.ts", "new_path": "src/InfluxDB.ts", "diff": "@@ -5,6 +5,8 @@ import {parse} from 'url'\nimport {IllegalArgumentError} from './errors'\nimport {Transport} from './transport'\nimport NodeHttpTransport from './impl/NodeHttpTransport'\n+import QueryAp...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add query api with simple raw query
305,159
12.12.2019 08:14:23
-3,600
83dcaa5a5fb6cce2cbb551d1b346fd539d2425a9
fix: access buffer as uint8 array
[ { "change_type": "MODIFY", "old_path": "src/impl/ChunksToLines.ts", "new_path": "src/impl/ChunksToLines.ts", "diff": "@@ -47,12 +47,11 @@ export default class ChunksToLines implements CommunicationObserver<any> {\n}\nlet quoted = false\nwhile (index < chunk.length) {\n- const c = chunk.readInt8(inde...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: access buffer as uint8 array
305,159
12.12.2019 11:23:21
-3,600
ff124cdd1687c199610c0c851e22ea95b1909132
chore: use query samples with annotation lines
[ { "change_type": "MODIFY", "old_path": "test/fixture/query/simpleResponse.txt", "new_path": "test/fixture/query/simpleResponse.txt", "diff": "+#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,double,string,string,string\n+#group,false,false,true,true,false,false,true,true,tru...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: use query samples with annotation lines
305,159
12.12.2019 11:24:50
-3,600
54049d270207ccf7f593d6dea439544f1e20045b
feat: add query example
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/env.ts", "diff": "+export const url = process.env['INFLUXDB_URL'] || 'http://localhost:9999'\n+export const token = process.env['INFLUXDB_TOKEN'] || 'my-token'\n+export const org = 'my-org'\n" }, { "change_type": "ADD", "old...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add query example
305,159
12.12.2019 13:50:24
-3,600
eeaa7682fc5ef8850154527e49b45bf47f2426d8
feat: add simple write example
[ { "change_type": "MODIFY", "old_path": "examples/env.ts", "new_path": "examples/env.ts", "diff": "+/*\n+Exports constants that are used by examples herein.\n+*/\n+\nexport const url = process.env['INFLUXDB_URL'] || 'http://localhost:9999'\nexport const token = process.env['INFLUXDB_TOKEN'] || 'my-to...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add simple write example
305,159
12.12.2019 14:49:23
-3,600
1d1cbd5630e6a71f0b073cdcacf7001e97499c39
chore: fix spelling typo in precision
[ { "change_type": "MODIFY", "old_path": "src/InfluxDB.ts", "new_path": "src/InfluxDB.ts", "diff": "import WriteApi from './WriteApi'\n-import {ClientOptions, WritePrecission} from './options'\n+import {ClientOptions, WritePrecision} from './options'\nimport WriteApiImpl from './impl/WriteApiImpl'\nim...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: fix spelling typo in precision
305,159
12.12.2019 15:11:55
-3,600
e610b5aed4cd7357526be0de83763a72ddf8a025
feat: use ns precision ootb, always generate unique ns timestamp
[ { "change_type": "MODIFY", "old_path": "src/InfluxDB.ts", "new_path": "src/InfluxDB.ts", "diff": "@@ -76,7 +76,7 @@ export default class InfluxDB {\ngetWriteApi(\norg: string,\nbucket: string,\n- precision: WritePrecision = WritePrecision.ms\n+ precision: WritePrecision = WritePrecision.ns\n): Write...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: use ns precision ootb, always generate unique ns timestamp
305,159
13.12.2019 11:02:24
-3,600
5d42cae692ba03c3d48b3f03c849b3e4a971d909
fix: enhance current time tests and impl
[ { "change_type": "MODIFY", "old_path": "src/util/currentTime.ts", "new_path": "src/util/currentTime.ts", "diff": "@@ -9,13 +9,27 @@ export function useProcessHrtime(use: boolean): boolean {\n}\nuseProcessHrtime(true) // preffer node\n+let startHrMillis: number | undefined = undefined\n+let startHrTi...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: enhance current time tests and impl
305,159
13.12.2019 18:59:30
-3,600
bd7efb2a1f0cce06c5b45b4d13236eb5649043e8
feat(query api): create objects from records using table metadata
[ { "change_type": "MODIFY", "old_path": "src/impl/linesToTables.ts", "new_path": "src/impl/linesToTables.ts", "diff": "@@ -2,7 +2,7 @@ import {CommunicationObserver} from '../transport'\nimport Cancellable from '../util/Cancellable'\nimport FluxResultObserver from '../query/FluxResultObserver'\nimpor...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(query api): create objects from records using table metadata
305,159
13.12.2019 19:04:38
-3,600
b498f0c0089b4b26dc8af72845a91632549e2c35
feat(query api): add queryRows
[ { "change_type": "MODIFY", "old_path": "src/QueryApi.ts", "new_path": "src/QueryApi.ts", "diff": "@@ -50,5 +50,5 @@ export default interface QueryApi {\n* @param record single line in the query result\n* @param consumer data/error consumer\n*/\n- queryTables(query: string, consumer: FluxResultObserv...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(query api): add queryRows
305,159
13.12.2019 19:44:51
-3,600
c683f224a172ef1534ee1d6cf173ba911d0eb4ac
feat(query api): add query example
[ { "change_type": "MODIFY", "old_path": "examples/query.ts", "new_path": "examples/query.ts", "diff": "import {InfluxDB} from '../src'\nimport {url, token, org} from './env'\n+import FluxTableMetaData from '../src/query/FluxTableMetaData'\nconst queryApi = new InfluxDB({url, token}).getQueryApi(org)\...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(query api): add query example
305,159
16.12.2019 09:24:36
-3,600
d162dcde9cdcdcb52765a6b2cabf7266d36eb410
feat: expose query APIs from module
[ { "change_type": "MODIFY", "old_path": "examples/query.ts", "new_path": "examples/query.ts", "diff": "import {InfluxDB} from '../src'\nimport {url, token, org} from './env'\n-import FluxTableMetaData from '../src/query/FluxTableMetaData'\n+import {FluxTableMetaData} from '../src/query'\nconst queryA...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: expose query APIs from module
305,159
16.12.2019 09:24:48
-3,600
769c2d087315e030e253df3faa423c87834f622f
feat: document examples
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -15,15 +15,17 @@ This library is a work in progress and should not be considered production ready\n## ToDos\n- this documentation\n+- add limited buffer for write retries / RX.js\n- all APIs (generated)\n-- use ...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: document examples
305,159
16.12.2019 09:32:41
-3,600
875151a68bec370fbe2b69805105634ede3ca7c7
chore: update examples readme
[ { "change_type": "MODIFY", "old_path": "examples/README.md", "new_path": "examples/README.md", "diff": "# InfluxDB Client Examples\n- Prerequisites\n- - [https://yarnpkg.com/lang/en/docs/install/](yarn) installed\n+ - [yarn](https://yarnpkg.com/lang/en/docs/install/) installed\n- Run `yarn install`\...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: update examples readme
305,159
16.12.2019 10:50:39
-3,600
47e6dc93bc3777e81012d8f116ffa5ee56adcce1
fix: avoid running npm to workaround nyc coverage not being able to run yarn
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"build:doc\": \"yarn run clean && typedoc --out ./doc ./src\",\n\"clean\": \"rimraf dist build coverage .nyc_output doc *.lcov reports\",\n\"codecov\": \"nyc report --reporter=text-lcov > coverage/coverage.l...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: avoid running npm to workaround nyc coverage not being able to run yarn
305,159
16.12.2019 11:51:53
-3,600
8d0c90aef23b5051fec732fa4e258ae050fd895f
chore: repair links, add docs
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -24,9 +24,9 @@ This library is a work in progress and should not be considered production ready\n## Usage\n-- [Examples](./tree/master/examples)\n- - [Write to InfluxDB](./blob/master/examples/write.ts)\n- - [Qu...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: repair links, add docs
305,159
16.12.2019 11:56:46
-3,600
4ffb2d5b94d3bfa85b15c920a40683d0171c7783
chore: bump version to 0.1.0
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "{\n\"name\": \"influxdb2-client\",\n- \"version\": \"0.0.1\",\n+ \"version\": \"0.1.0\",\n\"description\": \"InfluxDB 2.0 client\",\n\"main\": \"dist/index.js\",\n\"module\": \"dist/index.mjs\",\n\"sinon\": \...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: bump version to 0.1.0
305,159
16.12.2019 12:40:09
-3,600
cc20a0f46d9b5f64644f7a05af27b9036202dbd9
chore: rename member to better match semantics
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -18,7 +18,7 @@ class WriteBuffer {\nmessage?: string = undefined\nconstructor(\n- private maxRecords: number,\n+ private maxChunkRecords: number,\nprivate flushFn: (message: string)...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: rename member to better match semantics
305,159
16.12.2019 13:16:27
-3,600
c40144beb52bb7c112c9f7060468bdf805191351
chore: change impl for refactoring
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -5,6 +5,7 @@ import {\nClientOptions,\nDEFAULT_ConnectionOptions,\nPointSettings,\n+ WriteOptions,\n} from '../options'\nimport {Transport, SendOptions} from '../transport'\nimport ...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: change impl for refactoring
305,159
16.12.2019 13:58:34
-3,600
36590bc07741bcf477bb163c8e9dd76335c75cd2
feat: allow to queue retries in lines
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -16,21 +16,21 @@ import {currentTime} from '../util/currentTime'\nclass WriteBuffer {\nlength = 0\n- message?: string = undefined\n+ message: string[]\nconstructor(\nprivate maxChun...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: allow to queue retries in lines
305,159
16.12.2019 14:26:52
-3,600
179b147888a79b4e4ddee2669f58a94566bff8a5
fix: exclude default write options from testing
[ { "change_type": "MODIFY", "old_path": "test/unit/impl/WriteApiImpl.test.ts", "new_path": "test/unit/impl/WriteApiImpl.test.ts", "diff": "@@ -4,7 +4,6 @@ import NodeHttpTransport from '../../../src/impl/NodeHttpTransport'\nimport {\nClientOptions,\nWritePrecision,\n- DEFAULT_WriteOptions,\nWriteOpti...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: exclude default write options from testing
305,159
16.12.2019 15:21:44
-3,600
8d941a19a0f90d79f9d82622d8973d7fb75e8e1e
fix(write API): don't retry calls on close
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -201,7 +201,7 @@ export default class WriteApiImpl implements WriteApi, PointSettings {\nreturn this.buffer.flush()\n}\nclose(): Promise<void> {\n- const retVal = this.flush()\n+ co...
TypeScript
MIT License
influxdata/influxdb-client-js
fix(write API): don't retry calls on close
305,159
16.12.2019 15:48:16
-3,600
c39100f0a33233e5dc51d5456b4ab85c70ea9e96
fix: compute retry delay with optional jitter
[ { "change_type": "MODIFY", "old_path": "src/errors.ts", "new_path": "src/errors.ts", "diff": "@@ -92,18 +92,26 @@ export function canRetryHttpCall(error: any): boolean {\n/**\n* Gets retry delay from the supplied error, possibly using random number up to retryJitter.\n*/\n-export function getRetryDe...
TypeScript
MIT License
influxdata/influxdb-client-js
fix: compute retry delay with optional jitter
305,159
16.12.2019 20:58:48
-3,600
12c06113ccb6399b1a00d2b26781a481b25e9ff5
feat: introduce retry buffer
[ { "change_type": "ADD", "old_path": null, "new_path": "src/impl/RetryBuffer.ts", "diff": "+import Logger from './Logger'\n+\n+// TODO create retry options\n+/* minimum time to schedule retry */\n+const MIN_RETRY_DELAY = 100\n+/* interval between successful retries */\n+const RETRY_INTERVAL = 1\n+\n+...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: introduce retry buffer
305,159
17.12.2019 14:41:29
-3,600
9c0ac3167665797f23d81eae4242536d4ed94ecf
feat: introduce retry strategy
[ { "change_type": "MODIFY", "old_path": "src/errors.ts", "new_path": "src/errors.ts", "diff": "export interface RetriableDecision {\ncanRetry(): boolean\n/**\n- * Get the delay in millisecond to retry the action. Can return negative number\n- * to let the implementation decide the delay.\n+ * Get the...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: introduce retry strategy
305,159
17.12.2019 14:55:57
-3,600
09afec2928e687ff1a25b6b99b7db9d6cf5b6def
feat(retry): use retry strategy in node transport
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -7,11 +7,11 @@ import {\nRequestTimedOutError,\nResponseAbortedError,\ncanRetryHttpCall,\n- getRetryDelay,\nHttpError,\n} from '../errors'\nimport {CommunicationObserver, ...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(retry): use retry strategy in node transport
305,159
17.12.2019 15:01:17
-3,600
ed83872f85b8893e54feb6868a07fde26e464a64
feat: simplify query demo
[ { "change_type": "MODIFY", "old_path": "examples/query.ts", "new_path": "examples/query.ts", "diff": "// Shows how to use InfluxDB query API. //\n//////////////////////////////////////////\n-import {InfluxDB} from '../src'\n+import {InfluxDB, FluxTableMetaData} from '../src'\nimport {url, token, org...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: simplify query demo
305,159
17.12.2019 15:53:47
-3,600
017a6333fb0c035cd4b4dc84771535a4800d0b59
feat: add RetryBuffer tests
[ { "change_type": "MODIFY", "old_path": "src/impl/RetryBuffer.ts", "new_path": "src/impl/RetryBuffer.ts", "diff": "import Logger from './Logger'\n-// TODO create retry options\n-/* minimum time to schedule retry */\n-const MIN_RETRY_DELAY = 100\n/* interval between successful retries */\nconst RETRY_...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add RetryBuffer tests
305,159
18.12.2019 06:49:18
-3,600
bd9f9a1d404cafb99bed9d6e572f4bfd58bd1bdf
feat: use RetryBuffer in WriteApiImpl
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -9,10 +9,12 @@ import {\n} from '../options'\nimport {Transport, SendOptions} from '../transport'\nimport Logger from './Logger'\n-import {getRetryDelay, HttpError} from '../errors'...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: use RetryBuffer in WriteApiImpl
305,159
18.12.2019 07:58:12
-3,600
82e76911dcb2c20ea8c3292d0a06e079d0a7c669
feat: introduce RetryDelayStrategy
[ { "change_type": "MODIFY", "old_path": "src/errors.ts", "new_path": "src/errors.ts", "diff": "+/**\n+ * Strategy for calculating retry delays.\n+ */\n+export interface RetryDelayStrategy {\n+ /**\n+ * Returns delay for a next retry\n+ * @param error reason for retrying\n+ * @return milliseconds\n+ *...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: introduce RetryDelayStrategy
305,159
18.12.2019 11:49:25
-3,600
9e0c39b9369354c3686898384399f83869cb74e5
fix(ligging): do not print error when missing
[ { "change_type": "MODIFY", "old_path": "src/impl/Logger.ts", "new_path": "src/impl/Logger.ts", "diff": "* Logging interface.\n*/\nexport interface Logger {\n- error(message: string, err: any): void\n- warn(message: string, err: any): void\n+ error(message: string, err?: any): void\n+ warn(message: s...
TypeScript
MIT License
influxdata/influxdb-client-js
fix(ligging): do not print error when missing
305,159
18.12.2019 16:23:40
-3,600
49e0b262409085912517ec59b79de56d6ed65902
feat(write): introduce write/retry options
[ { "change_type": "MODIFY", "old_path": "src/InfluxDB.ts", "new_path": "src/InfluxDB.ts", "diff": "@@ -84,7 +84,7 @@ export default class InfluxDB {\norg,\nbucket,\nprecision,\n- this._options\n+ this._options.writeOptions\n)\n}\n" }, { "change_type": "MODIFY", "old_path": "src/impl/Retry...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(write): introduce write/retry options
305,159
18.12.2019 16:27:34
-3,600
a495fd093e775a22d95dd135d67ce3ea3fe7788a
chore: do not instantiate retry strategy directly
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -11,7 +11,7 @@ import {HttpError, RetryDelayStrategy} from '../errors'\nimport Point from '../Point'\nimport {escape} from '../util/escape'\nimport {currentTime} from '../util/curre...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: do not instantiate retry strategy directly
305,159
18.12.2019 17:33:32
-3,600
ae607a8a1cd114d00e4b851ad719825a78502769
feat: log error message when reducing buffer size, reduce buffer to 70% when required
[ { "change_type": "MODIFY", "old_path": "src/impl/RetryBuffer.ts", "new_path": "src/impl/RetryBuffer.ts", "diff": "@@ -35,11 +35,20 @@ export default class RetryBuffer {\nif (retryTime > this.nextRetryTime) this.nextRetryTime = retryTime\n// ensure at most maxLines are in the Buffer\nif (this.first &...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: log error message when reducing buffer size, reduce buffer to 70% when required
305,159
18.12.2019 20:01:45
-3,600
16c77df68ce2c943bf898fc5ea0e0e43e68356bd
chore: minimize badges in readme
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "[![CircleCI](https://circleci.com/gh/bonitoo-io/influxdb-client-js.svg?style=svg)](https://circleci.com/gh/bonitoo-io/influxdb-client-js)\n[![codecov](https://codecov.io/gh/bonitoo-io/influxdb-client-js/branch/mast...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: minimize badges in readme
305,159
19.12.2019 10:49:58
-3,600
424c62111f3c4995d2314264db39ab2ead63b328
chore: reference examples frpom main doc
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -22,9 +22,7 @@ This library is a work in progress and should not be considered production ready\n## Usage\n-- [Examples](./examples)\n- - [Write to InfluxDB](./examples/write.ts)\n- - [Query InfluxDB](./examples...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: reference examples frpom main doc
305,159
19.12.2019 11:35:16
-3,600
670ab9c4ac7ca5599e0d06b3cb426d7ad5694abd
chore: require SendOptions in WriteApiImpl
[ { "change_type": "MODIFY", "old_path": "src/impl/WriteApiImpl.ts", "new_path": "src/impl/WriteApiImpl.ts", "diff": "@@ -58,7 +58,7 @@ export default class WriteApiImpl implements WriteApi, PointSettings {\nprivate closed = false\nprivate httpPath: string\nprivate writeOptions: WriteOptions\n- privat...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: require SendOptions in WriteApiImpl
305,159
19.12.2019 13:52:41
-3,600
b05a478421e169bc6a2f6bcd64b91deb09324a68
feat: lint also tests
[ { "change_type": "MODIFY", "old_path": ".eslintrc.json", "new_path": ".eslintrc.json", "diff": "],\n\"overrides\": [\n{\n- \"files\": [\"**/*.ts\"]\n+ \"files\": [\"src/**/*.ts\"]\n},\n{\n\"files\": [\"**/*.js\"],\n" }, { "change_type": "MODIFY", "old_path": "package.json", "new_path...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: lint also tests
305,159
19.12.2019 16:16:50
-3,600
071d06a2eb27718f11fcc4c57c4053080bce8803
feat: add request method to transport
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -10,7 +10,12 @@ import {\nHttpError,\nRetryDelayStrategy,\n} from '../errors'\n-import {CommunicationObserver, Transport, SendOptions} from '../transport'\n+import {\n+ Co...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add request method to transport
305,159
20.12.2019 06:57:27
-3,600
a3aad20dacd8672772d248ec04159c21b21eb320
feat: simply node transport by removing retries
[ { "change_type": "MODIFY", "old_path": "src/errors.ts", "new_path": "src/errors.ts", "diff": "@@ -27,8 +27,9 @@ export interface RetriableDecision {\nretryAfter(): number\n}\n+const retriableStatusCodes = [404, 408, 425, 429, 500, 502, 503, 504]\nexport function isStatusCodeRetriable(statusCode: num...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: simply node transport by removing retries
305,159
20.12.2019 10:09:55
-3,600
3f44364543252cfe5f5f766e43503b7ab1cd8c0b
feat: process gzip response encoding
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -11,6 +11,12 @@ import {\nHeaders,\n} from '../transport'\nimport Cancellable from '../util/Cancellable'\n+import zlib from 'zlib'\n+\n+const zlibOptions = {\n+ flush: zli...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: process gzip response encoding
305,159
20.12.2019 10:32:19
-3,600
1c9ba451a5ab02c4e0a60a7e242a80db10f9d19a
feat(query): alllow to control accept-encoding of query responses with a gzip flag
[ { "change_type": "MODIFY", "old_path": "src/QueryApi.ts", "new_path": "src/QueryApi.ts", "diff": "@@ -22,6 +22,10 @@ export interface QueryOptions {\n* Required only for \"influxql\" queries.\n*/\nrp?: string\n+ /**\n+ * Requests gzip encoded response.\n+ */\n+ gzip?: boolean\n}\n/**\n" }, { ...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(query): alllow to control accept-encoding of query responses with a gzip flag
305,159
20.12.2019 10:52:54
-3,600
b12ba409428fc9bb4958711425a4c2f43d5b958f
feat(write): isolate write tests
[ { "change_type": "MODIFY", "old_path": "src/WriteApi.ts", "new_path": "src/WriteApi.ts", "diff": "@@ -12,7 +12,7 @@ export default interface WriteApi {\n* Not applicable for writing records/lines.\n* @param tags\n*/\n- useDefaultTags(tags: {[key: string]: string}): void\n+ useDefaultTags(tags: {[key...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(write): isolate write tests
305,159
02.01.2020 10:09:49
-3,600
88c0fa06986552b473fb84a76fc911c797d54178
feat(transport): remove maxRetries from SendOptions
[ { "change_type": "MODIFY", "old_path": "src/impl/NodeHttpTransport.ts", "new_path": "src/impl/NodeHttpTransport.ts", "diff": "@@ -158,8 +158,6 @@ export class NodeHttpTransport implements Transport {\nif (this.connectionOptions.token) {\noptions.headers.authorization = 'Token ' + this.connectionOpti...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(transport): remove maxRetries from SendOptions
305,159
02.01.2020 13:01:45
-3,600
1e5c6ff652d8168311c981bfd6a157e5bee64992
feat(query): remove query API dependency on node Buffer
[ { "change_type": "MODIFY", "old_path": "src/impl/ChunksToLines.ts", "new_path": "src/impl/ChunksToLines.ts", "diff": "-import {CommunicationObserver} from '../transport'\n+import {CommunicationObserver, ChunkCombiner} from '../transport'\nimport Cancellable from '../util/Cancellable'\n-import {Buffe...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(query): remove query API dependency on node Buffer
305,159
02.01.2020 13:15:56
-3,600
125de9312d1579847c8fe388062f4d40ccb7b04d
chore: add no-console to lint
[ { "change_type": "MODIFY", "old_path": ".eslintrc.json", "new_path": ".eslintrc.json", "diff": "\"prettier/@typescript-eslint\"\n],\n\"rules\": {\n+ \"no-console\": \"warn\",\n\"@typescript-eslint/camelcase\": [\"error\", {\"allow\": [\"^DEFAULT_\"]}],\n\"@typescript-eslint/no-explicit-any\": \"off\...
TypeScript
MIT License
influxdata/influxdb-client-js
chore: add no-console to lint
305,159
02.01.2020 15:15:46
-3,600
0ac15de7d6414c9c55c7548ba3b57436dbd04141
feat: optimize ChunkCombiner
[ { "change_type": "MODIFY", "old_path": "src/impl/ChunksToLines.ts", "new_path": "src/impl/ChunksToLines.ts", "diff": "@@ -30,7 +30,9 @@ export default class ChunksToLines implements CommunicationObserver<any> {\ncomplete(): void {\nif (!this.finished) {\nif (this.previous) {\n- this.target.next(this...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: optimize ChunkCombiner
305,159
02.01.2020 20:25:53
-3,600
8184d6ec9d5351a5c33208969ffab09bfe6592f7
feat: add pure JS chunk combiner
[ { "change_type": "ADD", "old_path": null, "new_path": "src/impl/pureJsChunkCombiner.ts", "diff": "+import {ChunkCombiner} from '../transport'\n+\n+const pureJsChunkCombiner: ChunkCombiner = {\n+ concat(first: Uint8Array, second: Uint8Array): Uint8Array {\n+ const retVal = new Uint8Array(first.length...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: add pure JS chunk combiner
305,159
05.01.2020 10:10:39
-3,600
c6644d10a80d209332b34f253aaf9be23b3309c8
feat(setup): simplify API, add documentation
[ { "change_type": "MODIFY", "old_path": "examples/setupInfluxDB.ts", "new_path": "examples/setupInfluxDB.ts", "diff": "@@ -11,8 +11,8 @@ import {url, username, password, org, bucket, token} from './env'\nconst setupApi = new InfluxDB({url}).getSetupApi()\nsetupApi\n- .isOnboarded()\n- .then(async ({a...
TypeScript
MIT License
influxdata/influxdb-client-js
feat(setup): simplify API, add documentation
305,159
05.01.2020 10:21:12
-3,600
5a645bec50dcac6715069d351744603cdba8d51d
feat: declare UInt8Array as a type of chunk
[ { "change_type": "MODIFY", "old_path": "src/impl/ChunksToLines.ts", "new_path": "src/impl/ChunksToLines.ts", "diff": "@@ -13,7 +13,7 @@ export default class ChunksToLines implements CommunicationObserver<any> {\nprivate chunks: ChunkCombiner\n) {}\n- next(chunk: any): void {\n+ next(chunk: Uint8Arra...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: declare UInt8Array as a type of chunk
305,159
05.01.2020 23:21:32
-3,600
81aab04435666d0e6ee09907de9587e51dcd8bbd
feat: generate type definitions which are ignored by prettier
[ { "change_type": "ADD", "old_path": null, "new_path": ".prettierignore", "diff": "+**/*.d.ts\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "packages/core/rollup.config.js", "new_path": "packages/core/rollup.config.js", "diff": "@@ -12,7 +12,7 @@ const...
TypeScript
MIT License
influxdata/influxdb-client-js
feat: generate type definitions which are ignored by prettier