Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libp2p/js-libp2p
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: interface-v2.3.0
Choose a base ref
...
head repository: libp2p/js-libp2p
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: interface-v2.4.0
Choose a head ref
  • 18 commits
  • 188 files changed
  • 2 contributors

Commits on Dec 10, 2024

  1. fix: unhandled promise rejection when finding gateway (#2884)

    Defer creating the last public ip promise until it's guaranteed to
    have a a listener for promise rejections.
    
    Fixes ipfs/helia#702
    achingbrain authored Dec 10, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    AgeManning Age Manning
    Copy the full SHA
    127abe2 View commit details
  2. chore: release main (#2885)

    achingbrain authored Dec 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    58542c6 View commit details
  3. fix: auto-confirm relay addresses (#2886)

    After we have created a reservation on a relay, automatically confirm
    that it is publicly dialable.
    
    Fixes #2883
    achingbrain authored Dec 10, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5c4a79e View commit details
  4. chore: release main (#2887)

    achingbrain authored Dec 10, 2024
    Copy the full SHA
    92f9acb View commit details

Commits on Dec 12, 2024

  1. fix: increase max autonat streams and limit incoming message size (#2890

    )
    
    Allows more outgoing streams to be open at the same time and limits
    the allowed incoming message size.
    achingbrain authored Dec 12, 2024
    Copy the full SHA
    d3e5a33 View commit details
  2. fix: pass abort signal to peer routing query (#2888)

    Where we fail to find any addresses for a peer id we are dialing,
    and we perform a routing query to find their addresses, pass the
    dial abort signal in to the query to ensure it doesn't continue if
    we are no longer interested in the result.
    achingbrain authored Dec 12, 2024
    Copy the full SHA
    3c63482 View commit details
  3. fix: update case of arguments sent to registration.libp2p.direct (#2889)

    At some point it became stricter about the casing of arguments so
    update the JSON body to golang-style sentence case instead of
    javascript-style camel case.
    achingbrain authored Dec 12, 2024
    Copy the full SHA
    023ea57 View commit details
  4. chore: release main (#2891)

    achingbrain authored Dec 12, 2024
    Copy the full SHA
    a08229b View commit details

Commits on Dec 13, 2024

  1. fix: confirm external ip (#2895)

    Confirm the public ip, not the private one
    achingbrain authored Dec 13, 2024
    Copy the full SHA
    52f0f2f View commit details
  2. chore: add CoC (#2894)

    Adds CoC to all modules and updates utils typedoc links.
    achingbrain authored Dec 13, 2024
    Copy the full SHA
    5acfae3 View commit details
  3. feat: add @libp2p/config (#2893)

    Adds a module for dealing with libp2p configuration
    achingbrain authored Dec 13, 2024
    Copy the full SHA
    f474745 View commit details
  4. chore: bump codecov/codecov-action from 4.6.0 to 5.1.1 (#2881)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 5.1.1.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@b9fd7d1...7f8b4b4)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Alex Potsides <[email protected]>
    dependabot[bot] and achingbrain authored Dec 13, 2024
    Copy the full SHA
    285dab7 View commit details
  5. chore: release main (#2896)

    achingbrain authored Dec 13, 2024
    Copy the full SHA
    7caee9f View commit details

Commits on Jan 6, 2025

  1. fix: return empty address list during listen operation (#2904)

    If `getAddrs` is called on a WS listener after `.listen` has been
    called but before any socket(s) have opened, return an empty list
    instead of throwing.
    
    Fixes #2902
    achingbrain authored Jan 6, 2025
    Copy the full SHA
    ae75570 View commit details

Commits on Jan 7, 2025

  1. chore: release main (#2905)

    achingbrain authored Jan 7, 2025
    Copy the full SHA
    7701438 View commit details
  2. feat: add traceFunction call to metrics (#2898)

    Allow tracing method calls using a metrics implementation.
    
    ```js
    const libp2p = await createLibp2p()
    
    for await (const foo of libp2p.contentRouting.findProviders(cid, {
      trace: libp2p.metrics?.createTrace(),
      signal: AbortSignal.timeout(20_000)
    }) {
      //...
    }
    ```
    
    Adds tracing support to `libp2p.contentRouting.*` and `libp2p.peerRouting.*` to start with, other methods can have it added when necessary.
    
    Traces can have attributes set on them to give context to a call (input args, output values, yielded results, etc).
    achingbrain authored Jan 7, 2025
    Copy the full SHA
    20d9ba7 View commit details
  3. feat: add OpenTelemetry metrics implementation (#2899)

    Adds a `Metrics` interface implementation that is powered by an OpenTelemetry backend.
    
    It tracks the same metrics as `@libp2p/prometheus-metrics` but also supports the new function tracing added in #2898.
    
    See the readme for a usage example.
    achingbrain authored Jan 7, 2025
    Copy the full SHA
    abe9bd1 View commit details

Commits on Jan 9, 2025

  1. chore: release main (#2907)

    achingbrain authored Jan 9, 2025
    Copy the full SHA
    60ccf1a View commit details
Loading