Skip to content

Releases: arijitcodes/microstream-hub

v1.1.0

02 Mar 20:09

Choose a tag to compare

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

01 Mar 21:46

Choose a tag to compare

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

01 Mar 17:24

Choose a tag to compare

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

28 Feb 23:27

Choose a tag to compare

1.0.4 (2025-02-28)

Bug Fixes

version: still trying ti fix version update issue (c12ac23)

v1.0.3

28 Feb 23:23

Choose a tag to compare

1.0.3 (2025-02-28)

Bug Fixes

package.json: trying to fixe package.json version not being updated issue (2a64c39)

v1.0.2

28 Feb 22:55

Choose a tag to compare

1.0.2 (2025-02-28)

Bug Fixes

package.json: added Keywords (a8a6462)

v1.0.1

28 Feb 22:32

Choose a tag to compare

1.0.1 (2025-02-28)

Bug Fixes

readme: updated Readme - to test version bump by semantic-release (1cd8a43)

v1.0.0

28 Feb 22:23

Choose a tag to compare

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/>