Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@nijikon nijikon released this 09 Feb 12:14
· 106 commits to develop since this release
9917b5f

Features:

  • code reorganization
  • added Client.to_context method which allows to generate context object from the request
  • additional timestamp and sent_at time values are automatically added to the requests
  • when data is sent in batches you may want to wrap data options with Client.to_options method before you send it to the worker (see README) to include proper timestamp in the query
  • added X-Forwarded-For and CF_CONNECTING_IP to whitelisted headers
  • fetch IP from CF_CONNECTING_IP if possible

Breaking Changes:

  • Client does not build context object anymore to use previous functionality use Client.from_request
  • code reorganization