diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2020-09-21 23:45:11 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-09-21 23:45:11 -0400 |
commit | 957e1170b6ba43caa740532d30693e89fca4aa3a (patch) | |
tree | 3810157158dbc9e573f4ef6178fdcc8e811a5014 /CHANGELOG.md | |
parent | add functions for leaving/forgetting rooms (diff) |
release 0.3.0
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index fd29e5d..5857b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +0.3.0 +===== + +Breaking changes: + +- The `Polyjuice.Client` module has been reworked. + - Rather than creating a `Polyjuice.Client` struct, + `Polyjuice.Client.start_link` should be called to start the client, and + `Polyjuice.Client.API.stop` should be called to stop it. Read the + documentation for `Polyjuice.Client.start_link` for more information. + - The sync process is started automatically (but can be disabled). + - A new client does not need to be created when the access token changes + (e.g. on login) + - A new `Polyjuice.Client.LowLevel` module has been added for situations + where the old `Polyjuice.Client` would work better. +- The `Polyjuice.Client.Endpoint.HttpSpec` struct now takes `path` and `query` + parameters rather than a `url` parameter. Several helper methods have been + added for creating the structs. +- `Polyjuice.Client.Endpoint.Proto.http_spec/1` method no longer takes a + `base_url` parameter. +- `prefix_r0` and `prefix_unstable` have been moved from `Polyjuice.Client` to + `Polyjuice.Client.Endpoint.HttpSpec`. +- Endpoints that used to return `{:ok}` now return `:ok` instead. + +Features: + +- Add media upload/download methods. (`Polyjuice.Client.Media`) +- Room requests are queued, to ensure that messages are sent in order. +- New methods for leaving/forgetting rooms. (`Polyjuice.Client.Room.leave` and + `Polyjuice.Client.Room.forget`) +- The `Polyjuice.Client` client sends events on login and logout. +- Add methods for server discovery using `.well-known` + (`Polyjuice.Client.WellKnown`) + 0.2.3 ===== |