Skip to content

2.26.1

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 19:35
Immutable release. Only release title and notes can be modified.
7ec73ef

Patch changes

  • c166cad Deprecate the :category option of PostHog.Emails.send/2. Code-sent emails are staying strictly transactional, and the server feature flag for categories on code sends is off. The SDK never sends :category to PostHog: a send that sets it returns an invalid_form error with the field category and sends nothing. That error has no :status_code, because no request is made, so code that branched on an HTTP 400 from PostHog should match the invalid_form code and the category field instead. Send marketing email through a PostHog workflow, where opt-outs apply. Sends that leave :category out or set it to nil work as before. — Thanks @Silthus!