Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
03e2eeea
Unverified
提交
03e2eeea
authored
6月 04, 2019
作者:
Steven Allen
提交者:
GitHub
6月 04, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #6397 from ipfs/doc/update-changelog
CHANGELOG: add some missed changes
上级
21f3ebe3
803dd8b8
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
148 行增加
和
1 行删除
+148
-1
CHANGELOG.md
CHANGELOG.md
+148
-1
没有找到文件。
CHANGELOG.md
浏览文件 @
03e2eeea
...
...
@@ -162,6 +162,16 @@ it uses a _lot_ of file descriptors.
Luckily, most modern kernels can handle thousands of file descriptors without
any difficulty.
#### Decreased Connection Handshake Latency
Libp2p now shaves off a couple of round trips when initiating connections by
beginning the protocol negotiation before the remote peer responds to the
initial handshake message.
In the optimal case (when the target peer speaks our preferred protocol), this
reduces the number of handshake round-trips from 6 to 4 (including the TCP
handshake).
### Commands
This release brings no new commands but does introduce a few changes, bugfixes,
...
...
@@ -217,6 +227,129 @@ The ping command has received some small improvements and fixes:
3.
It now prints out the average latency when canceled with
`^C`
(like the unix
`ping`
command).
#### Improved Help Text
Go-ipfs now intelligently wraps help text for easier reading. On an 80 character
wide terminal,
**Before**
```
USAGE
ipfs add <path>... - Add a file or directory to ipfs.
SYNOPSIS
ipfs add [--recursive | -r] [--dereference-args] [--stdin-name=<stdin-name>] [
--hidden | -H] [--quiet | -q] [--quieter | -Q] [--silent] [--progress | -p] [--t
rickle | -t] [--only-hash | -n] [--wrap-with-directory | -w] [--chunker=<chunker
> | -s] [--pin=false] [--raw-leaves] [--nocopy] [--fscache] [--cid-version=<cid-
version>] [--hash=<hash>] [--inline] [--inline-limit=<inline-limit>] [--] <path>
...
ARGUMENTS
<path>... - The path to a file to be added to ipfs.
OPTIONS
-r, --recursive bool - Add directory paths recursive
ly.
--dereference-args bool - Symlinks supplied in argument
s are dereferenced.
--stdin-name string - Assign a name if the file sou
rce is stdin.
-H, --hidden bool - Include files that are hidden
. Only takes effect on recursive add.
-q, --quiet bool - Write minimal output.
-Q, --quieter bool - Write only final hash.
--silent bool - Write no output.
-p, --progress bool - Stream progress data.
-t, --trickle bool - Use trickle-dag format for da
g generation.
-n, --only-hash bool - Only chunk and hash - do not
write to disk.
-w, --wrap-with-directory bool - Wrap files with a directory o
bject.
-s, --chunker string - Chunking algorithm, size-[byt
es] or rabin-[min]-[avg]-[max]. Default: size-262144.
--pin bool - Pin this object when adding.
Default: true.
--raw-leaves bool - Use raw blocks for leaf nodes
. (experimental).
--nocopy bool - Add the file using filestore.
Implies raw-leaves. (experimental).
--fscache bool - Check the filestore for pre-e
xisting blocks. (experimental).
--cid-version int - CID version. Defaults to 0 un
less an option that depends on CIDv1 is passed. (experimental).
--hash string - Hash function to use. Implies
CIDv1 if not sha2-256. (experimental). Default: sha2-256.
--inline bool - Inline small blocks into CIDs
. (experimental).
--inline-limit int - Maximum block size to inline.
(experimental). Default: 32.
```
**After**
```
USAGE
ipfs add <path>... - Add a file or directory to ipfs.
SYNOPSIS
ipfs add [--recursive | -r] [--dereference-args] [--stdin-name=<stdin-name>]
[--hidden | -H] [--quiet | -q] [--quieter | -Q] [--silent]
[--progress | -p] [--trickle | -t] [--only-hash | -n]
[--wrap-with-directory | -w] [--chunker=<chunker> | -s] [--pin=false]
[--raw-leaves] [--nocopy] [--fscache] [--cid-version=<cid-version>]
[--hash=<hash>] [--inline] [--inline-limit=<inline-limit>] [--]
<path>...
ARGUMENTS
<path>... - The path to a file to be added to ipfs.
OPTIONS
-r, --recursive bool - Add directory paths recursively.
--dereference-args bool - Symlinks supplied in arguments are
dereferenced.
--stdin-name string - Assign a name if the file source is stdin.
-H, --hidden bool - Include files that are hidden. Only takes
effect on recursive add.
-q, --quiet bool - Write minimal output.
-Q, --quieter bool - Write only final hash.
--silent bool - Write no output.
-p, --progress bool - Stream progress data.
-t, --trickle bool - Use trickle-dag format for dag generation.
-n, --only-hash bool - Only chunk and hash - do not write to
disk.
-w, --wrap-with-directory bool - Wrap files with a directory object.
-s, --chunker string - Chunking algorithm, size-[bytes] or
rabin-[min]-[avg]-[max]. Default:
size-262144.
--pin bool - Pin this object when adding. Default:
true.
--raw-leaves bool - Use raw blocks for leaf nodes.
(experimental).
--nocopy bool - Add the file using filestore. Implies
raw-leaves. (experimental).
--fscache bool - Check the filestore for pre-existing
blocks. (experimental).
--cid-version int - CID version. Defaults to 0 unless an
option that depends on CIDv1 is passed.
(experimental).
--hash string - Hash function to use. Implies CIDv1 if
not sha2-256. (experimental). Default:
sha2-256.
--inline bool - Inline small blocks into CIDs.
(experimental).
--inline-limit int - Maximum block size to inline.
(experimental). Default: 32.
```
### Features
This release is primarily a bug fix release but it still includes two nice
...
...
@@ -272,6 +405,7 @@ go versions during builds.
### Changelog
-
github.com/ipfs/go-ipfs:
-
fix: use http.Error for sending errors (
[
ipfs/go-ipfs#6379
](
https://github.com/ipfs/go-ipfs/pull/6379
)
)
-
core: call app.Stop once (
[
ipfs/go-ipfs#6380
](
https://github.com/ipfs/go-ipfs/pull/6380
)
)
-
explain what dhtclient does (
[
ipfs/go-ipfs#6375
](
https://github.com/ipfs/go-ipfs/pull/6375
)
)
-
ci: actually enable golangci-lint (
[
ipfs/go-ipfs#6362
](
https://github.com/ipfs/go-ipfs/pull/6362
)
)
...
...
@@ -348,7 +482,11 @@ go versions during builds.
-
sync: apply entire query while locked (
[
ipfs/go-datastore#129
](
https://github.com/ipfs/go-datastore/pull/129
)
)
-
filter: values are now always bytes (
[
ipfs/go-datastore#126
](
https://github.com/ipfs/go-datastore/pull/126
)
)
-
autobatch: batch deletes (
[
ipfs/go-datastore#128
](
https://github.com/ipfs/go-datastore/pull/128
)
)
-
github.com/ipfs/go-ipfs-cmds (v0.0.5 -> v0.0.7):
-
github.com/ipfs/go-ipfs-cmds (v0.0.5 -> v0.0.8):
-
fix: use golang's http.Error to send errors (
[
ipfs/go-ipfs-cmds#167
](
https://github.com/ipfs/go-ipfs-cmds/pull/167
)
)
-
improve help text on narrow terminals (
[
ipfs/go-ipfs-cmds#140
](
https://github.com/ipfs/go-ipfs-cmds/pull/140
)
)
-
chore: remove an old hack (
[
ipfs/go-ipfs-cmds#165
](
https://github.com/ipfs/go-ipfs-cmds/pull/165
)
)
-
http: use the request context (
[
ipfs/go-ipfs-cmds#163
](
https://github.com/ipfs/go-ipfs-cmds/pull/163
)
)
-
merge in go-ipfs-cmdkit (
[
ipfs/go-ipfs-cmds#164
](
https://github.com/ipfs/go-ipfs-cmds/pull/164
)
)
-
fix: return the correct error (
[
ipfs/go-ipfs-cmds#162
](
https://github.com/ipfs/go-ipfs-cmds/pull/162
)
)
-
github.com/ipfs/go-ipfs-config (v0.0.1 -> v0.0.3):
...
...
@@ -439,10 +577,16 @@ go versions during builds.
-
add an example (mainly for development) (
[
libp2p/go-libp2p-tls#14
](
https://github.com/libp2p/go-libp2p-tls/pull/14
)
)
-
github.com/libp2p/go-libp2p-transport-upgrader (v0.0.1 -> v0.0.4):
-
improve correctness of closing connections on failure (
[
libp2p/go-libp2p-transport-upgrader#19
](
https://github.com/libp2p/go-libp2p-transport-upgrader/pull/19
)
)
-
github.com/libp2p/go-maddr-filter (v0.0.1 -> v0.0.4):
-
fix filter listing (
[
libp2p/go-maddr-filter#13
](
https://github.com/libp2p/go-maddr-filter/pull/13
)
)
-
Reinstate deprecated Remove() method to reverse breakage (
[
libp2p/go-maddr-filter#12
](
https://github.com/libp2p/go-maddr-filter/pull/12
)
)
-
Implement support for whitelists, default-deny/allow (
[
libp2p/go-maddr-filter#8
](
https://github.com/libp2p/go-maddr-filter/pull/8
)
)
-
github.com/libp2p/go-mplex (v0.0.1 -> v0.0.4):
-
disable write coalescing (
[
libp2p/go-mplex#61
](
https://github.com/libp2p/go-mplex/pull/61
)
)
-
fix SetDeadline error conditions (
[
libp2p/go-mplex#59
](
https://github.com/libp2p/go-mplex/pull/59
)
)
-
don't use contexts for deadlines (
[
libp2p/go-mplex#58
](
https://github.com/libp2p/go-mplex/pull/58
)
)
-
don't reset on pathologies, just ignore the data (
[
libp2p/go-mplex#57
](
https://github.com/libp2p/go-mplex/pull/57
)
)
-
coalesce writes (
[
libp2p/go-mplex#54
](
https://github.com/libp2p/go-mplex/pull/54
)
)
-
read as much as we can in one go (
[
libp2p/go-mplex#53
](
https://github.com/libp2p/go-mplex/pull/53
)
)
-
use timeouts when sending messages for stream open, close, and reset. (
[
libp2p/go-mplex#52
](
https://github.com/libp2p/go-mplex/pull/52
)
)
-
fix: reset a stream even if closed remotely (
[
libp2p/go-mplex#50
](
https://github.com/libp2p/go-mplex/pull/50
)
)
...
...
@@ -450,6 +594,9 @@ go versions during builds.
-
Fix race condition by adding a mutex for deadline access (
[
libp2p/go-mplex#41
](
https://github.com/libp2p/go-mplex/pull/41
)
)
-
github.com/libp2p/go-msgio (v0.0.1 -> v0.0.2):
-
fix: never claim to read more than read (
[
libp2p/go-msgio#12
](
https://github.com/libp2p/go-msgio/pull/12
)
)
-
github.com/libp2p/go-ws-transport (v0.0.2 -> v0.0.4):
-
dep: import go-smux-
*
into the libp2p org (
[
libp2p/go-ws-transport#43
](
https://github.com/libp2p/go-ws-transport/pull/43
)
)
-
replace gx instructions with note about gomod (
[
libp2p/go-ws-transport#42
](
https://github.com/libp2p/go-ws-transport/pull/42
)
)
## 0.4.20 2019-04-16
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论