4.0.0 (2023-08-09)
- fix: bigint support, don't mangle directory keys
3.1.1 (2023-07-31)
3.0.3 (2023-01-31)
3.0.2 (2023-01-31)
3.0.1 (2023-01-31)
3.0.0 (2022-11-28)
- ESM only
2.0.3 (2022-05-13)
2.0.2 (2021-07-28)
- fix deprecation warning on Buffer() constructor (@jhermsmeier)
- update dev depedencies (@jhermsmeier)
- Drop support for Node 0.10, 0.12., add support for Node 8 & 9 (@jhermsmeier)
- Support for typed arrays (@jhermsmeier, @nazar-pc)
- Support Node 0.10, 0.12, and early Node 4 (@feross)
- Add
btparse
to benchmarks (@themasch) - Use
Buffer.from()
&Buffer.allocUnsafe()
(@slang800) - Use constants for character codes (@slang800)
- Fix Makefile (@zunsthy)
- Ignore null-values when encoding (@jhermsmeier)
- Add test/BEP-0023: Test correct handling of compacted peer lists (@jhermsmeier)
- Implement a faster way to parse intergers from buffers (@themasch)
- Fix string to be decoded in README (@ngotchac)
- Add
standard
code style (@slang800) - Update benchmarks (@slang800)
- Remove
lib/dict.js
(@slang800) - Move
main
entrypoint into ./lib (@slang800) - Clean up
package.json
(@slang800) - Remove extra files from being published to npm (@slang800)
- Implement the
abstract-encoding
API (@jhermsmeier)
- Add support for encoding
Boolean
values (@kaelar)
- Add binary key support (@deoxxa)
- Improve test output format (@jhermsmeier)
- Removed node v0.8 from CI tests
- Fixed invalid test data (@themasch)
- Added
Makefile
for browser tests (@themasch) - Fixed Browserify compatibility (@themasch)
- Thorough fix for 64 bit and 53 bit numbers (@pwmckenna)
- Added warning on float conversion during encoding (@jhermsmeier)
- Added support for 64 bit number values (@pwmckenna)
- Switched benchmark lib to
matcha
(@themasch) - Fixed npm scripts to work on Windows (@jhermsmeier)
-
improved performance a lot
-
dropped support for de- and encoding floats to respect the spec
note: node-bencode will still decodes stuff like "i42.23e" but will cast the result to an interger
- bugfix: sort dictionary keys to follow the spec
- bugfix: number decoding was kinda broken
- fixed problems with multibyte strings
- some performance improvements
- improved code quality
- #decode() accepts a encoding as its second paramtere
- complete rewrite, @jhermsmeier joins the team
- added encoding
First version, decoding only