This repository was archived by the owner on Mar 26, 2025. It is now read-only.
Repository navigation
Releases
Releases · CryptoMonitorASW-SPE/event-dispatcher
0.6.0
0.6.0 (2025-03-03)
Features
- add notification service integration and implement it in crypto update handler (54e9367)
Bug Fixes
- change cleanBuild task type from NpmTask to Delete in build.gradle.kts (fc4cde5)
Documentation
- make readme better (ee2bc3a)
Tests
- add mock for NotificationServicePort in EventService tests (3f32f56)
Build and continuous integration
- downgrade Node.js version to 22.13.1 in build.gradle.kts (52e9edd)
- downgrade Node.js version to 22.13.1 in package files (12adabd)
- downgrade Node.js version to 22.13.1 in workflows (aa1923a)
- handle 422 error case for branch delete rules (64832be)
- remove code quality on push, and tweaked tag name for GHCR image (60b7318)
- update Dockerfile and Gradle configuration for production setup (f960b8a)
- update Node.js version to 22.14 in workflows (e2883d0)
Refactoring
0.5.0
0.5.0 (2025-02-27)
Features
Dependency updates
- core-deps: update commitlint monorepo to v19.7.1 (#33) (f21f83e)
- core-deps: update dependency globals to v16 (#49) (80358cf)
- core-deps: update dependency prettier to v3.5.2 (#44) (0ac0772)
- core-deps: update dependency typescript-eslint to v8.25.0 (#36) (9ac7c4f)
- core-deps: update eslint monorepo to v9.21.0 (#43) (b84586e)
- core-deps: update node.js to v22.14.0 (#48) (7246518)
- deps: update dependency @types/dotenv to v8 (#35) (df68255)
- deps: update dependency @types/jsonwebtoken to v9.0.9 (#50) (46c559b)
- deps: update dependency chai to v5.2.0 (#47) (f787f27)
- deps: update dependency gradle to v8.13 (#51) (67046d5)
Documentation
- enhance documentation for event-related interfaces and services (6bc4c67)
Tests
- add hexagonal architecture tests (48d00e9)
- add integration tests for SocketIOAdapter with authentication (caa8dfe)
- enhance EventService tests for USER_NOTIFICATION and CRYPTO_UPDATE events (8ac6b9f)
- increase timeout for public socket connection test (70c870c)
- update userCalls type in MockEventOutputPort to enforce message structure (c41b84c)
General maintenance
- add docs directory to .gitignore (59c782f)
- add sinon and socket.io-client dependencies to package.json (5fd0d77)
- add typedoc and typedoc-material-theme for documentation generation (6589802)
- update release workflow to include TypeDoc documentation generation and deployment (5ec2f62)
Refactoring
- rename prepareBackend task to buildBackend (5253e42)
0.4.1
0.4.0
0.4.0 (2025-02-06)
Features
- add POST request to crypto-market everytime a new client connects (48c8138)
- add UserNotHandler and integrate user notification events in EventService and EventAdapter (52710be)
- enhance SocketIOAdapter with public and authenticated socket support (0984e5d)
- enhance UserNotificationHandler to support custom and default notification messages (94cfcc5)
- implement AuthServicePort interface and AuthServiceImpl for JWT validation (3030030)
- implement CryptoPriceData interface and enhance CryptoUpdateHandler with notification (7260d55)
- implement separate handlers for EUR and USD crypto updates (7d5b45b)
- include cryptoId in notification message for UserNotificationHandler (2970402)
Dependency updates
- core-deps: update dependency lint-staged to v15.4.3 (#25) (3532568)
- core-deps: update dependency typescript-eslint to v8.22.0 (#28) (0efffbf)
- core-deps: update eslint monorepo to v9.19.0 (#22) (3868434)
- deps: update plugin org.danilopianini.git-sensitive-semantic-versioning to v4 (#27) (1a021fe)
Bug Fixes
Tests
- adapt test for new format (9c3f01b)
- refactor EventService to implement the outputport (f770921)
- update CRYPTO_UPDATE event test to reflect new event type output structure (ac63e23)
General maintenance
- add dotenv, cookie and jsonwebtoken dependencies with type definitions (2a57167)
- modify cryptodata for new json message (f385971)
Refactoring
- consolidate crypto update handlers into a single handler (f1f9f48)
- move ports directory from application to domain (0a62544)
- remove any from test (9018c56)
- remove console logs from CryptoUpdateHandler (eec8416)
- remove unnecessary connection to cryptomarket from SocketIOAdapter connection handler (5a420c5)
- remove useless imports (502bd97)
- update EventService tests to use Event type for broadcast methods (2f2d963)
0.3.0
0.3.0 (2025-01-24)
Features
- add EventHandler interface to standardize event handling (59ae571)
- add EventType to standardize events (462a8d2)
- implement adapters (cdddd7f)
- implement CryptoUpdateHandler for CRYPTO_UPDATE event type (a26a97d)
- implement DomainEventDispatcher to sctivate the proper handler (b3a6c5c)
- implement EventService for EventInputPort (40c4c2c)
- implement ports for hexagonal architecture (1b3cb25)
Dependency updates
- core-deps: update dependency lint-staged to v15.4.2 (#18) (18b1873)
- core-deps: update node.js to v22.13.1 (#13) (d5fba94)
- deps: update dependency gradle to v8.12.1 (#20) (d754342)
Tests
- add tests for dispatching CRYPTO_UPDATE and handling invalid events (cc7da59)
- replace 'any' types and fix ESLint errors (ae51a63)
Build and continuous integration
- update CI to run test and produce a report on PR (a1557ad)
General maintenance
- add mocha dependency and configuration (7b76e92)
- add prettier and configuration (ddb930f)
- remove @types/socket.io dependency (23a7bfa)
- remove old model (d7ff308)
- remove outdated event handling files (0ea585d)
- update .gitignore to ignore report dir (0854cdf)
- update node version in build.gradle (41e8636)
- update tsconfig and package.json to reflect new test directory path (d80436c)
- update tsconfig to included test files for ESLint (e239dbf)
Style improvements
- format code with prettier (9d02042)
Refactoring
- adapt Event to the new API data fromat (024398d)
- integrate DomainEventDispatcher, update constructor, and enhance isValidEventData (6e90c0c)
- replace any type with specific interfaces in EventService (d17296d)
- update index to handle new implementation (09db4b1)
- update models and adapt application to new event data types (8d3590f)
0.2.1
0.2.0
0.2.0 (2025-01-21)
Features
- add base microservice for receiving and broadcasting events (b5ec71c)
Dependency updates
- core-deps: update dependency typescript-eslint to v8.21.0 (#6) (3ba6fac)
- deps: update dependency @types/socket.io to v3.0.2 (#8) (3f8fcd7)
Bug Fixes
- define payload and broadcast message interfaces (6fe4c8a)
Build and continuous integration
- update ci configuration (a13e433)
- update CI to check if eslint report is empty (d12fdd5)
- update CI to new eslint configuration (7041db2)
General maintenance
- add eslint configuration for typescript (00ae52f)
- add tsyringe reflect-metadata and ts-node dependencies (41f391a)
- clean up incorrect template files (57ab2dc)
- update .gitignore (8ca6633)
- update project configuration for TypeScript setup (fb2516e)
- update project name and configure Gradle tasks for npm commands (2f1381d)