Chat Bridge v2.0.1 introduces documentation enhancements and workflow refinements to streamline development processes and improve project organization. Dive into the details of this incremental update:
- API Documentation:
- Adds comprehensive documentation for templates, providing clear guidelines on their usage and integration within the Chat Bridge ecosystem.
- Dependency Upgrades:
- Updates package versions to leverage the latest features and improvements, ensuring compatibility and stability across the project.
- Includes updates to various dependencies, such as
fastify
andundici
.
- File and Directory Restructuring:
- Refactors project files and directories for improved organization and maintainability.
- Ensures a more coherent structure to facilitate easier navigation and development.
- GitHub Actions Workflow Updates:
- Enhances GitHub Package workflow for authentication, ensuring secure and seamless package management.
- Updates GitHub Actions workflows to optimize CI/CD processes and improve overall project efficiency.
Upgrade to Chat Bridge v2.0.1 to benefit from enhanced documentation and streamlined workflows. Follow the updated documentation to explore the newly added templates and leverage the improved project structure for a more efficient development experience.
As always, we appreciate your feedback and contributions to making Chat Bridge a robust and reliable communication solution. Happy coding with Chat Bridge v2.0.1!
Chat Bridge v2.0.0 marks a significant milestone in the project's evolution by transitioning from CommonJS to ECMAScript Modules (ESM), paving the way for seamless integration with TypeScript, ES Modules, and enhanced auto-complet in IDEs like VSCode. Explore the exciting changes and improvements in this release:
- Migration to ESM:
- Embraces ECMAScript Modules (ESM) for improved interoperability with modern JavaScript environments, including TypeScript and ES Modules.
- Enables smoother development workflows and enhanced code organization.
- Dependency Upgrades:
- Updates package versions to leverage the latest features and improvements, ensuring compatibility and stability across the project.
- Includes updates to various dependencies, such as
@typescript-eslint/parser
and@typescript-eslint/eslint-plugin
.
- API Reference and Package Organization:
- Enhances API reference and documentation to reflect the latest changes and package organization.
- Provides clear guidelines for developers transitioning to ESM and leveraging TypeScript support.
- Dependency Management:
- Manages dependencies effectively with updated package versions, maintaining a healthy and up-to-date development environment.
- Ensures compatibility and stability with the latest ecosystem changes.
Upgrade to Chat Bridge v2.0.0 today to unlock the benefits of ESM support, TypeScript integration, and improved development workflows. Follow the updated documentation to seamlessly migrate your project and take advantage of the latest features and enhancements.
As always, we value your feedback and contributions to making Chat Bridge a robust and versatile communication solution. Happy coding with Chat Bridge v2.0.0!
Chat Bridge v1.3.0 is here, packed with enhancements to fortify security, streamline workflows, and enrich your development experience. Dive into the details of this exciting release:
- Enhanced Security Measures:
- Introduces
SECURITY.md
with contact information for Chat Bridge, ensuring clear communication channels for addressing security concerns.
- Introduces
- Workflow Optimization:
- Adds CodeQL workflow to bolster code quality assessment and ensure robustness across the codebase.
- Updates npm ecosystem directory to source for improved dependency management.
-
Feature and Benefit Enhancements:
- Updates features and benefits documentation to reflect the latest capabilities of Chat Bridge.
-
API Reference and Guides:
- Enhances API reference and guides documentation for clearer understanding and seamless integration.
-
Dependency Management:
- Removes unused dependency
@fastify/static
to streamline project dependencies.
- Removes unused dependency
-
Restructuring:
- Restructures the project for improved organization and maintainability.
-
Client Class Enhancements:
- Empowers the
Client
class with enhanced functionality:- Retrieves page information automatically upon startup for streamlined configuration.
- Empowers the
-
Template and Element Additions:
- Introduces new elements and templates to enrich messaging capabilities and enhance user interaction.
-
TypeScript Support:
- Adds TypeScript support with the inclusion of various button types and templates for seamless integration and improved type safety.
Upgrade to Chat Bridge v1.3.0 today to benefit from strengthened security measures, optimized workflows, and enhanced documentation. Stay ahead of the curve with the latest features and improvements in Chat Bridge!
As always, we welcome your feedback and contributions to make Chat Bridge even better. Happy coding!
Full Changelog: https://github.com/BadEnd777/Chat-Bridge/compare/v1.2.1...v1.3.0
Chat Bridge v1.2.1 is here, resolving a critical module resolution issue that led to the 'Cannot find module @fastify/static' error during execution. This release streamlines dependencies, removes unnecessary imports and code related to fastifyStatic
, ensuring a smoother development experience.
- Module Resolution Issue:
- Fixes the 'Cannot find module @fastify/static' error that occurred during execution, providing a seamless development environment.
- Removal of Unnecessary Imports:
- Cleans up the codebase by removing unnecessary imports and code related to
fastifyStatic
, contributing to a more concise and maintainable code structure.
- Cleans up the codebase by removing unnecessary imports and code related to
- Version Bump to 1.2.1:
- Updates the version to 1.2.1 to reflect the bug fix and code adjustments included in this release.
To incorporate the fixes and improvements from Chat Bridge v1.2.1 into your project, follow these steps:
-
Update Dependencies:
- Ensure that your project's dependencies are updated to the latest versions.
-
Verify Import Statements:
- Confirm that import statements related to
@fastify/static
are correctly resolved.
- Confirm that import statements related to
-
Remove Unnecessary Code:
- Check for and remove any unnecessary imports or code related to
fastifyStatic
.
- Check for and remove any unnecessary imports or code related to
-
Update to Version 1.2.1:
- Upgrade your Chat Bridge package to version 1.2.1 to benefit from the bug fix and code cleanup.
With these steps, you'll enjoy a more stable and error-free Chat Bridge experience. Upgrade to Chat Bridge v1.2.1 today and keep your development journey smooth and hassle-free!
Get ready for an improved Chat Bridge experience with version 1.2.0! This release addresses a critical bug, refactors imports for better module resolution, and introduces exciting new methods to elevate the functionality of the Client
class.
-
Bug Resolution:
- Addresses the 'Cannot find module' bug, ensuring a smoother development experience by resolving module import issues.
-
Import Refactor:
- Overhauls import statements for enhanced readability and improved module resolution.
-
New Methods for Improved Interaction:
-
send
Method:- Introduces the
send
method to theClient
class, streamlining the process of sending various types of messages for improved readability.
- Introduces the
-
setTyping
Method:- Adds the
setTyping
method to theClient
class, providing control over the typing indicator to enhance user interaction.
- Adds the
-
-
Property Access Modifier Refactoring:
- Refactors access modifiers for the
endpoint
,port
, andhost
properties in theClient
class, optimizing code structure and maintainability.
- Refactors access modifiers for the
To benefit from the latest enhancements and bug fixes, follow these steps to upgrade to Chat Bridge v1.2.0:
-
Update Dependencies:
- Ensure all dependencies are up-to-date.
-
Update Import Statements:
- Refactor import statements in your codebase as per the updated structure.
-
Explore New Methods:
- Take advantage of the newly introduced
send
andsetTyping
methods in theClient
class for a more versatile interaction with the API.
- Take advantage of the newly introduced
-
Enjoy a Smoother Experience:
- Experience a more stable and feature-rich Chat Bridge with the resolved bug and expanded functionalities.
Upgrade to Chat Bridge v1.2.0 today and leverage these improvements for a more robust and enjoyable development journey!
We're excited to unveil a fresh update packed with improvements for smoother communication and development. Here's what's new:
- Streamlined Imports for Better Organization:
- Types/interfaces now have a direct home at
@/interfaces
. - Import statements have been thoughtfully reordered for optimal clarity.
- Types/interfaces now have a direct home at
- Unlocking Additional Communication Methods:
- Send messages, attachments, images, audio, video, and files with ease using these new methods:
sendApiMessage
sendAttachment
sendImage
sendAudio
sendVideo
sendFile
- Send messages, attachments, images, audio, video, and files with ease using these new methods:
- Plugin Power Unleashed:
- A new example demonstrates how to register plugins (like fastify-cors) using the
register
method, expanding customization possibilities.
- A new example demonstrates how to register plugins (like fastify-cors) using the
- Enhanced Error Handling for Clearer Insights:
- Error messages in
sendRequest
now include the response body when requests fail, providing more actionable information for troubleshooting.
- Error messages in
- Minor Code Organization Tweaks for Smooth Sailing:
- Import statements have been fine-tuned for enhanced code readability.
- Class Name Harmony:
Collection
in v1.0.0-alpha-alpha has evolved intoCollections
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.
- Version 1.1.0-alpha introduces a more modular approach, with
- Interface Import Streamlining:
- The
Identifiable
interface now resides in@/interfaces
for consistent import across files.
- The
Ready to experience these enhancements? Update to Chat Bridge v1.1.0-alpha today and unleash a more streamlined and versatile communication experience!
Embark on a journey with the inaugural release of Chat Bridge v1.0.0-alpha! This version lays the foundation for streamlined communication and introduces key components to kickstart your development experience.
- Located at
src/core/client.js
, theClient
class forms the heart of Chat Bridge, providing a robust structure for handling communication tasks. - Includes functionalities for handling webhook verification, processing incoming messages, and initiating API requests.
- Centralizes essential URLs at
src/core/constants.js
, offering a clean structure for managing base and message URLs. - Features
BASE_URL
andMESSAGE_URL
for constructing API endpoints.
- Defined in
src/core/collection.js
, theCollection
class sets the groundwork for managing identifiable items. - Allows adding, retrieving, and removing items, showcasing the foundation for efficient data handling.
-
Webhook Handling:
- Implements methods for verifying webhook subscriptions and processing incoming messages.
-
API Requests:
- Incorporates the
sendRequest
method for making API requests with proper error handling.
- Incorporates the
-
Static File Hosting:
- Introduces static file hosting capabilities, enabling the serving of static assets.
-
Page Information Retrieval:
- Retrieves and stores information about the connected Facebook page.
-
Messaging Capabilities:
- Provides a basic
sendTextMessage
method for sending text messages via the Facebook Graph API.
- Provides a basic
Ready to dive into the world of Chat Bridge? Start by integrating v1.0.0-alpha-alpha into your project and lay the groundwork for seamless communication. We look forward to your feedback as you explore the initial functionalities of Chat Bridge!