github PostHog/posthog-js posthog-node@5.10.0

latest releases: posthog-js@1.275.3, @posthog/nuxt@0.0.6, posthog-react-native@4.10.1...
20 hours ago

5.10.0

Minor Changes

  • #2417 daf919b Thanks @dmarticus! - feat: Add evaluation environments support for feature flags

    This 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 evaluationEnvironments option:

    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

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.