⚠ BREAKING CHANGES
- midnight-js: IndexerFormattedError.cause is renamed to .errors.
The ES2022 Error.cause slot is contractually a single underlying error,
not a peer collection of GraphQL errors. Shadowing it broke Node's
util.inspect causal chain, Sentry grouping, and structured loggers.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
- refactor(midnight-js): extract correlateDeployTxId for cast-free tests
Pulls the contract-action / identifier correlation into a small pure
helper that takes narrow structural types. Eliminates the
'as unknown as RegularTransaction' fixture cast that violated the
project rule, and shrinks the public API: toFinalizedDeployTxData is
now a file-local const, with only the focused helper exported for tests.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
- refactor(midnight-js): replace non-null assertions on contractAction with type predicate
Lines 410 and 449 used Rx.filter + ! assertions to satisfy the type
Features
- testkit-js: parameterize compose image versions + nightly e2e matrix (#917) (1621524)
- testkit-js: support qanet via NIGHT/dust faucet flow (73a3fd5)
Bug Fixes
- midnight-js: apply full password policy to export operations (#922) (c6f43dd), closes #819
- midnight-js: emit contract state for blockHeight/blockHash configs (#911) (f8d2e48), closes #805
- midnight-js: harden error handling in indexer-public-data-provider (#937) (28c840a), closes #823 #822 #821 #821
- midnight-js: validate signing key value on import (#926) (9fa41f4), closes #824
- midnight-js: warn on plain http/ws for non-loopback provider URLs (#920) (dc6a3c6), closes #818
- testkit-js: derive waitForFunds address from keystore (f1b980b)
Documentation
- API documentation update (#910) (96146e5)
- API documentation update (#924) (092257c)
- API documentation update (#934) (7370b65)
- API documentation update (#939) (5251bce)
- midnight-js: clarify provider semantics and tx privacy (#918) (cc9312e), closes #870 #871 #872
Code Refactoring
Tests
Continuous Integration
- bump pinned GitHub Actions to latest versions (#927) (150ecd4)
- testkit-js: scope concurrency group by docker env (#935) (af794ca)
Improvements
- deps: bump @midnight-ntwrk/wallet-sdk to 1.1.0 (#919) (0c59c4b)
- deps: bump dependencies to address security advisories (#925) (36d5aee), closes #134
- deps: bump testcontainers from 11.13.0 to 12.0.0 (#928) (ec14840)
- deps: declare missing dependencies and enforce via ESLint (#913) (75cbc75)
- deps: enforce consistent dependency versions via Yarn Constraints (#914) (75085d3)
- deps: remove unused root devDependencies, scope build-time deps to packages (#916) (b24283f)