@kumbatio/energy-system 1.0.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -4
- package/README.md +2 -2
- package/api-surface.json +1 -1
- package/conformance.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -12,11 +12,17 @@ change to [SPEC.md](./SPEC.md), not only to this library. The same is true of th
|
|
|
12
12
|
reconciliation rule, which two implementations must agree on to share state at
|
|
13
13
|
all. Prose returned by `describe()` is not covered; wording is a product decision.
|
|
14
14
|
|
|
15
|
-
## [
|
|
15
|
+
## [2.0.0]
|
|
16
16
|
|
|
17
|
-
Corrections to `1.0.0`. No type signature changed,
|
|
18
|
-
runtime behavior and one narrows an install range
|
|
19
|
-
|
|
17
|
+
Corrections to `1.0.0`. No type signature changed, which is exactly why this is
|
|
18
|
+
a major: two of these change runtime behavior and one narrows an install range,
|
|
19
|
+
and for this package behavior is API — see the note at the top of this file.
|
|
20
|
+
|
|
21
|
+
Upgrading from `1.x`: the breaks are `react`/`@types/react` below 19.2 (which
|
|
22
|
+
never worked with the React entry point), persisted or exchanged states carrying
|
|
23
|
+
properties outside the published schema (previously trimmed in silence, now
|
|
24
|
+
rejected), and any code depending on a batched notification being delivered
|
|
25
|
+
after suppression started or after energy fell below its threshold.
|
|
20
26
|
|
|
21
27
|
### Fixed
|
|
22
28
|
|
package/README.md
CHANGED
|
@@ -597,8 +597,8 @@ and checked by this package's suite, because no vector can express _and it must
|
|
|
597
597
|
|
|
598
598
|
## Stability
|
|
599
599
|
|
|
600
|
-
`1.0.0
|
|
601
|
-
means more than the type signatures:
|
|
600
|
+
The API has been frozen since `1.0.0`. The package follows semver strictly, and for this package
|
|
601
|
+
that means more than the type signatures:
|
|
602
602
|
|
|
603
603
|
- **A shipped strategy table's values are API.** Changing what `notificationStrategy` returns at
|
|
604
604
|
level 50 changes how every consumer behaves, so it is a major-version change — and a change to
|
package/api-surface.json
CHANGED
package/conformance.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "./spec/conformance.schema.json",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"timezone": "UTC",
|
|
5
5
|
"note": "Generated from the built library by scripts/extract-conformance.ts. See SPEC.md for the normative rules these vectors encode, including the runtime invariants that no vector can express.",
|
|
6
6
|
"levels": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kumbatio/energy-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Framework-agnostic TypeScript library for energy-aware application behavior.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@types/react": "^19.2.18",
|
|
54
54
|
"@types/react-dom": "^19.2.4",
|
|
55
55
|
"ajv": "8.20.0",
|
|
56
|
-
"oxfmt": "0.
|
|
57
|
-
"oxlint": "1.
|
|
56
|
+
"oxfmt": "0.63.0",
|
|
57
|
+
"oxlint": "1.78.0",
|
|
58
58
|
"oxlint-tsgolint": "^7.0.2001",
|
|
59
59
|
"react": "^19.2.8",
|
|
60
60
|
"react-dom": "^19.2.8",
|