Skip to content

Version 2.0.0

Choose a tag to compare

@ananace ananace released this 14 Feb 12:52
· 283 commits to master since this release
f7dc0f5

NB, this release includes backwards-incompatible changes.

Changes since 1.5.0;

  • Changed room state lookup to separate specific state lookups from full state retrieval.
    This will require changes in client code where #get_room_state is called to retrieve
    all state, as it now requires a state key. For retrieving full room state,
    #get_room_state_all is now the method to use.
  • Changed some advanced parameters to named parameters, ensure your code is updated if it makes use of them
  • Fixed SSL verification to actually verify certs (#9)

 

  • Added multiple CS API endpoints
  • Added :room_id key to all room events
  • Added :self as a valid option to the client abstraction's #get_user method
  • Separated homeserver part stringification for MXIDs
  • Exposed some previously private client abstraction methods (#ensure_room, #next_batch) for easier bot usage
  • Changed room abstraction member lookups to use #get_room_joined_members, reducing transferred data amounts
  • Fixed debug print of methods that return arrays (e.g. CS /room/{id}/state)