dart_pgmq 2.1.0
dart_pgmq: ^2.1.0 copied to clipboard
A dart client for Postgres Message Queue (PGMQ).
2.1.0 #
- feat: Add advanced JSON filter support to
readandreadWithPollmethods - feat: Introduce
Filterclass with fluent API for building conditional filters- Support for equality (
eq), not-equal (ne), greater-than (gt), greater-than-or-equal (gte), less-than (lt), less-than-or-equal (lte), and exists (exists) operators - Type-safe filter builder that converts to pgmq JSON format automatically
- Support for equality (
- feat: Implement
readWithPollmethod for both PostgreSQL and Prisma implementations - breaking: Change
conditionalparameter type fromMap<String, dynamic>?toFilter?inreadandreadWithPollmethods- Migration: Replace
conditional: {'field': 'x', 'operator': '>', 'value': 1}withconditional: Filter.gt('x', 1)
- Migration: Replace
- docs: Update README with Filter API examples and usage patterns
2.0.0 #
- feat: Use postgres as client for pgmq
- feat: Improve performance by using connection pool.
- fix: Make
Queuedisposable. - feat: Add cancellation on request execution.
- feat: Support Prisma as postgres database client
- feat: Add fromJson and toJson on
Messsage.
1.0.0 #
Initial version.
- feat: Includes the ability to create a
PgmqConnexion. - feat: Includes the ability to create, purge, drop a
Queue. - feat: Includes the ability to send, read, pop, archive, delete a
Message. - feat: Includes the ability to set a
vt(visibility timeout).