102 lines
5.6 KiB
Markdown
102 lines
5.6 KiB
Markdown
## v2.11.0 - 2026-05-11
|
|
### Added
|
|
- Add Radius Network (chain ID 723487) and Radius Testnet (chain ID 72344) support with SBC as the default stablecoin
|
|
- Log the EXTENSION-RESPONSES header from facilitator verify/settle responses; the HTTP facilitator client decodes the header and logs allowlisted fields (status, rejectedReason, reason, code) without attaching data to VerifyResponse or SettleResponse
|
|
- Bazaar service metadata fields (`serviceName`, `tags`, `iconUrl`) on `types.ResourceInfo`, plus `isValidServiceName` / `sanitizeTags` / `isValidIconUrl` / `sanitizeResourceServiceMetadata` helpers in `extensions/bazaar` that facilitator extraction now applies with soft-drop semantics.
|
|
- Added batch-settlement evm mechanism
|
|
|
|
## v2.10.0 - 2026-04-27
|
|
### Fixed
|
|
- MCP payload extraction failing with no method set
|
|
|
|
## v2.9.0 - 2026-04-13
|
|
### Added
|
|
- Add optional `extra.memo` support to SVM exact scheme for seller-defined payment references
|
|
|
|
## v2.8.0 - 2026-04-02
|
|
### Added
|
|
- Add Arbitrum One (chain ID 42161) and Arbitrum Sepolid (chain ID 421614) support with USDC as the default stablecoin
|
|
- Add Mezo Testnet (chain ID 31611) support with mUSD as the default stablecoin
|
|
- Add Polygon mainnet (chain ID 137) support with USDC as the default stablecoin
|
|
- Add Stable mainnet (chain ID 988) support with USDT0 as the default stablecoin
|
|
- Add Stable testnet (chain ID 2201) support with USDT0 as the default stablecoin
|
|
- Add net/http standard library adapter for x402 payment middleware (http/nethttp package)
|
|
- Add Echo framework middleware adapter for x402 payment handling in go/http/echo package
|
|
- Add upto EVM payment scheme with client, facilitator, and server support for permit2-based partial settlement on EVM chains
|
|
### Changed
|
|
- Updated x402UptoPermit2Proxy canonical address to 0x4020A4f3b7b90ccA423B9fabCc0CE57C6C240002, deployed with deterministic bytecode for reproducible cross-chain CREATE2 addresses
|
|
- Migrated project from coinbase/x402 to x402-foundation/x402 organization
|
|
### Fixed
|
|
- Fix gin streaming content leak and echo panic on flush
|
|
|
|
## v2.7.0 - 2026-03-23
|
|
### Changed
|
|
- Changed Bazaar discovery extension to support dynamic route patterns. EnrichDeclaration now
|
|
translates [param] route segments to :param-style routeTemplate and populates pathParams with
|
|
concrete values from each request. The EnrichExtensions call in go/http/server.go, previously
|
|
disabled (commented out) in all prior Go releases, is now active: ALL existing Go routes that
|
|
declare extensions will have their extensions enriched at request time. Added RouteTemplate field
|
|
to DiscoveryExtension so callers can read it without a type assertion.
|
|
|
|
## v2.6.0 - 2026-03-17
|
|
### Added
|
|
- Added simulation to permit2 verify and (optional) settle
|
|
### Changed
|
|
- Replaced SendRawApprovalAndSettle with a generic SendTransactions signer method that accepts an array of transaction requests (pre-signed or unsigned intents). Closed fail-open verification paths, aligned Permit2 amount check to exact match, and improved client extension fallback error handling
|
|
- Simulate transaction in verify and (optional) settle; Added multicall utility for efficient rpc calls; Fixed undeployed smart wallet handling
|
|
### Fixed
|
|
- Fixed paywall config injection targeting `</body>` causing SVG parse errors in the browser
|
|
|
|
## v2.5.0 - 2026-03-06
|
|
### Added
|
|
- Add route configuration validation during Initialize() to catch scheme/facilitator mismatches at startup
|
|
- Added assetTransferMethod and supportsEip2612 flag to defaultAssets
|
|
- Added `onProtectedRequest` hook to HTTP resource server
|
|
- Add WithBazaar facilitator client decorator for querying /discovery/resources endpoint from bazaar in go
|
|
- Added dynamic function for servers to generate custom response for settlement failures defaulting to empty
|
|
- Add in-memory SettlementCache to prevent duplicate SVM transaction settlement during on-chain confirmation window
|
|
### Changed
|
|
- Separated v1 legacy network name resolution from v2 CAIP-2 resolution; v1 code now uses evm/v1 package, shared utils only accept eip155:CHAIN_ID format
|
|
- GetSupported retries up to 3 times with exponential backoff on 429 rate limit responses
|
|
- Add pluggable PaywallProvider interface for custom paywall HTML generation with PaywallBuilder pattern
|
|
|
|
## 2.4.1 - 2026-02-25
|
|
### Fixed
|
|
- Fixed changelog generation to include version extension and eliminate trailing dots which prevent go from importing
|
|
|
|
## v2.4.0 - 2026-02-25
|
|
### Changed
|
|
- Update Permit2 witness struct (remove extra field), contract addresses, and error names for post-audit x402 proxy contracts on Base Sepolia
|
|
- Pre-compile constant regex patterns in http server for better performance
|
|
### Fixed
|
|
- preserve query params in paywall redirect
|
|
|
|
## v2.3.0 - 2026-02-20
|
|
### Added
|
|
- Added payment-identifier extension — Enables idempotent payment requests.
|
|
### Changed
|
|
- Increased EVM validAfter buffer from 30 seconds to 10 minutes for consistency with TypeScript SDK
|
|
- Upgraded facilitator extension registration from string keys to FacilitatorExtension objects. Added FacilitatorContext to SchemeNetworkFacilitator functions
|
|
### Fixed
|
|
- Add validAfter and validBefore timing validation to EIP-3009 verification in the Go facilitator SDK
|
|
|
|
## 2.2.0 - 2026-02-11
|
|
### Added
|
|
- Added MCP transport integration for x402 payment protocol
|
|
- Add MegaETH mainnet (chain ID 4326) support with USDM as the default stablecoin
|
|
- Added memo instruction with random nonce to SVM transactions to ensure uniqueness and prevent duplicate transaction attacks
|
|
|
|
## 2.1.0 - 2026-01-09
|
|
### Added
|
|
- Fixed interopability bug
|
|
- Added extensions support
|
|
|
|
## 2.0.0 - 2025-10-12
|
|
### Added
|
|
- Implements x402 v2 for the Go SDK.
|
|
|
|
## 1.0.0 - 2025-09-12
|
|
### Added
|
|
- Implements x402 v1 for the Go SDK.
|
|
|