Skip to content

chore(deps): upgrade kubo 0.41.0 → 0.42.0#81

Merged
Rinse12 merged 1 commit into
masterfrom
chore/upgrade-kubo-0.42.0
Jun 9, 2026
Merged

chore(deps): upgrade kubo 0.41.0 → 0.42.0#81
Rinse12 merged 1 commit into
masterfrom
chore/upgrade-kubo-0.42.0

Conversation

@Rinse12

@Rinse12 Rinse12 commented Jun 9, 2026

Copy link
Copy Markdown
Member

Upgrades the bundled kubo dependency from 0.41.0 to 0.42.0 (latest official release from the ipfs/npm-kubo GitHub Actions pipeline; maps to kubo binary v0.42.0).

Fixes #80.

Changelog review vs. our usage

Reviewed the v0.42.0 release notes against how bitsocial-cli drives kubo in src/ipfs/startIpfs.ts: ipfs init, ipfs config profile apply server, ipfs repo migrate, ipfs daemon --enable-namesys-pubsub --migrate, plus config edits to Addresses, AutoTLS.Enabled, and Gateway.PublicGateways.

No breaking changes affect us:

  • Provide.DHT.Interval=0 semantics change — the only breaking change in 0.42.0; daemon now refuses startup if Provide.DHT.Interval=0 is set without explicit Provide.Enabled. We never set Provide.* in our config merge and don't depend on the server profile touching it. Not applicable.
  • --enable-namesys-pubsub / --migrate — still valid in 0.42.0, not deprecated or removed.
  • ipfs repo migrate — still works; now more resilient (retries across gateways with HTTP timeouts).
  • ipfs routing provide deprecated (→ ipfs provide once) — we don't use it.
  • New optional settings (Internal.ShutdownTimeout default 12h, Migration.DownloadSources, Provide.DHT.SendProviderRecordTimeout) and new RPC subcommands don't affect existing usage.

Avoided npm kubo@1.0.1 — hand-published by an individual rather than the official GitHub Actions pipeline; kubo binary releases follow 0.x.0.

Verification

  • npm run build && npm run build:test
  • npm run test:cli ✅ — 259 passed, 1 skipped (32 files), including the daemon and kubo restart-race suites that drive the real kubo binary, confirmed ipfs version 0.42.0.

Summary by CodeRabbit

  • Chores
    • Updated Kubo dependency to version 0.42.0, bringing the latest improvements and fixes from the upstream library.

Reviewed the kubo v0.42.0 changelog against bitsocial-cli's usage
(ipfs init / config profile apply server / repo migrate / daemon
--enable-namesys-pubsub --migrate, plus Addresses/AutoTLS/Gateway
config edits in src/ipfs/startIpfs.ts). No breaking changes affect us:

- Provide.DHT.Interval=0 semantics change (the only breaking change)
  does not apply: we never set Provide.* in our config merge.
- --enable-namesys-pubsub and --migrate remain valid, not deprecated.
- ipfs repo migrate still works (now retries across gateways).

Verified: build + build:test pass; full test:cli passes (259 passed,
1 skipped) driving the real kubo 0.42.0 binary.
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b5645ec3-7a2a-47d7-994c-43781a1d3ce1

📥 Commits

Reviewing files that changed from the base of the PR and between 9ffbac4 and 5659d37.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

Kubo npm package dependency is upgraded from 0.41.0 to 0.42.0 in package.json. The linked issue confirms no breaking changes affect existing kubo usage within the codebase and that verification builds and tests pass successfully.

Changes

Kubo dependency upgrade

Layer / File(s) Summary
Kubo version bump
package.json
kubo dependency version is updated from 0.41.0 to 0.42.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A hop and a skip, kubo did leap,
From 0.41 to 0.42 so deep,
No breaking changes to break our stride,
Just a version bump, verified with pride! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: upgrading kubo dependency from 0.41.0 to 0.42.0, which matches the package.json modification.
Linked Issues check ✅ Passed The pull request fully implements the requirement from issue #80 to upgrade kubo from 0.41.0 to 0.42.0, including proper changelog review and verification testing.
Out of Scope Changes check ✅ Passed The pull request contains only the single, scoped change of updating the kubo dependency version in package.json with no extraneous modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade-kubo-0.42.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Rinse12 Rinse12 merged commit 07e2d7f into master Jun 9, 2026
4 checks passed
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 this pull request may close these issues.

chore: upgrade kubo 0.41.0 → 0.42.0

1 participant