Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 4f0f830

Browse files
committed
prep for 5.0.0 release
1 parent aeda99e commit 4f0f830

File tree

3 files changed

+1747
-168
lines changed

3 files changed

+1747
-168
lines changed

History.md

Lines changed: 130 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -1,192 +1,177 @@
1-
v4.0.1 / 2021-2-24
2-
==========================
3-
* Fixed an issue where the optional axiosInstance passed as an option was ignored
4-
5-
v4.0.0 / 2021-2-17
6-
==========================
7-
* BREAKING: throws error when message is over 32kb #268
8-
* Allow passing in Axios instance in options #270
9-
* Fix data parameter always undefined on callback for track method #231
10-
* Allow to update endpoint to send batch events #246
11-
* Vulnerability fixes #264, #243, #263, #226, #227, #228, #247, #248, #252, #253, #257, #261
12-
* Fixed a typo to reflect actual code behaviour #233
13-
14-
v3.5.0 / 2021-1-5
15-
==========================
16-
* Update axios to fix the Server-Side Request Forgery vulnerability (#259)
17-
18-
19-
v3.4.1-beta.3 / 2020-10-26
20-
==========================
21-
* Update axios to fix the infinite retry bug (#255)
22-
* Use a local instance of axios to prevent client options leaking to other contexts (#255)
23-
24-
v3.4.1-beta.2 / 2020-06-10
25-
==========================
26-
* Update lodash (#222) (#221) from segmentio/dependabot/npm_and_yarn/lodash-4.17.11 8e9a91d
27-
* Fix typo (#220)
28-
* Update axios (#218)
29-
1+
# v5.0.0 / 2021-7-16
302

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

34-
* 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))
35-
* [Improvement](https://github.com/segmentio/analytics-node/pull/194): Add ability to override host/api url
36-
* [BREAKING CHANGE](https://github.com/segmentio/analytics-node/pull/195): remove cli from published package
9+
# v4.0.1 / 2021-2-24
3710

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

41-
* 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`.
13+
# v4.0.0 / 2021-2-17
4214

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

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

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

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

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

57-
* [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.
58-
* [Improvement](https://github.com/segmentio/analytics-node/pull/146): Improve retry logic to better handle server failures.
59-
* [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.
31+
# v3.4.1-beta.2 / 2020-06-10
6032

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

64-
* Flush on first message (#113)
65-
* Rename flushAfter to flushInterval (#112)
66-
* remove caching of dependencies on Circle CI
67-
* improve readme
68-
* rename README to readme
69-
* add license
70-
* disable npm package locks
71-
* improve package.json
72-
* moves files into root
73-
* remove Makefile in favor of npm scripts
74-
* remove yarn.lock
75-
* remove History.md in favor of gh releases
76-
* add editorconfig
77-
* Convert to ES6 (#110)
78-
* Remove continuous deployment (#109)
79-
* Switch from Mocha to AVA (#108)
80-
* Skip data in flush callbacks (#105)
81-
* Reset timer on flush (#103)
82-
* Remove superagent-retry module (#107)
83-
* Remove browserify build (#104)
84-
* Update README.md
37+
# v3.4.1-beta.1 / 2019-06-20
8538

86-
2.4.1 / 2017-05-05
87-
==================
39+
- 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))
40+
- [Improvement](https://github.com/segmentio/analytics-node/pull/194): Add ability to override host/api url
41+
- [BREAKING CHANGE](https://github.com/segmentio/analytics-node/pull/195): remove cli from published package
8842

89-
* Preventing webpack to bundle all lodash lib (#94)
90-
* README: fix header
91-
* README: fix badge
92-
* package: upgrade dependencies (#89)
93-
* standard (#88)
94-
* yarn (#85)
95-
* [email protected] [ci skip]
43+
# v3.4.0-beta / 2019-06-12
9644

97-
2.4.0 / 2017-03-13
98-
==================
45+
- 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`.
9946

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

105-
2.3.0 / 2017-03-13
106-
==================
49+
- Promote `v3.3.0-beta.2` to stable
10750

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

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

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

117-
2.1.1 / 2017-01-31
118-
==================
58+
- [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.
59+
- [Improvement](https://github.com/segmentio/analytics-node/pull/146): Improve retry logic to better handle server failures.
60+
- [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.
11961

120-
* Merge pull request #74 from alexstrat/master
121-
* Update dependencies
62+
# v3.0.0 / 2017-07-27
12263

123-
2.1.0 / 2016-03-31
124-
==================
64+
- Flush on first message (#113)
65+
- Rename flushAfter to flushInterval (#112)
66+
- remove caching of dependencies on Circle CI
67+
- improve readme
68+
- rename README to readme
69+
- add license
70+
- disable npm package locks
71+
- improve package.json
72+
- moves files into root
73+
- remove Makefile in favor of npm scripts
74+
- remove yarn.lock
75+
- remove History.md in favor of gh releases
76+
- add editorconfig
77+
- Convert to ES6 (#110)
78+
- Remove continuous deployment (#109)
79+
- Switch from Mocha to AVA (#108)
80+
- Skip data in flush callbacks (#105)
81+
- Reset timer on flush (#103)
82+
- Remove superagent-retry module (#107)
83+
- Remove browserify build (#104)
84+
- Update README.md
12585

126-
* adding a cli
86+
# 2.4.1 / 2017-05-05
12787

128-
2.0.2 / 2016-03-03
129-
==================
88+
- Preventing webpack to bundle all lodash lib (#94)
89+
- README: fix header
90+
- README: fix badge
91+
- package: upgrade dependencies (#89)
92+
- standard (#88)
93+
- yarn (#85)
94+
- [email protected] [ci skip]
13095

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

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

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

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

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

149-
1.2.2 / 2015-03-19
150-
==================
110+
- Replace validation with `@segment/loosely-validate-event`
111+
- add releasing notes
151112

152-
* Update analytics-node.js
113+
# 2.1.1 / 2017-01-31
153114

154-
1.2.1 / 2015-03-19
155-
==================
115+
- Merge pull request #74 from alexstrat/master
116+
- Update dependencies
156117

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

159-
1.2.0 / 2015-02-18
160-
==================
120+
- adding a cli
161121

162-
* add browserify support
163-
* Add installation instructions to readme
122+
# 2.0.2 / 2016-03-03
164123

165-
1.1.1 / 2015-02-03
166-
==================
124+
- updating travis.yml
125+
- increase messageId entropy, and include one id per message
167126

168-
* Add sentAt
127+
# 2.0.1 / 2015-12-11
169128

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

173-
* add: proxy requests
133+
# 2.0.0 / 2015-09-21
174134

175-
1.0.4 - 2014-08-14
176-
==================
135+
- update analytics-node.js
136+
- Remove proxy support
137+
- Merge pull request #47 from yorkie/patch-1
138+
- remove the duplicated keyword
177139

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

180-
1.0.3 - 2014-08-05
181-
==================
142+
- Update analytics-node.js
182143

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

185-
1.0.2 - 2014-07-23
186-
==================
146+
- Try to retry a few times before responding
187147

188-
* update: debug dependency
148+
# 1.2.0 / 2015-02-18
189149

190-
0.6.0 - February 19, 2014
191-
-------------------------
192-
* add group method
150+
- add browserify support
151+
- Add installation instructions to readme
152+
153+
# 1.1.1 / 2015-02-03
154+
155+
- Add sentAt
156+
157+
# 1.l.0 - 2014-08-22
158+
159+
- add: proxy requests
160+
161+
# 1.0.4 - 2014-08-14
162+
163+
- fix: given contexts to extended and not wiped out
164+
165+
# 1.0.3 - 2014-08-05
166+
167+
- fix: context data being added to messages
168+
169+
# 1.0.2 - 2014-07-23
170+
171+
- update: debug dependency
172+
173+
0.6.0 - February 19, 2014
174+
175+
---
176+
177+
- add group method

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"delay": "^4.2.0",
5353
"express": "^4.15.2",
5454
"husky": "^3.0.4",
55+
"np": "^7.5.0",
5556
"nyc": "^15.1.0",
5657
"pify": "^4.0.1",
5758
"sinon": "^7.3.2",

0 commit comments

Comments
 (0)