Skip to content

v1.7.14: Bump tinystruct version to 1.7.14 and improve core modules

Choose a tag to compare

@m0ver m0ver released this 02 Jan 01:09
- Update README, pom.xml, dispatcher scripts, and ApplicationManager to reflect version 1.7.14
- Refactor AbstractApplication for improved readability and consistent formatting
  - Multi-line ternary and method call formatting
  - Use `config.getOrDefault` for DEFAULT_BASE_URL
  - Switch `actionRegistry.paths().contains` to `validate(path)` for robust path checking
- Enhance ActionRegistry
  - Make `paths` thread-safe
  - Add `validate(path)` method for path checking
  - Minor formatting and method signature adjustments
- Improve ConnectionManager reliability
  - Track dead connections and avoid reusing them
  - Handle EOFException during send and mark connection as dead
  - Update connection validation and expiration checks
- Refactor HttpServer CORS handling
  - Support dynamic allowed origins and credentials
  - Preflight OPTIONS responses now properly closed with 204 status