Skip to content

chore(host): bump @parity/truapi to 0.12.0 - #353

Merged
valentinfernandez1 merged 1 commit into
mainfrom
chore/bump-truapi-0.12.0
Aug 31, 2026
Merged

chore(host): bump @parity/truapi to 0.12.0#353
valentinfernandez1 merged 1 commit into
mainfrom
chore/bump-truapi-0.12.0

Conversation

@valentinfernandez1

Copy link
Copy Markdown
Collaborator

Closes #351.

What

Bump the @parity/truapi catalog pin from ^0.10.0 to ^0.12.0 (caret on 0.x only allows patch, so the pin must move to pick up the new minor). 0.12.0 adds the locale domain, system.info / system.getProductContext, and development_createAccountProof; nothing in the SDK consumes the new surface yet, so this is a host patch.

What changed

  • pnpm-workspace.yaml: catalog ^0.10.0 to ^0.12.0, minimumReleaseAgeExclude entry updated to @parity/truapi@0.12.0.
  • packages/host/src/testing.ts: the fake client now declares locale as not modeled, and system keeps handshake / featureSupported / navigateTo modeled while the new info / getProductContext throw the descriptive not-modeled error.
  • pending-changesets/truapi-0.12.0.md: patch changeset for @parity/product-sdk-host.

Unblocks #333, which needs the locale domain to typecheck.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​parity/​truapi@​0.12.08910010099100

View full report

@github-actions

Copy link
Copy Markdown

📦 Bundle size impact

Comparing 2026-08-31T15:07:44.953Z2026-08-31T15:06:36.090Z

Package Entry Bundled before Bundled after Δ Ship gzip Δ Shake ratio
🟢 @parity/product-sdk . 8.56 MB 8.57 MB +4.5 KB (+0.1%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./chain 8.32 MB 8.33 MB +4.4 KB (+0.1%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./cloud-storage 8.50 MB 8.50 MB +4.4 KB (+0.1%) 0 B 2% (was 2%)
🟢 @parity/product-sdk ./core 8.56 MB 8.57 MB +4.5 KB (+0.1%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./host 93.7 KB 98.1 KB +4.4 KB (+4.7%) 0 B 8% (was 9%)
🟢 @parity/product-sdk ./local-storage 60.1 KB 64.5 KB +4.4 KB (+7.3%) 0 B 100% (was 100%)
🟢 @parity/product-sdk ./react 8.57 MB 8.58 MB +4.5 KB (+0.1%) 0 B 0% (was 0%)
🟢 @parity/product-sdk ./testing 59.1 KB 59.1 KB +31 B (+0.1%) 0 B 26% (was 26%)
🟢 @parity/product-sdk ./wallet 190.5 KB 194.9 KB +4.4 KB (+2.3%) 0 B 1% (was 1%)
🟢 @parity/product-sdk-chain-client . 8.32 MB 8.33 MB +4.4 KB (+0.1%) 0 B 0% (was 0%)
🟢 @parity/product-sdk-cloud-storage . 8.50 MB 8.50 MB +4.4 KB (+0.1%) 0 B 2% (was 2%)
🟢 @parity/product-sdk-host . 93.7 KB 98.1 KB +4.4 KB (+4.7%) 0 B 8% (was 9%)
🟢 @parity/product-sdk-host ./testing 10.4 KB 10.5 KB +31 B (+0.3%) +39 B 65% (was 65%)
🟢 @parity/product-sdk-local-storage . 60.1 KB 64.5 KB +4.4 KB (+7.3%) 0 B 100% (was 100%)
🟢 @parity/product-sdk-signer . 190.5 KB 194.9 KB +4.4 KB (+2.3%) 0 B 1% (was 1%)
🟢 @parity/product-sdk-statement-store . 105.4 KB 109.8 KB +4.5 KB (+4.2%) 0 B 9% (was 10%)

Thresholds — 🟡 ≥10% or ≥5.0 KB · 🟠 ≥20% or ≥15.0 KB (bundled). Percentage only applies once the baseline is ≥ 10 KB. Informational — this check never blocks merge.

@valentinfernandez1
valentinfernandez1 merged commit bef912e into main Aug 31, 2026
14 checks passed
kalininilya added a commit that referenced this pull request Aug 31, 2026
#353 landed the catalog bump on main, along with the `locale` entry in the
testing fake this branch also carried — the rebase kept both copies. Drop
ours and let main's stand, leaving this branch to `getLocaleProvider` alone.

The changeset loses its blocker line for the same reason: the truapi release
it waited on is the one already on the catalog.

Claude-Session: https://claude.ai/code/session_012eRddy3YXhy5x3WzCpYYka
valentinfernandez1 added a commit that referenced this pull request Aug 31, 2026
)

* feat(host): add getLocaleProvider for the host's selected language

Products render in the language chosen inside the host instead of
inferring one from navigator.language, which reports the operating
system's preference.

Backed by truApi.locale.subscribe; needs a @parity/truapi release
carrying the locale domain.

* Apply suggestion from @valentinfernandez1

Co-authored-by: Valentin Fernandez <33705477+valentinfernandez1@users.noreply.github.com>

* chore(host): rebase onto the truapi 0.12.0 bump

#353 landed the catalog bump on main, along with the `locale` entry in the
testing fake this branch also carried — the rebase kept both copies. Drop
ours and let main's stand, leaving this branch to `getLocaleProvider` alone.

The changeset loses its blocker line for the same reason: the truapi release
it waited on is the one already on the catalog.

Claude-Session: https://claude.ai/code/session_012eRddy3YXhy5x3WzCpYYka

---------

Co-authored-by: Valentin Fernandez <33705477+valentinfernandez1@users.noreply.github.com>
valentinfernandez1 pushed a commit that referenced this pull request Sep 1, 2026
Move the seven changesets for work merged to main since 0.25.0 from
pending-changesets/ into .changeset/ so the release runs:
locale provider (#333), individuality registration/fromPapi (#341),
txExtVersion from formats (#342), candidate progress (#343),
localStorage.clear removal (#345), airdrop id decode (#346), truapi 0.12.0 (#353).

Bumps: host + individuality + umbrella minor, terminal and the rest patch.
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.

Bump @parity/truapi to 0.12.0

2 participants