Skip to content
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

feat!: improve eval performance, restructure lib, support flag metadata #1120

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

beeme1mr
Copy link
Member

@beeme1mr beeme1mr commented Dec 20, 2024

This PR

  • improve evaluation performance by preloading the config into JSON Logic Engine
  • bumped json logic engine version
  • return evaluation details instead of throwing
  • converted all logs to debug
  • add flag metadata

Related Issues

Pre-req for #1115

Notes

It should be released as v1.

Follow-up Tasks

  • Use in the flagd playground app
  • Using the the flagd JS providers

How to test

  • There are Jest unit tests

@beeme1mr beeme1mr changed the title feat!: improve eval performance, restructure lib feat!: improve eval performance, restructure lib, support flag metadata Dec 24, 2024
@beeme1mr beeme1mr force-pushed the improve-flagd-core branch from add328b to 6cd5578 Compare January 6, 2025 16:30
libs/shared/flagd-core/src/lib/flagd-core.ts Show resolved Hide resolved
libs/shared/flagd-core/src/lib/flagd-core.ts Outdated Show resolved Hide resolved
libs/shared/flagd-core/src/lib/flagd-core.ts Show resolved Hide resolved
libs/shared/flagd-core/src/lib/flagd-core.ts Outdated Show resolved Hide resolved
libs/shared/flagd-core/src/lib/flagd-core.ts Outdated Show resolved Hide resolved
libs/shared/flagd-core/src/lib/storage.ts Outdated Show resolved Hide resolved
Signed-off-by: Michael Beemer <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"versioning": "default"
"versioning": "default",
"release-as": "1.0.0"
Copy link
Member Author

Choose a reason for hiding this comment

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

Remember to remove this after the release.

Signed-off-by: Michael Beemer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants