Skip to content

Releases: pessoa736/PudimServerAPIs

v0.3.0 - Help System & Documentation

14 Feb 23:22
cd81046

Choose a tag to compare

What's New

🆕 Interactive Help System

  • PudimServer.help() — overview with quickstart
  • PudimServer.help('topic') — detailed docs for 10 topics
  • First-run welcome message with quickstart guide
  • PudimServer.version() — get current version

📝 LuaDoc Annotations

  • Complete @param/@return annotations on all public functions
  • Full IDE/LSP support (autocomplete, hover docs)

🤖 AI Documentation

  • Rewritten copilot-instructions.md with complete API reference
  • Module dependency graph, request flow, and usage patterns

🧪 Tests

  • 85 tests total (8 new for help module), all passing
luarocks install PudimServer 0.3.0

v0.2.0

14 Feb 22:51
83d8964

Choose a tag to compare

What's New

Bug Fixes

  • Fix JSON auto-encoding: table body is now correctly encoded to JSON with Content-Type: application/json
  • Remove hardcoded SSL middleware that crashed servers without certificates

New Features

  • CORS helpers: server:EnableCors() with configurable origins, methods, headers, credentials and automatic preflight handling
  • Request/response pipeline: server:UseHandler() for HTTP-level middleware with short-circuit support (auth, logging, etc.)
  • In-memory cache: TTL-based response cache with automatic eviction, integrates with pipeline via Cache.createPipelineHandler()

Tests & Docs

  • 77 unit tests with busted
  • 5 functional examples in examples/
  • Rewritten README (EN + PT-BR) with documentation for all new features
  • Added .github/copilot-instructions.md

Dependencies

  • Added loglua to rockspec dependencies