| 1 |
Revision history for Mastodon::Client |
| 2 |
|
| 3 |
0.017 2020-04-17 23:46:11+01:00 Europe/London |
| 4 |
|
| 5 |
* New: |
| 6 |
* Added an example script to illustrate the use of Mastodon::Listener. |
| 7 |
* Fixes: |
| 8 |
* Stream parser in Mastodon::Listener can now handle long messages |
| 9 |
that did not fit in a single chunk (thanks Alexander Zaitsev!) |
| 10 |
* Corrected the minimum required version of Types::Standard |
| 11 |
|
| 12 |
0.016 2019-10-13 12:23:24+01:00 Europe/London |
| 13 |
|
| 14 |
* New: |
| 15 |
* A new 'latest_response' accessor makes it possible to retrieve the |
| 16 |
most recent response obtained from the server, to assist in error |
| 17 |
handling. |
| 18 |
* Add caption and focus settings support to upload_media |
| 19 |
(thanks Eric Prestemon!). |
| 20 |
* We now ship a cpanfile specifying the distribution's dependencies and |
| 21 |
a Dockerfile (in 't') that can be used to run tests in an isolated |
| 22 |
environment. |
| 23 |
* Changes: |
| 24 |
* The default user agent is now an instance of HTTP::Thin instead of |
| 25 |
LWP::UserAgent. |
| 26 |
* When coercing the Image type from a filename, we now use Path::Tiny's |
| 27 |
'slurp_raw' instead of the plain 'slurp'. |
| 28 |
* Fixes: |
| 29 |
* Fixed an issue with parameter validation closures that meant |
| 30 |
having multiple clients would leak data across them. |
| 31 |
* Fixed an issue that caused a failure when trying to update the 'scopes' |
| 32 |
attribute, which is now read-write (thanks Luc Didry!) |
| 33 |
* Fixed an issue caused by a missing coercion for Bool types. |
| 34 |
|
| 35 |
0.015 2018-04-22 02:36:42+01:00 Europe/London |
| 36 |
|
| 37 |
* New: |
| 38 |
* Status entities now have a placeholder `emojis` attribute. |
| 39 |
This will likely need to be populated with a new entity. |
| 40 |
* Changes: |
| 41 |
* A successful call to `register` will overwrite the value |
| 42 |
of the client's `scopes` attribute to that passed as an |
| 43 |
argument (since those are the scopes that were requested |
| 44 |
from the server; thanks Shura0!). |
| 45 |
* Fixes: |
| 46 |
* Fixed an issue with authorisation of clients that used |
| 47 |
scopes other than `read` (thanks Shura0!) |
| 48 |
* Corrected an error in the documentation that stated that |
| 49 |
`register` accepted a hash reference instead of a hash. |
| 50 |
* Coercing attachment entities without `remote_url`s no longer |
| 51 |
results in an error. |
| 52 |
|
| 53 |
0.014 2018-01-23 19:27:43+00:00 Europe/London |
| 54 |
|
| 55 |
* Changes: |
| 56 |
* Allowed warnings in tests because of an open issue with |
| 57 |
Net::Async::HTTP |
| 58 |
|
| 59 |
0.013 2018-01-21 22:29:25+00:00 Europe/London |
| 60 |
|
| 61 |
* Changes: |
| 62 |
* [internal] Switched from AnyEvent to IO::Async. |
| 63 |
* Fixes: |
| 64 |
* Fixed a typo in the synopsis that could cause a server error |
| 65 |
when run (++Florian Obser). |
| 66 |
|
| 67 |
0.012 2017-06-09 12:58:08+01:00 Europe/London |
| 68 |
|
| 69 |
* Changes: |
| 70 |
* Improved documentation, including a section with details about |
| 71 |
the OAuth2 process for obtaining IDs, secrets, and tokens |
| 72 |
|
| 73 |
0.011 2017-05-10 15:59:57+01:00 Europe/London |
| 74 |
|
| 75 |
* Fixes: |
| 76 |
* Fix an issue with data preparation, which made authentication |
| 77 |
impossible (thanks @whiteisthenewblack!) |
| 78 |
|
| 79 |
0.010 2017-05-08 00:15:59+01:00 Europe/London |
| 80 |
|
| 81 |
* Fixes: |
| 82 |
* Added AutoPrereq plugin for automatic dependency detection |
| 83 |
|
| 84 |
0.009 2017-05-06 23:50:20+01:00 Europe/London |
| 85 |
|
| 86 |
* New: |
| 87 |
* Added tidyall tests |
| 88 |
* Changes: |
| 89 |
* Switch to JSON::MaybeXS |
| 90 |
* Use Class::Load to programmatically load classes |
| 91 |
* Improved robustness of stream parsing |
| 92 |
* Simplified method to perform requests |
| 93 |
* Fixes: |
| 94 |
* Fixed syntax errors in POD |
| 95 |
* Fixed a missing import in Application entities |
| 96 |
* Reblog status method no longer calls DELETE |
| 97 |
|
| 98 |
0.008 2017-04-22 02:45:33+01:00 Europe/London |
| 99 |
|
| 100 |
* New: |
| 101 |
* Added documentation for entity and listener objects |
| 102 |
* Status and Account objects have some convenience methods |
| 103 |
* Changes: |
| 104 |
* Re-wrote Mastodon::Listener to use AnyEvent::HTTP |
| 105 |
* Added more attributes to Mastodon::Listener, making it more |
| 106 |
usable as a standalone class |
| 107 |
* Fixes: |
| 108 |
* Fixed an issue with entity coercions, that could cause some |
| 109 |
tests to fail |
| 110 |
* TCP tests are skipped if unable to establish a connection |
| 111 |
* Added more missing dependencies |
| 112 |
* Never coerce server responses for app registration |
| 113 |
|
| 114 |
0.007 2017-04-18 16:12:15+01:00 Europe/London |
| 115 |
|
| 116 |
* Fixes: |
| 117 |
* Corrected list of provided packages (fixed broken release) |
| 118 |
* Add readme to distribution |
| 119 |
|
| 120 |
0.006 2017-04-18 02:28:45+01:00 Europe/London |
| 121 |
|
| 122 |
* New: |
| 123 |
* Added tests for more methods |
| 124 |
* Entity objects have experimental method shortcuts |
| 125 |
* Fixes: |
| 126 |
* Some of the GET methods did not correctly parse arguments |
| 127 |
* Changes: |
| 128 |
* The `uri` attribute for Status entities is not of type URI |
| 129 |
|
| 130 |
0.005 2017-04-17 15:20:15+01:00 Europe/London |
| 131 |
|
| 132 |
* Fixes: |
| 133 |
* Fixed wrong links in POD |
| 134 |
|
| 135 |
0.004 2017-04-17 15:14:15+01:00 Europe/London |
| 136 |
|
| 137 |
* New: |
| 138 |
* Added some tests for GET requests, using Test::TCP |
| 139 |
* Added an example script to dump responses to GET requests, |
| 140 |
mainly for debug |
| 141 |
* Fixes: |
| 142 |
* Corrected some inconsistencies in the method signatures |
| 143 |
with what was documented |
| 144 |
* Do not try to coerce non-entity responses (ie. from OAuth2 flow) |
| 145 |
* Respect the value of coerce_entities in more methods |
| 146 |
* Changes: |
| 147 |
* The `authorized` attribute is now never undefined |
| 148 |
|
| 149 |
0.003 2017-04-17 00:12:15+01:00 Europe/London |
| 150 |
|
| 151 |
* New: |
| 152 |
* Added Travis CI configuration |
| 153 |
* Fixes: |
| 154 |
* Added some missing dependencies to dist.ini |
| 155 |
|
| 156 |
0.002 2017-04-16 23:06:52+01:00 Europe/London |
| 157 |
|
| 158 |
* New: |
| 159 |
* Added convenience methods for all API endpoints |
| 160 |
* Added a `coerce_entities` option to turn JSON responses from |
| 161 |
Mastodon into Perl objects |
| 162 |
* Added more tests (suite is still far from complete!) |
| 163 |
* Added methods for sending DELETE and PATCH requests |
| 164 |
* Added this change log. :) |
| 165 |
* Several changes to dist.ini add repository data, META.json, etc. |
| 166 |
* Added documentation |
| 167 |
* Changes: |
| 168 |
* Interface of `timeline()` and `stream()` methods now more |
| 169 |
closely mirrors that of the rest of the distribution |
| 170 |
* Fixes: |
| 171 |
* Fixed several issues with passing arguments to requst functions |
| 172 |
|
| 173 |
0.001 |
| 174 |
|
| 175 |
* Initial release |