Repository navigation
posthog-node@5.10.0
·
3150 commits
to main
since this release
5.10.0
Minor Changes
-
#2417
daf919bThanks @dmarticus! - feat: Add evaluation environments support for feature flagsThis PR implements support for evaluation environments in the posthog-node SDK, allowing users to specify which environment tags their SDK instance should use when evaluating feature flags.
Users can now configure the SDK with an
evaluationEnvironmentsoption:const client = new PostHog('api-key', { host: 'https://app.posthog.com', evaluationEnvironments: ['production', 'backend', 'api'], })
When set, only feature flags that have at least one matching evaluation tag will be evaluated for this SDK instance. Feature flags with no evaluation tags will always be evaluated.
Patch Changes
-
#2431
7d45a7aThanks @marandaneto! - fix: remove deprecated attribute $exception_personURL from exception events -
Updated dependencies [
daf919b,7d45a7a]:- @posthog/core@1.3.0