Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit 8a25282

Browse files
authored
Merge pull request #78 from ethereumjs/new-release
New release v3.0.1
2 parents 711062f + cc183f7 commit 8a25282

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,36 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
(modification: no type change headlines) and this project adheres to
77
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

9+
## [3.0.1] - 2020-06-10
10+
11+
This release focuses on improving the [debugging](https://github.com/ethereumjs/ethereumjs-devp2p#debugging)
12+
capabilities of the library. PR [#72](https://github.com/ethereumjs/ethereumjs-devp2p/pull/72)
13+
reduces the **verbosity** of the log output to cut on noise on everyday debugging. There is a new `verbose`
14+
logger to retain the more verbose output (e.g. with full message bodies) which can be used like this:
15+
16+
```shell
17+
DEBUG=devp2p:*,verbose node -r ts-node/register ./examples/peer-communication.ts
18+
```
19+
20+
**Other Logging Improvements**
21+
22+
Relevant PRs [#75](https://github.com/ethereumjs/ethereumjs-devp2p/pull/75) and
23+
[#73](https://github.com/ethereumjs/ethereumjs-devp2p/pull/73):
24+
25+
- Added number of peers to `refillConnections()` debug message
26+
- Replaced try/catch logic for EIP-8 auth check to avoid side-effects and get rid of misleading _wrong-ecies-header_ debug output
27+
- Moved debug output in `BanList.add()` after the set operation to get the correct size output
28+
- Added debug message for `DISCONNECT` reason from peer (this was always some constant re-debug reason, and at the end it's mostly `TOO_MANY_PEERS`)
29+
- Internalize detached logger output from the `devp2p:util` logger
30+
31+
**Other Changes**
32+
33+
- Refactored `Peer` class for better code readability, PR [#77](https://github.com/ethereumjs/ethereumjs-devp2p/pull/77)
34+
35+
There has also been a new [high-level diagram](https://github.com/ethereumjs/ethereumjs-devp2p#api) added to the `README` which can be used to get an overview on the structure, available loggers and the event flow of the library (PR [#76](https://github.com/ethereumjs/ethereumjs-devp2p/pull/76)).
36+
37+
[3.0.1]: https://github.com/ethereumjs/ethereumjs-devp2p/compare/v3.0.0...v3.0.1
38+
939
## [3.0.0] - 2020-05-25
1040

1141
First `TypeScript` release of the library, see PR [#56](https://github.com/ethereumjs/ethereumjs-devp2p/pull/56) for all the changes and associated discussion.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dpt.bootstrap(bootnode).catch((err) => console.error('Something went wrong!'))
8585

8686
### API
8787

88-
See the following [diagram](./devp2p_diagram.png) for a high level overview on the library.
88+
See the following [diagram](./devp2p_diagram.jpg) for a high level overview on the library.
8989

9090
#### `DPT` (extends `EventEmitter`)
9191

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereumjs-devp2p",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A JavaScript implementation of ÐΞVp2p",
55
"keywords": [
66
"ethereum",

0 commit comments

Comments
 (0)