Skip to content

Release github.com/tempoxyz/mpp-go@0.4.0 - #96

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changelog-release/main
Open

Release github.com/tempoxyz/mpp-go@0.4.0#96
github-actions[bot] wants to merge 1 commit into
mainfrom
changelog-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changelogs release workflow.

When you're ready to release, merge this PR and the packages will be published.


github.com/tempoxyz/mpp-go@0.4.0

Minor Changes

  • Reject server secret keys shorter than 32 bytes at construction instead of accepting forgeable HMAC-bound challenge IDs. server.New now returns (*Mpp, error). (by @erhnysr, #112)
  • Add split credential validation and broadcast lifecycle hooks, with Tempo API relay configuration for server-side charges. (by @brendanryan, #110)

Patch Changes

  • Fix the client challenge filter so a challenge whose expires cannot be parsed is skipped instead of treated as valid, preventing the client from paying a challenge the server is guaranteed to reject. (by @WinterRong, #88)
  • Update Go dependencies in the weekly Dependabot batch. (by @dependabot[bot], #109)
  • Batch routine dependency updates weekly and automatically merge patch and minor
  • updates after all pull request checks pass. (by @brendanryan, #104)
  • Return a fresh WWW-Authenticate: Payment challenge when payment credential verification fails, allowing clients to retry with the current challenge. (by @pranjalpaliwal, #74)
  • Decode a bare 0x (and empty) hex quantity as zero in ParseHexUint64, matching ParseHexBigInt so both JSON-RPC integer decoders agree on zero-value forms returned by lenient nodes. (by @salad, #91)
  • Accept legacy challenge descriptions containing unescaped quotes. (by @brendanryan, #105)
  • Reject a negative decimals in ParseUnits (and thus TransformUnits) instead of panicking on the fractional-part slice. (by @alex, #87)
  • Send relay broadcast Idempotency-Key headers under the canonical mpp_ namespace instead of mppx_. The key is otherwise byte-identical (Keccak-256 of the signed transaction, or SHA-256 of the canonical relay input), so the previous prefix prevented the relay from deduplicating equivalent canonical and Go submissions of the same transaction or credential retry. Matches src/tempo/server/Relay.ts in the canonical mppx implementation. (by @erhnysr, #114)
  • Reject payment receipts that omit the method or timestamp field when parsing. Both are required base receipt fields per draft-ietf-httpauth-payment §5.3 and the canonical mppx schema; previously an incomplete receipt parsed successfully with an empty method and zero timestamp. (by @erhnysr, #113)
  • Reject malformed WWW-Authenticate: Payment auth-param lists instead of silently accepting trailing bare parameters or missing separators. (by @markharrison, #92)
  • Strip CR and LF characters in the default FormatAuthenticate path so a Challenge field containing \r\n (e.g. Description, Realm) can no longer split the WWW-Authenticate header and inject a response. FormatAuthenticateStrict continues to reject such values with an error. (by @TLeao, #86)
  • Use the bootstrapped Tempo localnet image for reproducible integration tests. (by @brendanryan, #129)
  • Refuse standalone Transport auto-pay after a redirect. A Transport used with a bare http.Client (no CheckRedirect) had none of Client.Do's cross-origin redirect protection, so a redirect to an attacker origin could be auto-paid. The Transport now fails closed on any redirect-produced request when no trusted origin is pinned in the context. (by @mattew, #84)
  • Reject non-hexadecimal 32-byte memos in EncodeTransferWithMemo instead of producing invalid Tempo calldata. (by @markharrison, #100)

@github-actions
github-actions Bot force-pushed the changelog-release/main branch 7 times, most recently from 3700819 to e393214 Compare July 28, 2026 00:38
@github-actions
github-actions Bot force-pushed the changelog-release/main branch 3 times, most recently from 29be74b to 2bebfa6 Compare July 31, 2026 00:25
@github-actions
github-actions Bot force-pushed the changelog-release/main branch 2 times, most recently from 73d4503 to be5c99c Compare August 5, 2026 21:24
@github-actions github-actions Bot changed the title Release github.com/tempoxyz/mpp-go@0.3.1 Release github.com/tempoxyz/mpp-go@0.4.0 Aug 5, 2026
@github-actions
github-actions Bot force-pushed the changelog-release/main branch 6 times, most recently from e6abc5e to 55d1061 Compare August 11, 2026 15:55
@github-actions
github-actions Bot force-pushed the changelog-release/main branch from 55d1061 to 78d1491 Compare August 21, 2026 15:31
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