Commit Graph

228 Commits

Author SHA1 Message Date
Amir Blum ce7e98fd98
chore: indent the code with eslint (#2923)
* chore: indent the code with eslint

* chore: update changelog

* chore: add lint switch case indent

Co-authored-by: legendecas <legendecas@gmail.com>
2022-04-26 13:52:35 +08:00
Gerhard Stöbich a5135e20de
chore(deps): update dependency ts-mocha to v9 (#2920)
* chore(deps): update dependency ts-mocha to v9

* chore: remove test scripts if there are no tests

* chore: remvoe also coverage script

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: legendecas <legendecas@gmail.com>
2022-04-25 21:18:08 +02:00
Daniel Dyla a0a670a03f
Release proposal 1.2.0 / 0.28 (#2914) 2022-04-22 10:32:28 -04:00
Daniel Dyla ed2f033815
Merge back into a single lerna monorepo (#2892)
* chore: use a single lerna monorepo

* chore: release API dependencies

* chore: fix selenium exporter

* chore: support old API versions

* chore: update changelog

* chore: remove peer api check

* chore: changelog

* chore: fix cache keys and paths

* chore: fix lint cache

* ci: install when cache misses

* chore: apply cache fix to webworker and web

* chore: apply cache fix to lint

* chore: revert peer api check removal

* chore: match peer and dev dependency versions for API

* chore: send full string to lerna exec

* chore: use npm script for peer api check

* chore: use MetricAttributes in metrics

* chore: use MetricAttributes when appropriate

Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2022-04-18 11:12:16 +08:00
Svetlana Brennan da22673d10
docs(sdk): update earliest support node version (#2860)
Signed-off-by: Svetlana Brennan <svetlana.svn@gmail.com>
2022-03-27 23:53:46 +08:00
Daniel Dyla b0f8a2d36e
chore: release proposal v1.1.1 (#2853) 2022-03-22 15:01:42 -04:00
legendecas 1f0f6d9bf4
chore: add prepublishOnly to ensure a full build (#2844)
Co-authored-by: Gerhard Stöbich <deb2001-github@yahoo.de>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-03-23 01:08:38 +08:00
Daniel Dyla f384303ac4
chore: release proposal 1.1.0 (#2838) 2022-03-18 04:02:45 -04:00
Daniel Dyla ee2342bdb0
feat: add support for API 1.1.x (#2737) 2022-01-31 13:08:31 -05:00
Spencer Wilson ce5f7f7ec3
docs(context): Fix links, edit prose (#2619)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2022-01-31 14:31:16 +01:00
Rauno Viskus 3d5447defa
chore: rename `--include-filtered-dependencies` (#2699) 2022-01-04 14:54:48 -05:00
legendecas f59c5b268b
chore: add markdown link checks (#2657)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-12-11 21:31:36 +01:00
legendecas 6724a1bfe5
docs: fix links to the context document (#2651)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-12-06 14:52:33 -05:00
WhiteSource Renovate b9dffcafd3
chore(deps): update all non-major dependencies (#2449) 2021-11-15 14:25:43 -05:00
Daniel Dyla 9cf402ee42
chore: release proposal v1.0.1 / v0.27.0 (#2611) 2021-11-11 09:15:45 -05:00
Gerhard Stöbich fa0cb7270e
chore(deps): pin minor API version (#2531)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-10-27 09:02:40 -04:00
Daniel Dyla 69b925d142
chore: v1.0.0 proposal (#2468) 2021-09-30 16:40:20 -04:00
Daniel Dyla fa2e897587
chore: v0.26.0 proposal (#2505)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-09-30 08:26:34 -04:00
Daniel Dyla f0caa22ffc
chore: add release-please automation (#2431)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-08-30 16:37:19 -04:00
WhiteSource Renovate 3cbd530f2e
chore(deps): update all non-major dependencies (#2424) 2021-08-24 21:29:51 +02:00
Gerhard Stöbich 5bb9fcc4db
chore(deps): remove shimmer from dependencies (#2425) 2021-08-23 17:15:52 -04:00
Daniel Dyla 0ef1fc28d3
chore: release proposal 0.25.0 (#2415)
* chore: release proposal 0.25.0

* chore: changelog
2021-08-18 16:13:38 -04:00
WhiteSource Renovate b69ff35e90
chore(deps): update all non-major dependencies (#2401) 2021-08-06 13:26:16 +02:00
WhiteSource Renovate 3b9cd16a8e
chore(deps): update all non-major dependencies (#2383) 2021-07-30 21:36:46 +02:00
Daniel Dyla fd2410cc9e
chore: 0.24.0 release proposal (#2377) 2021-07-28 10:00:07 -04:00
WhiteSource Renovate 884d20ab41
chore(deps): update all non-major dependencies (#2372) 2021-07-23 19:37:18 +02:00
WhiteSource Renovate b67ca0568c
chore(deps): update all non-major dependencies (#2339) 2021-07-17 11:11:17 +02:00
Gerhard Stöbich 6ed8d92559
chore: remove ts-node from dev-deps (#2312) 2021-07-06 00:22:16 +02:00
WhiteSource Renovate 4b3425dd09
chore(deps): update all non-major dependencies (#2315) 2021-07-02 16:32:26 +02:00
Daniel Dyla f2a958dfee
chore: 0.23.0 proposal (#2310) 2021-06-30 16:02:09 -04:00
WhiteSource Renovate 5af147b159
chore(deps): update dependency ts-node to v10 (#2251) 2021-06-30 15:41:57 -04:00
Rauno Viskus 1998542d35
feat: unify the signatures of bind and with (#2247)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-06-30 14:50:04 -04:00
WhiteSource Renovate 01418978e5
chore(deps): update all non-major dependencies (#2188) 2021-06-30 14:33:50 -04:00
WhiteSource Renovate b442048818
chore(deps): pin dependency codecov to 3.8.2 (#2275) 2021-06-30 08:42:29 -04:00
Daniel Dyla 7860344eca
chore: release proposal 0.22.0 (#2288) 2021-06-17 12:58:59 -04:00
WhiteSource Renovate 5b6573eeff
chore(deps): update dependency @opentelemetry/api to v1 (#2276) 2021-06-12 10:18:42 +02:00
Daniel Dyla 7750282034
chore: 0.21.0 proposal (#2269) 2021-06-10 13:18:43 -04:00
Rauno Viskus 3d98420cf5
chore: add node:16 to the test matrix (#2244) 2021-06-08 09:21:13 -04:00
Daniel Dyla d4df2f7eba
chore: update API to 0.21.0 (#2255)
* chore: update API to 0.21.0

* chore: revert accidentally renamed argument

* chore: fix test

* chore: make tsdocs more clear
2021-06-05 10:23:21 +02:00
Daniel Dyla f79aef422b
Release Proposal 0.20.0 (#2246)
* chore: update tsconfig

* chore: 0.20.0 proposal

* chore: pin deps

* chore: pin deps that were previously pinned
2021-06-03 19:02:49 +02:00
Gerhard Stöbich d5517812b3
chore: update typescript to 4.3 and enable noImplicitOverride (#2241)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-06-01 15:40:04 -04:00
Bartlomiej Obecny ac81e17c68
chore: upgrading to api ver. 0.20.0 (#2225)
* chore: upgrading to api ver. 0.20.0
2021-05-25 23:32:54 +02:00
Daniel Dyla 24adbd6106
Remove GTS and prettier (#2204) 2021-05-19 14:01:32 -04:00
WhiteSource Renovate 2afcc7c90d
chore(deps): update all non-major dependencies (#2150) 2021-04-29 16:58:16 -04:00
WhiteSource Renovate a0385c4537
chore(deps): update all non-major dependencies (#2113) 2021-04-22 20:07:32 +02:00
Daniel Dyla 0c15999dcc
chore: 0.19.0 release proposal (#2107) 2021-04-22 08:13:36 -04:00
WhiteSource Renovate 4ef22cae74
chore(deps): update all non-major dependencies (#2090) 2021-04-12 15:34:05 -04:00
Gerhard Stöbich a2fff0dd2e
fix: correct removeAllListeners in case no event is passed (#2088)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-04-09 11:31:51 +02:00
Daniel Dyla 8e2e2a9653
chore: peer depend on API (#2074) 2021-04-05 13:45:00 -04:00
Daniel Dyla 02175dfafd
chore: update API dependency to 1.0.0-rc.0 (#2063) 2021-04-05 12:28:02 -04:00
WhiteSource Renovate cabf8630cf
chore(deps): update all non-major dependencies (#2047) 2021-03-30 19:18:40 +02:00
Daniel Dyla 2409f1cddd
chore: release proposal 0.18.2 (#2057) 2021-03-30 11:18:53 -04:00
Daniel Dyla 54857c0124
chore: downgrade API for patch release (#2056) 2021-03-30 08:56:02 -04:00
Daniel Dyla e369035cd2
chore: v0.18.1 release proposal (#2052) 2021-03-29 15:43:08 -04:00
Bartlomiej Obecny 69f2d3c264
chore: fixing broken links, updating to correct base url (#2040)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-03-24 20:32:52 +01:00
Daniel Dyla 8010ac2fcd
chore: use api release candidate (#2038) 2021-03-24 10:01:36 -04:00
WhiteSource Renovate 24bcfe8234
chore(deps): update all non-major dependencies (#1825) 2021-03-24 14:02:35 +01:00
Daniel Dyla 6540b54a8b
chore: release proposal 0.18.0 (#1982)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-03-02 08:45:56 -05:00
Gerhard Stöbich 67f7e70a3d
chore: update API to 0.18.0 (#1977) 2021-03-01 08:30:13 -05:00
Daniel Dyla 36ae1bd89a
chore: remove API and context-base (#1942)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-02-24 12:10:35 -05:00
Gerhard Stöbich 9437d7e886
fix: isolate binding EventEmitter (#1937)
Binding an EventEmitter a second time via another instances of ContextManager
shouldn't have side effects to the first ContextManager.

Use an unique symbol per ContextManager instance to isolate them.
2021-02-22 21:43:52 +01:00
Daniel Dyla a91ea7617f
chore: release 0.17.0 proposal (#1926)
* chore: release 0.17.0 proposal

* chore: bump backwards compatibility version

* chore: relock

* chore: update changelog
2021-02-17 16:06:47 -05:00
Gerhard Stöbich 70a128ff5d
feat: add support to forward args in context.with (#1883)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-02-08 11:12:34 -05:00
Daniel Dyla 7e423a9ec4
chore: do not check in lockfiles but cache them (#1896) 2021-02-04 16:28:07 -05:00
Daniel Dyla 3b5892b5ad
More specific api type names (#1874) 2021-02-04 13:00:28 -05:00
Gerhard Stöbich 65277da18d
chore: update to typescript 4.1 and gts 3 (#1890) 2021-02-03 11:53:25 -05:00
Bartlomiej Obecny e68863f8e6
0.16.0 proposal (#1888)
* chore: 0.16.0-proposal

* v0.16.0

* chore: aligning examples to have correct version that is compatible with contrib
2021-02-01 23:23:06 +01:00
Daniel Dyla de8c2be324
Check in lockfiles (#1829) 2021-01-28 14:59:12 -05:00
Daniel Dyla 1eed360e4e
chore: remove all gitter links and replace with dicussions (#1866)
* chore: remove all gitter links and replace with dicussions

* chore: remove reference to gitter in contributing.md
2021-01-27 09:34:54 -05:00
Daniel Dyla 5f4e479b27
Fix all links to point to main (#1865) 2021-01-25 16:19:27 -05:00
Daniel Dyla 960b868f5b
chore: 0.15.0 release proposal (#1836) 2021-01-21 16:56:31 -05:00
WhiteSource Renovate 14931cec97
chore(deps): update all non-major dependencies (#1767)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-01-14 14:20:58 -05:00
Daniel Dyla 7e5da4152d
chore: speed up builds (#1748) 2020-12-18 09:16:18 -05:00
Daniel Dyla 27a8d4530c
chore: version 0.14.0 proposal (#1763) 2020-12-17 15:44:39 -05:00
WhiteSource Renovate 0d06a52eed
chore(deps): update all non-major dependencies (#1716) 2020-12-11 17:18:05 +01:00
Daniel Dyla 86cbd6798f
chore: 0.13.0 proposal (#1718) 2020-12-04 16:14:05 -05:00
WhiteSource Renovate b22ca638ff
chore(deps): update dependency ts-mocha to v8 (#1639)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-12-02 11:50:12 -05:00
WhiteSource Renovate 6a55593cff
chore(deps): update all non-major dependencies (#1451) 2020-11-30 15:44:11 -05:00
Bartlomiej Obecny 3f72613a36
chore: 0.12.0 proposal (#1592)
* chore: 0.12.0 proposal
2020-10-19 14:39:09 +02:00
WhiteSource Renovate 6eb157c669
chore(deps): update dependency ts-node to v9 (#1473) 2020-09-30 14:27:53 +02:00
Daniel Dyla 75ae34c0a2
chore: use interface for context types (#1515) 2020-09-21 15:14:03 -04:00
Gerhard Stöbich 3bc4d57977
fix: ignore TIMERWRAP in AsyncHooksContextManager (#1530)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-09-21 12:18:07 -04:00
Bartlomiej Obecny 15174c6647
0.11.0 proposal (#1481) 2020-09-01 21:13:24 +02:00
WhiteSource Renovate f612922e8c
chore(deps): update all non-major dependencies (#1424) 2020-08-14 11:02:42 -04:00
Gerhard Stöbich bdc4c94491
feat: use a symbol to store patched listeners (#1356)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-12 12:03:15 -04:00
Gerhard Stöbich afebf1d550
chore: disallow undefined in context map (#1354)
* chore: disallow undefined in context map

* fixup! chore: disallow undefined in context map

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-11 08:38:30 -04:00
WhiteSource Renovate 978506ce75
chore(deps): update all non-major dependencies (#1402) 2020-08-10 00:38:38 -07:00
Daniel Dyla b247e69034
chore: 0.10.2 proposal (#1382) 2020-08-03 19:16:43 -04:00
WhiteSource Renovate 0cde542dc8
chore(deps): update all non-major dependencies (#1371) 2020-07-31 11:09:42 -04:00
Daniel Dyla 03981e4299
chore: 0.10.1 release proposal (#1359) 2020-07-28 11:07:22 -04:00
Daniel Dyla ab62a4d69b
chore: 0.10.0 release proposal (#1345) 2020-07-27 16:48:06 -04:00
WhiteSource Renovate c14000bd85
chore(deps): update all non-major dependencies (#1348) 2020-07-24 11:01:39 -07:00
WhiteSource Renovate 785442c500
chore(deps): update dependency @types/mocha to v8 (#1324)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-07-17 23:44:21 -07:00
WhiteSource Renovate 73fbbcb442
chore(deps): update all non-major dependencies (#1323) 2020-07-17 17:24:09 -04:00
Shivkanya Andhare 0b6dc93580
fix:typo (#1319) 2020-07-15 13:07:38 -07:00
WhiteSource Renovate cb753b6f1e
chore(deps): update all non-major dependencies (#1297)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-07-11 17:56:06 -07:00
Johannes Würbach bf2f6177ea
AsyncLocalStorage based ContextManager (#1210)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-06-25 22:17:15 -04:00
WhiteSource Renovate bff0b66186
chore(deps): update dependency @types/node to v14.0.14 (#1244) 2020-06-25 15:02:04 -04:00
Mark Wolff 153169af7d
fix(package.json): publish source maps (#1237)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-24 09:57:24 -07:00
Mayur Kale 904245f767
chore: 0.9.0 release proposal (#1208) 2020-06-18 14:20:29 -07:00
Mark Wolff e9b2cf9aeb
refactor: remove copyright year from file headers (#1150) 2020-06-12 09:27:21 -04:00
Daniel Dyla 5ea7060d61
Combined dependency updates (#1180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:47:57 -04:00
WhiteSource Renovate a576f3a812
Pin dependencies (#1154) 2020-06-09 13:52:36 -04:00
Naseem e93a86633b
ci: lint markdown files (#1147)
* ci: add markdown linting

Signed-off-by: Naseem <naseem@transit.app>

* fix: lint markdown files

Signed-off-by: Naseem <naseem@transit.app>

* docs: add markdown lint configuration

Signed-off-by: Naseem <naseem@transit.app>

* docs: lint change log

Signed-off-by: Naseem <naseem@transit.app>
2020-06-08 15:29:21 -04:00
Shivkanya Andhare 478f074fb7
update nyc to 15.1.0 in all package.json file (#1140) 2020-06-03 13:35:23 -07:00
Daniel Dyla 65b5ba2d04
chore: 0.8.3 release proposal (#1122) 2020-05-28 16:13:08 -04:00
Valentin Marchaud 12e6246bb9
fix(asynchooks-scope): fix context loss using .with() #1101 (#1099)
This addresses #1101 #752, and #1013

- Fix context loss when used in some async cases
2020-05-28 15:26:39 -04:00
Daniel Dyla 3dd522322b
chore: update @types/node (#1110) 2020-05-27 12:22:26 -07:00
Bartlomiej Obecny cfcf38e452
chore: test build (#1107)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-05-26 16:45:56 -04:00
Daniel Dyla 7233a03a50
chore: 0.8.2 release proposal (#1092) 2020-05-21 15:18:17 -04:00
Olivier Albertini 05e7bb9c8f
fix(lint): move tslint to eslint (#892) 2020-05-20 20:42:17 -07:00
Daniel Dyla d808ea72e3
chore: 0.8.1 release proposal (#1054) 2020-05-18 15:24:09 -04:00
shivkanya9146 6aa8ed4f98
chore(deps): update dependency mocha and ts-mocha to v7 (#1047) 2020-05-12 13:27:25 -07:00
Mayur Kale 94f7c4f780
chore: 0.8.0 release proposal (#1046) 2020-05-12 09:33:34 -07:00
Valentin Marchaud 5ea299da78
feat(context): implement withAsync #752 (#926) 2020-04-29 11:38:56 -04:00
Mayur Kale b28bed4791
chore: 0.7.0 release proposal (#973)
* chore: 0.7.0 release proposal

* chore: update CHANGELOG.md

* chore: update CHANGELOG
2020-04-24 11:09:37 -07:00
Daniel Dyla c5ed47d413
chore: 0.6.1 release proposal (#951) 2020-04-08 14:24:15 -04:00
shivkanya9146 c061699335
Updating out of date @types/mocha packages (#939)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-04-07 20:43:38 -07:00
Mayur Kale 5ea46ebf89
chore: 0.6.0 release proposal (#922)
* chore: 0.6.0 release proposal

* chore: update getting-started version
2020-04-02 10:19:33 -07:00
shivkanya9146 0d1c82c8f1
Updating out of date nyc packages (#917) 2020-03-31 12:13:58 -07:00
Daniel Dyla f695e40a96
chore: 0.5.2 release proposal (#907) 2020-03-27 10:58:34 -07:00
Daniel Dyla 20aaa4a5a1
chore: 0.5.1 release proposal (#883)
* chore: 0.5.1 release proposal

* chore: update changelog to match previous
2020-03-19 17:31:29 -07:00
Mayur Kale c013f3a45d
chore: 0.5.0 release proposal (#861) 2020-03-16 14:59:50 -07:00
Daniel Dyla 9a3fd7b560
Rename scope to context (#853) 2020-03-13 15:01:07 -04:00
Valentin Marchaud 0b7e08309b feat(scope-manager): implements AsyncHooks Scope Manager (#103)
* feat(scope-manager): Add AsyncHooks implementations of ScopeManager

* fix(ah-scope): remove shimmer, handle methods that remove listeners

* test(ah-scope): add tests for binding scope on event emitter

* feat(ah-scope): handle bind with promise + tests

* chore(ah-scope): update automatic tracer dependency to new name

* chore(ah-scope): remove support for event emitter and promises for now

* chore(ah-scope): address pr comments
2019-07-25 08:24:53 -07:00
Mark Wolff 5019fe2a58 Use V8 builtin coverage over nyc (#93)
* coverage: use native v8 over nyc

* codecov: use c8 over nyc

* gitignore: remove nyc references
2019-07-11 14:22:11 -07:00
Mayur Kale be3321d38b
Minor Fix (#76)
* Minor fix

* Remove Codecov from empty packages
2019-07-02 15:57:16 -07:00
Valentin Marchaud a60e4b1a41 Add context-base and context-asynchooks packages (#65) 2019-07-02 09:15:29 -07:00