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.8.0 #7707

Closed
51 of 73 tasks
aschmahmann opened this issue Sep 30, 2020 · 10 comments · Fixed by #7926
Closed
51 of 73 tasks

Release v0.8.0 #7707

aschmahmann opened this issue Sep 30, 2020 · 10 comments · Fixed by #7926

Comments

@aschmahmann
Copy link
Contributor

aschmahmann commented Sep 30, 2020

Release Issue Template

go-ipfs 0.8.0 Release

We're happy to announce go-ipfs 0.8.0. This is planned to be a fairly small release focused on integrating in the new pinning service/remote pinning API that makes the experience of managing pins across pinning services easier and more uniform.

🗺 What's left for release

🚢 Estimated shipping date

TBD

🔦 Highlights

🧷 Remote pinning services

There is now support for asking remote services to pin data for you. This means anyone can implement the spec (developed in this repo) and allow for pin management.

All of the CLI (and corresponding HTTP API) commands are available under ipfs pin remote.

This remote pinning service comes with a redesign of how we're thinking about pinning and includes some commonly requested features such as:

  • Pins can have names (and coming soon metadata)
  • The same content can be pinned multiple times, but of course stored only once
    • This allows applications using the same pinning service to manage their own pins without worrying about removing content important to another application
  • Data can be pinned in either the foreground or background

Examples include:

ipfs pin remote service add myservice https://myservice.tld:1234/api/path myaccess key

ipfs pin remote add /ipfs/bafymydata --service=myservice --name=myfile 
ipfs pin remote ls --service=myservice --name=myfile
ipfs pin remote ls --service=myservice --cid=bafymydata
ipfs pin remote rm --serivce=myservice --name=myfile

A few notes:

Remote pinning services work with recursive pins. This means commands like ipfs pin remote ls will not list indirectly pinned CIDs.

While pinning service data is stored in the configuration file it cannot be edited directly via the ipfs config commands due to the sensitive nature of pinning service API keys. The ipfs pin remote service commands can be used for interacting with remote service settings.

📌 Faster local pinning and unpinning

The pinning subsystem has been redesigned to be much faster and more flexible in how it tracks pins. For users who are working with many pins this will lead to a big speed increase in listing and modifying the set of pinned items as well as decreased memory usage.

Part of the redesign was setup to account for being able to interact with local pins the same way we can now interact with remote pins (e.g. names, being allowed to pin the same CID multiple times, etc.). Keep posted for more improvements to pinning.

QUIC update

QUIC support has received a number of upgrades, including the ability to take advantage of larger UDP receive buffers for increased performance.

Linux users may notice a logged error on daemon startup if your system needs extra configuration to allow IPFS increase the buffer size. A helpful link for resolving this is in the log message as well as here.

👋 No more Darwin 386 builds

Go 1.15 (the latest version of Go) no longer supports Darwin 386 and so we are dropping support as well.

Changelog

< changelog generated by bin/mkreleaselog >

✅ Release Checklist

For each RC published in each stage:

  • version string in version.go has been updated (in the release-vX.Y.Z branch).
  • tag commit with vX.Y.Z-rcN
  • upload to dist.ipfs.io
    1. Build: https://github.com/ipfs/distributions#usage.
    2. Pin the resulting release.
    3. Make a PR against ipfs/distributions with the updated versions, including the new hash in the PR comment.
    4. Ask the infra team to update the DNSLink record for dist.ipfs.io to point to the new distribution.
  • cut a pre-release on github and upload the result of the ipfs/distributions build in the previous step.
  • Announce the RC:

Checklist:

  • Stage 0 - Automated Testing
    • Fork a new branch (release-vX.Y.Z) from master and make any further release related changes to this branch. If any "non-trivial" changes (see the footnotes of docs/releases.md for a definition) get added to the release, uncheck all the checkboxes and return to this stage.
      • Follow the RC release process to cut the first RC.
      • Bump the version in version.go in the master branch to vX.(Y+1).0-dev.
    • Automated Testing (already tested in CI) - Ensure that all tests are passing, this includes:
  • Stage 1 - Internal Testing
    • CHANGELOG.md has been updated
    • Network Testing:
      • test lab things - TBD
    • Infrastructure Testing:
      • Deploy new version to a subset of Bootstrappers
      • Deploy new version to a subset of Gateways
      • Deploy new version to a subset of Preload nodes
      • Collect metrics every day. Work with the Infrastructure team to learn of any hiccup
    • IPFS Application Testing - Run the tests of the following applications:
  • Stage 2 - Community Dev Testing
    • Reach out to the IPFS early testers listed in docs/EARLY_TESTERS.md for testing this release (check when no more problems have been reported). If you'd like to be added to this list, please file a PR.
    • Reach out to on IRC for beta testers.
    • Run tests available in the following repos with the latest beta (check when all tests pass):
  • Stage 3 - Community Prod Testing
    • Documentation
    • Invite the IPFS early testers to deploy the release to part of their production infrastructure.
    • Invite the wider community through (link to the release issue):
  • Stage 4 - Release
    • Final preparation
      • Verify that version string in version.go has been updated.
      • Merge release-vX.Y.Z into the release branch.
      • Tag this merge commit (on the release branch) with vX.Y.Z.
      • Release published
      • Cut a new ipfs-desktop release
    • Publish a Release Blog post (at minimum, a c&p of this release issue with all the highlights, API changes, link to changelog and thank yous)
    • Broadcasting (link to blog post)
  • Post-Release
    • Merge the release branch back into master, ignoring the changes to version.go (keep the -dev version from master).
    • Create an issue using this release issue template for the next release.
    • Make sure any last-minute changelog updates from the blog post make it back into the CHANGELOG.

❤️ Contributors

< list generated by bin/mkreleaselog >

Would you like to contribute to the IPFS project and don't know how? Well, there are a few places you can get started:

⁉️ Do you have questions?

The best place to ask your questions about IPFS, how it works and what you can do with it is at discuss.ipfs.io. We are also available at the #ipfs channel on Freenode, which is also accessible through our Matrix bridge.

@MichaelMure
Copy link
Contributor

I suppose this will be covered by "update quic-go to support QUIC draft-32", but please make sure this new release include quic-go/quic-go#2827

@marten-seemann
Copy link
Member

@MichaelMure Yes, that PR is part of #7769.

@aschmahmann
Copy link
Contributor Author

go-ipfs v0.8.0-rc1 is out, give it a spin and let us know how it goes 😄

CC Early Testers:

@lidel
Copy link
Member

lidel commented Dec 9, 2020

Quick prompt for folks interested in remote pinning commands:

  • ipfs pin remote service --help
  • ipfs pin remote --help

Test services you can run on your own:

In case your ipfs config show stops working, use workaround from #7818 (comment)

@RubenKelevra

This comment has been minimized.

@RubenKelevra
Copy link
Contributor

Never seen this issue again, looks like this might just have been a temporary connection issue dropping a lot of UDP traffic, while ICMP has worked fine. Dunno.

I'll create a ticket if this ever occurs again and will investigate further in this case. :)

@aschmahmann
Copy link
Contributor Author

aschmahmann commented Jan 29, 2021

v0.8.0-rc2 is out with a number of bug fixes:

One breaking change from RC1 is that instead of having pinning service APIs defined as Pinning.RemoteServices.{yourServiceName}.Api it is now Pinning.RemoteServices.{yourServiceName}.API to be more consistent with our other config options, sorry for any inconvenience here. I'm a bit out of 🔋 for today, but hope to have a script to make this quick to fix for folks (although if someone else wanted to write it I wouldn't complain 😄).

More docs around how to configure the MFS policy coming soon as well as any other info on the RC I may have forgotten tonight.

Give it a spin and let us know how it goes 🙏.

@lidel
Copy link
Member

lidel commented Jan 29, 2021

Good news regarding config API key rename: there is no breaking change, preexisting Api will work just fine because if exact match is not found, encoding/json will do case-insensitive match as a fallback:

https://golang.org/pkg/encoding/json/#Unmarshal

To unmarshal JSON into a struct, Unmarshal matches incoming object keys to the keys used by Marshal (either the struct field name or its tag), preferring an exact match but also accepting a case-insensitive match.

@aschmahmann
Copy link
Contributor Author

reopening while some of the post-release process is still ongoing (e.g. package managers, blog posts, etc.)

@aschmahmann aschmahmann reopened this Feb 19, 2021
@aschmahmann aschmahmann unpinned this issue Apr 7, 2021
@fiott248
Copy link

where is the version of python library to match with this agent "0.8.0" i can only install up to 0.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants