Releases: AppsDevTeam/background-queue
Releases · AppsDevTeam/background-queue
v5.2.1: Removes auto schema updates on each request
v5.2: Merge pull request #57 from AppsDevTeam/parameters-json
Extra column in database for parameters in json format
v5.1.2: Uses Symfony command attributes
Replaces the static `$defaultName` property with Symfony's `AsCommand` attribute for command registration. This provides a cleaner and more modern approach to defining console commands.
v5.1.1
v4.27.5
v4.27.4: Publishes queue on transaction commit
Ensures background queue messages are only published to the broker when the outermost database transaction commits successfully. This is achieved by tracking the transaction nesting level and publishing the queue only when the level returns to zero.
v4.27.3: Improves background queue reliability and efficiency
Refactors the background queue to enhance reliability and efficiency by: - Adding connection checks and reconnection logic to prevent job loss due to database connection issues. - Implementing bulk processing for database operations to reduce the number of queries. - Removing transaction management from the queue itself to rely on the application's transaction boundaries. - Adding a dedicated connection for the consumer to allow updating job status even during application transaction rollbacks. - Adding ext-pdo dependency.
v5.1
v4.27.2: Adapts to different Doctrine versions
Checks if the `executeStatement` method exists before calling it, and falls back to `executeUpdate` for older Doctrine versions where `executeStatement` is not available. This ensures compatibility with a broader range of Doctrine versions.
v4.27.1: Updates connection handling in BackgroundQueue
Updates the BackgroundQueue to directly use the connection object provided in the configuration. This simplifies the connection process and relies on the consumer to pass an already established connection, removing the need for connection creation within the class.