1.1
v1.1 - Positional Parameters & Single Service Mode (2025-09-28)
π New Features
- Positional Parameters: Added
USE_POSITIONAL_PARAMSsupport for numbered placeholders ({1},{2},{3}) - Single Service Mode: New
URL_PATTERNenvironment variable for single-pattern deployments without service prefixes - Flexible Configuration: Choose between
URL_PATTERNS(multi-service) orURL_PATTERN(single service)
π οΈ Improvements
- Refactored parameter processing into reusable
processRequest()function - Enhanced startup logging with parameter mode indication
- Added example URL generation for positional parameter patterns
- Improved error handling with mutual exclusion validation
π Examples
Positional parameters:
Pattern: {1}/{2}/{3}/{4}
URL: /service/github/twbs/bootstrap/v5.3.8/bootstrap.zip
Result: {1}="twbs", {2}="bootstrap", {3}="v5.3.8", {4}="bootstrap.zip"
Single service mode:
Pattern: https://github.com/{owner}/{repo}/archive/{tag}.zip
URL: /owner/facebook/repo/react/tag/v18.2.0
π Technical Notes
- Breaking change: Cannot use both
URL_PATTERNSandURL_PATTERNsimultaneously - Positional mode requires numbered placeholders in URL patterns
- Single service mode uses catch-all route without
/service/prefix
Full Changelog: 1.0...1.1