Highlights
- Gossipsub 1.4 (use
-d:libp2p_gossipsub_1_4compile flag) - AutoTLS can be used to automatically obtain a Let's Encrypt certificate for WSS transport
- Improvements in memory/cpu usage
What's Changed
- chore: update more dependencies by @narimiran in #1374
- chore: bump quic by @richard-ramos in #1387
- test(gossipsub): move and refactor control messages tests by @rlve in #1380
- chore: move -d:libp2p_quic_support flag to .nimble by @richard-ramos in #1392
- fix(quic): reset and mm for interop tests by @richard-ramos in #1397
- chore: unused imports are now errors by @narimiran in #1399
- test(gossipsub): heartbeat tests by @rlve in #1391
- fix: limit chronicles version to < 0.11.0 by @richard-ramos in #1423
- ci(dependencies): fix access to tokens by @vladopajic in #1421
- test(gossipsub): include missing test files and handle flaky tests by @rlve in #1416
- fix(gossipsub): save iDontWants messages in the first element of history by @rlve in #1393
- chore: bump quic by @richard-ramos in #1428
- chore(interop): move interop code to separate folder by @vladopajic in #1413
- fix(ci-daily): delete cache action will continue on error by @vladopajic in #1435
- test: checkUntilTimeout refactor by @rlve in #1437
- test(gossipsub): message cache by @rlve in #1431
- feat(autotls): add acme client by @gmelodie in #1436
- fix(GossipSub): save sent iHave in first element by @rlve in #1405
- test(gossipsub): parameters by @rlve in #1442
- chore(gossipsub): add consts by @vladopajic in #1447
- chore(quic): add
libp2p_network_bytesmetric by @richard-ramos in #1439 - test(gossipsub): flaky tests by @rlve in #1451
- feat(gossipsub): Add support for custom connection handling (Mix protocol integration) by @AkshayaMani in #1420
- feat(peeridauth): add peeridauth by @gmelodie in #1445
- feat:
withWsTransportby @richard-ramos in #1398 - feat(kad-dht): protobuffers by @richard-ramos in #1453
- test: increase timeout by @rlve in #1460
- chore(acme): add MockACMEApi for testing by @gmelodie in #1457
- test(gossipsub): refactor and unify scoring tests by @rlve in #1461
- fix(daily): fix typo in testintegration by @gmelodie in #1463
- chore: Add some more context when an exception is caught by @Ivansete-status in #1432
- chore(peeridauth): add mocked client by @gmelodie in #1458
- feat(perf): add stats by @vladopajic in #1452
- test(gossipsub): GossipThreshold and PublishThreshold tests by @rlve in #1464
- test(gossipsub): split unit and integration tests by @rlve in #1465
- chore(version): update libp2p.nimble to 1.11.0 by @richard-ramos in #1433
- fix: force close of streams instead of reset when closing connection by @richard-ramos in #1466
- fix: make quic test optional by @richard-ramos in #1475
- feat(kad-dht): routing table by @richard-ramos in #1454
- feat(kad-dht): handler by @richard-ramos in #1455
- fix(peeridauth): fix peeridauth_integration import by @gmelodie in #1478
- chore(acme): add ACMEClient to hold information about an ACME account by @gmelodie in #1470
- fix: mark channel as reset to not read after closed by @richard-ramos in #1479
- test(gossipsub): rpcHandler - rateLimit and punishInvalidMessage tests by @rlve in #1467
- test(gossipsub): organise Behavior tests by @rlve in #1468
- test(gossipsub): behaviourPenalty tests by @rlve in #1469
- test(gossipsub): updateScores tests by @rlve in #1471
- feat(autotls): add AutoTLSManager by @gmelodie in #1472
- chore(perf): add quic test by @vladopajic in #1483
- fix(autotls): private checkedGetPrimaryIPAddr by @gmelodie in #1489
- chore(yamux): improve performance with zero allocation queue by @vladopajic in #1488
- feat(gossipsub): Add support for skipping message insertion into the message cache (Mix protocol integration) by @AkshayaMani in #1485
- chore: remove unused import by @vladopajic in #1490
- chore(ci): disable hole punching tests by @vladopajic in #1493
- refactor(secure): utilize ZeroQueue by @vladopajic in #1492
- refactor(bufferstream): utilize ZeroQueue by @vladopajic in #1491
- test(gossipsub): refactor compatibility related tests by @rlve in #1495
- test(gossipsub): scoring integration tests by @rlve in #1487
- chore(autotls): make autotls manager into service by @gmelodie in #1486
- test(gossipsub): Signature flags tests by @rlve in #1496
- fix(ci): move testintegration to new step by @gmelodie in #1499
- chore(deps): remove bio by @gmelodie in #1506
- refactor(noise): reduce memory usage by @vladopajic in #1497
- chore: add info to error by @vladopajic in #1505
- test(gossipsub): behavior unit tests 1 by @rlve in #1501
- test(gossipsub): behavior unit tests 2 by @rlve in #1503
- test(gossipsub): gossipsub unit tests 1 by @rlve in #1508
- chore(test): reduce sleepAsync by @narimiran in #1481
- test(gossipsub): gossipsub unit tests 2 by @rlve in #1511
- chore: utilizing newSeqUninitialized by @vladopajic in #1510
- chore(autotls): prevent nil access on stop by @gmelodie in #1514
- chore: fix broken README links by @gmelodie in #1517
- chore: removing unused type StreamSeq by @vladopajic in #1507
- chore: add template newSeqUninit by @vladopajic in #1518
- chore(peerinfo): enable calling update multiple times by @gmelodie in #1525
- feat(gossipsub1_4): preamble store by @richard-ramos in #1513
- feat(gossipsub1.4): adding new attributes and protobuffers by @richard-ramos in #1515
- chore: hide autotls under compile flag by @richard-ramos in #1533
- fix: also hide autotls/utils methods by @richard-ramos in #1538
- fix(perf): add QUIC transport compatibility by @MorganaFuture in #1524
- chore(readme): add link to community channel by @vladopajic in #1542
- chore(dialer): expand dns4 and dns6 by @gmelodie in #1543
- fix(quic): add getWrapped method for QuicStream by @vladopajic in #1546
- fix: autotls related imports by @richard-ramos in #1550
- fix: build failures caused by missing import by @MorganaFuture in #1541
- fix: properly handle CancelledError in switch accept loop by @MorganaFuture in #1537
- feat(wstransport): add autotls support by @gmelodie in #1535
- feat: GossipSub v1.4 by @ufarooqstatus in #1448
- fix: typo on startAt by @gmelodie in #1562
- chore(ci): initial flake.nix file with dev shell by @Ben-PH in #1559
- fix(autotls): integration tests by @gmelodie in #1560
- chore: add TransportConfig by @gmelodie in #1561
- chore(autotls): only import dnsclient when autotls is required by @gmelodie in #1565
- chore(deps): bump quic to v0.2.9 by @vladopajic in #1568
- chore(perf): remove timeout when reading from quic stream by @vladopajic in #1569
- chore(PeerTable): add stringification operator by @vladopajic in #1567
- fix: memory consumption in yamux and pubsubpeer by @Ivansete-status in #1570
- fix(quic): close all streams when closing session by @vladopajic in #1576
- chore: revert excp type in yamux write by @Ivansete-status in #1578
- chore(switch): remove unnecesery debug log entry by @vladopajic in #1575
- fix: more secure send loop in yamux and exception-handling-code cleanup in pubsubpeer by @Ivansete-status in #1579
New Contributors
- @AkshayaMani made their first contribution in #1420
- @MorganaFuture made their first contribution in #1524
- @ufarooqstatus made their first contribution in #1448
- @mendelskiv93 made their first contribution in #1564
Full Changelog: v1.10.1...v1.12.0