Skip to content

Commit df6a1ca

Browse files
committed
refactor: remove readonly modifier from ConnectionConfigDTO for enhanced mutability
1 parent 44bb4dc commit df6a1ca

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to **maatify/common** will be documented in this file.
44
This project follows [Semantic Versioning](https://semver.org/).
55

6+
## [1.0.5] - 2025-11-13
7+
### 🛠 Changed
8+
- Removed the `readonly` modifier from `ConnectionConfigDTO` to allow flexible configuration mutation.
9+
- Enhanced compatibility with dynamic runtime configuration (e.g., DSN parsing, environment-driven overrides).
10+
- Improved internal behavior of adapters relying on mutable configuration during resolution.
11+
12+
### ⚠️ Notes
13+
- No breaking changes introduced.
14+
- Existing constructor-based initialization remains fully compatible.
15+
16+
---
17+
618
## [1.0.4] – 2025-11-13
719

820
Release 1.0.4 (fix missing VERSION update)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.4
1+
1.0.5

src/DTO/ConnectionConfigDTO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* - Used by `DatabaseResolver` or dependency injection containers to build adapter instances.
5252
* - Supports multi-environment profiles (e.g., local, staging, production).
5353
*/
54-
final readonly class ConnectionConfigDTO
54+
final class ConnectionConfigDTO
5555
{
5656
/**
5757
* 🧠 **Constructor**

0 commit comments

Comments
 (0)