chore(deps): update dependency posthog-node to v5 #242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.18.0
->^5.0.0
Release Notes
PostHog/posthog-js-lite (posthog-node)
v5.6.0
Compare Source
v5.5.1
Compare Source
InconclusiveMatchError
s inlogMsgIfDebug
for local flag evaluations onsendFeatureFlags
v5.5.0
Compare Source
sendFeatureFlags
parameter more declarative and ergonomic. Implementation notes below:Modified
sendFeatureFlags
to be typeboolean | SendFeatureFlagsOptions
, (which is defined thusly)This lets users declare (1) whether to use local evaluation, and (2) which properties to supply explicitly for that evaluation, every time they want to send feature flags. It also supports the old boolean behavior if folks don't care and would rather the SDK infer it.
Now, you can make calls like this
or simply
v5.4.0
Compare Source
feat: respect local evaluation preferences with
sendFeatureFlags
; add property overrides from the event to those local computations so that the locally evaluated flags can be more accuratee. NB: this change chagnes the default behavior ofcapture
andcaptureImmediately
– we will now only send feature flag data along with those events ifsendFeatureFlags
is explicitly specified, instead of optimistically sending along locally evaluated flags by default.v5.3.1
Compare Source
v5.2.1
Compare Source
v5.1.1
Compare Source
v5.1.0
Compare Source
/flags?v=2&config=true
instead of/decide?v=4
for the flag evaluation backendv5.0.0
Compare Source
Removed
is_simple_flag
fromPostHogFeatureFlag
typecaptureMode
in favor ofjson
capture mode onlypersonProperties
andgroupProperties
in favor ofsetPersonPropertiesForFlags
andsetGroupPropertiesForFlags
## Breaking changes
disableCompression: true
in the client configuration during tests.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.