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

release v0.17.0 #9395

Merged
merged 75 commits into from
Nov 22, 2022
Merged

release v0.17.0 #9395

merged 75 commits into from
Nov 22, 2022

Commits on Sep 19, 2022

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

Commits on Sep 22, 2022

  1. Configuration menu
    Copy the full SHA
    f50fc32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e103254 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b11efaf View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. chore: bump version to 0.17.0-dev

    galargh authored and ajnavarro committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    04e443f View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Configuration menu
    Copy the full SHA
    335d961 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9314 from Jorropo/docs/webtransport

    docs: add WebTransport docs
    Jorropo authored Sep 27, 2022
    Configuration menu
    Copy the full SHA
    8831363 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c86b75d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b50e59 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6c6708a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e01361 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Configuration menu
    Copy the full SHA
    940e397 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d2f337 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

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

Commits on Oct 5, 2022

  1. Merge pull request #9324 from ipfs/merge-release-v0.16.0

    Merge release v0.16.0 back into master
    galargh authored Oct 5, 2022
    Configuration menu
    Copy the full SHA
    353e6a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Fix: swarm stats all command

    `swarm stats all` requires that the ResourceManager instance
    implements `rcmgr.ResourceManagerState`, and `loggingResourceManager`
    was not implementing it, so the command was failing.
    
    Also added a sharness test to check that the command is executing
    correctly, because `jq -e` doesn't return an error if the json is nil.
    
    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    bffc012 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e550d9e View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

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

Commits on Oct 11, 2022

  1. fix: add InlineDNSLink flag to PublicGateways config (#9328)

    #9243
    Co-authored-by: Marcin Rataj <lidel@lidel.org>
    hacdias and lidel authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    4291d6b View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Configuration menu
    Copy the full SHA
    4f76b9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2321be0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf4bf8a View commit details
    Browse the repository at this point in the history
  4. feat: --reset flag on swarm limit command (#9310)

    * feat: --reset flag on swarm limit command
    
    This flag allows to the user to reset limits to default values.
    
    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    
    * Use adjusted default limits and remove already fixed FIXME
    
    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Gus Eggert <gus@gus.dev>
    
    * Return correct defaults
    
    * Remove resetting all values from a map.
    
    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    
    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    Co-authored-by: Gus Eggert <gus@gus.dev>
    ajnavarro and guseggert authored Oct 12, 2022
    Configuration menu
    Copy the full SHA
    bf8274f View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. feat: remove provider delay interval in bitswap (#9053)

    * feat: remove provider delay interval in bitswap
    
    * Use a non-zero provider search delay
    
    * Add ProviderSearchDelay to Internal.Bitswap config
    
    * Revert bitswap provider delay to 1s
    iand authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    066a0b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5fe824 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e48626f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #9219 from ipfs/schomatis/chore/dag-import/use-ipl…

    …d-legacy-decode
    
    chore(cmds): dag import: use ipld legacy decode
    schomatis authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    4b33079 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    007c960 View commit details
    Browse the repository at this point in the history
  6. add refs local alias repo ls (#9320)

    * add refs local alias repo ls
    
    * add test for /repo/ls
    
    Co-authored-by: Nikhilesh Susarla <nikhilesh.susarla@cylogic.com>
    susarlanikhilesh and Nikhilesh Susarla authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    553d3e0 View commit details
    Browse the repository at this point in the history
  7. test(car): export/import of (dag-)cbor/json codecs

    This ensures we have full test coverage.
    lidel committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    41fb5f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Configuration menu
    Copy the full SHA
    9e3745e View commit details
    Browse the repository at this point in the history
  2. feat: webui@v2.19.0

    SgtPooki authored and lidel committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    3966609 View commit details
    Browse the repository at this point in the history
  3. docs: pin remote arg

    It accepts only one arg.
    lidel committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    b7a19d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    5482d4b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f54018c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Merge pull request #9353 from ipfs/changelog-v0.17

    chore: create v0.17.md changelog
    galargh authored Oct 19, 2022
    Configuration menu
    Copy the full SHA
    baf315b View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Steve Loeppky <biglep@protocol.ai>
    galargh and BigLep authored Oct 19, 2022
    Configuration menu
    Copy the full SHA
    cba1bdf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c656952 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c72ea9 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Merge pull request #9283 from ipfs/docs-release-0.16.0

    docs: init release issue template improvement process v0.16.0
    galargh authored Oct 20, 2022
    Configuration menu
    Copy the full SHA
    0f44f29 View commit details
    Browse the repository at this point in the history
  2. docs: update scoop package

    guseggert authored Oct 20, 2022
    Configuration menu
    Copy the full SHA
    27bf61e View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Merge pull request #9352 from ipfs/no-snap

    chore: delete snap configuration
    galargh authored Oct 28, 2022
    Configuration menu
    Copy the full SHA
    1060477 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. chore: disable welcome bot

    galargh authored Oct 29, 2022
    Configuration menu
    Copy the full SHA
    518fc32 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9377 from ipfs/disable-welcome-bot

    chore: disable welcome bot
    galargh authored Oct 29, 2022
    Configuration menu
    Copy the full SHA
    a9cbdef View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2022

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

Commits on Nov 3, 2022

  1. fix: remove old unused buggy coredag code

    Jorropo authored and Jorropo committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    b5b18e2 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    d69f7a5 View commit details
    Browse the repository at this point in the history
  2. fix: error when using huge json limit file

    This error nicely instead of ooming when trying to use a json file so big it would oom.
    Jorropo authored and lidel committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    3574cae View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. feat(gateway): TAR response format (#9029)

    Implementation of IPIP-288 (ipfs/specs#288)
    
    Co-authored-by: Marcin Rataj <lidel@lidel.org>
    hacdias and lidel authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a210abd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bebe2b View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    72262a8 View commit details
    Browse the repository at this point in the history
  2. feat: Improve ResourceManager UX (#9338)

    This PR adds several new functionalities to make easier the usage of ResourceManager:
    
    - Now resource manager logs when resources are exceeded are on ERROR instead of warning.
    - The resources exceeded error now shows what kind of limit was reached and the scope.
    - When there was no limit exceeded, we print a message for the user saying that limits are not exceeded anymore.
    - Added `swarm limit all` command to show all set limits with the same format as `swarm stats all`
    - Added `min-used-limit-perc` option to `swarm stats all` to only show stats that are above a specific percentage
    - Simplify a lot default values.
    - **Enable ResourceManager by default.**
    
    Output example:
    ```
    2022-11-09T10:51:40.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:51:50.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 483095 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:51:50.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:52:00.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 455294 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:00.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:52:10.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 471384 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:10.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 8 times with error "peer:12D3KooWKqcaBtcmZKLKCCoDPBuA6AXGJMNrLQUPPMsA5Q6D1eG6: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 192 times with error "peer:12D3KooWPjetWPGQUih9LZTGHdyAM9fKaXtUxDyBhA93E3JAWCXj: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 469746 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:52:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 484137 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 29 times with error "peer:12D3KooWPjetWPGQUih9LZTGHdyAM9fKaXtUxDyBhA93E3JAWCXj: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:52:40.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 468843 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:40.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:52:50.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 366638 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:52:50.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:53:00.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 405526 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:53:00.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 107 times with error "peer:12D3KooWQZQCwevTDGhkE9iGYk5sBzWRDUSX68oyrcfM9tXyrs2Q: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:53:00.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:53:10.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 336923 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:53:10.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:53:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 71 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
    2022-11-09T10:53:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
    2022-11-09T10:53:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:64      Resrouce limits are no longer being exceeded.
    
    ```
    ## Validation tests
    
    - Accelerated DHT client runs with no errors when ResourceManager is active. No problems were observed.
    - Running an attack with 200 connections and 1M streams using yamux protocol. Node was usable during the attack. With ResourceManager deactivated, the node was killed by the OS because of the amount of memory consumed.
    	- Actions done when the attack was active:
    		- Add files 
    		- Force a reprovide
    		- Use the gateway to resolve an IPNS address.
    
    It closes #9001 
    It closes #9351
    It closes #9322
    ajnavarro authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    254d81a View commit details
    Browse the repository at this point in the history
  3. chore: Update go-libp2p to v0.23.3

    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro authored and guseggert committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    3550758 View commit details
    Browse the repository at this point in the history
  4. Update to v0.23.4

    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro authored and guseggert committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    9da7f3a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #9387 from ipfs/chore/update-libp2p-0.23.3

    chore: Update go-libp2p to v0.23.4
    galargh authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    a4da8f6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    89ffd1c View commit details
    Browse the repository at this point in the history
  7. Merge pull request #9394 from ipfs/bump-release-version

    chore: bump version to v0.17.0-rc1
    galargh authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    3d2a764 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    e58cde1 View commit details
    Browse the repository at this point in the history
  2. Fix RM errors when acceleratedDHT is active

    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    fb42b53 View commit details
    Browse the repository at this point in the history
  3. Remove limitation by HighWater param.

    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    377d4e9 View commit details
    Browse the repository at this point in the history
  4. Update core/node/libp2p/rcmgr_defaults.go

    Co-authored-by: Steve Loeppky <biglep@protocol.ai>
    ajnavarro and BigLep committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    4bff042 View commit details
    Browse the repository at this point in the history
  5. Apply go fmt

    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    dfa631e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f29640e View commit details
    Browse the repository at this point in the history
  7. refactor(config): remove Swarm.ConnMgr defaults

    This moves defaults to Kubo code, cleaning up config.
    If value is in config, we assume it is an explicit choice made by user.
    Makes migrations easier.
    schomatis authored and lidel committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    6536519 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    13b9a62 View commit details
    Browse the repository at this point in the history
  9. fix(docs): typo

    lidel committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    db3d1cd View commit details
    Browse the repository at this point in the history
  10. fix: update go-unixfs lib to v0.4.1

    Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
    ajnavarro authored and lidel committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    1127a15 View commit details
    Browse the repository at this point in the history
  11. chore(ci): bigger box for webui and interop

    These two are on par with sharness, and webui became flaky.
    Flakiness will be addressed upstream, but this should decrease how often
    it occurs + make CI faster (making sharness the longest one again)
    lidel committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    9de9c12 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Doc improvements and changelog for resource manager (#9413)

    Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
    2 people authored and galargh committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    83034d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9246cda View commit details
    Browse the repository at this point in the history
  3. Merge pull request #9414 from ipfs/bump-release-version

    chore: bump version to v0.17.0-rc2
    galargh authored Nov 16, 2022
    Configuration menu
    Copy the full SHA
    7a7ba20 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Configuration menu
    Copy the full SHA
    baafe9d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9427 from ipfs/bump-version-v0.17.0

    chore: bump version to v0.17.0
    galargh authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    e4f1e87 View commit details
    Browse the repository at this point in the history
  3. docs: udpate changelog

    galargh committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    d007b2a View commit details
    Browse the repository at this point in the history