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

refactor(relay): revise public API to follow naming convention #3238

Merged
merged 34 commits into from
Jan 2, 2023

Commits on Dec 13, 2022

  1. Configuration menu
    Copy the full SHA
    6453766 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f1c10e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    796425a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0c8429 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9963cfa View commit details
    Browse the repository at this point in the history
  6. add CHANGELOG.md entries

    jxs committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    604178b View commit details
    Browse the repository at this point in the history
  7. add missing links to CHANGELOG.md

    jxs committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    395d516 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. move relay::v2 root symbols to relay::

    and use them across the crate. Deprecate the old ones.
    jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    50207ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    948f87b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcbca3a View commit details
    Browse the repository at this point in the history
  4. move relay::v2::relay symbols to relay::behaviour,

    and use them across the crate. Deprecate the v2 ones.
    jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    db1ff9f View commit details
    Browse the repository at this point in the history
  5. chore(ROADMAP): Mark Kademlia efficient querying as done (libp2p#3233)

    With libp2p#2712 merged, this can be marked as done.
    mxinden authored and jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    2171c36 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e6e4005 View commit details
    Browse the repository at this point in the history
  7. ci(caching): make caching more effective (libp2p#3215)

    Currently, we create a new cache for each workflow run for each crate. That ends up blowing the maximum allowed cache size of 10GB and GitHub deletes the least-recently used cache again. Effectively, this means we don't have any caching.
    
    This patch introduces a cache factory workflow that only runs on master and always _saves_ a new cache. The CI workflow run for pull-requests on the other hand only restore these caches but don't save them.
    thomaseizinger authored and jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    f15d82a View commit details
    Browse the repository at this point in the history
  8. refactor(swarm)!: deprecate PollParameters where possible (libp2p#3153

    )
    
    This patch deprecates 3 out of 4 functions on `PollParameters`:
    
    - `local_peer_id`
    - `listened_addresses`
    - `external_addresses`
    
    The addresses can be obtained by inspecting the `FromSwarm` event. To make this easier, we introduce two utility structs in `libp2p-swarm`:
    
    - `ExternalAddresses`
    - `ListenAddresses`
    
    A node's `PeerId` is always known to the caller, thus we can require them to pass it in.
    
    Related: libp2p#3124.
    thomaseizinger authored and jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    63f03be View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8744f97 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    009aadc View commit details
    Browse the repository at this point in the history
  11. Update CHANGELOG.md.

    jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    b4bb917 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e32d990 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    59d3225 View commit details
    Browse the repository at this point in the history
  14. multiple updates:

    - rename RelayTransport in client doc to transport
    - make behaviour mod private re-exporting CircuitId
    - make client mod private re-exporting pub types.
    jxs committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    4134363 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. deprecate client::Behaviour::new_transport_and_behaviour,

    use client::new instead.
    Update client module doc.
    jxs committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    9eb0e21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    238c779 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43ea4a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12c1128 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. review: apply multiple suggestions:

    - dcutr tests use relay::client instead of just client::
    - rename RelayedConnection to RelayedConnection
    - improve deprcated wording for types, remove the renamed references.
    jxs committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    64e6dd9 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2022

  1. review: address left deprecation messages,

    rename RelayedDial to Dial.
    jxs committed Dec 17, 2022
    Configuration menu
    Copy the full SHA
    bc66c5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f63553 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    91241e7 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    e3a8f0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f653b3 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. review: apply suggestions.

    jxs committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    0951271 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2022

  1. Configuration menu
    Copy the full SHA
    f3bf4bd View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. Configuration menu
    Copy the full SHA
    c532b34 View commit details
    Browse the repository at this point in the history