|
| 1 | +**************************** |
| 2 | +Shotgun Python API Changelog |
| 3 | +**************************** |
| 4 | + |
| 5 | +Here you can see the full list of changes between each Python API release. |
| 6 | + |
| 7 | +v3.0.32.dev (TBD) |
| 8 | +================= |
| 9 | + |
| 10 | +- Optimized import speed of the API on Python 2.7. |
| 11 | +- Integrated the latest fixes to the ``mimetypes`` module. |
| 12 | + |
| 13 | +v3.0.31 (2016 May 18) |
| 14 | +===================== |
| 15 | + |
| 16 | +- Add optional ``additional_filter_presets`` argument to :meth:`find` and :meth:`find_one` |
| 17 | + |
| 18 | +v3.0.30 (2016 Apr 25) |
| 19 | +===================== |
| 20 | + |
| 21 | +- Add option to use add/remove/set modes when updating multi-entity fields. |
| 22 | +- Add explicit file handler close to download_attachment. |
| 23 | +- Add basic :meth:`find` ordering support to mockgun. |
| 24 | +- Allow for product specific authorization parameters. |
| 25 | + |
| 26 | +v3.0.29 (2016 Mar 7) |
| 27 | +==================== |
| 28 | + |
| 29 | +- Reverted the change to the default field names for image uploading. |
| 30 | + |
| 31 | +v3.0.28 (2016 Mar 3) |
| 32 | +==================== |
| 33 | + |
| 34 | +- Refactored nested classing of ``sgtimezone`` library to allow for serializable timestamps. |
| 35 | + |
| 36 | +v3.0.27 (2016 Feb 18) |
| 37 | +===================== |
| 38 | + |
| 39 | +- Make sure HTTP proxy authentication works with the ``@`` character in a password. |
| 40 | +- Make sure sudo authentication test works with Shotgun versions after v6.3.10. |
| 41 | +- Smarter uploading of thumbnails and filmstrips with the :meth:`upload` method. |
| 42 | +- Improve Travis build integration of the Python-API to run the full suite of |
| 43 | + API tests instead of just the unit and client tests. |
| 44 | + |
| 45 | +v3.0.26 (2016 Feb 1) |
| 46 | +==================== |
| 47 | + |
| 48 | +- Updating testing framework to use environment variables inconjunction with existing |
| 49 | + ``example_config`` file so that commits and pull requests are automatically run on travis-ci. |
| 50 | +- Fix to prevent stripping out case-sensitivity of a URL if the user passes their credentials to |
| 51 | + ``config.server`` as an authorization header. |
| 52 | + |
| 53 | +v3.0.25 (2016 Jan 12) |
| 54 | +===================== |
| 55 | + |
| 56 | +- Add handling for Python versions incompatible with SHA-2 (see `this blog post |
| 57 | + <http://blog.shotgunsoftware.com/2016/01/important-ssl-certificate-renewal-and.html>`_). |
| 58 | +- Add ``SHOTGUN_FORCE_CERTIFICATE_VALIDATION`` environment variable to prevent disabling certficate |
| 59 | + validation when SHA-2 validation is not available. |
| 60 | +- Add SSL info to user-agent header. |
| 61 | + |
| 62 | +v3.0.24 (2016 Jan 08) |
| 63 | +===================== |
| 64 | + |
| 65 | +- Not released. |
| 66 | + |
| 67 | +v3.0.23 (2015 Oct 26) |
| 68 | +===================== |
| 69 | + |
| 70 | +- Fix for `python bug #23371 <http://bugs.python.org/issue23371>`_ on Windows loading mimetypes |
| 71 | + module (thanks `@patrickwolf <http://github.com/patrickwolf>`_). |
| 72 | +- Fix for tests on older versions of python. |
| 73 | +- Sanitize authentication values before raising error. |
| 74 | + |
| 75 | +v3.0.22 (2015 Sept 9) |
| 76 | +===================== |
| 77 | + |
| 78 | +- Added method :meth:`text_search` which allows an API client to access the Shotgun global search |
| 79 | + and auto completer. |
| 80 | +- Added method :meth:`activity_stream_read` which allows an API client to access the activity |
| 81 | + stream for a given Shotgun entity. |
| 82 | +- Added method :meth:`note_thread_read` which allows an API client to download an entire Note |
| 83 | + conversation, including Replies and Attachments, using a single API call. |
| 84 | +- Added an experimental ``mockgun`` module which can be used to emulate the Shotgun API, for |
| 85 | + example inside unit test rigs. |
| 86 | +- [minor] Improved docstrings. |
| 87 | + |
| 88 | +v3.0.21 (2015 Aug 13) |
| 89 | +===================== |
| 90 | + |
| 91 | +- Update bundled ``httplib2`` module to latest v0.9.1 - fixes some bugs |
| 92 | + |
| 93 | +v3.0.20 (2015 Jun 10) |
| 94 | +===================== |
| 95 | + |
| 96 | +- Add authentication support for Shotgun servers with two-factor authentication turned on. |
| 97 | + |
| 98 | +v3.0.19 (2015 Mar 25) |
| 99 | +===================== |
| 100 | + |
| 101 | +- Add ability to authenticate with Shotgun using ``session_token``. |
| 102 | +- Add :meth:`get_session_token` method for obtaining token to authenticate with. |
| 103 | +- Add new ``AuthenticationFault`` exception type to indicate when server communication has failed |
| 104 | + due to authentication reasons. |
| 105 | +- Add support for ``SHOTGUN_API_CACERTS`` environment variable to provide location of external |
| 106 | + SSL certificates file. |
| 107 | +- Fixes and updates to various tests. |
| 108 | + |
| 109 | +v3.0.18 (2015 Mar 13) |
| 110 | +===================== |
| 111 | + |
| 112 | +- Add ability to query the per-project visibility status for entities, fields and statuses. |
| 113 | + (requires Shotgun server >= v5.4.4) |
| 114 | + |
| 115 | +v3.0.17 (2014 Jul 10) |
| 116 | +===================== |
| 117 | + |
| 118 | +- Add ability to update ``last_accessed_by_current_user`` on Project. |
| 119 | +- Add workaround for `bug #9291 in Python 2.7 <http://bugs.python.org/issue9291>`_ affecting |
| 120 | + mimetypes library on Windows. |
| 121 | +- Add platform and Python version to user-agent (eg. ``shotgun-json (3.0.17); Python 2.7 (Mac)``) |
| 122 | + |
| 123 | +v3.0.16 (2014 May 23) |
| 124 | +===================== |
| 125 | + |
| 126 | +- Add flag to ignore entities from archived Projects. |
| 127 | +- Add support for differentiating between zero and ``None`` for number fields. |
| 128 | +- Add ability to act as a different user. |
| 129 | + |
| 130 | +v3.0.15 (2014 Mar 6) |
| 131 | +==================== |
| 132 | + |
| 133 | +- Fixed bug which allowed a value of ``None`` for password parameter in |
| 134 | + :meth:`authenticate_human_user` |
| 135 | +- Add :meth:`follow`, :meth:`unfollow` and :meth:`followers` methods. |
| 136 | +- Add ability to login as HumanUser. |
| 137 | +- Ensure that webm/mp4 mime types are always available. |
| 138 | +- Updated link to video tour in README. |
| 139 | +- Fixes and updates to various tests. |
| 140 | + |
| 141 | +v3.0.14 (2013 Jun 26) |
| 142 | +===================== |
| 143 | + |
| 144 | +- added: additional tests for thumbnails. |
| 145 | +- added: support for downloading from s3 in :meth:`download_attachment`. Accepts an Attachment |
| 146 | + entity dict as a parameter (is still backwards compatible with passing in an Attachment id). |
| 147 | +- added: optional ``file_path`` parameter to :meth:`download_attachment` to write data directly to |
| 148 | + disk instead of loading into memory. (thanks to Adam Goforth `@aag <https://github.com/aag>`_) |
| 149 | + |
| 150 | +v3.0.13 (2013 Apr 11) |
| 151 | +===================== |
| 152 | + |
| 153 | +- fixed: #20856 :meth:`authenticate_human_user` login was sticky and would be used for permissions |
| 154 | + and logging. |
| 155 | + |
| 156 | +v3.0.12 (2013 Feb 22) |
| 157 | +===================== |
| 158 | +*no tag* |
| 159 | + |
| 160 | +- added: #18171 New ``ca_certs`` argument to the :class:`Shotgun` constructor to specify the |
| 161 | + certificates to use in SSL validation. |
| 162 | +- added: ``setup.py`` doesn't compress the installed ``.egg`` file which makes the |
| 163 | + ``cacerts.txt`` file accessible. |
| 164 | + |
| 165 | +v3.0.11 (2013 Jan 31) |
| 166 | +===================== |
| 167 | + |
| 168 | +- added: nested filter syntax (see :ref:`filter_syntax`) |
| 169 | + |
| 170 | +v3.0.10 (2013 Jan 25) |
| 171 | +===================== |
| 172 | + |
| 173 | +- added: :meth:`add_user_agent()` and :meth:`reset_user_agent` methods to allow client code to add |
| 174 | + strings to track. |
| 175 | +- added: Changed default ``user-agent`` to include API version. |
| 176 | +- updated: advanced summarize filter support. |
| 177 | +- fixed: #19830 :meth:`share_thumbnail` errors when source has no thumbnail. |
| 178 | + |
| 179 | +v3.0.9 (2012 Dec 05) |
| 180 | +==================== |
| 181 | + |
| 182 | +- added: :meth:`share_thumbnail` method to share the same thumbnail record and media between |
| 183 | + entities. |
| 184 | +- added: proxy handling to methods that transfer binary data (ie. :meth:`upload`, |
| 185 | + :meth:`upload_thumbnail`, etc.). |
| 186 | +- updated: default logging level to WARN. |
| 187 | +- updated: documentation for :meth:`summarize()` method, previously released but without |
| 188 | + documentation. |
| 189 | +- fixed: unicode strings not always being encoded correctly. |
| 190 | +- fixed: :meth:`create()` generates error when ``return_fields`` is None. |
| 191 | +- fixed: clearing thumbnail by setting ``image`` value to ``None`` not working as expected. |
| 192 | +- fixed: some html entities being returned sanitized via API. |
| 193 | +- improved: ``simplejson`` fallback now uses relative imports to match other bundled packages. |
| 194 | +- improved: various error messages are now clearer and more informative. |
| 195 | +- installation is now ``pip`` compatible. |
| 196 | + |
| 197 | +v3.0.9.beta2 (2012 Mar 19) |
| 198 | +========================== |
| 199 | + |
| 200 | +- use relative imports for included libraries when using Python v2.5 or later. |
| 201 | +- replace sideband request for ``image`` (thumbnail) field with native support (requires Shotgun |
| 202 | + server >= v3.3.0. Request will still work on older versions but fallback to slow sideband |
| 203 | + method). |
| 204 | +- allow setting ``image`` and ``filmstrip_thumbnail`` in data dict on :meth:`create` and |
| 205 | + :meth:`update` (thanks `@hughmacdonald <https://github.com/HughMacdonald>`_). |
| 206 | +- fixed bug causing ``Attachment.tag_list`` to be set to ``"None"`` (str) for uploads. |
| 207 | + |
| 208 | +v3.0.9.beta1 (2012 Feb 23) |
| 209 | +========================== |
| 210 | + |
| 211 | +- added support for access to WorkDayRules (requires Shotgun server >= v3.2.0). |
| 212 | +- added support for filmstrip thumbnails (requires Shotgun server >= v3.1.0). |
| 213 | +- fixed :meth:`download_attachment` pointing to incorrect url. |
| 214 | +- fixed some issues with module import paths. |
| 215 | + |
| 216 | +v3.0.8 (2011 Oct 7) |
| 217 | +=================== |
| 218 | + |
| 219 | +- now uses JSON as a transport rather than XML-RPC. This provides as much as a 40% speed boost. |
| 220 | +- added the :meth:`summarize` method. |
| 221 | +- refactored single file into package. |
| 222 | +- tests added (Thanks to Aaron Morton `@amorton <https://github.com/amorton>`_). |
| 223 | +- return all strings as ascii for backwards compatibility, added ``ensure_ascii`` parameter to |
| 224 | + enable returning unicode. |
| 225 | + |
| 226 | +v3.0.7 (2011 Apr 04) |
| 227 | +==================== |
| 228 | + |
| 229 | +- fix: :meth:`update()` method should return a ``dict`` object not a ``list``. |
| 230 | + |
| 231 | +v3.0.6 (2010 Jan 25) |
| 232 | +==================== |
| 233 | + |
| 234 | +- optimization: don't request ``paging_info`` unless required (and server support is available). |
| 235 | + |
| 236 | +v3.0.5 (2010 Dec 20) |
| 237 | +==================== |
| 238 | + |
| 239 | +- officially remove support for old ``api3_preview`` controller. |
| 240 | +- :meth:`find`: allow requesting a specific page of results instead of returning them all at once. |
| 241 | +- add support for ``session_uuid`` parameter for communicating with a web browser session. |
| 242 | + |
| 243 | +v3.0.4 (2010 Nov 22) |
| 244 | +==================== |
| 245 | + |
| 246 | +- fix for issue where :meth:`create` method was returning list type instead of dictionary. |
| 247 | +- support new style classes (thanks to Alex Schworer `@schworer <https://github.com/schworer>`_). |
| 248 | + |
| 249 | +v3.0.3 (2010 Nov 12) |
| 250 | +==================== |
| 251 | + |
| 252 | +- add support for local files. Injects convenience info into returned hash for local file links. |
| 253 | +- add support for authentication through http proxy server. |
| 254 | + |
| 255 | +v3.0.2 (2010 Aug 27) |
| 256 | +==================== |
| 257 | + |
| 258 | +- add :meth:`revive` method to revive deleted entities. |
| 259 | + |
| 260 | +v3.0.1 (2010 May 10) |
| 261 | +==================== |
| 262 | + |
| 263 | +- :meth:`find`: default sorting to ascending, if not set (instead of requiring |
| 264 | + ascending/descending). |
| 265 | +- :meth:`upload` and :meth:`upload_thumbnail`: pass auth info through. |
| 266 | + |
| 267 | +v3.0 (2010 May 5) |
| 268 | +================= |
| 269 | + |
| 270 | +- non-beta! |
| 271 | +- add :meth:`batch` method to do multiple :meth:`create`, :meth:`update`, and :meth:`delete` |
| 272 | + operations in one request to the server (requires Shotgun server to be v1.13.0 or higher). |
| 273 | + |
| 274 | +v3.0b8 (2010 Feb 19) |
| 275 | +==================== |
| 276 | + |
| 277 | +- fix python gotcha about using lists / dictionaries as defaults (`see this page for more info <http://www.ferg.org/projects/python_gotchas.html#contents_item_6>`_). |
| 278 | +- add :meth:`schema_read` method. |
| 279 | + |
| 280 | +v3.0b7 (2009 Nov 30) |
| 281 | +==================== |
| 282 | + |
| 283 | +- add additional retries for connection errors and a catch for broken pipe exceptions. |
| 284 | + |
| 285 | +v3.0b6 (2009 Oct 20) |
| 286 | +==================== |
| 287 | + |
| 288 | +- add support for ``HTTP/1.1 keepalive``, which greatly improves performance for multiple |
| 289 | + requests. |
| 290 | +- add more helpful error if server entered is not ``http`` or ``https`` |
| 291 | +- add support assigning tags to file uploads (for Shotgun version >= 1.10.6). |
| 292 | + |
| 293 | +v3.0b5 (2009 Sept 29) |
| 294 | +===================== |
| 295 | + |
| 296 | +- fixed deprecation warnings to raise ``Exception`` class for python 2.5. |
| 297 | + |
| 298 | +v3.0b4 (2009 July 3) |
| 299 | +==================== |
| 300 | + |
| 301 | +- made :meth:`upload` and :meth:`upload_thumbnail` methods more backwards compatible. |
| 302 | +- changes to :meth:`find_one`: now defaults to no ``filter_operator``. |
| 303 | + |
| 304 | +v3.0b3 (2009 June 24) |
| 305 | +===================== |
| 306 | + |
| 307 | +- fixed :meth:`upload` and :meth:`upload_thumbnail` methods. |
| 308 | +- added :meth:`download_attachment` method. |
| 309 | +- added ``schema_*`` methods for accessing entities and fields. |
| 310 | +- added support for http proxy servers. |
| 311 | +- added ``__version__`` string. |
| 312 | +- removed ``RECORDS_PER_PAGE`` global (can just set ``records_per_page`` on the Shotgun object |
| 313 | + after initializing it). |
| 314 | +- removed ``api_ver`` from the constructor, as this class is only designed to work with API v3. |
0 commit comments