Skip to content

Commit 3dd2a0e

Browse files
chore(release): 4.0.0-alpha.1
Diff: v4.0.0-alpha.0...v4.0.0-alpha.1
1 parent cab7db0 commit 3dd2a0e

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# [4.0.0-alpha.1](https://github.com/socketio/engine.io-parser/compare/v4.0.0-alpha.0...v4.0.0-alpha.1) (2020-05-19)
2+
3+
4+
### Features
5+
6+
* implement the version 4 of the protocol ([cab7db0](https://github.com/socketio/engine.io-parser/commit/cab7db0404e0a69f86a05ececd62c8c31f4d97d5))
7+
8+
9+
10+
# [4.0.0-alpha.0](https://github.com/socketio/engine.io-parser/compare/2.2.0...v4.0.0-alpha.0) (2020-02-04)
11+
12+
13+
### Bug Fixes
14+
15+
* properly decode binary packets ([5085373](https://github.com/socketio/engine.io-parser/commit/50853738e0c6c16f9cee0d7887651155f4b78240))
16+
17+
18+
### Features
19+
20+
* remove packet type when encoding binary packets ([a947ae5](https://github.com/socketio/engine.io-parser/commit/a947ae59a2844e4041db58ff36b270d1528b3bee))
21+
22+
23+
### BREAKING CHANGES
24+
25+
* the packet containing binary data will now be sent without any transformation
26+
27+
Protocol v3: { type: 'message', data: <Buffer 01 02 03> } => <Buffer 04 01 02 03>
28+
Protocol v4: { type: 'message', data: <Buffer 01 02 03> } => <Buffer 01 02 03>
29+
30+
31+
32+
# [2.2.0](https://github.com/socketio/engine.io-parser/compare/2.1.3...2.2.0) (2019-09-13)
33+
34+
35+
* [refactor] Use `Buffer.allocUnsafe` instead of `new Buffer` (#104) ([aedf8eb](https://github.com/socketio/engine.io-parser/commit/aedf8eb29e8bf6aeb5c6cc68965d986c4c958ae2)), closes [#104](https://github.com/socketio/engine.io-parser/issues/104)
36+
37+
38+
### BREAKING CHANGES
39+
40+
* drop support for Node.js 4 (since Buffer.allocUnsafe was added in v5.10.0)
41+
42+
Reference: https://nodejs.org/docs/latest/api/buffer.html#buffer_class_method_buffer_allocunsafe_size

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "engine.io-parser",
33
"description": "Parser for the client for the realtime Engine",
44
"license": "MIT",
5-
"version": "4.0.0-alpha.0",
5+
"version": "4.0.0-alpha.1",
66
"main": "lib/index.js",
77
"homepage": "https://github.com/socketio/engine.io-parser",
88
"devDependencies": {

0 commit comments

Comments
 (0)