Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: stripping out all jwt work as it was an unused experiment #7

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

erunion
Copy link
Member

@erunion erunion commented Jul 9, 2020

🧰 What's being changed?

The .login() method added two years ago was an experiment on various JWT ideas and since it hasn't been used, and is neither documented, we're pulling it.

@erunion erunion added area:node refactor Issues about tackling technical debt labels Jul 9, 2020
@erunion erunion requested review from mjcuva and kanadgupta July 9, 2020 00:07
Copy link
Member

@mjcuva mjcuva left a comment

Choose a reason for hiding this comment

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

I think this seems good!

@mjcuva mjcuva requested a review from domharrington July 9, 2020 00:09
@erunion erunion merged commit 2775e25 into master Jul 9, 2020
@erunion erunion deleted the feat/strip-out-jwt-work branch July 9, 2020 00:10
@kanadgupta
Copy link
Member

Oh also I was gonna say haha... we should axe this too:

"readmeUrl": "https://dash.readme.io",

@erunion
Copy link
Member Author

erunion commented Jul 9, 2020

Will axe that in #6

domharrington added a commit that referenced this pull request Apr 22, 2022
* feat: migrating the repository over to a monorepo structure (#5)

* feat: migrating the repository over to a monorepo structure

* ci: adding a pull request template

* docs: shuffling the readmes around

* feat: stripping out all jwt work as it was an unused experiment (#7)

* feat: allowing the sdk to create its own log ID (#6)

* feat: migrating the repository over to a monorepo structure

* ci: adding a pull request template

* docs: shuffling the readmes around

* chore(deps): add bson-objectid

* ✨ initial implementation of generating log ids

* 🚨 prettier

* Switch from documentation-url to log-id for now

* Eh, I like x-readme-log better

* test: adding tests to make sure log ids are uuids

* chore: removing an unused package

* chore: removing an unused package

Co-authored-by: Sean Dokko <dokko1230@gmail.com>
Co-authored-by: gkoberger <gkoberger@gmail.com>

* docs: updating links in the changelog to point to the new repo

* v3.0.0

* feat: PHP SDK (#9)

* docs: updating the year on the node pkg license

* feat: pulling over the php sdk from https://github.com/readmeio/metrics-php

* ci: directing the node workflow to only look at the node pkg

* style: suppressing a TaintedInput Psalm warning for now

* ci: pulling psalm taint analysis from ci for now

* fix: issue where the same logs would get sent multiple times (#8)

* fix: issue where the same logs would get sent multiple times

This is caused by us only clearing out the queue when the metrics
response came back

* Prettier

* fix: test coverage

* test: improving the tests for queue flushing

* test: delaying for 1s, not 1ms

* fix: removing an unused test callback that was put in place for mocha

* test: making requests slightly more unique to avoid test date flakiness

Co-authored-by: Dom Harrington <domharrington@protonmail.com>

* feat: reworking `x-readme-log` into `x-documentation-url` (#15)

* chore(deps): swapping r2 for node-fetch as r2 is an inactive project

* feat: changing x-readme-log to x-documentation-url and returning a full url

* test: fixing broken tests

* test: renaming the custom jest assertion to match up with the header name

* feat: implementing the x-documentation-url header in the php sdk

* fix: porting some readme api error handling over to node

* Update packages/node/config/localhost.json

Co-authored-by: Kanad Gupta <kanad@readme.io>

* docs: updating the node package docs a bit to have docs on options

* fix: letting base_log_url be set in the php config

* docs: adding documentation to the sdks on their new options

* test: fixing a broken test

Co-authored-by: Kanad Gupta <kanad@readme.io>

* v3.1.0

* chore(deps-dev): bump eslint from 7.4.0 to 7.5.0 (#17)

Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.4.0...v7.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump is-valid-uuid-v4 from 1.2.0 to 1.2.1 (#18)

Bumps [is-valid-uuid-v4](https://github.com/jammymalina/is-valid-uuid-v4) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/jammymalina/is-valid-uuid-v4/releases)
- [Commits](https://github.com/jammymalina/is-valid-uuid-v4/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: add content-type and user-agent headers (#19)

* fix: add json content-type when posting to metrics API

The Metrics API will 400 when receiving new logs

The content-type header isn't set since we're stringifying JSON via the node-fetch package now.

* test: add nock expectation for content-type header

* feat: add user agent to requests to ReadMe and Metrics APIs

* v3.1.1

* fix: prevent potentially null base log urls from being used (#20)

* fix: prevent potentially null baseUrls from being used

* test: fixing a test that was asserting against a false positive

* v3.1.2

* chore(deps-dev): bump nock from 13.0.2 to 13.0.3 (#22)

Bumps [nock](https://github.com/nock/nock) from 13.0.2 to 13.0.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.2...v13.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 7.5.0 to 7.6.0 (#23)

Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.5.0...v7.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump uuid from 8.2.0 to 8.3.0 (#24)

Bumps [uuid](https://github.com/uuidjs/uuid) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.2.0...v8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @readme/eslint-config from 3.3.3 to 3.4.0 (#25)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/3.3.3...3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 26.1.0 to 26.2.2 (#26)

Bumps [jest](https://github.com/facebook/jest) from 26.1.0 to 26.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.1.0...v26.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @readme/eslint-config from 3.4.0 to 3.4.1 (#27)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/3.4.0...3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump nock from 13.0.3 to 13.0.4 (#35)

Bumps [nock](https://github.com/nock/nock) from 13.0.3 to 13.0.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.3...v13.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 26.2.2 to 26.4.0 (#36)

Bumps [jest](https://github.com/facebook/jest) from 26.2.2 to 26.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.2.2...v26.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump lodash from 4.17.19 to 4.17.20 (#41)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump conventional-changelog-cli from 2.0.34 to 2.1.0 (#40)

Bumps [conventional-changelog-cli](https://github.com/conventional-changelog/conventional-changelog) from 2.0.34 to 2.1.0.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.0.34...conventional-changelog-cli@2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 7.6.0 to 7.7.0 (#37)

Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: release strategy (#63)

* ci: loading in splitsh for help to release sdks to r/o repos

* ci: setting up a split flow for mirroring packages to r/o repos

* chore(deps-dev): bump @readme/eslint-config from 3.4.1 to 3.4.2 (#65)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/3.4.1...3.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 26.4.0 to 26.4.2 (#66)

Bumps [jest](https://github.com/facebook/jest) from 26.4.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.0...v26.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump prettier from 2.0.5 to 2.1.1 (#82)

Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build: 4.0.0 release

* chore: ignore the __tests__ directory in the published node sdk

* chore(deps-dev): bump eslint from 7.7.0 to 7.8.0 (#89)

Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.7.0...v7.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#93)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump prettier from 2.1.1 to 2.1.2 (#102)

Bumps [prettier](https://github.com/prettier/prettier) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 7.8.0 to 7.10.0 (#113)

Bumps [eslint](https://github.com/eslint/eslint) from 7.8.0 to 7.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.0...v7.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @readme/eslint-config from 3.4.2 to 3.5.0 (#104)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.4.2 to 3.5.0.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/3.4.2...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump supertest from 4.0.2 to 5.0.0 (#107)

* chore(deps-dev): bump supertest from 4.0.2 to 5.0.0

Bumps [supertest](https://github.com/visionmedia/supertest) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v4.0.2...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* test: fix broken unit test

* chore: fixing merge conflicts

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
Co-authored-by: Jon Ursenbach <jon@ursenba.ch>

* chore(deps-dev): bump @readme/eslint-config from 3.5.0 to 3.6.2 (#124)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.5.0 to 3.6.2.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/3.5.0...3.6.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 26.4.2 to 26.6.0 (#123)

Bumps [jest](https://github.com/facebook/jest) from 26.4.2 to 26.6.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 7.10.0 to 7.11.0 (#122)

Bumps [eslint](https://github.com/eslint/eslint) from 7.10.0 to 7.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.10.0...v7.11.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add an option to use res in payload (#155)

* Add an option to use res in payload

implements readmeio/metrics-sdks#154

* add a test for group(req, res) objects

Co-authored-by: Michael DeRazon <michaeld@oncehub.com>

* build: node release 4.0.1

* chore(deps-dev): bump eslint from 7.11.0 to 7.16.0 (#168)

Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @readme/eslint-config from 3.6.2 to 4.1.0 (#172)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 3.6.2 to 4.1.0.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/3.6.2...4.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump ini from 1.3.5 to 1.3.8 (#157)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump uuid from 8.3.0 to 8.3.2 (#162)

Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.0 to 8.3.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.0...v8.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump prettier from 2.1.2 to 2.2.1 (#149)

Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump supertest from 5.0.0 to 6.0.1 (#145)

Bumps [supertest](https://github.com/visionmedia/supertest) from 5.0.0 to 6.0.1.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v5.0.0...v6.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump node-notifier from 8.0.0 to 8.0.1 in /packages/node (#158)

Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump conventional-changelog-cli from 2.1.0 to 2.1.1 (#146)

Bumps [conventional-changelog-cli](https://github.com/conventional-changelog/conventional-changelog) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/conventional-changelog/conventional-changelog/releases)
- [Commits](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-cli@2.1.0...conventional-changelog-cli@2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump flat-cache from 2.0.1 to 3.0.4 (#138)

Bumps [flat-cache](https://github.com/royriojas/flat-cache) from 2.0.1 to 3.0.4.
- [Release notes](https://github.com/royriojas/flat-cache/releases)
- [Changelog](https://github.com/royriojas/flat-cache/blob/master/changelog.md)
- [Commits](https://github.com/royriojas/flat-cache/compare/v2.0.1...v3.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump nock from 13.0.4 to 13.0.5 (#137)

Bumps [nock](https://github.com/nock/nock) from 13.0.4 to 13.0.5.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.4...v13.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 26.6.0 to 26.6.3 (#139)

Bumps [jest](https://github.com/facebook/jest) from 26.6.0 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.6.0...v26.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: implementing request timeouts in the node sdk (#182)

* feat: first pass on fetch timeouts

* test: removing timeout tests for now

* chore: docs

* fix: timeout is no longer user-configurable

* v4.0.2

* chore(deps-dev): bump eslint from 7.16.0 to 7.19.0 (#189)

Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.16.0...v7.19.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump nock from 13.0.5 to 13.0.7 (#192)

Bumps [nock](https://github.com/nock/nock) from 13.0.5 to 13.0.7.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.5...v13.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump supertest from 6.0.1 to 6.1.3 (#190)

Bumps [supertest](https://github.com/visionmedia/supertest) from 6.0.1 to 6.1.3.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v6.0.1...v6.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @readme/eslint-config from 4.1.0 to 4.1.1 (#184)

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/4.1.0...4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Rename certain SDK fields (#195)

* feat(node): deprecate blacklist/whitelist in favor of denylist/allowlist

* feat(node): add support for apiKey field, deprecating id field

* feat(ruby): favor api_key over deprecated id field

* feat(php): deprecate blacklist/whitelist in favor of denylist/allowlist

* feat(php): rename `id` field to `api_key` with backwards support

* fix(python): add tests for blacklist/whitelist & fix issues they they uncoverred

* fix(python): add test to payload builder

* feat(python): deprecate blacklist/whitelist in favor of denylist/allowlist

* feat(python): deprecate id field in grouping function in favor of api_key

* chore(python): run black

* fix(python): use importlib to grab package version

* fix(node): ensure docs reference actual user api key variable

* Update packages/php/src/config.dist.php

Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>

* fix(python): also rename internal PayloadBuilder variables

* fix(php): fix tests

* fix: interpolate actual API key into docs

* fix(ruby): tests

Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>

* chore: upgrade to npm 7 and a fix a few security vulnerabilities (#249)

* chore: upgrade to npm 7 and a fix a few security vulns

* chore: drop support for node 10

* chore: update node package dev dependencies (#253)

* chore: updating eslint and prettier dev deps

* chore: removing jsinspect

* chore: upgrading jest to jest27

* chore: updating hosted-git-info

* chore: upgrading conventional-changelog-cli

* chore: updating conventional-changelog deps

* chore: upgrading lerna to v4

* chore: upgrading nock

* v4.0.3

* feat(node): send a redacted string rather than omitting values for deny/allowlist (#259)

* v4.1.0

* chore(deps-dev): bump prettier from 2.3.1 to 2.3.2 (#268)

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 27.0.5 to 27.0.6 (#269)

Bumps [jest](https://github.com/facebook/jest) from 27.0.5 to 27.0.6.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.0.5...v27.0.6)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Node v4.2.0 - Clamp bufferLength, better dev mode debugging, and flush queue on process exit (#284)

* feat(node): cap the buffer length at 100 logs

* feat(node): ensure buffer length is between 1 and 30 and flush queue on process exit

* chore(deps-dev): bump @readme/eslint-config from 5.1.0 to 6.1.0 (#290)

* chore(deps-dev): bump @readme/eslint-config from 5.1.0 to 6.1.0

Bumps [@readme/eslint-config](https://github.com/readmeio/eslint-config) from 5.1.0 to 6.1.0.
- [Release notes](https://github.com/readmeio/eslint-config/releases)
- [Changelog](https://github.com/readmeio/eslint-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/readmeio/eslint-config/compare/5.1.0...6.1.0)

---
updated-dependencies:
- dependency-name: "@readme/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* style: commenting out an eslint rule warning

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Ursenbach <jon@ursenba.ch>

* chore(deps-dev): bump eslint from 7.29.0 to 7.32.0 (#279)

Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump supertest from 6.1.3 to 6.1.6 (#286)

Bumps [supertest](https://github.com/visionmedia/supertest) from 6.1.3 to 6.1.6.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v6.1.3...v6.1.6)

---
updated-dependencies:
- dependency-name: supertest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump nock from 13.1.0 to 13.1.3 (#287)

Bumps [nock](https://github.com/nock/nock) from 13.1.0 to 13.1.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.0...v13.1.3)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump find-cache-dir from 3.3.1 to 3.3.2 (#291)

Bumps [find-cache-dir](https://github.com/avajs/find-cache-dir) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/avajs/find-cache-dir/releases)
- [Commits](https://github.com/avajs/find-cache-dir/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: find-cache-dir
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 27.0.6 to 27.1.0 (#292)

Bumps [jest](https://github.com/facebook/jest) from 27.0.6 to 27.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.0.6...v27.1.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): refactor some dev dependencies around (#293)

* chore: removing lerna as a hard devdep

* chore(deps-dev): upgrading husky

* chore(deps): running npm audit

* docs: adding security policies

* chore(deps-dev): bump prettier from 2.3.2 to 2.4.1 (#300)

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump node-fetch from 2.6.1 to 2.6.5 (#296)

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.5.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/v2.6.5/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.5)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(node): add typescript, native node and better har compliance (#288)

* chore(deps-dev): upgrading some dev deps and running `npm audit` (#309)

* chore(deps-dev): bump jest from 27.1.0 to 27.3.0 (#308)

Bumps [jest](https://github.com/facebook/jest) from 27.1.0 to 27.3.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.1.0...v27.3.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* v5.0.0

* chore(deps-dev): bump typescript from 4.4.2 to 4.4.4 (#319)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.2 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 27.3.0 to 27.3.1 (#318)

Bumps [jest](https://github.com/facebook/jest) from 27.3.0 to 27.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.3.0...v27.3.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump ts-jest from 27.0.5 to 27.0.7 (#310)

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.0.5 to 27.0.7.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.0.5...v27.0.7)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump nock from 13.1.3 to 13.1.4 (#316)

Bumps [nock](https://github.com/nock/nock) from 13.1.3 to 13.1.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.3...v13.1.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 5.3.0 (#311)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 5.3.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.3.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump node-fetch from 2.6.5 to 2.6.6 (#312)

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.6.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.6)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 16.9.1 to 16.11.6 (#313)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.1 to 16.11.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/har-format from 1.2.7 to 1.2.8 (#315)

Bumps [@types/har-format](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/har-format) from 1.2.7 to 1.2.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/har-format)

---
updated-dependencies:
- dependency-name: "@types/har-format"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/jest from 27.0.1 to 27.0.2 (#314)

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.1 to 27.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(node): ensure that unknown request bodies are handled without errors (#321)

* chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#326)

Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump jest from 27.3.1 to 27.4.3 (#329)

Bumps [jest](https://github.com/facebook/jest) from 27.3.1 to 27.4.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.3.1...v27.4.3)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/parser from 5.3.0 to 5.5.0 (#333)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.3.0 to 5.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.5.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump nock from 13.1.4 to 13.2.1 (#332)

Bumps [nock](https://github.com/nock/nock) from 13.1.4 to 13.2.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.4...v13.2.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 (#330)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/jest from 27.0.2 to 27.0.3 (#331)

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.2 to 27.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 16.11.6 to 16.11.11 (#328)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.6 to 16.11.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): upgrading eslint and @readme/eslint-config (#335)

* v5.0.1

* fix: remove null postData, add support for nested express routes (#337)

* fix(node): no requestbody removes key, support nested express objects

* fix(node): fix some comments

Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>

* fix(node): fix test name

Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>

* style: commenting out the default-param-last rule in tests

* fix: shallow copying the requst destroys req.headers on node 16

Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
Co-authored-by: Jon Ursenbach <jon@ursenba.ch>

* v5.0.2

* fix(readme): clarify that the base log url has to be readme.io, not readme.com (#357)

* chore(deps): upgrading node pkg dependencies (#377)

* chore(deps-dev): upgrading prettier, eslint, and eslint-config

* chore(deps-dev): bumping multer

* chore(deps-dev): removing @typescript-eslint/parser as a dev dep

* style: fixing eslint issues

* fix: cleaning up the jest config so jest-haste-map doesnt error

* chore(deps-dev): bumping ts-jest

* chore(deps-dev): bumping body-parser

* chore(deps-dev): bumping jest

* chore(deps): bumping node-fetch

* fix: excluding the dist from jest

* chore(deps-dev): upgrading typescript to 4.6

* chore(deps-dev): bumping nock

* v5.1.0

* chore: move dotnet repo into packages/dotnet (#391)

* created classes to create har json, http request processing

* Readme.Metrics library with .net core API versions 3.1, 5 and 6

* Update README.md

* Updated middleware integration code to app.UseMiddleware<Readme.Metrics>()

* remove build artifacts from git

* restructure git ignores

* update README.md to look more like ReadMe's standard metrics format

* documentation cleanup for .com vs .io log issue

* Update README.md

* Update README.md

* Update README.md

* Add troubleshooting guide to readme (#2)

* chore: move dotnet repo into packages/dotnet

Used these for guidance:
Bringing another repo + history into this one: https://stackoverflow.com/a/1684694
Git mv all files in a repo: https://stackoverflow.com/a/35201800

* chore: add dotnet repo mirroring to monorepo

Co-authored-by: Ed <its.ed.johnson@outlook.com>
Co-authored-by: microsoftv3 <54659728+microsoftv3@users.noreply.github.com>
Co-authored-by: Aaron Hedges <aaron@readme.io>

* fix: x-forwarded-proto header parsing (#392)

Some reverse proxies put multiple protocols into x-forwarded-proto
which caused the `new URL()` constructor to fail. I removed the parsed
protocol from the URL constructor, since we're only using that with a
static hostname anyway.

Then in the instance where we do need the parsed protocol, I added some
logic to capture the first protocol if there's more than one.

Fixes: https://github.com/readmeio/metrics-sdks/issues/378

* v5.1.1

* chore(deps-dev): bump @types/node from 16.11.11 to 17.0.24 (#396)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 17.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/node (#379)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* created classes to create har json, http request processing

* Readme.Metrics library with .net core API versions 3.1, 5 and 6

* Update README.md

* Updated middleware integration code to app.UseMiddleware<Readme.Metrics>()

* remove build artifacts from git

* restructure git ignores

* update README.md to look more like ReadMe's standard metrics format

* documentation cleanup for .com vs .io log issue

* Update README.md

* Update README.md

* Update README.md

* Add troubleshooting guide to readme (#2)

* test: whitespace to test subtree history push

* Revert "chore: move dotnet repo into packages/dotnet (#391)"

This reverts commit d6ee495dfa9907b36d6c1e72c200bfd463a9c1c4.

* refactor: use git subtree from split.sh

* refactor: switch to using ./bin/split.sh from github action

This was quite a bit more involved than I wanted it to be, but hopefully
this will mean we never forget to run it, and it will work consistently.

Tested locally using the following command:

```sh
act -j split-monorepo \
  -s METRICS_SDK_NODE_PRIVATE_KEY="$(<~/.ssh/METRICS_SDK_NODE_PRIVATE_KEY)" \
  -s METRICS_SDK_PHP_PRIVATE_KEY="$(<~/.ssh/METRICS_SDK_PHP_PRIVATE_KEY)" \
  -s METRICS_SDK_PYTHON_PRIVATE_KEY="$(<~/.ssh/METRICS_SDK_PYTHON_PRIVATE_KEY)" \
  -s METRICS_SDK_RUBY_PRIVATE_KEY="$(<~/.ssh/METRICS_SDK_RUBY_PRIVATE_KEY)" \
  -s METRICS_SDK_DOTNET_PRIVATE_KEY="$(<~/.ssh/METRICS_SDK_DOTNET_PRIVATE_KEY)" \
  --container-architecture linux/amd64
```

You'll have to fetch these keys from 1password if you want to run it locally.

* refactor: ensure the correct SSH key is used for each git push

The previous implementation just used the first ssh key which failed
so now we're using the `GIT_SSH_COMMAND` feature of git to provide a
specific ssh key on each push.

This is all getting kinda hairy tbh 😬 it seems okay but I can imagine
coming back to this code in 6 months and not knowing what's happening 🤯

* fix(dotnet): update SDK to point to /v1/request  (#405)

* fix(dotnet): update SDK to point to /v1/request

This is an updated API endpoint, we're deprecating the version-less one.

* chore(dotnet): add TODO for later when we upgrade deps

Fix version of RestSharp to v1.0.6 for the dotnet v6 example app

This was breaking due to a deprecated interface

* docs(dotnet): add some better example values to the test apps

The lack of a `context.Request.Headers["key"];` when requesting the test
server over GET was causing the requests to not be set. Lets just hardcode
this for the example app.

* feat: check to see if the github action actually works on github

This will be reverted if all is well before merge.

* fix: try a remote debugging session to attempt to resolve git issues 🤦‍♂️

* fix: fetch all git history so `git subtree push` works

Remove debugging ssh action

Co-authored-by: Jon Ursenbach <erunion@users.noreply.github.com>
Co-authored-by: Sean Dokko <dokko1230@gmail.com>
Co-authored-by: gkoberger <gkoberger@gmail.com>
Co-authored-by: Jon Ursenbach <jon@ursenba.ch>
Co-authored-by: Kanad Gupta <kanad@readme.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael DeRazon <mderazon@gmail.com>
Co-authored-by: Michael DeRazon <michaeld@oncehub.com>
Co-authored-by: Dmitry Pimenov <dmitry@readme.io>
Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
Co-authored-by: Ilias Tsangaris <ilias@readme.io>
Co-authored-by: Aaron Hedges <aaron@readme.io>
Co-authored-by: Ed <its.ed.johnson@outlook.com>
Co-authored-by: microsoftv3 <54659728+microsoftv3@users.noreply.github.com>
erunion added a commit that referenced this pull request Aug 10, 2022
…eci (#7)

* test: setting up a workflow for running ci on github instead of circleci

* test: removing circleci configs

* docs: swapping the ci badge on the readme
erunion added a commit that referenced this pull request Aug 10, 2022
…eci (#7)

* test: setting up a workflow for running ci on github instead of circleci

* test: removing circleci configs

* docs: swapping the ci badge on the readme
erunion added a commit that referenced this pull request Aug 10, 2022
* Refactor how the version and host properties are defined

These will be replaced via the webpack compile step later on

* Add first pass approach at building worker using webpack's node api

This is not working yet

* Getting it kinda working

* Getting webpack compilation working

* Move test/worker into worker/test before splitting out into separate repo

* Adding working compilation linked to readme

* Add generated scaffolding from yeoman generator

* Add dist to ignore files

* Fix lint issues

* Remove TODO from code

* Prettier

* Add case for invalid js being provided

* Add some better logging from within the worker

Make sure logs are turned off during testing

* Switch so that the recommended way of using this module is by setting the following headers:

- x-readme-id - id of the caller
- x-readme-label - label of the caller

* Remove the concept of compiling whatever code they send us

Just return the compiled code for a given host/apiKey

* Simplify compile step to just swap out apiKey in the dist file

This should make it much faster!

* There appears to be a bug with running `prepare` scripts in npm when installing from a git dependency, so i'm just gunna commit this for now and make sure this happens on prepublish

I think the correct place is a `prepare` script though

* Prefixing metrics api call with /v1

* Add circle ci config

* Add link to the docs in readme

* Adding `access: public` so it can be put onto npm

* 1.0.0

* Add latest dist

* Make sure to fetch and error about x-readme-* headers from the correct place

Right now this was broken, and we were expecting them to be set on the initial
request object (which would in effect mean from the originating HTTP request).

What we need to do is consume the original request, and make sure the *response*
from the backend API has these headers set. Then use the headers from here as
IDs to send to the metrics backend.

I've tested this using a local instance of hoot.at and ngrok with Cloudflare workers.

https://app.asana.com/0/681252538274980/923335774941624

* Attempting to fix CI with coverage

* 1.0.1

* Add latest dist

* Fix error message complaining about missing headers

We used to (incorrectly) look for these headers on the request object
then we switched to correctly looking on the API response, but I forgot
to change the error message.

* Default cf-connecting-ip header to 0.0.0.0

In cloudflare workers testing mode, this appears to be set to `null`
which causes validation errors from the metrics API

https://community.cloudflare.com/t/cf-connecting-ip-returns-null-in-latest-version-of-workers/13597/2

* 1.1.0

* Add latest dist

* feature complete: 1. Template for app store usage 2. Function handler for custom routing emulating cloudflare route matching

* Testing WIP

* Unit Testing complete

* Migrated regex to seperate file, changed path from lookbehind to lookahead, more test cases

* Replaced global key

* Update install.json

Co-Authored-By: domharrington <domharrington@users.noreply.github.com>

* Responded to PR comments, style changes

* migrate to prettier

* Remove compile function, unminify webpack

* Updated using cloudflare's env injection, test updates, endpoint updates

* ripped out unnecessary hook:

* Whitespace and casing

* fix: package.json points to the wrong git url (#6)

* test: setting up a workflow for running ci on github instead of circleci (#7)

* test: setting up a workflow for running ci on github instead of circleci

* test: removing circleci configs

* docs: swapping the ci badge on the readme

* build: 1.1.1 release

* Update ReadMe Link to Docs (#8)

* feature/allow-x-readme-email (#9)

* Prelim functionality for adding 'x-readme-email' to worker app:
dquote> We'd like to add more context to calls for our frontend, and we currently only support sending label/id. Adding email for this purpose

* Adding dist

* More test coverage

* docs: adding a security policy and pr template

* ci: setting up codeql

* feat: dependency overhauls (#11)

* ci: changing the ci workflow to run on LTS node versions

* chore: rebuilding the lockfile with npm7

* chore(deps-dev): loading in our coding standards

* test: moving tests over to using jest

* chore(deps-dev): removing module-alias as its now unused

* chore(deps-dev): bumping node-fetch

* feat: moving us to webpack@5

* ci: setting up dependabot

* ci: ignoring node-fetch updates as its now an ESM package

* docs: adding a code of conduct

* chore(deps): bump actions/setup-node from 2.4.0 to 2.4.1 (#13)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v2.4.0...v2.4.1)

* chore(deps-dev): bump webpack from 5.53.0 to 5.55.1 (#14)

Bumps [webpack](https://github.com/webpack/webpack) from 5.53.0 to 5.55.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.53.0...v5.55.1)

* chore(deps-dev): bump node-fetch from 2.6.2 to 2.6.5 (#15)

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.2 to 2.6.5.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/v2.6.5/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.2...v2.6.5)

* chore(deps-dev): bump jest from 27.2.0 to 27.2.4 (#16)

Bumps [jest](https://github.com/facebook/jest) from 27.2.0 to 27.2.4.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v27.2.0...v27.2.4)

* chore(deps): bump actions/checkout from 2.3.4 to 2.3.5 (#17)

* chore(deps-dev): bump jest from 27.2.4 to 27.3.1 (#18)

* chore(deps-dev): bump @readme/eslint-config from 7.1.1 to 7.2.2 (#22)

* chore(deps-dev): bump nock from 13.1.3 to 13.1.4 (#23)

* ci: disabling dependabot

Disabling Dependabot for now until somebody has time to take this project under their wing.

* feat: directory cleanup and reorganization on the cloudflare worker

* chore: removing the editorconfig from the cloudflare package

Co-authored-by: Dom Harrington <dom@harrington-mail.com>
Co-authored-by: Dom Harrington <domharrington@protonmail.com>
Co-authored-by: Gabriel Ratcliff <gaberatcliff@gmail.com>
Co-authored-by: domharrington <domharrington@users.noreply.github.com>
Co-authored-by: Sean <dokko1230@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants