1. IPFS点滴资讯首页
  2. 官方更新
  3. IPFS

js-ipfs 0.24.0 released

I am pleased to announce to everyone in our community that js-ipfs 0.24.0 has been successfully launched! This new minor release brings new features, bug fixes and new examples so that you can jump in and start hacking your IPFS enabled apps right away!

@IPFSbot Woot! As promissed, new version of js-ipfs released!

🚀 ipfs@0.24.0 [18:39] Published to npm. 🚀

Release log here: https://t.co/20O2L2Scq5

— David Dias (@daviddias) May 24, 2017

Highlights

👢 WebSockets DNS Bootstrappers by default on the browser

With this release, you won’t need to connect to Bootstrapper nodes manually, they will dialed from the start through their WebSockets endpoints. This also means that we’ve successfully deployed DNS support for multiaddrs, so that you can host your js-ipfs enabled app behind an HTTPS domain and dial to the Bootstrappers through WSS.

🎈WebRTC is now a default transport

We now include WebRTC multiaddr by default on new js-ipfs init calls. This means that both your Node.js and Browser nodes will be able to dial each other using WebRTC and discover other nodes in the network through signalling Peer Discovery.

Caveat for Linux/Windows users: Due to limited support of Node.js wrtc module, you will have to set an environment variable or an Experimental flag. Instructions are in the README to learn how to do so.

🗺 1st Phase of DHT Implementation Complete

We now have a working DHT implementation, which means that js-libp2p and js-ipfs are now capable of Peer Routing and Content Routing. This feature should be treated as experimental for the time being, and is behind a feature flag until a few remaining interoperability issues are cleared out.

🕸 WebWorker and ServiceWorker Support

Now you can run js-ipfs in a WebWorker or a ServiceWorker without encountering any stoppers. We also added a rule to our tests to be run inside a WebWorker to ensure that this feature stays intact.

We’ve recorded a live demo of a Service Worker with js-ipfs running during IPFS All Hands on May 22. You can see this recording and many others on the IPFS Youtube video channel. You can find the code for this demo at ipfs-service-worker.

📶 Better reconnect handling with WebRTC Transport

You can now switch off your wifi or close your laptop and your js-ipfs node will be able to recover any lost connections graciously.

💅🏽 Refreshed libp2p API

As a byproduct of shipping new features in js-ipfs, js-libp2p got a refreshed API, documentation and examples. Please do check them out and try libp2p at js-libp2p

📦 Updated Packages table

Always wondered of how many pieces IPFS is built with? Check the updated Packages table at – https://github.com/ipfs/js-ipfs#packages.

A big thank you goes for everyone who helped make this release possible! We really appreciate all the code contributions, reviews and testing we get from you ❤️.

Want to get started using js-ipfs today?

We’ve been building a series of examples to help everyone get started using js-ipfs. With this release, these examples got even simpler, requiring less configuration. Go to js-ipfs github repo and check the examples folder, containing:

If you run into any hurdles, please open an issue on ipfs/js-ipfs/issues.

Thank you for your attention, I bid you a good day!


官方原文:https://blog.ipfs.io/26-js-ipfs-0-24

点对点科技简介

点对点科技深耘IPFS与Filecoin技术,坚持区块链技术改变未来的信念。点对点 IPFS 数据中心是目前国内技术领先,性价比高、保障优的投资标的。自建杭州数据中心,合作数据中心分布于上海、宁波、河北、香港、斯德哥尔摩(瑞典)等地。点对点数据中心具有优秀的硬件配置与目前国内优质的网络节点资源。点对点科技力求将IPFS爱好者升级为IPFS领军者与受益者,让IPFS颠覆传统互联网,共同开启 WEB 3.0时代。

想了解更多区块链知识吗?关注我吧!

Filecoin测试网二阶段昨日重启,点对点出块第一! | 点滴资讯

原创文章,作者:点对点Tech,如若转载,请注明出处:http://ipfsdrop.com/offcial/ipfs/js-ipfs-0-24-0-released/

发表评论

电子邮件地址不会被公开。 必填项已用*标注