Releases: arijitcodes/microstream-hub
v1.1.0
1.1.0 (2025-03-02)
Features
✅ implement standardized error handling system (ac3fb73)
- Implement structured error response format
- Add error code pattern for service registration
- Standardize error handling in socket middleware
- Add type checking for Error and CustomError instances
- Ensure consistent UNKNOWN error fallback
- Updated documentation
v1.0.6
1.0.6 (2025-03-01)
Bug Fixes
✅ hub.js: prevent duplicate service registration in hub (9b3168f), closes #3
- Added socket.io middleware to validate service registration
- Implemented service name uniqueness check during connection
- Added standardized error response for duplicate registration attempts
- Implemented socket cleanup for rejected connections
- Added proper logging for duplicate registration attempts
- Implemented automatic rejection of duplicate socket connection requests
This prevents multiple services from registering with the same name, ensuring message routing integrity and system stability. Any duplicate connection attempts are automatically rejected at the connection level, providing enhanced security against unauthorized service impersonation.
v1.0.5
1.0.5 (2025-03-01)
Bug Fixes
✅ hub: fixing a bug for Issue #2 (d18f58b)
There was an issue where client was having trouble to handle error for a request to an Unknwon /
Un-registered / Invalid service. There were proper detection and error - but the structure of the
returned data / error was a bit mismatched.
This should fix it.
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
1.0.0 (2025-02-28)
Bug Fixes
✅ docker-compose: Update Docker Compose file and README (0bdd831)
This commit updates the Docker Compose file and the README in the microstream-hub project.
Changes include:
- Updated Docker Compose file for better configuration and deployment.
- Updated README with new information and improved structure.
These updates ensure that developers have clear and comprehensive documentation and configuration for using and deploying the microstream-hub project.
✅ release.config.js: trying a fix for Semantic-Release Config (b97934a), closes #1
This might fix the issue of Semantic-Release failing to push Git Tag with GITHUB_TOKEN. We removed
the 'repositoryUrl' with value as ssh git repo link from release.config.js - as it was needed to
test locally but it is creating a problem maybe on CI/CD. Let's see if it does fix it. If it does,
then good.
Features
✅ logger: Implement configurable and colorful logging (58d98ac)
This commit introduces a new logging utility to the microstream-hub project, allowing developers to control the verbosity of logs using a configurable logLevel option. The logLevel supports the following levels: "debug", "info", "warn", "error", and "silent". Additionally, logs are now color-coded based on their type for better readability.
Changes include:
- Creation of a logger.js file in src/utils/ with methods for debug, info, warn, and error, respecting the logLevel setting.
- Addition of a logLevel option to the hub configuration.
- Initialization of the logger in hub.js using the provided logLevel.
- Replacement of all console.log, console.warn, and console.error calls with the appropriate logger methods.
- Color-coding of log messages using the chalk library.
✅ logger: Implement configurable logging and replace console statements in hub.js (0860bf3)
This commit introduces a new logging utility to the microstream-hub project, allowing developers to control the verbosity of logs using a configurable logLevel option. The logLevel supports the following levels: "debug", "info", "warn", "error", and "silent".
Changes include:
- Creation of a logger.js file in src/utils/ with methods for debug, info, warn, and error, respecting the logLevel setting.
- Addition of a logLevel option to the hub configuration.
- Initialization of the logger in hub.js using the provided logLevel.
- Replacement of all console.log, console.warn, and console.error calls with the appropriate logger methods.
✅ microstream-hub: The primary working setup for microstream-hub. (68fb1dc)
This is the first commit - with the primary version (v1) of a working version of microstream-hub.
✅ semantic-release: set up Semantic-Release for auto Release & Update (af97398), closes #1
Setup Semantic-Release with Commitizen - along with GitHub Workflow. Now this setup will -
- Auto Release on GitHub, NPM
- Update Changelog automatically from Conventional Commit messages and update version in Package.json
- Set up Commitizen for Conventiona Commit message formatting
- Setup GitHub Workflow to automate all these tasks <br/><br/>