Repository navigation
馃殌 chore(browser,core): prepare 2.1.0 and 3.2.0 releases - #413
Conversation
OpenFeature Browser Provider Bundle SizesMeasured from the Vite production output after installing packed Both scenarios initialize an OpenFeature provider, evaluate a boolean flag, change context, and evaluate again. Telemetry is disabled for DatadogProvider; no tracking hooks are registered for DatadogCoreProvider. DatadogProvider fetches precomputed assignments for each context; DatadogCoreProvider receives rules from fetchRulesConfiguration once and evaluates locally. Sizes include OpenFeature and the same small scenario harness. Configuration responses are supplied by Playwright and are not bundled. These are complete scenario JS sizes, not configuration payload sizes or isolated provider/Protobuf costs; the difference between rows is not a decoder-only delta.
Dependency checks passed: no Protobuf markers in default/precomputed scenarios; markers present in rules-based scenarios. OpenFeature Browser Tracking Hook Bundle SizesSynthetic entrypoints import and call tracking hook factories from the packed
OpenFeature Node Server Bundle SizesIndependent Webpack production builds of the installed core and Node SDK tarballs, targeting Node 18 with ESM (
Adding SSR helpers to the provider adds 79.7 KiB raw / 22.1 KiB gzip in this build. This includes fetching, parsing, and serialization, not just the decoder. SSR helpers fetch rules for the browser, not for configuring that provider (which uses its existing JSON API). These are bundler sizes, not npm install sizes, unbundled Node require/import costs, payload sizes, or latency. Gzip compares compressed artifacts. The browser scenarios include OpenFeature and a different harness, so their sizes are not directly comparable. Dependency checks passed: no Protobuf runtime or generated schema modules in the provider-only bundle; present in both SSR bundles (checked using Webpack module statistics). This report shows current PR artifact sizes only; it does not compare against the base branch. |
Motivation
Release the browser obfuscated-key support and IndexedDB persistence tested in Eppo QA.
Changes and Decisions
@datadog/openfeature-browser@2.1.0and its required@datadog/flagging-core@3.2.0dependency.AGENTS.md.2.4.0; update its workspace core pin, but do not release it.Validation
e37fc723a10e50e9d979a522b1d590f5ce2a8dee. Inspection of the deployed app's IndexedDB confirmed the received obfuscated response, salt, and all 198 flags were persisted. That live session did not exercise exposure logging.Staging
Deployed this build to qa.eppo.cloud
https://github.com/Eppo-exp/eppo/pull/14423