Releases: PostHog/posthog-ruby
Release list
posthog-ruby-v3.19.0
Minor Changes
- 15fa092: feat: add a
$feature_flag_has_experimentboolean property to$feature_flag_calledevents when the server explicitly reports thehas_experimentfield; the property is omitted when the server does not report it (older deployments)
posthog-rails-v3.17.1
Patch Changes
- 5bdf777: fix: also send the request user agent as $raw_user_agent, the standardized property PostHog's server-side classification reads
posthog-ruby-v3.18.0
Minor Changes
-
5c21f66: Add
secret_keyconfig option and deprecatepersonal_api_key.secret_keyis 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_keystill works as a deprecated alias; when both are supplied,secret_keywins.
posthog-rails-v3.17.0
Minor Changes
-
5c21f66: Add
secret_keyconfig option and deprecatepersonal_api_key.secret_keyis 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_keystill works as a deprecated alias; when both are supplied,secret_keywins.
posthog-rails-v3.16.1
Patch Changes
- 737acbc: Avoid double-capturing ActiveJob exceptions through the Rails error subscriber.
posthog-ruby-v3.17.0
Minor Changes
- 14d85f7: Use stable project-relative stack frame
filenamevalues (relative toRails.rootorDir.pwd, falling back to the basename outside the project) while preserving the raw path inabs_path; dependency and stdlib frames are detected from RubyGems/stdlib install roots, computed once per stacktrace, soin_appno longer depends on deploy-path substrings.
posthog-ruby-v3.16.0
Minor Changes
-
814c495: Improve error tracking capture signals:
capture_exceptionnow walks the fullexception.causechain (outermost-first, cycle-safe, capped at 50) instead of reporting only the outermost exception; chained causes are tagged with achainedmechanism and parent linkage.- Exception mechanisms now reflect the capture source: manual captures stay
generic/handled: true, while the Rails middleware,Rails.errorsubscriber, and ActiveJob integrations tag captures asrails/rails_error_reporter/active_jobwith the correcthandledflag.capture_exceptionaccepts amechanism:keyword.
posthog-rails-v3.16.0
Minor Changes
-
814c495: Improve error tracking capture signals:
capture_exceptionnow walks the fullexception.causechain (outermost-first, cycle-safe, capped at 50) instead of reporting only the outermost exception; chained causes are tagged with achainedmechanism and parent linkage.- Exception mechanisms now reflect the capture source: manual captures stay
generic/handled: true, while the Rails middleware,Rails.errorsubscriber, and ActiveJob integrations tag captures asrails/rails_error_reporter/active_jobwith the correcthandledflag.capture_exceptionaccepts amechanism:keyword.
posthog-ruby-v3.15.3
Patch Changes
- fcc6205: Stop duplicating
distinct_idinside/flagsperson properties.
posthog-ruby-v3.15.2
Patch Changes
- 1376f19: Retry remote feature flag requests after transient 502 and 504 responses.