Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

feat: exit early when built-in ipfs update is available#190

Merged
lidel merged 2 commits intomasterfrom
feat/sunset-ipfs-update
Apr 10, 2026
Merged

feat: exit early when built-in ipfs update is available#190
lidel merged 2 commits intomasterfrom
feat/sunset-ipfs-update

Conversation

@lidel
Copy link
Copy Markdown
Member

@lidel lidel commented Apr 10, 2026

When the IPFS repo version is >16, the installed Kubo ships with a built-in ipfs update command. Rather than running legacy logic, exit with a message pointing users to ipfs update --help.

Part of ipfs/kubo#10937.

  • add delegate.go with repo version check
  • call exitIfBuiltinUpdateAvailable() in main before CLI setup
  • bump version to v1.10.0

When the IPFS repo version is >16, the installed Kubo ships with a
built-in `ipfs update` command. Rather than running legacy logic,
exit with a message pointing users to `ipfs update --help`.

Part of ipfs/kubo#10937.

- add delegate.go with repo version check
- call exitIfBuiltinUpdateAvailable() in main before CLI setup
- bump version to v1.10.0
@github-actions

This comment was marked as outdated.

Repo version 17+ means Kubo v0.37 or later, which embedded
migration tooling. Clarify this in the exit message.
@github-actions
Copy link
Copy Markdown

Suggested tag: v1.10.0

Comparing to: v1.9.0 (diff)

Changes in configuration file(s):

diff --git a/go.mod b/go.mod
index 0701c62..adcf112 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/ipfs/ipfs-update
 
-go 1.18
+go 1.25
 
 require (
 	github.com/blang/semver/v4 v4.0.0

gorelease says:

# diagnostics
required module github.com/microcosm-cc/bluemonday@v1.0.1 retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v1.10.0

gocompat says:

HEAD is now at 6975939 Merge pull request #167 from ipfs/release-v1.9.0
Previous HEAD position was 6975939 Merge pull request #167 from ipfs/release-v1.9.0
Switched to branch 'master'
Your branch is up to date with 'origin/master'.

Cutting a Release (and modifying code files)

This PR is modifying both version.json and code files (not markdown, YAML, TOML or lock files).
The Release Checker is not able to analyse files that are not checked in to master. This might cause the above analysis to be inaccurate.
Please consider performing all the code changes in a separate PR before cutting the release.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

@lidel lidel merged commit 861461e into master Apr 10, 2026
11 of 15 checks passed
@lidel lidel deleted the feat/sunset-ipfs-update branch April 10, 2026 22:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant