| 1 |
Revision history for perl module JIRA-REST. -*- text -*- |
| 2 |
|
| 3 |
0.025 2026-06-28 16:38:00-03:00 America/Sao_Paulo |
| 4 |
|
| 5 |
[New features] |
| 6 |
|
| 7 |
- Implement authentication via Service Accounts, introduced in Jira 11. |
| 8 |
https://confluence.atlassian.com/enterprise/service-accounts-overview-1627095923.html. |
| 9 |
|
| 10 |
[Deprecation] |
| 11 |
|
| 12 |
- Since CentOS is no longer maintained we're dropping support for it and, |
| 13 |
consequently. Now Jira::REST requires Perl 5.34, which ships with Ubuntu 22.04, |
| 14 |
which will reach EOL on April, 2027. |
| 15 |
|
| 16 |
[Incompatible changes] |
| 17 |
|
| 18 |
- The new_session constructor was deprecated on version 0.022 and is now |
| 19 |
removed. |
| 20 |
|
| 21 |
- The 'proxy' key to the REST::Client hash was deprecated on version 0.017 and |
| 22 |
is now removed. |
| 23 |
|
| 24 |
0.024 2024-01-21 14:05:30-03:00 America/Sao_Paulo |
| 25 |
|
| 26 |
[Enhancement] |
| 27 |
|
| 28 |
- JIRA::REST gives up on trying to decode the error messages returned by |
| 29 |
Jira. They are inconsistent and undocumented, as far as I know. From now on, |
| 30 |
we simply show the JSON object containing the error message. |
| 31 |
|
| 32 |
- Don't croak anymore on the PUT and POST methods when the third argument |
| 33 |
(value) is undefined. There are API endpoints for which this makes sense. |
| 34 |
|
| 35 |
0.023 2022-04-10 20:54:14-03:00 America/Sao_Paulo |
| 36 |
|
| 37 |
[New features] |
| 38 |
|
| 39 |
- Implement the new JIRA::REST::rest_client auxiliary method to make it |
| 40 |
OK to get to the underlying REST::Client object. |
| 41 |
|
| 42 |
[Documentation] |
| 43 |
|
| 44 |
- Implement two new example scripts showing how to deal with attachments. The |
| 45 |
download_attachment.pl script uses the new J::R::rest_client method. |
| 46 |
|
| 47 |
- Update the Perl and Jira Compatibility Policy section. |
| 48 |
|
| 49 |
0.022 2021-12-19 16:22:52-03:00 America/Sao_Paulo |
| 50 |
|
| 51 |
[Deprecation] |
| 52 |
|
| 53 |
- The new_session constructor is deprecated. New code should use the 'session' |
| 54 |
argument to the default constructor. |
| 55 |
|
| 56 |
[New features] |
| 57 |
|
| 58 |
- Martin Sluka kindly added support for Personal Access Tokens so that it's |
| 59 |
now possible to authenticate without usernames and passwords. This requires |
| 60 |
at least Jira 8.14. |
| 61 |
|
| 62 |
- Add the 'session' argument to the constructor. |
| 63 |
|
| 64 |
[Enhancement] |
| 65 |
|
| 66 |
- Martin Sluka also kindly contributed code to make JIRA::REST do not send |
| 67 |
Authorization HTTP headers if we've set up a session. This lessens the |
| 68 |
burden to Jira, which may be significant for scripts making lots of calls. |
| 69 |
|
| 70 |
- The example scripts were refactored to be modernized. |
| 71 |
|
| 72 |
0.021 2021-02-05 22:14:44-03:00 America/Sao_Paulo |
| 73 |
|
| 74 |
[Deprecation] |
| 75 |
|
| 76 |
- Since CentOS 6 reached EOL on December/2020, following our policy we're |
| 77 |
dropping support for it and, consequently, for Perl 5.10. Now Jira::REST |
| 78 |
requires Perl 5.16, which ships with CentOS 7, which will reach EOL on July, |
| 79 |
2024. |
| 80 |
|
| 81 |
[Enhancement] |
| 82 |
|
| 83 |
- Now the constructor sets up a cookie jar on the LWP::UserAgent object |
| 84 |
inside, so that it can keep and use the session cookies it gets from the |
| 85 |
server, making it possible to establish and keep user sessions. This is |
| 86 |
particularly useful when interacting with Jira Data Center instances. |
| 87 |
|
| 88 |
[New feature] |
| 89 |
|
| 90 |
- A new constructor called 'new_session' is implemented. It accepts the same |
| 91 |
options as the default constructor 'new', invokes it and then creates a user |
| 92 |
session, which is destroyed during destruction of the JIRA::REST |
| 93 |
object. |
| 94 |
|
| 95 |
0.020 2019-11-02 23:13:42-03:00 America/Sao_Paulo |
| 96 |
|
| 97 |
[Documentation] |
| 98 |
|
| 99 |
- Some fixes, a new reference to JIRA::REST::OAuth, a new example script |
| 100 |
showing how to add a comment. |
| 101 |
|
| 102 |
0.019 2018-07-28 18:00:17-03:00 America/Sao_Paulo |
| 103 |
|
| 104 |
[Changes] |
| 105 |
|
| 106 |
- JIRA::REST now requires at least Perl 5.10. Previously it required Perl |
| 107 |
5.8. A new section in the documentation explains our Perl and Jira |
| 108 |
compatibility Policy. |
| 109 |
|
| 110 |
[Fixes] |
| 111 |
|
| 112 |
- William Carr fixed the sub_error routine teaching it yet another way Jira |
| 113 |
can pass error messages back. |
| 114 |
|
| 115 |
[Documentation] |
| 116 |
|
| 117 |
- Lisa Hare graciously contributed some example scripts which can be found on |
| 118 |
the 'examples' directory. |
| 119 |
|
| 120 |
- All mentions of 'JIRA' were changed to 'Jira', following the change |
| 121 |
Atlassian made in all of its site and documentation. |
| 122 |
|
| 123 |
0.018 2017-05-30 09:38:37-03:00 America/Sao_Paulo |
| 124 |
|
| 125 |
[Fixes] |
| 126 |
|
| 127 |
- Strip trailing slashes from JIRA's URL to avoid 404 errors. |
| 128 |
|
| 129 |
- Make sure UTF-8-encoded filenames are preserved when attached to JIRA. |
| 130 |
|
| 131 |
- Correct the github-repository-uri in the metadata. |
| 132 |
|
| 133 |
0.017 2017-01-06 15:47:28-02:00 America/Sao_Paulo |
| 134 |
|
| 135 |
[Fixes] |
| 136 |
|
| 137 |
- Fix attach_file() method which was broken on v0.016. |
| 138 |
|
| 139 |
0.016 2016-12-26 22:48:03-02:00 America/Sao_Paulo (TRIAL RELEASE) |
| 140 |
|
| 141 |
[New features] |
| 142 |
|
| 143 |
- Add support for all JIRA REST API's: JIRA Core, JIRA ServiceDesk, and |
| 144 |
JIRA Software. |
| 145 |
|
| 146 |
- Add a new-style of parameter passing for the constructor, via a hash |
| 147 |
reference. |
| 148 |
|
| 149 |
- Add support for anonymous REST interaction with JIRA. |
| 150 |
|
| 151 |
- Add support for a new REST::Client configration extension to turn off |
| 152 |
SSL verification. |
| 153 |
|
| 154 |
[Fix] |
| 155 |
|
| 156 |
- Add missing META.json file to the distribution. |
| 157 |
|
| 158 |
[Enhancement] |
| 159 |
|
| 160 |
- Add a few tests against jira.atlassian.com that can be performed |
| 161 |
anonymously during release. |
| 162 |
|
| 163 |
[Deprecation] |
| 164 |
|
| 165 |
- The 'proxy' key to the REST::Client hash is deprecated in favor of the |
| 166 |
new homonymous constructor parameter. |
| 167 |
|
| 168 |
0.015 2016-12-02 14:08:34-02:00 America/Sao_Paulo |
| 169 |
|
| 170 |
[Fix] |
| 171 |
|
| 172 |
- [RT#119092] v0.014 introduced an error making the constructor reject |
| 173 |
URLs ending in slash. |
| 174 |
|
| 175 |
0.014 2016-11-23 07:27:52-02:00 America/Sao_Paulo |
| 176 |
|
| 177 |
[New feature] |
| 178 |
|
| 179 |
- JIRA::REST now supports the JIRA Software REST API and the JIRA Service |
| 180 |
Desk REST API in addition to the JIRA Core REST API with a minimal |
| 181 |
change. How cool is that!? |
| 182 |
|
| 183 |
Many thanks Evan Brown for such a nice idea. |
| 184 |
|
| 185 |
[Changes] |
| 186 |
|
| 187 |
- Downgrade Perl version requirement from 5.10 to 5.8.8 to enable use on |
| 188 |
older Perls. |
| 189 |
|
| 190 |
0.013 2016-11-22 16:01:45-02:00 America/Sao_Paulo |
| 191 |
|
| 192 |
[New feature] |
| 193 |
|
| 194 |
- Add support for getting username and password from Config::Identity, |
| 195 |
which supports gpg encrypted credentials. |
| 196 |
|
| 197 |
0.012 2016-01-15 22:16:02-02:00 America/Sao_Paulo |
| 198 |
|
| 199 |
[Fix] |
| 200 |
|
| 201 |
- Remove dependency on Data::Util. |
| 202 |
|
| 203 |
0.011 2015-05-21 19:10:57-03:00 America/Sao_Paulo |
| 204 |
|
| 205 |
[New feature] |
| 206 |
|
| 207 |
- Add support for connecting to JIRA via a HTTP proxy. |
| 208 |
|
| 209 |
[Fix] |
| 210 |
|
| 211 |
- Recognize and output JIRA errors produced in XML format. |
| 212 |
|
| 213 |
0.010 2014-11-08 12:54:50 America/Sao_Paulo |
| 214 |
|
| 215 |
[New features] |
| 216 |
|
| 217 |
- Add utility method 'attach_files'. |
| 218 |
|
| 219 |
[Changes] |
| 220 |
|
| 221 |
- Prints any textual error message, not just of types text/plain and |
| 222 |
text/html. |
| 223 |
|
| 224 |
0.009 2014-09-09 20:32:15 America/Sao_Paulo |
| 225 |
|
| 226 |
[Fixes] |
| 227 |
|
| 228 |
- Fix the set_search_iterator/next_issue pair of methods. |
| 229 |
|
| 230 |
[Changes] |
| 231 |
|
| 232 |
- The iterators now use JIRA's own default (which is 50) when the |
| 233 |
'maxResults' argument isn't set. Previously our default was set to 256. |
| 234 |
|
| 235 |
0.008 2014-09-06 19:14:06 America/Sao_Paulo |
| 236 |
|
| 237 |
[Changes] |
| 238 |
|
| 239 |
- Show every detail in JIRA error messages. Some of which weren't being |
| 240 |
shown before. (Thanks to Michael Kröll for the tip.) |
| 241 |
|
| 242 |
0.006 2014-08-16 20:50:07 America/Sao_Paulo |
| 243 |
|
| 244 |
[Changes] |
| 245 |
|
| 246 |
- Suppress script line numbers from error messages. |
| 247 |
|
| 248 |
- Released on #cpanday. |
| 249 |
|
| 250 |
0.005 2014-08-07 20:25:14 America/Sao_Paulo |
| 251 |
|
| 252 |
[Changes] |
| 253 |
|
| 254 |
- New utility methods 'set_search_iterator' and 'next_issue' make it |
| 255 |
easier to iterate through large sets of issues without having to deal |
| 256 |
with "pagination". |
| 257 |
|
| 258 |
- Error messages are not presented in a consistent format. JIRA errors are |
| 259 |
parsed and presented in a legible way. |
| 260 |
|
| 261 |
0.004 2013-12-14 14:54:06 America/Sao_Paulo |
| 262 |
|
| 263 |
[Fixes] |
| 264 |
|
| 265 |
- [RT-91368] Some resource responses contain no content but specify |
| 266 |
a Content-Type. Those were being considered errors. Now they |
| 267 |
simply return undef. |
| 268 |
|
| 269 |
- When a resource response contains a content but doesn't specify a |
| 270 |
Content-Type it's an error. Previously it was returning undef. |
| 271 |
|
| 272 |
0.003 2013-09-03 17:32:02 America/Sao_Paulo |
| 273 |
[Fixes] |
| 274 |
- Fix code in documentation. |
| 275 |
|
| 276 |
0.002 2013-05-31 14:50:44 America/Sao_Paulo |
| 277 |
|
| 278 |
[Fixes] |
| 279 |
- Fix URL mangling in new. |
| 280 |
|
| 281 |
0.001 2013-05-31 08:52:14 America/Sao_Paulo |
| 282 |
|
| 283 |
|