v0.10.0
go-ipfs v0.10.0 Release
We're happy to announce go-ipfs 0.10.0. This release brings some big changes to the IPLD internals of go-ipfs that make working with non-UnixFS DAGs easier than ever. There are also a variety of new commands and configuration options available.
As usual, this release includes important fixes, some of which may be critical for security. Unless the fix addresses a bug being exploited in the wild, the fix will not be called out in the release notes. Please make sure to update ASAP. See our release process for details.
🛠 TLDR: BREAKING CHANGES
ipfs dag get
- default output changed to
dag-json
- dag-pb (e.g. unixfs) field names changed - impacts userland code that works with
dag-pb
objects returned bydag get
- no longer emits an additional new-line character at the end of the data output
- default output changed to
ipfs dag put
- defaults changed to reduce ambiguity and surprises: input is now assumed to be
dag-json
, and data is serialized todag-cbor
at rest. --format
and--input-enc
were removed and replaced with--store-codec
and--input-codec
- codec names now match the ones defined in the multicodec table
- dag-pb (e.g. unixfs) field names changed - impacts userland code that works with
dag-pb
objects stored viadag put
- defaults changed to reduce ambiguity and surprises: input is now assumed to be
Keep reading to learn more details.
🔦 Highlights
🌲 IPLD Levels Up
The handling of data serialization as well as many aspects of DAG traversal and pathing have been migrated from older libraries, including go-merkledag and go-ipld-format to the new go-ipld-prime library and its components. This allows us to use many of the newer tools afforded by go-ipld-prime, stricter and more uniform codec implementations, support for additional (pluggable) codecs, and some minor performance improvements.
This is significant refactor of a core component that touches many parts of IPFS, and does come with some breaking changes:
- IPLD plugins:
- The
PluginIPLD
interface has been changed to utilize go-ipld-prime. There is a demonstration of the change in the bundled git plugin.
- The
- The semantics of
dag put
anddag get
change:dag get
now takes theoutput-codec
option which accepts a multicodec name used to encode the output. By default this isdag-json
, which is a strict and deterministic subset of JSON created by the IPLD team. Users may notice differences from the previously plain Go JSON output, particularly where bytes are concerned which are now encoded using a form similar to CIDs:{"/":{"bytes":"unpadded-base64-bytes"}}
rather than the previously Go-specific plain padded base64 string. See the dag-json specification for an explanation of these forms.dag get
no longer prints an additional new-line character at the end of the encoded block output. This means that the output as presented bydag get
are the exact bytes of the requested node. A round-trip of such bytes back in throughdag put
using the same codec should result in the same CID.dag put
uses theinput-codec
option to specify the multicodec name of the format data is being provided in, and thestore-codec
option to specify the multicodec name of the format the data should be stored in at rest. These formerly defaulted tojson
andcbor
respectively. They now default todag-json
anddag-cbor
respectively but may be changed to any supported codec (bundled or loaded via plugin) by its multicodec name.- The
json
andcbor
multicodec names (as used byinput-enc
andformat
options) are now no longer aliases fordag-json
anddag-cbor
respectively. Instead, they now refer to their proper multicodec types.cbor
refers to a plain CBOR format, which will not encode CIDs and does not have strict deterministic encoding rules.json
is a plain JSON format, which also won't encode CIDs and will encode bytes in the Go-specific padded base64 string format rather than the dag-json method of byte encoding. See https://ipld.io/specs/codecs/ for more information on IPLD codecs. protobuf
is no longer used as the codec name fordag-pb
- The codec name
raw
is used to mean Bytes in the IPLD Data Model
- UnixFS refactor. The dag-pb codec, which is used to encode UnixFS data for IPFS, is now represented through the
dag
API in a form that mirrors the protobuf schema used to define the binary format. This unifies the implementations and specification of dag-pb across the IPLD and IPFS stacks. Previously, additional layers of code for file and directory handling within IPFS between protobuf serialization and UnixFS obscured the protobuf representation. Much of this code has now been replaced and there are fewer layers of transformation. This means that interacting with dag-pb data via thedag
API will use different forms:- Previously, using
dag get
on a dag-pb block would present the block serialized as JSON as{"data":"padded-base64-bytes","links":[{"Name":"foo","Size":100,"Cid":{"/":"Qm..."}},...]}
. - Now, the dag-pb data with dag-json codec for output will be serialized using the data model from the dag-pb specification:
{"Data":{"/":{"bytes":"unpadded-base64-bytes"}},"Links":[{"Name":"foo","Tsize":100,"Hash":{"/":"Qm..."}},...]}
. Aside from the change in byte formatting, most field names have changed:data
→Data
,links
→Links
,Size
→Tsize
,Cid
→Hash
. Note that this output can be changed now using theoutput-codec
option to specify an alternative codec. - Similarly, using
dag put
and astore-codec
option ofdag-pb
now requires that the input conform to this dag-pb specified form. Previously, input using{"data":"...","links":[...]}
was accepted, now it must be{"Data":"...","Links":[...]}
. - Previously it was not possible to use paths to navigate to any of these properties of a dag-pb node, the only possible paths were named links, e.g.
dag get QmFoo/NamedLink
whereNamedLink
was one of the links whose name wasNamedLink
. This functionality remains the same, but by prefixing the path with/ipld/
we enter data model pathing semantics and candag get /ipld/QmFoo/Links/0/Hash
to navigate to links or/ipld/QmFoo/Data
to simply retrieve the data section of the node, for example. - ℹ See the dag-pb specification for details on the codec and its data model representation.
- ℹ See this detailed write-up for further background on these changes.
- Previously, using
Ⓜ Multibase Command
go-ipfs now provides utility commands for working with multibase:
$ echo -n hello | ipfs multibase encode -b base16 > file-mbase16
$ cat file-mbase16
f68656c6c6f
$ ipfs multibase decode file-mbase16
hello
$ cat file-mbase16 | ipfs multibase decode
hello
$ ipfs multibase transcode -b base2 file-mbase16
00110100001100101011011000110110001101111
See ipfs multibase --help
for more examples.
🔨 Bitswap now supports greater configurability
This release adds an Internal
section to the configuration file that is designed to help advanced users optimize their setups without needing a custom binary. The Internal
section is not guaranteed to be the same from release to release and may not be covered by migrations. If you use the Internal
section you should be making sure to check the config documentation between releases for any changes.
🐚 Programmatic shell completions command
ipfs commands completion bash
will generate a bash completion script for go-ipfs commands
📜 Profile collection command
Performance profiles can now be collected using ipfs diag profile
. If you need to do some debugging or have an issue to submit the collected profiles are very useful to have around.
🍎 Mac OS notarized binaries
The go-ipfs and related migration binaries (for both Intel and Apple Sillicon) are now signed and notarized to make Mac OS installation easier.
👨👩👦 Improved MDNS
There is a completed implementation of the revised libp2p MDNS spec. This should result in better MDNS discovery and better local/offline operation as a result.
🚗 CAR import statistics
dag import
command now supports --stats
option which will include the number of imported blocks and their total size in the output.
🕸 Peering command
This release adds swarm peering
command for easy management of the peering subsystem. Peer in the peering subsystem is maintained to be connected at all times, and gets reconnected on disconnect with a back-off.
See ipfs swarm peering --help
for more details.
Changelog
Full Changelog
- github.com/ipfs/go-ipfs:
- fuse: load unixfs adls as their dagpb substrates
- enable the legacy mDNS implementation
- test: add dag get --ouput-codec test
- change ipfs dag get flag name from format to output-codec
- test: check behavior of loading UnixFS sharded directories with missing shards
- remove dag put option shortcuts
- change names of ipfs dag put flags to make changes clearer
- feat: dag import --stats (#8237) (ipfs/go-ipfs#8237)
- feat: ipfs-webui v2.13.0 (#8430) (ipfs/go-ipfs#8430)
- feat(cli): add daemon option --agent-version-suffix (#8419) (ipfs/go-ipfs#8419)
- feat: multibase transcode command (#8403) (ipfs/go-ipfs#8403)
- fix: take the lock while listing peers
- feature: 'ipfs swarm peering' command (#8147) (ipfs/go-ipfs#8147)
- fix(sharness): add extra check in flush=false in files write
- chore: update IPFS Desktop testing steps (#8393) (ipfs/go-ipfs#8393)
- add more buttons; remove some sections covered in the docs; general cleanup
- Cosmetic fixups in examples (#8325) (ipfs/go-ipfs#8325)
- perf: use performance-enhancing FUSE mount options
- ci: publish Docker images for bifrost-* branches
- chore: add comments to peerlog plugin about being unsupported
- test: add unit tests for peerlog config parsing
- ci: preload peerlog plugin, disable by default
- fix(mkreleaselog): specify the parent commit when diffing
- update go-libp2p to v0.15.0-rc.1 (ipfs/go-ipfs#8354)
- feat: add 'ipfs multibase' commands (#8180) (ipfs/go-ipfs#8180)
- support bitswap configurability (#8268) (ipfs/go-ipfs#8268)
- IPLD Prime In IPFS: Target Merge Branch (#7976) (ipfs/go-ipfs#7976)
- ci: upgrade to Go 1.16.7 on CI (ipfs/go-ipfs#8324)
- Add flag to create parent directories in files cp command (ipfs/go-ipfs#8340)
- fix: avoid out of bounds error when rendering short hashes (ipfs/go-ipfs#8318)
- fix: remove some deprecated calls (ipfs/go-ipfs#8296)
- perf: set an appropriate capacity (ipfs/go-ipfs#8244)
- Fix: Use a pointer type on IpfsNode.Peering (ipfs/go-ipfs#8331)
- fix: macos notarized fs-repo-migrations (#8333) (ipfs/go-ipfs#8333)
- README.md: Add MacPorts to install section (ipfs/go-ipfs#8220)
- feat: register first block metric by default (ipfs/go-ipfs#8332)
- Build a go-ipfs:extras docker image (ipfs/go-ipfs#8142)
- fix/go-ipfs-as-a-library (ipfs/go-ipfs#8266)
- Expose additional migration APIs (#8153) (ipfs/go-ipfs#8153)
- point ipfs to pinner that syncs on every pin (#8231) (ipfs/go-ipfs#8231)
- docs: chocolatey package name
- Disambiguate online/offline naming in sharness tests (ipfs/go-ipfs#8254)
- Rename DOCKER_HOST to TEST_DOCKER_HOST to avoid conflicts (ipfs/go-ipfs#8283)
- feat: add an "ipfs diag profile" command (ipfs/go-ipfs#8291)
- Merge branch 'release'
- feat: improve mkreleaslog (ipfs/go-ipfs#8290)
- Add test with expected failure for #3503 (ipfs/go-ipfs#8280)
- Create PATCH_RELEASE_TEMPLATE.md
- fix document error (ipfs/go-ipfs#8271)
- feat: webui v2.12.4
- programmatic shell completions (ipfs/go-ipfs#8043)
- test: gateway response for bafkqaaa
- doc(README): update chat links (and misc fixes) (ipfs/go-ipfs#8222)
- link to the actual doc (#8126) (ipfs/go-ipfs#8126)
- Improve peer hints for pin remote add (#8143) (ipfs/go-ipfs#8143)
- fix(mkreleaselog): support multiple commit authors (ipfs/go-ipfs#8214)
- fix(mkreleaselog): handle commit 0 (ipfs/go-ipfs#8121)
- bump snap to build with Go 1.16
- chore: update CHANGELOG
- chore: switch tar-utils dep to ipfs org
- feat: print error on bootstrap failure (ipfs/go-ipfs#8166)
- fix: typo in migration error
- refactor: improved humanNumber and humanSI
- feat: humanized durations in stat provide
- feat: humanized numbers in stat provide
- feat: add a text output encoding for the stats provide command
- fix: webui-2.12.3
- refactor(pinmfs): log error if pre-existing pin failed (#8056) (ipfs/go-ipfs#8056)
- config.md: fix typos/improve wording (ipfs/go-ipfs#8031)
- fix(peering_test) : Fix the peering_test to check the connection explicitly added (ipfs/go-ipfs#8140)
- build: ignore generated files in changelog (ipfs/go-ipfs#7712)
- update version to 0.10.0-dev (ipfs/go-ipfs#8136)
- github.com/ipfs/go-bitswap (v0.3.4 -> v0.4.0):
- More stats, knobs and tunings (#514) (ipfs/go-bitswap#514)
- fix: fix a map access race condition in the want index (ipfs/go-bitswap#523)
- fix: make blockstore cancel test less timing dependent (ipfs/go-bitswap#507)
- fix(decision): fix a datarace on disconnect (ipfs/go-bitswap#508)
- optimize the lookup which peers are waiting for a given block (ipfs/go-bitswap#486)
- fix: hold the task worker lock when starting task workers (ipfs/go-bitswap#504)
- fix: Nil dereference while using SetSendDontHaves (ipfs/go-bitswap#488)
- Fix flaky tests in message queue (ipfs/go-bitswap#497)
- Fix flaky DontHaveTimeoutManger tests (ipfs/go-bitswap#495)
- sync: update CI config files (ipfs/go-bitswap#485)
- github.com/ipfs/go-blockservice (v0.1.4 -> v0.1.7):
- update go-bitswap to v0.3.4 (ipfs/go-blockservice#78)
- fix staticcheck (ipfs/go-blockservice#75)
- fix: handle missing session exchange in Session (ipfs/go-blockservice#73)
- github.com/ipfs/go-datastore (v0.4.5 -> v0.4.6):
- sync: update CI config files (ipfs/go-datastore#175)
- speedup tests (ipfs/go-datastore#177)
- test: reduce element count when the race detector is enabled (ipfs/go-datastore#176)
- fix staticcheck (ipfs/go-datastore#173)
- remove Makefile (ipfs/go-datastore#172)
- github.com/ipfs/go-ds-badger (v0.2.6 -> v0.2.7):
- Log start and end of GC rounds (ipfs/go-ds-badger#115)
- github.com/ipfs/go-fs-lock (v0.0.6 -> v0.0.7):
- chore: update log (ipfs/go-fs-lock#24)
- sync: update CI config files (ipfs/go-fs-lock#21)
- fix TestLockedByOthers on Windows (ipfs/go-fs-lock#19)
- github.com/ipfs/go-ipfs-config (v0.14.0 -> v0.16.0):
- feat: add Internal and Internal.Bitswap config options
- feat: add an OptionalInteger type
- fix: make sure the Priority type properly implements the JSON marshal/unmarshal interfaces
- fix: remove deprecated calls (ipfs/go-ipfs-config#138)
- sync: update CI config files (ipfs/go-ipfs-config#132)
- remove period, fix staticcheck (ipfs/go-ipfs-config#131)
- github.com/ipfs/go-ipfs-pinner (v0.1.1 -> v0.1.2):
- Fix/minimize rebuild (#15) (ipfs/go-ipfs-pinner#15)
- Define ErrNotPinned alongside the Pinner interface
- fix staticcheck (ipfs/go-ipfs-pinner#11)
- fix: remove the rest of the pb backed pinner (ipfs/go-ipfs-pinner#9)
- Remove old ipldpinner that has been replaced by dspinner (ipfs/go-ipfs-pinner#7)
- optimize CheckIfPinned (ipfs/go-ipfs-pinner#6)
- github.com/ipfs/go-ipfs-provider (v0.5.1 -> v0.6.1):
- Update to IPLD Prime (#32) (ipfs/go-ipfs-provider#32)
- github.com/ipfs/go-ipld-git (v0.0.4 -> v0.1.1):
- return ErrUnexpectedEOF when Decode input is too short
- Update go-ipld-git to a go-ipld-prime codec (#46) (ipfs/go-ipld-git#46)
- fix staticcheck (ipfs/go-ipld-git#49)
- change WriteTo to the standard signature (ipfs/go-ipld-git#47)
- don't copy mutexes (ipfs/go-ipld-git#48)
- github.com/ipfs/go-ipns (v0.1.0 -> v0.1.2):
- fix: remove deprecated calls (ipfs/go-ipns#30)
- remove Makefile (ipfs/go-ipns#27)
- github.com/ipfs/go-log/v2 (v2.1.3 -> v2.3.0):
- Stop defaulting to color output on non-TTY (ipfs/go-log#116)
- feat: add ability to use custom zap core (ipfs/go-log#114)
- fix staticcheck (ipfs/go-log#112)
- test: fix flaky label test (ipfs/go-log#111)
- per-subsystem log-levels (ipfs/go-log#109)
- fix: don't panic on invalid log labels (ipfs/go-log#110)
- github.com/ipfs/go-merkledag (v0.3.2 -> v0.4.0):
- Use IPLD-prime: target merge branch (ipfs/go-merkledag#67)
- sync: update CI config files (ipfs/go-merkledag#70)
- staticcheck (ipfs/go-merkledag#69)
- Fix bug in dagutils MergeDiffs. (#59) (ipfs/go-merkledag#59)
- chore: add tests to verify allowable data layouts (ipfs/go-merkledag#58)
- github.com/ipfs/go-namesys (v0.3.0 -> v0.3.1):
- fix: remove deprecated call to pk.Bytes (ipfs/go-namesys#19)
- github.com/ipfs/go-path (v0.0.9 -> v0.1.2):
- fix: give one minute timeouts to function calls instead of block retrievals (ipfs/go-path#44)
- IPLD Prime In IPFS: Target Merge Branch (#36) (ipfs/go-path#36)
- remove Makefile (ipfs/go-path#40)
- sync: update CI config files (ipfs/go-path#39)
- github.com/ipfs/go-peertaskqueue (v0.2.0 -> v0.4.0):
- add stats
- Have a configurable maximum active work per peer (ipfs/go-peertaskqueue#10)
- sync: update CI config files (ipfs/go-peertaskqueue#13)
- fix staticcheck (ipfs/go-peertaskqueue#12)
- fix go vet (ipfs/go-peertaskqueue#11)
- github.com/ipfs/go-unixfsnode (null -> v1.1.3):
- make UnixFSHAMTShard implement the ADL interface (#11) (ipfs/go-unixfsnode#11)
- github.com/ipfs/interface-go-ipfs-core (v0.4.0 -> v0.5.1):
- IPLD In IPFS: Target Merge Branch (#67) (ipfs/interface-go-ipfs-core#67)
- fix staticcheck (ipfs/interface-go-ipfs-core#72)
- remove Makefile (ipfs/interface-go-ipfs-core#70)
- github.com/ipld/go-codec-dagpb (v1.2.0 -> v1.3.0):
- fix staticcheck warnings (ipld/go-codec-dagpb#29)
- update go-ipld-prime, use go:generate
- allow decoding PBNode fields in any order
- expose APIs without Reader/Writer overhead
- preallocate 1KiB on the stack for marshals
- encode directly with a []byte
- decode directly with a []byte
- remove unnecessary xerrors dep
- github.com/ipld/go-ipld-prime (v0.9.1-0.20210324083106-dc342a9917db -> v0.12.2):
- Printer feature (ipld/go-ipld-prime#238)
- schema: keep TypeSystem names ordered
- schema/dmt: redesign with bindnode and add Compile
- codec: make cbor and json codecs use ErrUnexpectedEOF
- bindnode: fix for stringjoin struct emission when first field is the empty string (ipld/go-ipld-prime#239)
- schema: typekind names are not capitalized.
- Bindnode fixes continued (ipld/go-ipld-prime#233)
- helper methods for encoding and decoding (ipld/go-ipld-prime#232)
- mark v0.12.0
- Major refactor: extract datamodel package.
(ipld/go-ipld-prime#228) - Fix ExploreRecursive stopAt condition, add tests, add error return to Explore (#229) (ipld/go-ipld-prime#229)
- selector: add tests which are driven by language-agnostic spec fixtures. (ipld/go-ipld-prime#231)
- selector: Improve docs for implementors. (#227) (ipld/go-ipld-prime#227)
- Bindnode fixes of opportunity (ipld/go-ipld-prime#226)
- node/bindnode: redesign the shape of unions in Go (ipld/go-ipld-prime#223)
- summary of the v0.11.0 changelog should holler even more about how cool bindnode is.
- mark v0.11.0
- node/bindnode: mark as experimental in its godoc.
- codecs: more docs, a terminology guide, consistency in options. (ipld/go-ipld-prime#221)
- Changelog backfill.
- selectors: docs enhancements, new construction helpers. (ipld/go-ipld-prime#199)
- Changelog backfill.
- Allow parsing of single Null tokens from refmt
- Add link conditions for 'stop-at' expression in ExploreRecursive selector (ipld/go-ipld-prime#214)
- Remove base64 padding for dag-json bytes as per spec
- node/bindnode: temporarily skip Links schema test
- test: add test for traversal of typed node links
- fix: typed links LinkTargetNodePrototype should return ReferencedType
- Make
go vet
happy - Add MapSortMode to MarshalOptions
- Add {Unm,M}arshalOptions for explicit mode switching for cbor vs dagcbor
- Sort map entries marshalling dag-cbor
- node/bindnode: first pass at inferring IPLD schemas
- Add {Unm,M}arshalOptions for explicit mode switching for json vs dagjson
- Make tests pass with sorted dag-json output
- Sort map entries marshalling dag-json
- Simplify refmt usage
- Fix failing test using dagjson encoding
- Fix some failing tests using dagjson
- Remove pretty-printing
- Update readme linking to specs and meta repo.
- Fix example names so they render on go.pkg.dev.
- fluent/quip: remove in favor of qp
- node/basic: add Chooser
- schema: add TypedPrototype
- node/bindnode: rethink and better document APIs
- node/tests: cover yet more interface methods
- node/tests: cover more error cases for scalar kinds
- node/tests: add more extensive scalar kind tests
- node/bindnode: start running all schema tests
- mark v0.10.0
- More changelog grooming.
- Changelog grooming.
- node/tests: put most of the schema test cases here
- Add more explicit discussion of indicies to ListIterator.
- node/bindnode: start of a reflect-based Node implementation
- add DeepEqual and start using it in tests
- Add enumerate methods to the multicodec registries. (ipld/go-ipld-prime#176)
- Make a multicodec.Registry type available. (ipld/go-ipld-prime#172)
- fluent/qp: don't panic on string panics
- Allow emitting & parsing of bytes per dagjson codec spec (ipld/go-ipld-prime#166)
- Package docs for dag-cbor.
- Update package docs.
- schema/gen/go: apply gofmt automatically (ipld/go-ipld-prime#163)
- schema/gen/go: fix remaining vet warnings on generated code
- schema/gen/go: batch file writes via a bytes.Buffer (ipld/go-ipld-prime#161)
- schema/gen/go: avoid Maybe pointers for small types
- fix readme formatting typo
- feat(linksystem): add reification to LinkSystem (ipld/go-ipld-prime#158)
- github.com/libp2p/go-addr-util (v0.0.2 -> v0.1.0):
- stop using the deprecated go-multiaddr-net package (libp2p/go-addr-util#34)
- Remove
IsFDCostlyTransport
(libp2p/go-addr-util#31)
- github.com/libp2p/go-libp2p (v0.14.3 -> v0.15.0):
- chore: update go-tcp-transport to v0.2.8
- implement the new mDNS spec, move the old mDNS implementation (#1161) (libp2p/go-libp2p#1161)
- remove deprecated basichost.New constructor (libp2p/go-libp2p#1156)
- Make BasicHost.evtLocalAddrsUpdated event emitter stateful. (libp2p/go-libp2p#1147)
- fix: deflake multipro echo test (libp2p/go-libp2p#1149)
- fix(basic_host): stream not closed when context done (libp2p/go-libp2p#1148)
- chore: update deps (libp2p/go-libp2p#1141)
- remove secio from examples (libp2p/go-libp2p#1143)
- remove deprecated Filter option (libp2p/go-libp2p#1132)
- fix: remove deprecated call (libp2p/go-libp2p#1136)
- test: fix flaky example test (libp2p/go-libp2p#1135)
- remove deprecated identify.ClientVersion (libp2p/go-libp2p#1133)
- remove Go version requirement and note about Go modules from README (libp2p/go-libp2p#1126)
- Error assignment fix (libp2p/go-libp2p#1124)
- perf/basic_host: Don't handle address change if we hasn't anyone (libp2p/go-libp2p#1115)
- github.com/libp2p/go-libp2p-core (v0.8.5 -> v0.9.0):
- feat: remove unused metrics (#208) (libp2p/go-libp2p-core#208)
- feat: keep addresses for longer (#207) (libp2p/go-libp2p-core#207)
- remove deprecated key stretching struct / function (#203) (libp2p/go-libp2p-core#203)
- remove deprecated Bytes method from the Key interface (#204) (libp2p/go-libp2p-core#204)
- remove deprecated functions in the peer package (#205) (libp2p/go-libp2p-core#205)
- remove deprecated constructor for the insecure transport (#206) (libp2p/go-libp2p-core#206)
- feat: add helper functions for working with addr infos (#202) (libp2p/go-libp2p-core#202)
- fix: make timestamps strictly increasing (#201) (libp2p/go-libp2p-core#201)
- ci: use github-actions for compatibility testing (#200) (libp2p/go-libp2p-core#200)
- sync: update CI config files (#189) (libp2p/go-libp2p-core#189)
- remove minimum Go version from README (#199) (libp2p/go-libp2p-core#199)
- remove flaky tests (#194) (libp2p/go-libp2p-core#194)
- reduce default timeouts to 15s (#192) (libp2p/go-libp2p-core#192)
- fix benchmark of key verifications (#190) (libp2p/go-libp2p-core#190)
- fix staticcheck errors (#191) (libp2p/go-libp2p-core#191)
- doc: document Close on Transport (#188) (libp2p/go-libp2p-core#188)
- add a helper function to go directly from a string to an AddrInfo (#184) (libp2p/go-libp2p-core#184)
- github.com/libp2p/go-libp2p-http (v0.2.0 -> v0.2.1):
- remove Makefile (libp2p/go-libp2p-http#70)
- fix staticcheck (libp2p/go-libp2p-http#67)
- Revert "increase buffer size"
- Increase read buffer size to reduce poll system calls (libp2p/go-libp2p-http#66)
- github.com/libp2p/go-libp2p-kad-dht (v0.12.2 -> v0.13.1):
- Extract validation from ProtocolMessenger (libp2p/go-libp2p-kad-dht#741)
- remove codecov.yml (libp2p/go-libp2p-kad-dht#742)
- integrate some basic opentelemetry tracing (libp2p/go-libp2p-kad-dht#734)
- feat: delete GetValues (libp2p/go-libp2p-kad-dht#728)
- chore: skip flaky test when race detector is enabled (libp2p/go-libp2p-kad-dht#731)
- Dont count connection times in usefulness (libp2p/go-libp2p-kad-dht#660)
- Routing table refresh should NOT block (libp2p/go-libp2p-kad-dht#705)
- update bootstrapPeers to be func() []peer.AddrInfo (#716) (libp2p/go-libp2p-kad-dht#716)
- github.com/libp2p/go-libp2p-noise (v0.2.0 -> v0.2.2):
- remove note about go modules in README (libp2p/go-libp2p-noise#100)
- fix: remove deprecated call to pk.Bytes (libp2p/go-libp2p-noise#99)
- github.com/libp2p/go-libp2p-peerstore (v0.2.7 -> v0.2.8):
- Fix perfomance issue in updating addr book (libp2p/go-libp2p-peerstore#141)
- Fix test flakes (libp2p/go-libp2p-peerstore#164)
- Only remove records during GC (libp2p/go-libp2p-peerstore#135)
- sync: update CI config files (libp2p/go-libp2p-peerstore#160)
- fix: fix some race conditions in the ds address book (libp2p/go-libp2p-peerstore#161)
- address lints and test failures (libp2p/go-libp2p-peerstore#159)
- stop using the deprecated go-multiaddr-net package (libp2p/go-libp2p-peerstore#158)
- github.com/libp2p/go-libp2p-pubsub (v0.4.2 -> v0.5.4):
- make slowness a warning, with a user configurable threshold
- reduce log spam from empty heartbeat messages
- fix: code review
- add support for custom protocol matching function
- fix: remove deprecated Bytes call (#436) (libp2p/go-libp2p-pubsub#436)
- cleanup: fix vet and staticcheck failures (#435) (libp2p/go-libp2p-pubsub#435)
- Revert noisy newline changes
- fix: avoid panic when peer is blacklisted after connection
- release priority locks early when handling batches
- don't respawn writer if we fail to open a stream; declare it a peer error
- batch process dead peer notifications
- use a priority lock instead of a semaphore
- do the notification in a goroutine
- emit new peer notification without holding the semaphore
- use a semaphore for new peer notifications so that we don't block the event loop
- don't accumulate pending goroutines from new connections
- rename RawTracer's DroppedInSubscribe into UndeliverableMessage
- add a new RawTracer event to track messages dropped in Subscribe
- add an option to configure the Subscription output queue length
- fix some comments
- expose more events for RawTracer
- Make close concurrent safe
- Fix close of closed channel
- Update README to point to correct example directory (#424) (libp2p/go-libp2p-pubsub#424)
- fix: remove deprecated and never used topic descriptors (#423) (libp2p/go-libp2p-pubsub#423)
- Refactor Gossipsub Parameters To Make Them More Configurable (#421) (libp2p/go-libp2p-pubsub#421)
- add tests for gs features and custom protocols
- add support for custom gossipsub protocols and feature tests
- RIP travis, Long Live CircleCI (#414) (libp2p/go-libp2p-pubsub#414)
- Ignore transient connections (#412) (libp2p/go-libp2p-pubsub#412)
- demote log spam to debug
- fix bug
- add last amount of validation
- add threshold validation
- strengthen validation
- rename checkSignature to checkSigningPolicy
- rename validation.Publish to PushLocal
- fix TestValidate, add TestValidate2
- skip flaky test until we can fix it
- implement synchronous validation for locally published messages
- expose internalTracer as RawTracer
- export rejection named string constants
- more intelligent handling of ip whitelist check
- remove obsolete explicit IP whitelisting in favor of subnets
- add subnet whitelisting for IPColocation
- github.com/libp2p/go-libp2p-quic-transport (v0.11.2 -> v0.12.0):
- sync: update CI config files (#228) (libp2p/go-libp2p-quic-transport#228)
- fix closing of streams in example (libp2p/go-libp2p-quic-transport#221)
- close all UDP connections when the reuse is closed (libp2p/go-libp2p-quic-transport#216)
- fix staticcheck (libp2p/go-libp2p-quic-transport#217)
- sync: update CI config files (#214) (libp2p/go-libp2p-quic-transport#214)
- implement a Transport.Close that waits for the reuse's GC to finish (libp2p/go-libp2p-quic-transport#211)
- don't compare peer IDs when hole punching (libp2p/go-libp2p-quic-transport#210)
- add hole punching support (#194) (libp2p/go-libp2p-quic-transport#194)
- github.com/libp2p/go-libp2p-swarm (v0.5.0 -> v0.5.3):
- sync: update CI config files (libp2p/go-libp2p-swarm#263)
- remove incorrect call to InterceptAddrDial (libp2p/go-libp2p-swarm#260)
- speed up the TestFDLimitUnderflow test (libp2p/go-libp2p-swarm#262)
- sync: update CI config files (#248) (libp2p/go-libp2p-swarm#248)
- github.com/libp2p/go-libp2p-testing (v0.4.0 -> v0.4.2):
- fix deadlock in the transport's serve function (libp2p/go-libp2p-testing#35)
- fix: cleanup transport suite (libp2p/go-libp2p-testing#34)
- Address
go vet
andsaticcheck
issues (libp2p/go-libp2p-testing#33) - Defer closing stream for reading (libp2p/go-libp2p-testing#32)
- github.com/libp2p/go-libp2p-tls (v0.1.3 -> v0.2.0):
- fix: don't fail the handshake when the libp2p extension is critical (libp2p/go-libp2p-tls#88)
- fix deprecated call to key.Bytes (libp2p/go-libp2p-tls#86)
- fix usage of deprecated peer.IDB58Decode (libp2p/go-libp2p-tls#77)
- remove setting of the TLS 1.3 GODEBUG flag (libp2p/go-libp2p-tls#68)
- improve the error message returned when peer verification fails (libp2p/go-libp2p-tls#57)
- update to Go 1.14 (libp2p/go-libp2p-tls#54)
- Update deps and fix tests (libp2p/go-libp2p-tls#43)
- github.com/libp2p/go-libp2p-transport-upgrader (v0.4.2 -> v0.4.6):
- chore: update deps (libp2p/go-libp2p-transport-upgrader#78)
- fix typo in error message (libp2p/go-libp2p-transport-upgrader#77)
- fix staticcheck (libp2p/go-libp2p-transport-upgrader#74)
- don't listen on all interfaces in tests (libp2p/go-libp2p-transport-upgrader#73)
- stop using the deprecated go-multiaddr-net (libp2p/go-libp2p-transport-upgrader#72)
- github.com/libp2p/go-libp2p-xor (v0.0.0-20200501025846-71e284145d58 -> v0.0.0-20210714161855-5c005aca55db):
- Add immutable remove operation (libp2p/go-libp2p-xor#14)
- fix go vet and staticcheck (libp2p/go-libp2p-xor#11)
- github.com/libp2p/go-reuseport-transport (v0.0.4 -> v0.0.5):
- remove note about Go modules in README (libp2p/go-reuseport-transport#32)
- stop using the deprecated go-multiaddr-net package (libp2p/go-reuseport-transport#30)
- github.com/libp2p/go-socket-activation (v0.0.2 -> v0.1.0):
- chore: stop using the deprecated go-multiaddr-net package (libp2p/go-socket-activation#16)
- fix staticcheck (libp2p/go-socket-activation#13)
- github.com/libp2p/go-tcp-transport (v0.2.4 -> v0.2.8):
- disable metrics collection on Windows (libp2p/go-tcp-transport#93)
- sync: update CI config files (#90) (libp2p/go-tcp-transport#90)
- chore: update go-libp2p-transport-upgrader and go-reuseport-transport (libp2p/go-tcp-transport#84)
- github.com/libp2p/go-ws-transport (v0.4.0 -> v0.5.0):
- chore: update go-libp2p-transport-upgrader and go-libp2p-core (libp2p/go-ws-transport#103)
- remove deprecated type (libp2p/go-ws-transport#102)
- sync: update CI config files (libp2p/go-ws-transport#101)
- chore: various cleanups required to get vet/staticcheck/test to pass (libp2p/go-ws-transport#100)
- github.com/lucas-clemente/quic-go (v0.21.2 -> v0.23.0):
- update to Go 1.17.x (lucas-clemente/quic-go#3258)
- quicvarint: export Min and Max (#3253) (lucas-clemente/quic-go#3253)
- drop support for Go 1.15 (lucas-clemente/quic-go#3247)
- quicvarint: add Reader and Writer interfaces (#3233) (lucas-clemente/quic-go#3233)
- fix race when stream.Read and CancelRead are called concurrently (lucas-clemente/quic-go#3241)
- also count coalesced 0-RTT packets in the integration tests (lucas-clemente/quic-go#3251)
- remove draft versions 32 and 34 from README (#3244) (lucas-clemente/quic-go#3244)
- update Changelog (lucas-clemente/quic-go#3245)
- optimize hasOutstandingCryptoPackets in sentPacketHandler (lucas-clemente/quic-go#3230)
- permit underlying conn to implement batch interface directly (lucas-clemente/quic-go#3237)
- cancel the PTO timer when all Handshake packets are acknowledged (lucas-clemente/quic-go#3231)
- fix flaky INVALID_TOKEN server test (lucas-clemente/quic-go#3223)
- drop support for QUIC draft version 32 and 34 (lucas-clemente/quic-go#3217)
- fix flaky 0-RTT integration test (lucas-clemente/quic-go#3224)
- use batched reads (lucas-clemente/quic-go#3142)
- add a config option to disable sending of Version Negotiation packets (lucas-clemente/quic-go#3216)
- remove the RetireBugBackwardsCompatibilityMode (lucas-clemente/quic-go#3213)
- remove outdated ackhandler test case (lucas-clemente/quic-go#3212)
- remove unused StripGreasedVersions function (lucas-clemente/quic-go#3214)
- fix incorrect usage of errors.Is (lucas-clemente/quic-go#3215)
- return error on SendMessage when session is closed (lucas-clemente/quic-go#3218)
- remove a redundant error check (lucas-clemente/quic-go#3210)
- update golangci-lint to v1.41.1 (lucas-clemente/quic-go#3205)
- Update doc for dialer in http3.RoundTripper (lucas-clemente/quic-go#3208)
- github.com/multiformats/go-multiaddr (v0.3.3 -> v0.4.0):
- remove forced dependency on deprecated go-maddr-filter (multiformats/go-multiaddr#162)
- remove deprecated SwapToP2pMultiaddrs (multiformats/go-multiaddr#161)
- remove Makefile (multiformats/go-multiaddr#163)
- remove deprecated filter functions (multiformats/go-multiaddr#157)
- remove deprecated NetCodec (multiformats/go-multiaddr#159)
- add Noise (multiformats/go-multiaddr#156)
- Add TLS protocol (multiformats/go-multiaddr#153)
- github.com/multiformats/go-multicodec (v0.2.0 -> v0.3.0):
- Export reserved range constants (#53) (multiformats/go-multicodec#53)
- make Code.Set accept valid code numbers
- replace Of with Code.Set, implementing flag.Value
- add multiformats/multicodec as a git submodule
- update the generator with the "status" CSV column
- Run
go generate
to generate the latest codecs - Add lookup for multicodec code by string name (multiformats/go-multicodec#40)
Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Daniel Martí | 42 | +8549/-6587 | 170 |
Eric Myhre | 55 | +5883/-6715 | 395 |
Marten Seemann | 100 | +1814/-2028 | 275 |
Steven Allen | 80 | +1573/-1998 | 127 |
hannahhoward | 18 | +1721/-671 | 53 |
Will | 2 | +1114/-1217 | 18 |
Andrew Gillis | 2 | +1220/-720 | 14 |
gammazero | 3 | +43/-1856 | 10 |
Masih H. Derkani | 3 | +960/-896 | 8 |
Adin Schmahmann | 25 | +1458/-313 | 44 |
vyzo | 27 | +986/-353 | 60 |
Will Scott | 6 | +852/-424 | 16 |
Rod Vagg | 19 | +983/-255 | 66 |
Petar Maymounkov | 6 | +463/-179 | 22 |
web3-bot | 10 | +211/-195 | 24 |
adlrocha | 1 | +330/-75 | 15 |
RubenKelevra | 2 | +128/-210 | 2 |
Ian Davis | 3 | +200/-109 | 17 |
Cory Schwartz | 3 | +231/-33 | 7 |
Keenan Nemetz | 1 | +184/-71 | 2 |
Randy Reddig | 2 | +187/-53 | 8 |
Takashi Matsuda | 3 | +201/-2 | 7 |
guseggert | 4 | +161/-20 | 9 |
Lucas Molas | 5 | +114/-47 | 27 |
nisdas | 4 | +115/-45 | 7 |
Michael Muré | 6 | +107/-33 | 24 |
Richard Ramos | 2 | +113/-9 | 3 |
Marcin Rataj | 12 | +88/-24 | 13 |
Ondrej Prazak | 2 | +104/-6 | 4 |
Michal Dobaczewski | 2 | +77/-28 | 3 |
Jorropo | 3 | +9/-75 | 4 |
Andey Robins | 1 | +70/-3 | 3 |
Gus Eggert | 10 | +34/-31 | 12 |
noot | 1 | +54/-9 | 5 |
Maxim Merzhanov | 1 | +29/-24 | 1 |
Adrian Lanzafame | 1 | +30/-13 | 2 |
Bogdan Stirbat | 1 | +22/-16 | 2 |
Shad Sterling | 1 | +28/-3 | 1 |
Jesse Bouwman | 5 | +30/-0 | 5 |
Pavel Karpy | 1 | +19/-7 | 2 |
lasiar | 5 | +14/-10 | 5 |
Dennis Trautwein | 1 | +20/-4 | 2 |
Louis Thibault | 1 | +22/-1 | 2 |
whyrusleeping | 2 | +21/-1 | 2 |
aarshkshah1992 | 3 | +12/-8 | 3 |
Peter Rabbitson | 2 | +20/-0 | 2 |
bt90 | 2 | +17/-2 | 2 |
Dominic Della Valle | 1 | +13/-1 | 2 |
Audrius Butkevicius | 1 | +12/-1 | 1 |
Brian Strauch | 1 | +9/-3 | 1 |
Aarsh Shah | 2 | +1/-11 | 2 |
Whyrusleeping | 1 | +11/-0 | 1 |
Max | 1 | +7/-3 | 1 |
vallder | 1 | +3/-5 | 1 |
Michael Burns | 3 | +2/-6 | 3 |
Lasse Johnsen | 1 | +4/-4 | 2 |
snyh | 1 | +5/-2 | 1 |
Hector Sanjuan | 2 | +3/-2 | 2 |
市川恭佑 (ebi) | 1 | +1/-3 | 1 |
godcong | 2 | +2/-1 | 2 |
Mathis Engelbart | 1 | +1/-2 | 1 |
folbrich | 1 | +1/-1 | 1 |
Med Mouine | 1 | +1/-1 | 1 |