Skip to content

feat: Add support for multiple context event summaries. #821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7979d98
feat: Add support for multiple context event summaries.
kinyoklion Apr 11, 2025
c7b78af
Remove some console.logs.
kinyoklion Apr 14, 2025
2bc5b49
Some cleanup.
kinyoklion Apr 14, 2025
0dfd0b0
Extra blank line for multi summarizer tests.
kinyoklion Apr 14, 2025
30d03b8
More blank lines.
kinyoklion Apr 14, 2025
a990ee0
Lint
kinyoklion Apr 14, 2025
99f290d
Tweaks
kinyoklion Apr 14, 2025
79ea083
Don't mutate.
kinyoklion Apr 14, 2025
da3bcab
Merge branch 'main' into rlamb/prototype-multi-summary
kinyoklion Apr 16, 2025
83e3651
Revert browser-telemetry changes.
kinyoklion Apr 16, 2025
5dd8636
Re-organization.
kinyoklion Apr 16, 2025
142299c
Missed import
kinyoklion Apr 16, 2025
0daf2f8
Lint
kinyoklion Apr 16, 2025
f7fae6f
Remove optionality for context kinds.
kinyoklion Apr 17, 2025
1922be1
Add contract test capability for per-context summary events.
kinyoklion Apr 17, 2025
8c871b6
Lint
kinyoklion Apr 17, 2025
0dc4419
Lint
kinyoklion Apr 17, 2025
260692f
Remove double hashing of kind.
kinyoklion Apr 22, 2025
c28f996
Remove await from sync method.
kinyoklion Apr 23, 2025
8ba61a4
Async consistency.
kinyoklion Apr 23, 2025
995d976
Merge branch 'wtf/prototype-multi-summary' into rlamb/prototype-multi…
kinyoklion Apr 23, 2025
5a4d62f
Attempt to pin parse5.
kinyoklion Apr 23, 2025
df6fb05
Move resolutions to top level.
kinyoklion Apr 23, 2025
8f0569b
Merge branch 'main' into rlamb/prototype-multi-summary
kinyoklion Apr 23, 2025
5d75446
Extended test, fixed missing keys.
kinyoklion Apr 24, 2025
6c3f468
Additional tests.
kinyoklion Apr 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"packageManager": "[email protected]",
"//": "Pin jsonc-parser because v3.3.0 breaks rollup-plugin-esbuild",
"resolutions": {
"jsonc-parser": "3.2.0"
"jsonc-parser": "3.2.0",
"parse5": "7.2.1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pin parse5 because it currently has a typescript problem.

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default class TestHarnessWebSocket {
'anonymous-redaction',
'strongly-typed',
'client-prereq-events',
'client-per-context-summaries',
];

break;
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/sdk/react-native/example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import {

import Welcome from './src/welcome';

const featureClient = new ReactNativeLDClient(MOBILE_KEY, AutoEnvAttributes.Enabled, {
const featureClient = new ReactNativeLDClient("mob-8b772ad8-5d5b-435f-982a-900fa5db47e6", AutoEnvAttributes.Enabled, {
debug: true,
eventsUri: 'https://eb5d04264133.ngrok.app',
applicationInfo: {
id: 'ld-rn-test-app',
version: '0.0.1',
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react-native/example/src/welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Welcome() {

return (
<View style={styles.container}>
<Text>Welcome to LaunchDarkly</Text>
<Text>Welcome to LaunchDarkly!!</Text>
<Text>
{flagKey}: {`${flagValue}`}
</Text>
Expand Down
Loading
Loading