Skip to content

Commit

Permalink
Merge branch 'master' into dhaden/segmentio#284-add-axiosRetryConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nd4p90x committed Jul 21, 2021
2 parents 6584091 + 3ec3f42 commit add75b3
Show file tree
Hide file tree
Showing 3 changed files with 1,748 additions and 169 deletions.
275 changes: 130 additions & 145 deletions History.md
@@ -1,192 +1,177 @@
v4.0.1 / 2021-2-24
==========================
* Fixed an issue where the optional axiosInstance passed as an option was ignored

v4.0.0 / 2021-2-17
==========================
* BREAKING: throws error when message is over 32kb #268
* Allow passing in Axios instance in options #270
* Fix data parameter always undefined on callback for track method #231
* Allow to update endpoint to send batch events #246
* Vulnerability fixes #264, #243, #263, #226, #227, #228, #247, #248, #252, #253, #257, #261
* Fixed a typo to reflect actual code behaviour #233

v3.5.0 / 2021-1-5
==========================
* Update axios to fix the Server-Side Request Forgery vulnerability (#259)


v3.4.1-beta.3 / 2020-10-26
==========================
* Update axios to fix the infinite retry bug (#255)
* Use a local instance of axios to prevent client options leaking to other contexts (#255)

v3.4.1-beta.2 / 2020-06-10
==========================
* Update lodash (#222) (#221) from segmentio/dependabot/npm_and_yarn/lodash-4.17.11 8e9a91d
* Fix typo (#220)
* Update axios (#218)

# v5.0.0 / 2021-7-16

v3.4.1-beta.1 / 2019-06-20
==========================
- BREAKING: Dropping support for Node 8.0!
- Flush the queue when maximum storage has reached (#277)
- Return a promise from flush (#281)
- Upgrade uuid package to support treeshaking (#273)
- Dependency upgrades

* Upgrade dependencies ([#174](https://github.com/segmentio/analytics-node/pull/174), [#175](https://github.com/segmentio/analytics-node/pull/175), [#176](https://github.com/segmentio/analytics-node/pull/176), [#178](https://github.com/segmentio/analytics-node/pull/178), [#179](https://github.com/segmentio/analytics-node/pull/179), [#211](https://github.com/segmentio/analytics-node/pull/211), [#212](https://github.com/segmentio/analytics-node/pull/212))
* [Improvement](https://github.com/segmentio/analytics-node/pull/194): Add ability to override host/api url
* [BREAKING CHANGE](https://github.com/segmentio/analytics-node/pull/195): remove cli from published package
# v4.0.1 / 2021-2-24

v3.4.0-beta / 2019-06-12
========================
- Fixed an issue where the optional axiosInstance passed as an option was ignored

* Due to a bug in the release step, this version was not published to NPM. It was instead re-published as `v3.4.1-beta.1`.
# v4.0.0 / 2021-2-17

v3.3.0 / 2018-04-24
===================
- BREAKING: throws error when message is over 32kb #268
- Allow passing in Axios instance in options #270
- Fix data parameter always undefined on callback for track method #231
- Allow to update endpoint to send batch events #246
- Vulnerability fixes #264, #243, #263, #226, #227, #228, #247, #248, #252, #253, #257, #261
- Fixed a typo to reflect actual code behaviour #233

* Promote `v3.3.0-beta.2` to stable
# v3.5.0 / 2021-1-5

v3.3.0-beta.2 / 2018-03-02
==========================
- Update axios to fix the Server-Side Request Forgery vulnerability (#259)

* [New](https://github.com/segmentio/analytics-node/pull/158): Add `enable` API to disable client from sending messages. This is useful for testing.
* [Improvement](https://github.com/segmentio/analytics-node/pull/154): Log when messages exceed our size limits.
# v3.4.1-beta.3 / 2020-10-26

v3.3.0-beta.1 / 2018-01-18
========================
- Update axios to fix the infinite retry bug (#255)
- Use a local instance of axios to prevent client options leaking to other contexts (#255)

* [Improvement](https://github.com/segmentio/analytics-node/pull/150): Replace `crypto-token` with `uuid` package. This also reduces the total size of the package in the browser by 80%. Note that this will change the structure of the generated `messageId` values.
* [Improvement](https://github.com/segmentio/analytics-node/pull/146): Improve retry logic to better handle server failures.
* [Improvement](https://github.com/segmentio/analytics-node/pull/144): Update the user agent format to be [RFC 7231](https://github.com/segmentio/analytics-node/pull/144) compliant.
# v3.4.1-beta.2 / 2020-06-10

v3.0.0 / 2017-07-27
===================
- Update lodash (#222) (#221) from segmentio/dependabot/npm_and_yarn/lodash-4.17.11 8e9a91d
- Fix typo (#220)
- Update axios (#218)

* Flush on first message (#113)
* Rename flushAfter to flushInterval (#112)
* remove caching of dependencies on Circle CI
* improve readme
* rename README to readme
* add license
* disable npm package locks
* improve package.json
* moves files into root
* remove Makefile in favor of npm scripts
* remove yarn.lock
* remove History.md in favor of gh releases
* add editorconfig
* Convert to ES6 (#110)
* Remove continuous deployment (#109)
* Switch from Mocha to AVA (#108)
* Skip data in flush callbacks (#105)
* Reset timer on flush (#103)
* Remove superagent-retry module (#107)
* Remove browserify build (#104)
* Update README.md
# v3.4.1-beta.1 / 2019-06-20

2.4.1 / 2017-05-05
==================
- Upgrade dependencies ([#174](https://github.com/segmentio/analytics-node/pull/174), [#175](https://github.com/segmentio/analytics-node/pull/175), [#176](https://github.com/segmentio/analytics-node/pull/176), [#178](https://github.com/segmentio/analytics-node/pull/178), [#179](https://github.com/segmentio/analytics-node/pull/179), [#211](https://github.com/segmentio/analytics-node/pull/211), [#212](https://github.com/segmentio/analytics-node/pull/212))
- [Improvement](https://github.com/segmentio/analytics-node/pull/194): Add ability to override host/api url
- [BREAKING CHANGE](https://github.com/segmentio/analytics-node/pull/195): remove cli from published package

* Preventing webpack to bundle all lodash lib (#94)
* README: fix header
* README: fix badge
* package: upgrade dependencies (#89)
* standard (#88)
* yarn (#85)
* analytics-node.js@2.4.0 [ci skip]
# v3.4.0-beta / 2019-06-12

2.4.0 / 2017-03-13
==================
- Due to a bug in the release step, this version was not published to NPM. It was instead re-published as `v3.4.1-beta.1`.

* test: add `_metadata` to "screen" assertion (#87)
* replace Travis with CircleCI (#86)
* add support for screen events (#82)
* use correct optional syntax for JSDOC (#83)
# v3.3.0 / 2018-04-24

2.3.0 / 2017-03-13
==================
- Promote `v3.3.0-beta.2` to stable

* Add node version to messages via _metadata (#84)
* remove trailing slash on `.host` (#81)
# v3.3.0-beta.2 / 2018-03-02

2.2.0 / 2017-02-06
==================
- [New](https://github.com/segmentio/analytics-node/pull/158): Add `enable` API to disable client from sending messages. This is useful for testing.
- [Improvement](https://github.com/segmentio/analytics-node/pull/154): Log when messages exceed our size limits.

* Replace validation with `@segment/loosely-validate-event`
* add releasing notes
# v3.3.0-beta.1 / 2018-01-18

2.1.1 / 2017-01-31
==================
- [Improvement](https://github.com/segmentio/analytics-node/pull/150): Replace `crypto-token` with `uuid` package. This also reduces the total size of the package in the browser by 80%. Note that this will change the structure of the generated `messageId` values.
- [Improvement](https://github.com/segmentio/analytics-node/pull/146): Improve retry logic to better handle server failures.
- [Improvement](https://github.com/segmentio/analytics-node/pull/144): Update the user agent format to be [RFC 7231](https://github.com/segmentio/analytics-node/pull/144) compliant.

* Merge pull request #74 from alexstrat/master
* Update dependencies
# v3.0.0 / 2017-07-27

2.1.0 / 2016-03-31
==================
- Flush on first message (#113)
- Rename flushAfter to flushInterval (#112)
- remove caching of dependencies on Circle CI
- improve readme
- rename README to readme
- add license
- disable npm package locks
- improve package.json
- moves files into root
- remove Makefile in favor of npm scripts
- remove yarn.lock
- remove History.md in favor of gh releases
- add editorconfig
- Convert to ES6 (#110)
- Remove continuous deployment (#109)
- Switch from Mocha to AVA (#108)
- Skip data in flush callbacks (#105)
- Reset timer on flush (#103)
- Remove superagent-retry module (#107)
- Remove browserify build (#104)
- Update README.md

* adding a cli
# 2.4.1 / 2017-05-05

2.0.2 / 2016-03-03
==================
- Preventing webpack to bundle all lodash lib (#94)
- README: fix header
- README: fix badge
- package: upgrade dependencies (#89)
- standard (#88)
- yarn (#85)
- analytics-node.js@2.4.0 [ci skip]

* updating travis.yml
* increase messageId entropy, and include one id per message
# 2.4.0 / 2017-03-13

2.0.1 / 2015-12-11
==================
- test: add `_metadata` to "screen" assertion (#87)
- replace Travis with CircleCI (#86)
- add support for screen events (#82)
- use correct optional syntax for JSDOC (#83)

* makefile: changing bin paths and nsp target
* Upgraded vulnerable dependencies and minor change in the tests to support them
* Adding Node Security Project support
# 2.3.0 / 2017-03-13

2.0.0 / 2015-09-21
==================
- Add node version to messages via \_metadata (#84)
- remove trailing slash on `.host` (#81)

* update analytics-node.js
* Remove proxy support
* Merge pull request #47 from yorkie/patch-1
* remove the duplicated keyword
# 2.2.0 / 2017-02-06

1.2.2 / 2015-03-19
==================
- Replace validation with `@segment/loosely-validate-event`
- add releasing notes

* Update analytics-node.js
# 2.1.1 / 2017-01-31

1.2.1 / 2015-03-19
==================
- Merge pull request #74 from alexstrat/master
- Update dependencies

* Try to retry a few times before responding
# 2.1.0 / 2016-03-31

1.2.0 / 2015-02-18
==================
- adding a cli

* add browserify support
* Add installation instructions to readme
# 2.0.2 / 2016-03-03

1.1.1 / 2015-02-03
==================
- updating travis.yml
- increase messageId entropy, and include one id per message

* Add sentAt
# 2.0.1 / 2015-12-11

1.l.0 - 2014-08-22
==================
- makefile: changing bin paths and nsp target
- Upgraded vulnerable dependencies and minor change in the tests to support them
- Adding Node Security Project support

* add: proxy requests
# 2.0.0 / 2015-09-21

1.0.4 - 2014-08-14
==================
- update analytics-node.js
- Remove proxy support
- Merge pull request #47 from yorkie/patch-1
- remove the duplicated keyword

* fix: given contexts to extended and not wiped out
# 1.2.2 / 2015-03-19

1.0.3 - 2014-08-05
==================
- Update analytics-node.js

* fix: context data being added to messages
# 1.2.1 / 2015-03-19

1.0.2 - 2014-07-23
==================
- Try to retry a few times before responding

* update: debug dependency
# 1.2.0 / 2015-02-18

0.6.0 - February 19, 2014
-------------------------
* add group method
- add browserify support
- Add installation instructions to readme

# 1.1.1 / 2015-02-03

- Add sentAt

# 1.l.0 - 2014-08-22

- add: proxy requests

# 1.0.4 - 2014-08-14

- fix: given contexts to extended and not wiped out

# 1.0.3 - 2014-08-05

- fix: context data being added to messages

# 1.0.2 - 2014-07-23

- update: debug dependency

0.6.0 - February 19, 2014

---

- add group method
3 changes: 2 additions & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "analytics-node",
"version": "4.0.1",
"version": "5.0.0",
"description": "The hassle-free way to integrate analytics into any Node.js application",
"license": "MIT",
"repository": "segmentio/analytics-node",
Expand Down Expand Up @@ -52,6 +52,7 @@
"delay": "^4.2.0",
"express": "^4.15.2",
"husky": "^3.0.4",
"np": "^7.5.0",
"nyc": "^15.1.0",
"pify": "^4.0.1",
"sinon": "^7.3.2",
Expand Down

0 comments on commit add75b3

Please sign in to comment.