Skip to content

Releases: castle/castle-python

Release v2.3.1

05 Apr 09:42
5f87369
Compare
Choose a tag to compare
  • #50 generate new default timestamps for each call

Release v2.3.0

16 Jan 14:14
5e7a380
Compare
Choose a tag to compare
  • #48 add connection pooling
  • #47 add event constants
  • #40 remove requirement for user_id

Release v2.2.0

18 Apr 12:12
Compare
Choose a tag to compare

Breaking Changes:

  • #35 usage of traits key is deprecated, use user_traits instead
  • #38 make api related errors inherit from ApiError
  • #38 rename FailoverStrategyValueError to ConfigurationError

Enhancements:

  • #37 X-Castle-Client-Id takes precedence over cid from cookies
  • #36 raise ImpersonationFailed when impersonation request failed

Release v2.1.1

26 Feb 20:45
Compare
Choose a tag to compare

Features:

  • add reset option to impersonation

Release v2.1.0

09 Feb 20:24
950e400
Compare
Choose a tag to compare

Features:

  • add support for impersonation

Breaking Changes:

  • switched configuration request_timeout from seconds to milliseconds

Release v2.0.0

09 Feb 12:14
9917b5f
Compare
Choose a tag to compare

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

Release v1.0.1

08 Dec 20:53
be66c35
Compare
Choose a tag to compare
  • Handle cookies from Django request

Release v1.0.0

18 Oct 13:09
Compare
Choose a tag to compare

Initial release