Skip to content

0.9.0: bump upstream to @novasamatech/*@^0.8.0 - #33

Merged
mordamax merged 2 commits into
mainfrom
mak/0.9.0
Jun 1, 2026
Merged

0.9.0: bump upstream to @novasamatech/*@^0.8.0#33
mordamax merged 2 commits into
mainfrom
mak/0.9.0

Conversation

@mordamax

@mordamax mordamax commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps @novasamatech/host-api, host-container, and host-api-wrapper to ^0.8.0. v0.8 is wire-incompatible with v0.7 — products must upgrade to @novasamatech/host-api@^0.8.0 at the same time (see triangle-js-sdks#179 and the v0.8 migration guide).
  • Theme handler emits the new { name, variant } struct. setTheme('light' | 'dark') keeps working as a shorthand (mapped to { name: { tag: 'Default', value: undefined }, variant: 'Light' | 'Dark' }) and also accepts the full struct so tests can drive custom-named themes. getTheme() returns the struct.
  • PaymentLogEntry.purse records the RFC-0017 purse selectorinto on top-ups, from on requests. Undefined means main purse.
  • Renames BulletInAllowanceBulletinAllowance in the integration suite (upstream variant rename).
  • Adds integration coverage: default + custom-theme struct round-trip, purse-selector assertion on the payment log.
  • New Theme and ThemeInput types exported from the package root.
  • Adds .github/CODEOWNERS (defaults to @mordamax).

Includes the 0.8.6 PASEO genesis refresh from main.

Why minor (not patch)

Even though the test-SDK's public TypeScript surface stays shape-compatible (setTheme('light' | 'dark') still works), the upstream floor jumps @novasamatech/* from ^0.7.9 to ^0.8.0, which is wire-incompatible with anything older. Minor signals "you must also upgrade your product side."

Out of scope (deliberately)

The v0.8 upstream surface area is large, but most of it lives above or below our test-host responsibilities — host-papp multi-device SSO V2, allowance service, abortPendingRequests, host-worker-sandbox ES module imports, statement-store clearOutgoingBatch, and the OptionBool codec flip all ride through transparently or are out of layer. See the CHANGELOG entry for the full list.

mordamax added 2 commits June 1, 2026 13:36
v0.8 is wire-incompatible with v0.7 — products must upgrade in lockstep
(see triangle-js-sdks#179 and the migration guide).

Test-SDK-side changes:
- handleThemeSubscribe emits the new { name, variant } struct;
  setTheme('light'|'dark') stays as a shorthand and now also accepts
  the full struct so tests can drive custom-named theme branches.
  getTheme() returns the struct (read theme.variant for old light/dark).
- PaymentLogEntry gains a `purse` field — `into` on top-ups, `from` on
  payment requests (RFC-0017). Undefined means main purse.
- Rename `BulletInAllowance` → `BulletinAllowance` in integration test.
- Test-product updated: receivedThemes stores the struct; new
  paymentSmokeWithPurse helper.
- New integration coverage: default + custom-theme struct round-trip,
  purse-selector assertion on the payment log.

Release artifacts: package.json + CHANGELOG + forum-post + README.
# Conflicts:
#	CHANGELOG.md
#	package.json
@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@​novasamatech/​host-api-wrapper@​0.8.0100100100100100
Added@​novasamatech/​host-api@​0.8.0100100100100100
Added@​novasamatech/​host-container@​0.8.0100100100100100

View full report

@mordamax
mordamax requested review from BigTava and johnthecat June 1, 2026 13:14
@mordamax
mordamax merged commit 9578409 into main Jun 1, 2026
5 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.

2 participants