Skip to content

Bump posthog-ruby from 3.3.3 to 3.21.0 - #137

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/posthog-ruby-3.21.0
Open

Bump posthog-ruby from 3.3.3 to 3.21.0#137
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/posthog-ruby-3.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps posthog-ruby from 3.3.3 to 3.21.0.

Release notes

Sourced from posthog-ruby's releases.

posthog-ruby-v3.21.0

Minor Changes

  • 19cd137: feat: emit minimal $feature_flag_called events when the server enables the minimal_flag_called_events gate and the evaluated flag has no linked experiment. Minimal events keep a strict allowlist of flag-evaluation properties and strip everything else (context properties, $feature/<key>, payloads, system metadata). The gate is read from the top-level minimalFlagCalledEvents field of the v2 /flags response and the top-level minimal_flag_called_events key of the local evaluation definitions payload; when either signal is missing, the full event is sent unchanged.

posthog-ruby-v3.20.0

Minor Changes

  • 4773da3: Add a feature_flags_async_load client option that keeps feature flag definition fetches off the calling thread. With it enabled the constructor no longer blocks on the initial /flags/definitions request; the poller fetches immediately on boot (the timer's first tick) and, if that fails (e.g. PostHog unreachable), keeps retrying on its regular polling interval instead of re-fetching inline on evaluation calls. Until the first load succeeds, local evaluation treats definitions as absent. Also adds Client#feature_flags_loaded? so callers can distinguish "flag is off or unknown" from "definitions not loaded yet". Defaults to off; the existing synchronous behavior is unchanged.

Patch Changes

  • 26142f5: Honor the documented 30s default for feature_flags_polling_interval. The resolved default was computed but never passed to the polling timer, so when the option was unset the effective interval was concurrent-ruby's 60s TimerTask default. Definitions now poll every 30s by default as documented; set feature_flags_polling_interval: 60 to keep the previous effective cadence.

posthog-ruby-v3.19.0

Minor Changes

  • 15fa092: feat: add a $feature_flag_has_experiment boolean property to $feature_flag_called events when the server explicitly reports the has_experiment field; the property is omitted when the server does not report it (older deployments)

posthog-ruby-v3.18.0

Minor Changes

  • 5c21f66: Add secret_key config option and deprecate personal_api_key.

    secret_key is the new canonical credential for local feature flag evaluation and remote config. It accepts either a Personal API Key (phx_...) or a Project Secret API Key (phs_...). personal_api_key still works as a deprecated alias; when both are supplied, secret_key wins.

posthog-ruby-v3.17.0

Minor Changes

  • 14d85f7: Use stable project-relative stack frame filename values (relative to Rails.root or Dir.pwd, falling back to the basename outside the project) while preserving the raw path in abs_path; dependency and stdlib frames are detected from RubyGems/stdlib install roots, computed once per stacktrace, so in_app no longer depends on deploy-path substrings.

posthog-ruby-v3.16.0

Minor Changes

  • 814c495: Improve error tracking capture signals:

    • capture_exception now walks the full exception.cause chain (outermost-first, cycle-safe, capped at 50) instead of reporting only the outermost exception; chained causes are tagged with a chained mechanism and parent linkage.
    • Exception mechanisms now reflect the capture source: manual captures stay generic/handled: true, while the Rails middleware, Rails.error subscriber, and ActiveJob integrations tag captures as rails/rails_error_reporter/active_job with the correct handled flag. capture_exception accepts a mechanism: keyword.

posthog-ruby-v3.15.3

Patch Changes

  • fcc6205: Stop duplicating distinct_id inside /flags person properties.

posthog-ruby-v3.15.2

Patch Changes

  • 1376f19: Retry remote feature flag requests after transient 502 and 504 responses.

posthog-ruby-v3.15.1

... (truncated)

Commits
  • f633265 chore: update package versions [version bump] [skip ci]
  • 19cd137 feat(flags): minimize $feature_flag_called events for non-experiment flags (#...
  • 3877667 chore: update package versions [version bump] [skip ci]
  • 4773da3 feat(flags): add feature_flags_async_load option to keep definition fetches o...
  • 26142f5 fix(flags): pass the resolved polling interval to the definitions poll timer ...
  • 02f7ce0 chore: update package versions [version bump] [skip ci]
  • 15fa092 feat(flags): add $feature_flag_has_experiment to $feature_flag_called events ...
  • 104aef3 chore: update package versions [version bump] [skip ci]
  • 5bdf777 fix: mirror rails request user agent into $raw_user_agent (#216)
  • e3a604b chore: update package versions [version bump] [skip ci]
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [posthog-ruby](https://github.com/PostHog/posthog-ruby) from 3.3.3 to 3.21.0.
- [Release notes](https://github.com/PostHog/posthog-ruby/releases)
- [Changelog](https://github.com/PostHog/posthog-ruby/blob/main/CHANGELOG.md)
- [Commits](PostHog/posthog-ruby@3.3.3...posthog-ruby-v3.21.0)

---
updated-dependencies:
- dependency-name: posthog-ruby
  dependency-version: 3.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants