diff --git a/.changeset/ddd-aggregate-event-generic.md b/.changeset/ddd-aggregate-event-generic.md deleted file mode 100644 index 9f1bd48..0000000 --- a/.changeset/ddd-aggregate-event-generic.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@rineex/ddd': minor ---- - -Add optional Event generic to AggregateRoot for typed domain events - -AggregateRoot now accepts an optional third type parameter -`Event extends DomainEvent` (defaults to `DomainEvent`). This allows aggregates -to expose strongly-typed `domainEvents`, `addEvent()`, and `pullDomainEvents()` -when using a union or base type of domain events, improving type safety without -breaking existing usage. diff --git a/packages/authentication/core/CHANGELOG.md b/packages/authentication/core/CHANGELOG.md index 505721f..511be73 100644 --- a/packages/authentication/core/CHANGELOG.md +++ b/packages/authentication/core/CHANGELOG.md @@ -1,5 +1,13 @@ # @rineex/auth-core +## 1.0.5 + +### Patch Changes + +- Updated dependencies + [[`bfd5666`](https://github.com/rineex/core/commit/bfd5666f356aa71376968cfdb5b3d5c26f0c003c)]: + - @rineex/ddd@3.2.0 + ## 1.0.4 ### Patch Changes diff --git a/packages/authentication/core/package.json b/packages/authentication/core/package.json index 3e924fd..6eccd00 100644 --- a/packages/authentication/core/package.json +++ b/packages/authentication/core/package.json @@ -1,6 +1,6 @@ { "name": "@rineex/auth-core", - "version": "1.0.4", + "version": "1.0.5", "description": "Authentication Core package for Rineex core modules", "author": "Rineex Team", "main": "./dist/index.js", diff --git a/packages/authentication/methods/otp/CHANGELOG.md b/packages/authentication/methods/otp/CHANGELOG.md index 4d80b5d..92aed90 100644 --- a/packages/authentication/methods/otp/CHANGELOG.md +++ b/packages/authentication/methods/otp/CHANGELOG.md @@ -1,5 +1,14 @@ # @rineex/authentication-method-otp +## 1.0.5 + +### Patch Changes + +- Updated dependencies + [[`bfd5666`](https://github.com/rineex/core/commit/bfd5666f356aa71376968cfdb5b3d5c26f0c003c)]: + - @rineex/ddd@3.2.0 + - @rineex/auth-core@1.0.5 + ## 1.0.4 ### Patch Changes diff --git a/packages/authentication/methods/otp/package.json b/packages/authentication/methods/otp/package.json index f09c893..c799c53 100644 --- a/packages/authentication/methods/otp/package.json +++ b/packages/authentication/methods/otp/package.json @@ -1,6 +1,6 @@ { "name": "@rineex/authentication-method-otp", - "version": "1.0.4", + "version": "1.0.5", "description": "OTP authentication method for Rineex authentication system", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/packages/authentication/methods/passwordless/CHANGELOG.md b/packages/authentication/methods/passwordless/CHANGELOG.md index 1b86507..3ac08e4 100644 --- a/packages/authentication/methods/passwordless/CHANGELOG.md +++ b/packages/authentication/methods/passwordless/CHANGELOG.md @@ -1,5 +1,14 @@ # @rineex/authentication-method-passwordless +## 0.1.5 + +### Patch Changes + +- Updated dependencies + [[`bfd5666`](https://github.com/rineex/core/commit/bfd5666f356aa71376968cfdb5b3d5c26f0c003c)]: + - @rineex/ddd@3.2.0 + - @rineex/auth-core@1.0.5 + ## 0.1.4 ### Patch Changes diff --git a/packages/authentication/methods/passwordless/package.json b/packages/authentication/methods/passwordless/package.json index cde3a0f..d34ab0f 100644 --- a/packages/authentication/methods/passwordless/package.json +++ b/packages/authentication/methods/passwordless/package.json @@ -1,6 +1,6 @@ { "name": "@rineex/authentication-method-passwordless", - "version": "0.1.4", + "version": "0.1.5", "description": "Passwordless authentication method for Rineex authentication system", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/packages/ddd/CHANGELOG.md b/packages/ddd/CHANGELOG.md index 0f4cecc..87a2c56 100644 --- a/packages/ddd/CHANGELOG.md +++ b/packages/ddd/CHANGELOG.md @@ -1,5 +1,18 @@ # @rineex/ddd +## 3.2.0 + +### Minor Changes + +- Add optional Event generic to AggregateRoot for typed domain events + ([#47](https://github.com/rineex/core/pull/47)) + + AggregateRoot now accepts an optional third type parameter + `Event extends DomainEvent` (defaults to `DomainEvent`). This allows + aggregates to expose strongly-typed `domainEvents`, `addEvent()`, and + `pullDomainEvents()` when using a union or base type of domain events, + improving type safety without breaking existing usage. + ## 3.1.2 ### Patch Changes diff --git a/packages/ddd/package.json b/packages/ddd/package.json index 92a8900..efa476e 100644 --- a/packages/ddd/package.json +++ b/packages/ddd/package.json @@ -1,6 +1,6 @@ { "name": "@rineex/ddd", - "version": "3.1.2", + "version": "3.2.0", "description": "Domain Driven Design package for Rineex core modules", "author": "Rineex Team", "main": "./dist/index.js",