Skip to content

v0.34.0

Choose a tag to compare

@marle3003 marle3003 released this 15 Feb 21:17
· 22 commits to main since this release
062df9e

✨ Improvements

JavaScript Runtime

  • Event handler priorities
    • Introduced a priority field in EventArgs
    • Allows handlers to run before or after others
    • Enables advanced patterns like request forwarding + response recording
  • HttpResponse.rebuild()
    • Rebuilds the entire HTTP response based on a new status code and content type
    • Generates fresh response data and headers from the OpenAPI spec
    • Makes it easier to handle error scenarios without breaking schema validity
  • File system module
    • New JavaScript module for reading and writing files
    • Enables recording & replay workflows, snapshots, and custom persistence
  • Random message generation
    • Generator now supports producing random values for message fields

Configuration

  • Include / Exclude directory filters
    • Added support for include and exclude patterns when loading files
    • Improves control over large configuration directories

Web UI

  • Line markers in config view
    • Easier navigation with permanent link to a specific line or range of lines of code
  • Dynamic page titles
    • Dashboard pages now set meaningful titles per route

🐛 Fixes

JavaScript

  • Console logging now matches browser behavior
    • Improved handling of format specifiers (%s, %d, etc.)
    • Supports extra parameters like in real browser consoles

HTTP & Parsing

  • Correct parsing of ISO 8601 durations
    • Fixes incorrect duration handling in schema validation
  • Improved application/x-www-form-urlencoded parsing
    • Handles properties not explicitly defined in schemas
    • Properly supports nested object properties

Web UI

  • Decode encoded email subjects and addresses
    • Properly decodes MIME-encoded headers (e.g. UTF-8 subjects)

CLI & Runtime

  • CLI shortcuts added again
    • -v for --version
    • -h for --help
  • Graceful shutdown on SIGINT / SIGTERM
    • Servers now shut down cleanly on interrupt and termination signals