From 6c1a8f46ea5a7fffe92f564bfc673f43526d5ac9 Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 26 Aug 2025 09:44:10 -0500 Subject: [PATCH 1/3] updated changelog --- CHANGELOG.md | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f302d6..be26759 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog + +## 0.4.9 - 2025-08-26 + +- Fix numeric precision issue handling telemetry data [#108] +- Adds hook to register for notification of config data load and update [#104] [#105] + ## 0.4.8 - 2025-04-15 - Implement virtual context `prefab.current-time` for all operators [#102] @@ -25,10 +31,9 @@ - Adds numeric comparison operator support [#88] - Adds date comparison operator support [#84] [#86] - ## 0.4.3 - 2025-01-28 -- Fixes telemetry handling for json value type (#82) +- Fixes telemetry handling for json value type [#82] - Implement startsWith/contains operators [#80] ## 0.4.2 - 2024-10-03 @@ -84,7 +89,7 @@ - `updateIfStalerThan(someNumberofMs)` updates if no update has happened in someNumberofMs ms [#60] - `logger()` should inherit context [#59] - Return the result of `inContext()` [#58] -- Add `.logger() [#57] +- Add `.logger()` [#57] - Add `.updateNow()` [#56] - Fix polling bug [#54] - Allow prefab.set [#53] @@ -143,3 +148,41 @@ ## 0.1.2 - 2023-08-21 - Initial non-alpha release + + + +[#108]: https://github.com/prefab-cloud/prefab-cloud-node/pull/108 +[#105]: https://github.com/prefab-cloud/prefab-cloud-node/pull/105 +[#104]: https://github.com/prefab-cloud/prefab-cloud-node/pull/104 +[#102]: https://github.com/prefab-cloud/prefab-cloud-node/pull/102 +[#100]: https://github.com/prefab-cloud/prefab-cloud-node/pull/100 +[#98]: https://github.com/prefab-cloud/prefab-cloud-node/pull/98 +[#97]: https://github.com/prefab-cloud/prefab-cloud-node/pull/97 +[#95]: https://github.com/prefab-cloud/prefab-cloud-node/pull/95 +[#93]: https://github.com/prefab-cloud/prefab-cloud-node/pull/93 +[#92]: https://github.com/prefab-cloud/prefab-cloud-node/pull/92 +[#91]: https://github.com/prefab-cloud/prefab-cloud-node/pull/91 +[#90]: https://github.com/prefab-cloud/prefab-cloud-node/pull/90 +[#88]: https://github.com/prefab-cloud/prefab-cloud-node/pull/88 +[#86]: https://github.com/prefab-cloud/prefab-cloud-node/pull/86 +[#84]: https://github.com/prefab-cloud/prefab-cloud-node/pull/84 +[#82]: https://github.com/prefab-cloud/prefab-cloud-node/pull/82 +[#80]: https://github.com/prefab-cloud/prefab-cloud-node/pull/80 +[#78]: https://github.com/prefab-cloud/prefab-cloud-node/pull/78 +[#76]: https://github.com/prefab-cloud/prefab-cloud-node/pull/76 +[#75]: https://github.com/prefab-cloud/prefab-cloud-node/pull/75 +[#74]: https://github.com/prefab-cloud/prefab-cloud-node/pull/74 +[#73]: https://github.com/prefab-cloud/prefab-cloud-node/pull/73 +[#70]: https://github.com/prefab-cloud/prefab-cloud-node/pull/70 +[#69]: https://github.com/prefab-cloud/prefab-cloud-node/pull/69 +[#68]: https://github.com/prefab-cloud/prefab-cloud-node/pull/68 +[#66]: https://github.com/prefab-cloud/prefab-cloud-node/pull/66 +[#63]: https://github.com/prefab-cloud/prefab-cloud-node/pull/63 +[#62]: https://github.com/prefab-cloud/prefab-cloud-node/pull/62 +[#60]: https://github.com/prefab-cloud/prefab-cloud-node/pull/60 +[#59]: https://github.com/prefab-cloud/prefab-cloud-node/pull/59 +[#58]: https://github.com/prefab-cloud/prefab-cloud-node/pull/58 +[#57]: https://github.com/prefab-cloud/prefab-cloud-node/pull/57 +[#56]: https://github.com/prefab-cloud/prefab-cloud-node/pull/56 +[#54]: https://github.com/prefab-cloud/prefab-cloud-node/pull/54 +[#53]: https://github.com/prefab-cloud/prefab-cloud-node/pull/53 \ No newline at end of file From 63ae3c3f83428b8a92b8f4f353269ded1508b09f Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 26 Aug 2025 09:45:17 -0500 Subject: [PATCH 2/3] formatting change --- src/__tests__/telemetry/evaluationSummaries.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/__tests__/telemetry/evaluationSummaries.test.ts b/src/__tests__/telemetry/evaluationSummaries.test.ts index a7ca9aa..71f5faa 100644 --- a/src/__tests__/telemetry/evaluationSummaries.test.ts +++ b/src/__tests__/telemetry/evaluationSummaries.test.ts @@ -379,7 +379,8 @@ describe("evaluationSummaries", () => { throw new Error("syncResult is undefined"); } - const counter = syncResult.dataSent.events[0].summaries?.summaries[0].counters[0]; + const counter = + syncResult.dataSent.events[0].summaries?.summaries[0].counters[0]; expect(counter?.configId?.toString()).toBe("17537369033474523"); expect(counter?.configId?.equals(largeConfigId)).toBe(true); }); From 6c1562ea587f870df96eee09c10fe9ab48aa9fcd Mon Sep 17 00:00:00 2001 From: James Kebinger Date: Tue, 26 Aug 2025 09:45:38 -0500 Subject: [PATCH 3/3] 0.4.9 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ae5ed06..b835a06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@prefab-cloud/prefab-cloud-node", - "version": "0.4.9-pre.0", + "version": "0.4.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@prefab-cloud/prefab-cloud-node", - "version": "0.4.9-pre.0", + "version": "0.4.9", "license": "ISC", "dependencies": { "@types/eventsource": "^1.1.11", diff --git a/package.json b/package.json index 3467b73..ec2c79f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@prefab-cloud/prefab-cloud-node", - "version": "0.4.9-pre.0", + "version": "0.4.9", "description": "Feature Flags, Live Config, and Dynamic Log Levels", "main": "dist/prefab.cjs", "types": "dist/prefab.d.ts",