3.0.0
This is a major bostr release after version 2 with massive code changes, including tweaks, performance improvements, more efficiencies, and also bugfixes.
What's new?
- Performance: Separated one of CPU intensive code in
bouncer.js
as a worker code, allowing for multithreading which consume less CPU performance than the previous singlethreading. - Performance: Added 2 optional
ws
dependencies that could improve performance - Code: Replace codes that utilizes
Map()
as Objects. Just to try busting myth whenever object is actually faster than Map. Let's see. - Bugfixes: auth.js did not worked properly with only
noscraper
being set. Now should works. - Improvement: Removed some code that only consumes memory and do exactly nobody would like to do. These config is now deprecated as it's now doing nothing:
broadcast_ratelimit
,incomming_ratelimit
- Feature: Added
max_known_events
configuration. Seeconfig.js.example
for details
Upgrading
For npm installation, upgrading could be done with the following:
npm i -g bostr@3.0.0
or
npm i -g https://github.com/Yonle/bostr.git
For source code installation, upgrading could be done with the following:
git pull
npm i
There are new configuration that you could configure for reducing memory usage. Check config.js.example
, edit your existing config,
Then restart your bouncer to apply update.
Full Changelog: 2.1.5-6...3.0.0