v0.10.0
- List Message Sorting: Enhanced the
ListMessages
function to sort messages, providing more structured and accessible message lists. - Producer Implementation: Implemented a new
Producer
to facilitate sending messages, streamlining the message creation process. - Support for DLQ Reception: Added support for receiving messages from the Dead Letter Queue (DLQ), enhancing message handling capabilities.
- New 'Invalid' Subcommand: Introduced an 'invalid' subcommand, expanding the command-line interface's functionality.
- Test Suite Enhancements:
- Unified and streamlined test cases for error handling and specific error types like
IDNotProvidedError
. - Merged related test cases into single functions for improved readability and maintenance.
- Enabled parallel execution of unit tests to speed up the testing process.
- Unified and streamlined test cases for error handling and specific error types like
- Function Refactorings:
- Reduced cognitive complexity in multiple functions like
GetDLQStats
,GetQueueStats
, andReceiveMessage
. - Standardized test cases by defining common structures.
- Optimized data seeding methods in tests for more efficient setup.
- Transformed callback-based operations to simpler structures to reduce code nesting.
- Reduced cognitive complexity in multiple functions like
- General Improvements:
- Removed duplicating literals and replaced them with constants.
- Adopted
assertDeepEqual
andassertError
for more robust testing. - Renamed and privatized message-related methods for better encapsulation.
- Organized imports and renamed key files for improved code clarity.
Full Changelog: v0.9.0...v0.10.0