Skip to content

Latest commit

 

History

History
163 lines (92 loc) · 3.87 KB

File metadata and controls

163 lines (92 loc) · 3.87 KB

4.0.1 (2026-01-05)

Bugfixes

  • Fixed bug when generating cached routes with a relative path to the spec file.

4.0.0 (2026-01-05)

New

  • Added support for more string formats when generating routes:
    • date
    • date-time
    • byte
  • Added support for custom string patterns using the pattern keyword.
  • Automatic dark/light mode for the Swagger UI based on system settings.
  • Improved spec generation.

Changes

  • Bumped requirements to Mako 12+ and PHP 8.5+
  • Dropped support for the non-official regex:... format (replaced by pattern).
  • Updated dependencies.
  • The UI is now specified using the Ui enum.

3.1.0 (2025-09-05)

New

  • Added Elements UI.
  • Added Scalar UI.

3.0.1 (2025-09-05)

Updates

  • Updated Swagger UI to the latest version.

3.0.0 (2025-01-03)

Changes

  • Bumped requirements to Mako 11+ and PHP 8.4+

2.2.1 (2024-10-29)

Bugfixes

  • Ensure that the Swagger UI docs work if "clean URLs" are disabled.

2.2.0 (2023-11-23)

New

  • Added a controller that exposes three endpoints:
    • The OpenApi spec
    • A Redoc UI
    • A Swagger UI
  • Added a new route registrar class:
    • Registers routes from a cache file or at runtime from the OpenApi yaml spec.
    • Automatically registers /openapi/spec route that exposes the OpenApi spec.
    • Automatically registers /openapi/docs route that exposes a Swagger UI or Redoc UI.

2.1.0 (2023-11-23)

New

  • Now possible to specify the OpenApi version when generating the spec (3.0.0 or 3.1.0).

Bugfixes

  • The spec generator now supports the new Mako 10 directory structure as well as the legacy structure.

2.0.0 (2023-11-23)

Changes

  • Bumped requirements to Mako 10+ and PHP 8.1+

1.2.4 (2023-04-18)

Bugfixes

  • A format is no longer required for integers.

1.2.3 (2023-02-15)

Bugfixes

  • It is now possible to specify the output path of the generated route file.

1.2.2 (2023-01-31)

Bugfixes

  • Parameters are now supported on both the path level and the operation level.

1.2.1 (2023-01-27)

Bugfixes

  • The OpenApiTrait::getRouteName() method now supports invokable classes.

1.2.0 (2023-01-26)

New

  • Added no-dot path parameter pattern.
  • Added possibility of defining custom regex based path parameter patterns.

1.1.1 (2023-01-26)

Bugfixes

  • Only base route parameter patterns on path parameters.

1.1.0 (2023-01-26)

New

  • Added a helper trait with the following methods:
    • OpenApiTrait::getRouteName()
  • Added experimental support for route parameter patterns based on parameter formats.

Bugfixes

  • Path parameters are parsed on path level instead of on request method level.

1.0.0 (2022-12-22)

Initial release 🎉