Skip to content

Commit 76316cb

Browse files
committed
Changelog for 4.0.0
1 parent db8a6d4 commit 76316cb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
[//]: <> (Contributor list:)
44
[@renan-s-oliveira]: https://github.com/renan-s-oliveira
55

6+
## 4.x
7+
8+
### 4.0.0
9+
10+
*Dec 30, 2022*
11+
12+
* New internal structure makes library more stable on malformed but valid-ish torrent files
13+
* In general both Bencode and Torrent File libs aim at `save(load(file)) === file` compatibility
14+
* Default constructor parameters on the data structures now accept variadic lists of elements instead of iterables
15+
* Default constructors are not recommended because their signatures are not considered stable.
16+
Named constructors should be used instead as explained in the documentation
17+
* Getters on `Node` and `FileDataProgressEvent` were removed
18+
* `getRawData()` now returns immutable ArrayAccess&Countable&Traversable objects instead of arrays
19+
* If you need a real array, use `getRawData()->toArray()`
20+
621
## 3.x
722

823
### 3.2.0

0 commit comments

Comments
 (0)