Skip to content

Commit c4f5b03

Browse files
committed
finalize v1.3.0
1 parent 94cf4c2 commit c4f5b03

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
<!-- order is REMOVED, CHANGED, ADDED, FIXED -->
99

10-
## v1.3.0 - tbd
10+
## v1.3.0 - 2025-05-27
11+
12+
⚠️ This release is potentially disruptive. Initialize will throw for previously ignored problems with configuration
13+
correctness. The coalesce logic for using multiple configuration sources has changed. For details see
14+
[Layered Configuration](https://cap-js-community.github.io/feature-toggle-library/concepts/#layered-configuration).
1115

1216
### Changed
1317

@@ -16,10 +20,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1620

1721
- core: initialization throws if mandatory configuration `type` is not in `["boolean", "number", "string"]` (invalid).
1822

19-
- core: initialization throws if its invoked more than once. the reason is that the options passed in subsequent calls
20-
were always ignored.
23+
- core: initialization throws if its invoked more than once. previously subsequent calls and their options were
24+
ignored.
2125

22-
- core: the configuration reading and aggregation has changed:
26+
- core: configuration reading and coalescing has changed:
2327
- up to `v1.2.5`, the order was `runtime`, `files`, `auto`, where the _first occurrence_ is used for each toggle
2428
- from `v1.3.0`, the order is `auto`, `files`, `runtime`, where the _last occurrence_ is used for each toggle
2529
- this enables overriding the configuration based on environmental factors, by mixing in dedicated config files

0 commit comments

Comments
 (0)