Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 1.0.0 #2365

Conversation

achingbrain
Copy link
Member

🤖 I have created a release beep boop

1.0.0 (2024-01-18)

⚠ BREAKING CHANGES

  • Legacy RSA operations are now in @libp2p/rsa, streaming AES-CTR ciphers are in @libp2p/aes-ctr
  • the kadDHT function returns a single DHT - see the readme for how to configure amino/lan as before
  • requires libp2p v1
  • remove unnecessary async from crypto methods (#1963)
  • the minSendBytes option has been removed from Mplex since the transport can now decide how to optimise sending data
  • removed EventEmitter re-export - please use TypedEventEmitter instead
  • remove per-peer parallel dialling (#2090) (refactor!: remove per-peer parallel dialling (#2090) #2251)
  • the perfService export is now just perf
  • imports from libp2p/fetch should be updated to @libp2p/fetch
  • imports from libp2p/circuit-relay should be updated to @libp2p/circuit-relay-v2
  • imports from libp2p/plaintext should be changed to @libp2p/plaintext
  • imports from libp2p/dcutr now need to be from @libp2p/dcutr
  • imports from libp2p/identify need to change to @libp2p/identify
  • imports from libp2p/ping must be updated to @libp2p/ping
  • imports from libp2p/upnp-nat should be updated to @libp2p/upnp-nat
  • update release config (#2195)
  • the isStarted method has been removed from the Startable interface
  • the .protocols property has been removed from the PeerInfo interface
  • move autonat into separate package (#2107)
  • remove libp2p.keychain (#2084)
  • remove min/max from topologies (#2158)
  • remove dialler language (#2143)
  • measurePerformance now returns an async generator that yields PerfOutputs and no longer accepts the startTime parameter
  • the addStream and removeStream methods have been removed from the connection interface
  • the .close, closeRead and closeWrite methods on the Stream interface are now asynchronous
  • stream.stat.* and conn.stat.* properties are now accessed via stream.* and conn.*
  • consolidate interface modules (#1833)

Features

Bug Fixes

  • @libp2p/crypto: improve unsupported key type message (#2051) (d9159dd)
  • @libp2p/interface-compliance-tests: add aegir to deps (#1983) (8977862), closes #1974
  • @libp2p/kad-dht: update timeout ref type (02b8932)
  • @libp2p/mdns: do not send TXT records that are too long (#2014) (4f19234), closes #2012
  • @libp2p/protocol-perf: ensure only client calls measure performance (#1960) (8716555)
  • @libp2p/protocol-perf: use noise for encryption (#1992) (24c1c24), closes #1991
  • @libp2p/utils: switch to @chainsafe/is-ip (#1957) (18567b7), closes #1926
  • @libp2p/webrtc: close data-channel on muxer stream end (#1976) (7517082)
  • @libp2p/webrtc: set max message size in alignment with spec (#2050) (122f1e6)
  • @libp2p/webrtc: update stream logger name to webrtc (#2035) (0d228f9)
  • @libp2p/webrtc: use correct udp port in remote address (#2055) (0ce318e)
  • @libp2p/webrtc: use stream logger instead of global logger (#2042) (88c47f5)
  • @libp2p/websockets: do not throw error event (#1950) (a1fbb7e)
  • @libp2p/webtransport: be more thorough about closing sessions (#1969) (90e793e), closes #1896
  • @libp2p/webtransport: handle dialing circuit addresses (#2054) (20d5f22)
  • @libp2p/webtransport: maximum call stack size exceeded on abort (#1947) (5e85154)
  • @libp2p/webtransport: remove custom WebTransport types (#2022) (0634e3b)
  • @libp2p/webtransport: remove filters export (#2018) (3282563)
  • add events bus to pubsub compliance tests (#1824) (883082c)
  • add missing events dep to fix browser bundlers (#2134) (f670307), closes #2110
  • add pubsub and floodsub to manifests (a4a10fd)
  • add pubsub interfaces to @libp2p/interface (#1857) (2e561fe)
  • add status property (#2269) (a32e70b)
  • align dependency versions and update project config (#2357) (8bbd436)
  • allow DHT self-query to time out (#2169) (ce0e38d)
  • allow dialing a peer when we only have transient connections (#2187) (dd400cd)
  • allow keys to do sync sign/verify (#2258) (dd7d17c)
  • allow mss lazy select on read (#2246) (d8f5bc2)
  • allow no transports in config (#2293) (16588d2)
  • allow specifiying maxOutboundStreams in connection.newStream (#1817) (b348fba)
  • append peer id to connection remote addr if not present (#2182) (3bdaad3)
  • append peer id to dial addresses before filtering (#2199) (bafccd6)
  • circuit-relay: respect applyDefaultLimit when it is false (#2139) (df2153e)
  • close early WebRTC streams properly (#2200) (f4fac96)
  • close maconn stream after reading/writing (#2236) (9c67c5b)
  • close streams gracefully (#1864) (b36ec7f), closes #1793 #656
  • close webrtc streams without data loss (#2073) (7d8b155)
  • consolidate interface modules (#1833) (4255b1e)
  • copy monorepo packages to multidim docker image (#1842) (327e5cb)
  • crash during DHT query abort when reading is slow (#2225) (c960eb6), closes #2216
  • crypto: limit RSA key size to <= 8192 bits (#1931) (58421e1)
  • datachannel label should be an empty string (#2204) (dfbe0cc)
  • delay notification of early WebRTC stream creation (#2206) (d25d951)
  • dial relay when we are dialed via it but have no reservation (#2252) (d729d66)
  • disable Nagle's algorithm by default (#2242) (13a870c)
  • do not allow autodial to run in parallel (#1804) (775f892)
  • do not find peer when DHT yields peers without multiaddrs (#2344) (d011f61)
  • do not overwrite addresses on identify push when none are sent (#2192) (025c082)
  • do not overwrite signal property of options (#2214) (70d5efc)
  • do not send duplicate close read/write (#1935) (446fff8)
  • do not wait for stream reads and writes at the same time (#2290) (10ea197)
  • ensure all listeners are properly closed on tcp shutdown (#2058) (b57bca4)
  • ensure dht query is aborted on early exit (#2341) (388d02b)
  • ensure mock stream output is uint8arraylist (#2209) (8b82e68)
  • export DHT record class (#2168) (2f6a239)
  • export version from libp2p (#2279) (8c169db)
  • expose config for max inbound/outbound stop streams (#1812) (0828dd9)
  • graceful close of optimistic selection with early data (#2318) (a7c6a93)
  • ignore peers with invalid multiaddrs (#1902) (a41d25d)
  • include peer id in autodial log message (#2075) (368ee26)
  • libp2p: emit peer:discovered event on internal event bus (#2019) (a6be8f0)
  • libp2p: filter out dnsaddrs for different peers (#1954) (a31b420)
  • libp2p: move delay dep to production dependencies (#1977) (725f5df)
  • libp2p: only dial one address at a time for peers (#2028) (73b87c5)
  • libp2p: reduce dialer activity in browsers (#1970) (d30f09f)
  • libp2p: sort addresses to dial as public, then relay (#2031) (5294f14)
  • libp2p: update circuit relay and upgrader logs (#2071) (f09ac4a)
  • libp2p: update peer store with supported protocols after unhandle (#2013) (63041af)
  • log peer data in identify correctly (#2197) (fdcb801)
  • log upgrade messages on connection (#2281) (f537b37)
  • log websocket error on graceful close failure (#2072) (72319fe)
  • make initiator webrtc address dialable (#2189) (051154d)
  • make mss check logger before use (#2261) (#2274) (cf96369)
  • make peerid optional in peerid.equals (#2335) (f1c1167)
  • make transports optional (#2295) (887c6ff)
  • mark all packages side-effect free (#2360) (3c96210)
  • only send ip/domain observed address in identify (#2201) (40855f4)
  • opt-in to toplogy notifications on transient connections (#2049) (346ff5a)
  • perform find peer during dial if peer has no multiaddrs (#2345) (444d837)
  • query for circuit relays after start (#2309) (dc56856)
  • query routing for RSA public key (#2350) (ee7ffe9)
  • react native adjustments (#2229) (3415811)
  • release majors of modules that had patches during v1.0 (#2286) (738dd40)
  • remove dialler language (#2143) (a321f15)
  • remove duplicate autodial from startup (#2289) (bcfa159)
  • remove event emitter type from interfaces (#2196) (f3ec538)
  • remove extra deps (#2340) (53e83ee)
  • remove min/max from topologies (#2158) (511359a)
  • remove node-forge dependency from @libp2p/crypto (#2355) (856ccd7)
  • remove protocols from PeerInfo (#2166) (5468cd1)
  • remove redundant nat-api override (#1906) (1f7e18b)
  • remove relay:removed event listener after relay is removed (#1998) (ab2c1f6)
  • remove results map on job queue clear (#2320) (230afea)
  • remove stream add/remove methods from connection interface (e26848b), closes #1855
  • rename event emitter class (#2173) (50f912c)
  • replace p-queue with less restrictive queue (#2339) (528d737)
  • replace rate-limiter (#2356) (ddaa59a)
  • reset dial queue shut down controller on node restart (#2329) (cd8cafc), closes #2188
  • restore lost commits (#2268) (5775f1d)
  • revert "refactor: rename event emitter class" (#2172) (0ef5f7f)
  • set libp2p status to started before stopping (#2288) (09dd029)
  • transports: filter circuit addresses (#2060) (972b10a)
  • update interface internal and release as v1 (#2282) (e7167fe)
  • update log messages (#2324) (984f13e)
  • update max message size SDP attribute (#1909) (e6a41f7)
  • update package config (#1919) (8d49602)
  • update project config (9c0353c)
  • update websockets tests (#2337) (28587d2)
  • updated multiaddr logging (#1797) (f427cfc)
  • use logging component everywhere (#2228) (e5dfde0)
  • use node-datachannel WebRTC polyfill (#2306) (ad6f70b)
  • use optimistic protocol negotation (#2253) (0b4a2ee)
  • WebRTC transport unhandled promise rejection during connect (#2299) (64a915a)
  • WebRTC uncaught promise rejection on incoming connection (#2302) (d105061)

Miscellaneous Chores

Code Refactoring


This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment