Changes for version 1.1.0 - 2026-08-18
- FEATURE
- We have included PAGI::FastAPI::Queue which is an async-first message queue facade with a topic-based push(), pop(), and size() operations. We have also added dep() helper for use in conjunction with PAGI::FastAPI::Depends and the support for the choice of the storage driver by merely the short name or fully-qualified class name provided by the driver constructor option.
- PAGI::FastAPI::Queue::Driver has been added, which is an abstract async base class used for all queue storage drivers (be it built-in or 3rd party).
- We have added a new built-in storage driver called PAGI::FastAPI::Queue::Driver::Memory.
- TESTS
- The file t/22-queue_driver.t was added to contain contract tests of the abstract PAGI::FastAPI::Queue::Driver base class which returns failed Future errors for push, pop, and size methods in case they are not overruled.
- The file t/23-queue_driver_memory.t was introduced to hold unit tests for the PAGI::FastAPI::Queue::Driver::Memory subclass which conducts FIFO operation tests.
- The file t/24-queue.t was created to run unit tests for the functionalities of the PAGI::FastAPI::Queue interface, which verifies its working of the driver name in its three possible forms and the ability to handle possible errors in the absence of the object in the class.
- The file t/25-rate_limit_stacked.t was created to test app-level rate liimt and per route rate limit stacked together.
- All the newly added modules were included in t/00-load.t so that they can be made use of to call are OK.
Documentation
Modules
Asynchronous, Type-Safe Micro-Framework with Dependency Injection and OpenAPI & Swagger UI
Base Interface for PAGI::FastAPI Bot Protection
Stateless Proof-of-Work Bot Mitigation Engine
Request and Response Lifecycle Context for PAGI::FastAPI
Dependency Injection Wrapper for PAGI::FastAPI
Asynchronous Proof-of-Work Bot Protection Middleware for PAGI::FastAPI
Async Rate Limiting Middleware for PAGI::FastAPI
Pluggable Async Message Queue Facade for PAGI::FastAPI
Abstract Base Class for Message Queue Storage Drivers
Default In-Memory Storage Driver for PAGI::FastAPI::Queue
Abstract Base Class for Rate Limiting Storage Drivers
Default In-Memory Storage Driver for Rate Limiting
Base HTTP Response Class for PAGI::FastAPI
HTML Response Class for PAGI::FastAPI
Server-Sent Events (SSE) Streaming Response for PAGI::FastAPI