Debian Codegraph @

Changes

raw
1 0.12 2020-01-09
2 - Fix a crash in debug mode when trying to dump undefined values.
3 - When using `Mojo::UserAgent` and in debug mode, print out the real reason of failure when a
4 connection fails due to a proxy error. Before, only an opaque "Proxy connection error" would
5 have been returned. See issue #29.
6 0.11 2019-01-07
7 - Replace deprecated calls to Mojo::Transaction::success with Mojo::Transaction::error.
8 See issue #28. Thanks @huckeduster!
9 0.10 2018-02-05
10 - Wrap calls to JSON::MaybeXS::encode_json() with parentheses. This fixes recent test failures.
11 Sorry everybody, and thanks Flavio (@polettix)!
12 0.09 2017-10-10
13 - Fix error messages containing "at" being incorrectly parsed by `parse_error`. See issue #19.
14 Thanks Thomas!
15 0.08 2017-02-13
16 - Handle plain text error messages returned by old versions of Mojolicious. See issue #16.
17 - Add a note in the documentation about how important is to reuse objects and the undefined
18 behavior that happens with asynchronous requests when that rule is not honoured. See issue #13.
19 0.07 2016-08-23
20 - Don't encode to UTF-8 when JSON::MaybeXS takes care of it.
21 0.06 2016-08-21
22 - Fix a critical encoding issue involving LWP, file uploads and UTF-8 fields.
23 0.05 2016-08-21
24 - Fix compatibility with older Perls.
25 - Improve debugging output.
26 0.04 2016-08-08
27 - Major change to how requests are handled. Every request is now sent using `application/json`
28 by default, except when uploading, where `multipart/form-data` is used instead.
29 This has the benefit of allowing the usage of complex objects with zero effort.
30 It *should not* be a breaking change (except if dealing with the internals of this module).
31 - Implement `parse_error`. This new method allows to parse errors and obtain information about
32 them, such as their source or code. Please see the updated documentation.
33 - Asynchronous callbacks are no more mandatory when async mode is enabled. When the callback is
34 missing, requests are simply executed synchronously.
35 0.03 2015-10-31
36 - Happy Halloween!
37 - Add new debugging mode, enabled by setting the `TELEGRAM_BOTAPI_DEBUG` environment variable
38 to a true value.
39 - `api_request` now dies when, in the response, `ok` is missing or set to a false value.
40 This means that `undef` can no longer be returned.
41 Consequently, error messages returned from Telegram - when available - are now shown when
42 dying (instead of showing just the HTTP response code).
43 - Several improvements to the documentation and the code.
44 0.02 2015-09-02
45 - DESTROY is not handled by AUTOLOAD anymore.
46 - Now using `Carp::confess` instead of `die` for server-side errors.
47 - The documentation now has more examples.
48 0.01 2015-06-28
49 - First release.