Skip to content

chore(release): prepare 0.1.22#66

Merged
tomcasaburi merged 1 commit into
masterfrom
chore/release-0.1.22-pkc-js-0.0.53
Jun 25, 2026
Merged

chore(release): prepare 0.1.22#66
tomcasaburi merged 1 commit into
masterfrom
chore/release-0.1.22-pkc-js-0.0.53

Conversation

@tomcasaburi

@tomcasaburi tomcasaburi commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • bump @bitsocial/bitsocial-react-hooks to 0.1.22
  • update @pkcprotocol/pkc-js to 0.0.53
  • set the new default HTTP router list for generated web accounts
  • update README usage notes and regenerated LLM context files

Verification

  • yarn install
  • yarn prettier
  • yarn build
  • yarn test
  • yarn knip
  • git diff --check

Note: the local hooks/stores coverage command ran its Vitest suite successfully, but the repo's strict 100% verifier still reports existing coverage gaps across unrelated hook/store files.


Note

Low Risk
Changes default networking endpoints and a protocol dependency; impact is mainly on newly generated accounts and fetch/routing behavior, not auth or persisted account data unless users rely on old defaults.

Overview
Prepares 0.1.22 by bumping the package version and upgrading @pkcprotocol/pkc-js from 0.0.48 to 0.0.53 (lockfile included).

Default account PKC options now use a shared DEFAULT_HTTP_ROUTER_URLS list for IPFS/IPNS delegated routing: six HTTP routers (including routerofbitsocial.xyz and bsotracker.online) replace the previous inline four-entry list and reorder endpoints. Tests assert getDefaultPkcOptions().httpRoutersOptions matches that constant.

Docs for editing an account document default HTTP routers and show setting pkcOptions.httpRoutersOptions via setAccount; regenerated llms.txt / llms-full.txt mirror README and refresh changelog snippets.

Reviewed by Cursor Bugbot for commit 87cd4d5. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • New Features

    • Added default HTTP router settings for IPFS/IPNS delegated routing when creating or editing accounts.
    • Updated the app’s default account routing behavior to use a predefined router list.
  • Bug Fixes

    • Improved account comment lookups so empty comments are handled correctly.
  • Documentation

    • Refreshed the account-editing example to show the new routing settings and account configuration format.
  • Chores

    • Updated the package version and dependency versions.

@coderabbitai

coderabbitai Bot commented Jun 25, 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: 1cf47ce2-8b29-4e38-8b0c-21cedaa937b1

📥 Commits

Reviewing files that changed from the base of the PR and between 8b26184 and 87cd4d5.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (6)
  • README.md
  • llms-full.txt
  • llms.txt
  • package.json
  • src/stores/accounts/account-generator.test.ts
  • src/stores/accounts/account-generator.ts

📝 Walkthrough

Walkthrough

The account defaults now use a shared HTTP router URL list, the default-option tests assert that list, and the README plus generated release files reflect the updated routing example and package metadata.

Changes

HTTP router defaults and supporting docs

Layer / File(s) Summary
Default router options
src/stores/accounts/account-generator.ts, src/stores/accounts/account-generator.test.ts
A shared DEFAULT_HTTP_ROUTER_URLS constant is exported and used for getDefaultPkcOptions().httpRoutersOptions, and the test suite checks both the constant contents and the default option value.
Example docs and release metadata
README.md, llms.txt, llms-full.txt, package.json
The “Edit an account” example now shows multiple HTTP routers and passes httpRoutersOptions through editedAccount.pkcOptions; the generated docs update the linked changelog text, and package.json bumps the version and @pkcprotocol/pkc-js dependency.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I hopped through routers, one by one,
and found the defaults neatly spun.
The account now knows which paths to take,
with crisp new URLs for routing’s sake.

🚥 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 reflects the release-preparation update for version 0.1.22.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/release-0.1.22-pkc-js-0.0.53

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.

@tomcasaburi tomcasaburi merged commit a45280c into master Jun 25, 2026
8 checks passed
@tomcasaburi tomcasaburi deleted the chore/release-0.1.22-pkc-js-0.0.53 branch June 25, 2026 10:57
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.

1 participant