Skip to content

v0.10.0

Compare
Choose a tag to compare
@vvatanabe vvatanabe released this 16 Nov 00:08
· 93 commits to main since this release
  • 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.
  • Function Refactorings:
    • Reduced cognitive complexity in multiple functions like GetDLQStats, GetQueueStats, and ReceiveMessage.
    • 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.
  • General Improvements:
    • Removed duplicating literals and replaced them with constants.
    • Adopted assertDeepEqual and assertError 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