Skip to content

v1.1.0-alpha

Choose a tag to compare

@BadEnd777 BadEnd777 released this 12 Jan 02:55
· 54 commits to main since this release

Chat Bridge v1.1.0-alpha Has Arrived!

We're excited to unveil a fresh update packed with improvements for smoother communication and development. Here's what's new:

Key Enhancements:

  • Streamlined Imports for Better Organization:
    • Types/interfaces now have a direct home at @/interfaces.
    • Import statements have been thoughtfully reordered for optimal clarity.
  • Unlocking Additional Communication Methods:
    • Send messages, attachments, images, audio, video, and files with ease using these new methods:
      • sendApiMessage
      • sendAttachment
      • sendImage
      • sendAudio
      • sendVideo
      • sendFile
  • Plugin Power Unleashed:
    • A new example demonstrates how to register plugins (like fastify-cors) using the register method, expanding customization possibilities.
  • Enhanced Error Handling for Clearer Insights:
    • Error messages in sendRequest now include the response body when requests fail, providing more actionable information for troubleshooting.
  • Minor Code Organization Tweaks for Smooth Sailing:
    • Import statements have been fine-tuned for enhanced code readability.

Code Structure Refinements:

  • Class Name Harmony: Collection in v1.0.0-alpha-alpha has evolved into Collections in v1.1.0-alpha.
  • File Organization Optimization:
    • Version 1.1.0-alpha introduces a more modular approach, with Collections defined and exported in a separate module alongside imported interfaces.
  • Interface Import Streamlining:
    • The Identifiable interface now resides in @/interfaces for consistent import across files.

Ready to experience these enhancements? Update to Chat Bridge v1.1.0-alpha today and unleash a more streamlined and versatile communication experience!