Skip to content

v3.0.0

Compare
Choose a tag to compare
@timdorr timdorr released this 25 Sep 23:06
· 407 commits to master since this release
26da58a

This release is sponsored by RedAlert, a smart alerting platform for Tesla vehicles.


Sorry for the quick major bump again, but this is warranted. The internal HTTP client I was using (HTTParty) was entirely thread-unsafe, so things like Sidekiq jobs or other multi-user systems would be impossible to implement safely.

As a bonus, I've updated the streaming API to use the new WebSocket endpoint. The old HTTP streaming endpoint is completely defunct now.

Changes

  • Replace HTTParty with Faraday. This ensures instances stay separate from each other.
  • Update Vehicle.stream to use the WebSocket endpoint.
  • Add a Client.vehicle(id) endpoint for getting a single vehicle from the API.