nginx-x402 (1.2.0-1) unstable; urgency=medium

  * Version bump to 1.2.0
  * Add x402_asset directive to support custom token/contract addresses
  * Add x402_network_id directive to specify network by chainId (8453, 84532)
  * Implement chainId to network name mapping (Base Mainnet: 8453, Base Sepolia: 84532)
  * Add fallback logic: custom asset > default USDC, network_id > network name > default
  * Update configuration parsing to support both network name and chainId
  * Add comprehensive integration tests for asset fallback and network_id
  * Update documentation and examples

 -- Ryan Kung <ryan@polyjuice.io>  Thu, 28 Nov 2025 00:00:00 +0000

nginx-x402 (1.1.2-1) unstable; urgency=medium

  * Version bump to 1.1.2
  * Add support for skipping payment verification for OPTIONS and HEAD requests
  * OPTIONS requests (CORS preflight) now bypass payment verification to allow CORS checks
  * HEAD requests now bypass payment verification as they are protocol-level queries
  * Add generic HTTP method detection and handling
  * Add integration tests for OPTIONS and HEAD request handling
  * Improve CORS support for browser-based API requests
  * Fix clippy warnings: use is_ok_and and matches! macro

 -- Ryan Kung <ryan@polyjuice.io>  Thu, 28 Nov 2025 00:00:00 +0000

nginx-x402 (1.1.1-1) unstable; urgency=medium

  * Version bump to 1.1.1
  * Fix: Content-Type: application/json now correctly returns JSON response instead of HTML
  * Improve browser detection logic to prioritize Content-Type header
  * Add integration tests for Content-Type: application/json behavior

 -- Ryan Kung <ryan@polyjuice.io>  Thu, 28 Nov 2025 00:00:00 +0000

nginx-x402 (1.1.0-1) unstable; urgency=medium

  * Version bump to 1.1.0
  * Added support for proxy_pass directive alongside x402 payment verification
  * Moved payment verification to ACCESS_PHASE to ensure it runs before proxy_pass
  * Fixed issue where proxy_pass would override x402 handler
  * Improved error handling for invalid payment headers
  * Added integration tests for proxy_pass compatibility
  * Added mock backend server for testing proxy_pass scenarios

 -- Ryan Kung <ryan@polyjuice.io>  Mon, 27 Nov 2025 00:00:00 +0000

nginx-x402 (1.0.4-1) unstable; urgency=medium

  * Version bump to 1.0.4
  * Fixed workflow build errors by adding nginx source setup steps
  * Added Makefile for easier cargo publish workflow

 -- Ryan Kung <ryan@polyjuice.io>  Mon, 27 Nov 2025 00:00:00 +0000

nginx-x402 (1.0.3-1) unstable; urgency=medium

  * Version bump to 1.0.3
  * Improved build.rs to support NGX_VERSION environment variable
  * Enhanced nginx version detection with fallback support

 -- Ryan Kung <ryan@polyjuice.io>  Mon, 27 Nov 2025 00:00:00 +0000

nginx-x402 (1.0.2-1) unstable; urgency=medium

  * Version bump to 1.0.2
  * Simplified README documentation

 -- Ryan Kung <ryan@polyjuice.io>  Mon, 27 Nov 2025 00:00:00 +0000

nginx-x402 (1.0.1-1) unstable; urgency=medium

  * Version bump to 1.0.1

 -- Ryan Kung <ryan@polyjuice.io>  Mon, 24 Nov 2025 00:00:00 +0000

nginx-x402 (0.1.1-1) unstable; urgency=medium

  * Initial release
  * Pure Rust Nginx module for x402 HTTP micropayment protocol

 -- Ryan Kung <ryan@polyjuice.io>  Mon, 18 Nov 2025 00:00:00 +0000
