diff --git a/.changeset/breaking-domain-error-change.md b/.changeset/breaking-domain-error-change.md deleted file mode 100644 index 9377c3b..0000000 --- a/.changeset/breaking-domain-error-change.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@rineex/ddd': major ---- - -Breaking changes in `DomainError` class: -- Now extends native `Error` for correct functionality, affecting serialization and type checks. -- Removed custom message property; uses inherited message from `Error`. -- Constructor updated to call `super(message)` and set `this.name`. -- Added prototype chain restoration for proper `instanceof` behavior. -- Adjusted property order in `toObject()` method and marked `toString()` with `override`. -- Simplified JSDoc comments. \ No newline at end of file diff --git a/.changeset/deep-freeze-enhancements.md b/.changeset/deep-freeze-enhancements.md deleted file mode 100644 index 73930bd..0000000 --- a/.changeset/deep-freeze-enhancements.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@rineex/ddd': minor ---- - -### Enhancements to `deepFreeze` Utility - -1. **New `isFreezable()` helper** – Extracted the check for whether a value can - be frozen (object, non-null, not already frozen). Handles primitives, null, - undefined, functions, and already-frozen objects. - -2. **Map/Set support** – `deepFreeze` now recursively freezes Map keys and - values, and Set elements. - -3. **Symbol property support** – Utilizes `Object.getOwnPropertyNames` and - `Object.getOwnPropertySymbols` to freeze symbol-keyed properties alongside - string keys. - -4. **Refactored structure** – Now organized as Map → Set → Array → Object - branches, using `Object.getOwnPropertyDescriptor` and handling - `descriptor.value` when present. - -5. **Documentation updates** – JSDoc mentions circular references, Map/Set - handling, symbol properties, and a performance warning about avoiding use in - hot paths. diff --git a/packages/authentication/core/CHANGELOG.md b/packages/authentication/core/CHANGELOG.md index e372d11..ae96ffd 100644 --- a/packages/authentication/core/CHANGELOG.md +++ b/packages/authentication/core/CHANGELOG.md @@ -1,5 +1,14 @@ # @rineex/auth-core +## 1.0.8 + +### Patch Changes + +- Updated dependencies + [[`8288b06`](https://github.com/rineex/core/commit/8288b066870c3773a5591d83a74cfac7ea5392f5), + [`0c695b9`](https://github.com/rineex/core/commit/0c695b900bacb976aa3dabd053b4315f3d8bbfe3)]: + - @rineex/ddd@4.0.0 + ## 1.0.7 ### Patch Changes diff --git a/packages/authentication/core/package.json b/packages/authentication/core/package.json index e10de13..6b62a71 100644 --- a/packages/authentication/core/package.json +++ b/packages/authentication/core/package.json @@ -1,6 +1,6 @@ { "name": "@rineex/auth-core", - "version": "1.0.7", + "version": "1.0.8", "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 fe356cc..4110b42 100644 --- a/packages/authentication/methods/otp/CHANGELOG.md +++ b/packages/authentication/methods/otp/CHANGELOG.md @@ -1,5 +1,15 @@ # @rineex/authentication-method-otp +## 1.0.8 + +### Patch Changes + +- Updated dependencies + [[`8288b06`](https://github.com/rineex/core/commit/8288b066870c3773a5591d83a74cfac7ea5392f5), + [`0c695b9`](https://github.com/rineex/core/commit/0c695b900bacb976aa3dabd053b4315f3d8bbfe3)]: + - @rineex/ddd@4.0.0 + - @rineex/auth-core@1.0.8 + ## 1.0.7 ### Patch Changes diff --git a/packages/authentication/methods/otp/package.json b/packages/authentication/methods/otp/package.json index f5b6afe..31debcb 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.7", + "version": "1.0.8", "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 772368f..a793417 100644 --- a/packages/authentication/methods/passwordless/CHANGELOG.md +++ b/packages/authentication/methods/passwordless/CHANGELOG.md @@ -1,5 +1,15 @@ # @rineex/authentication-method-passwordless +## 0.1.8 + +### Patch Changes + +- Updated dependencies + [[`8288b06`](https://github.com/rineex/core/commit/8288b066870c3773a5591d83a74cfac7ea5392f5), + [`0c695b9`](https://github.com/rineex/core/commit/0c695b900bacb976aa3dabd053b4315f3d8bbfe3)]: + - @rineex/ddd@4.0.0 + - @rineex/auth-core@1.0.8 + ## 0.1.7 ### Patch Changes diff --git a/packages/authentication/methods/passwordless/package.json b/packages/authentication/methods/passwordless/package.json index 6159e6b..78c065a 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.7", + "version": "0.1.8", "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 50ca6d5..02d66d7 100644 --- a/packages/ddd/CHANGELOG.md +++ b/packages/ddd/CHANGELOG.md @@ -1,5 +1,38 @@ # @rineex/ddd +## 4.0.0 + +### Major Changes + +- Breaking changes in `DomainError` class: + ([`8288b06`](https://github.com/rineex/core/commit/8288b066870c3773a5591d83a74cfac7ea5392f5)) + - Now extends native `Error` for correct functionality, affecting + serialization and type checks. + - Removed custom message property; uses inherited message from `Error`. + - Constructor updated to call `super(message)` and set `this.name`. + - Added prototype chain restoration for proper `instanceof` behavior. + - Adjusted property order in `toObject()` method and marked `toString()` with + `override`. + - Simplified JSDoc comments. + +### Minor Changes + +- ### Enhancements to `deepFreeze` Utility ([`0c695b9`](https://github.com/rineex/core/commit/0c695b900bacb976aa3dabd053b4315f3d8bbfe3)) + 1. **New `isFreezable()` helper** – Extracted the check for whether a value + can be frozen (object, non-null, not already frozen). Handles primitives, + null, undefined, functions, and already-frozen objects. + 2. **Map/Set support** – `deepFreeze` now recursively freezes Map keys and + values, and Set elements. + 3. **Symbol property support** – Utilizes `Object.getOwnPropertyNames` and + `Object.getOwnPropertySymbols` to freeze symbol-keyed properties alongside + string keys. + 4. **Refactored structure** – Now organized as Map → Set → Array → Object + branches, using `Object.getOwnPropertyDescriptor` and handling + `descriptor.value` when present. + 5. **Documentation updates** – JSDoc mentions circular references, Map/Set + handling, symbol properties, and a performance warning about avoiding use + in hot paths. + ## 3.2.2 ### Patch Changes diff --git a/packages/ddd/package.json b/packages/ddd/package.json index e0fc72a..0a63f1f 100644 --- a/packages/ddd/package.json +++ b/packages/ddd/package.json @@ -1,6 +1,6 @@ { "name": "@rineex/ddd", - "version": "3.2.2", + "version": "4.0.0", "description": "Domain Driven Design package for Rineex core modules", "author": "Rineex Team", "main": "./dist/index.js",