Releases: ZeroNetJS/zeronet-js
v0.0.1-alpha18
The big things:
-
NATs be history
With the libp2p-websocket-star transport every browser and client can dial each other independent of NATs and port forwarding.
Additionally this release features improved NAT support. -
Browser bundle
With the recent version it is now possible to download files from znjs clients (including other browsers) and seed them too (try it https://ZeroNetJS.github.io/znjs-web-bundle)
-
Libp2p swarm
Every ZeroNetJS client now has two swarms: The ZeroNetV2 (aka the default) swarm and the Libp2p swarm.
This does not only allow for browser bundles but also allows to leverage cool features of libp2p like the dht api or use fancy transports like uTP. Whatever libp2p supports we can support it too! -
Websockets
Every client now listens on a websocket address allowing it to be dialed by a browser. This will allow for usage of libp2p-circuit later when it's ready (also removing the need for websocket-star servers)
-
Tons of bugfixes
Lots of bugs were fixed (mainly in storage and zite->tree) in this release and a lot of stuff was rewritten to add native libp2p support.
Other things:
- Updated all the modules
- Now using protons module instead of protocol-buffers as the latter has eval statements in it
- Re-keying is re-enabled
- Still no tls
Try it:
- zeronet and sub-modules are now available as 0.0.1-alpha18 on npm.
docker run zeronetjs/zeronet-js:v0.0.1-alpha18
snap install --beta zeronet-js
- Binaries below
And as always help testing by using the nightlies:
docker run zeronet/zeronet-js:daily
snap install --edge zeronet-js
Lots of new stuff
New things in this release:
- Secio crypto (although we are still working on tls. which means connections to zn-py peers are still unencrypted)
- Tons of bugfixes
- NAT/UPNP port forwarding
- Upgraded msgpack to v5
- Snap package (
snap install zeronet-js --beta
) - Docker image (
docker run zeronetjs/zeronet-js:v0.0.1-alpha17
) - Peer-id now gets stored (faster startup)
- Tracker overload bug fixed
v0.0.1-alpha16
nothing here
Small fix
zeronet.js
was missing from the release
Fixes, modules, full node and more
In this release of ZeroNetJS:
- The full-node is now a module: zeronet-node
- Windows tests added
- Zites are now saved and recreated
- Documentation
- Lots of bugfixes
Trackers, peers and a lot more
Now when visiting http://localhost:15544/ while it still does not show the page it looks for peers on the trackers and saves them into data/json/peers.
Also in this release:
- fs and memory storage
- Peer finding stuff
- Bugfixes
Also: Standalone binaries are now a thing.
Tests, crypto and streams
I tried to fix some crypto issues with my own "stable-stream". Turns out it caused more bugs than it solved.
Also the tests are now updated.
better libp2p integration and protocol rewrite
The protocol was now rewritten: Things are handled globally and clients expose methods to send requests
Also the default libp2p.handle method was now "zeronetified" so that it is now using the zeronet protocol
Connections now use pull-streams and the protocol isn't listening for each client separately
libp2p, modules and more
ZeroNet-js is now fully modularized.
That means you can just require("zeronet-client") without all the other things.
Also it's now based on libp2p which gives us extended dht functionality
And also there is a initial version of the uiserver
(And the release spam was mainly due to bugs in the release script)
v0.0.1-alpha5
Release 0.0.1-alpha5