Skip to content

Releases: castle/castle-java

castle-java v1.4.2

02 Aug 15:38
ec2aab9

Choose a tag to compare

Fix: #52 Use separate exceptions for server error and timeout
Fix: #54 Support for custom authenticate and track payloads
Fix: #55 Add internal field to Verdict class which contains the raw server response as a JsonElement.

castle-java v1.4.1

09 May 17:40

Choose a tag to compare

  • Fix: #51 Correct default values when building context from request.

castle-java v1.4.0

28 Mar 09:31

Choose a tag to compare

  • Feature: #45 Add support for configuring a list of ip headers. Resolve #29
  • Feature: #47 Add support for device and impersonate APIs. Resolve #30
  • Feature: #49 Add support for archive devices API.
  • Feature: #41 Add sentAt to API payload for CastleMessage. Resolve #13
  • Chore: #44 Update broken link in readme.
  • Fix: #48 Fix return type of imposter API.
  • Fix: #37 Rename createdAt to timestamp in CastleMessage.
  • Improvement: #40 Remove default whitelist.
  • Improvement: #46 Add platform information to library information.
  • Fix: #42 Add custom context IP example to README.

castle-java v1.3.0

07 Mar 09:24

Choose a tag to compare

  • Fix: #43 Add deviceToken to Verdict class to match the response returned by the /authenticate endpoint. Resolve #38
  • Fix: #36 Add setters for setting boolean values for clientId and userAgent in context. Resolve #31
  • Fix: #35 Do not set empty string as default value for client_id in context
  • Fix: #34 Added null check for userId in payloadJson when doing authenticate request. Resolve #33

castle-java v1.2.0

27 Jul 16:06

Choose a tag to compare

  • Allow creating multiple instances of the Castle SDK client.
  • Only allow TLS 1.1 or above
  • Prioritize extracting client_id from header X-Castle-Client-Id over cookies

castle-java v1.1.0

25 Jun 08:39

Choose a tag to compare

  • Allow more flexible configuration via builder in addition to ENV. Castle.configurationBuilder()
  • Fluent message builder when tracking or authenticating events. CastleMessage.builder("event_name")
  • Allow manual context building via Castle.contextBuilder()
  • Context serialization and deserialization via toJson and fromJson methods on CastleContextBuilder