NEWS.rst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. =====================
  2. NEWS for launchpadlib
  3. =====================
  4. 1.11.0 (2023-01-09)
  5. ===================
  6. - Move the ``keyring`` dependency to a new ``keyring`` extra.
  7. - Support setting fake methods that return None on instances of
  8. ``launchpadlib.testing.launchpad.FakeLaunchpad``.
  9. - Allow setting ``FakeLaunchpad`` sample data with attributes that are links
  10. to other entries or collections.
  11. - Fix handling of methods with no response representation in
  12. ``FakeLaunchpad``.
  13. 1.10.18 (2022-10-28)
  14. ====================
  15. - Declare support for Python 3.11.
  16. 1.10.17 (2022-10-15)
  17. ====================
  18. - Generate coverage report.
  19. - Use ``pytest`` as test runner.
  20. - Fix doctests for Python 3.
  21. 1.10.16 (2022-01-21)
  22. ====================
  23. - Add ``pre-commit`` configuration.
  24. - Remove some obsolete scripts from ``contrib/``.
  25. - Apply ``black`` code formatter.
  26. - Publish documentation on Read the Docs.
  27. - Remove remnants of ``simplejson`` in favour of ``json``.
  28. - Apply inclusive naming via the ``woke`` ``pre-commit`` hook.
  29. - Optionally get credentials file from ``LP_CREDENTIALS_FILE`` environment
  30. variable. [bug=737473]
  31. 1.10.15.1 (2021-10-27)
  32. ======================
  33. - Re-release without stray files in sdist.
  34. 1.10.15 (2021-10-27)
  35. ====================
  36. - Move dependencies of launchpadlib.testing to a new ``testing`` extra.
  37. [bug=1019700]
  38. - Stop excluding MANIFEST.in from the sdist.
  39. - Declare support for Python 3.9 and 3.10.
  40. - Move code hosting to git (https://code.launchpad.net/launchpadlib).
  41. 1.10.14 (2021-09-13)
  42. ====================
  43. - Adjust versioning strategy to avoid importing pkg_resources, which is slow
  44. in large environments.
  45. 1.10.13 (2020-04-19)
  46. ====================
  47. - Fix test runs under sudo.
  48. 1.10.12 (2020-04-17)
  49. ====================
  50. - Postpone keyring.errors import in the same way that we postpone importing
  51. keyring itself.
  52. 1.10.11 (2020-04-14)
  53. ====================
  54. - Don't store credentials or open a browser window when running under sudo.
  55. [bug=1825014,1862948]
  56. - Fall back to in-memory credentials store if no keyring backend is
  57. available. [bug=1864204]
  58. 1.10.10 (2020-02-04)
  59. ====================
  60. - Fix AccessToken.from_string crash on Python 3.8. [bug=1861873]
  61. 1.10.9 (2019-11-28)
  62. ===================
  63. - Explicitly install version.txt; launchpadlib requires it.
  64. 1.10.8 (2019-11-26)
  65. ===================
  66. - Squash a deprecation warning on Python >= 3.7 in
  67. launchpadlib.testing.launchpad.
  68. - Switch from buildout to tox.
  69. - Weaken hosted-files test slightly to avoid problems with zope.publisher >=
  70. 4.2.2.
  71. 1.10.7 (2019-05-22)
  72. ===================
  73. - Change 'dev' URLs from launchpad.dev to launchpad.test.
  74. 1.10.6 (2018-03-08)
  75. ===================
  76. - Fix saving of credentials in python3 with gnome-keyring. [bug=1685962]
  77. 1.10.5 (2017-02-02)
  78. ===================
  79. - Fix AccessToken.from_string crash on Python 3. [bug=1471927]
  80. - Fix fallback if authorizing a token with a browser raises webbrowser.Error.
  81. - Stop introduction.txt doctest from writing to $HOME.
  82. 1.10.4 (2016-07-12)
  83. ===================
  84. - Fix _bad_oauth_token crash on Python 3. [bug=1471894]
  85. - Time out make_end_user_authorize_token after 15 minutes.
  86. - Ignore PendingDeprecationWarning from lazr.restfulclient. [bug=1473577]
  87. - Ask forgiveness rather than permission when creating cache directories.
  88. - Fix browser token authorization on OS X. [bug=1516080]
  89. 1.10.3 (2014-12-05)
  90. ===================
  91. - Port to Python3.
  92. - Detect proxies from the environment by default.
  93. 1.10.2 (2012-07-05)
  94. ===================
  95. - Typo in the doctest fix, discovered when trying to integrate with launchpad
  96. itself. [bug=1020667]
  97. 1.10.1 (2012-07-04)
  98. ===================
  99. - Fix a doctest in introduction.txt so that the test suite runs with
  100. python-2.7 (note the doctests only run when running integrated with
  101. launchpad's test suite itself). [bug=1020667]
  102. 1.10.0 (2012-06-19)
  103. ===================
  104. - Add environment variable, LP_DISABLE_SSL_CERTIFICATE_VALIDATION, to
  105. disable SSL certificate checks. Most useful when testing against
  106. development servers.
  107. 1.9.12 (2011-12-05)
  108. ===================
  109. - Move keyring base64 encoding to KeyringCredential and be more
  110. defensive about decoding. [bug=900307]
  111. 1.9.11 (2011-11-21)
  112. ===================
  113. - 1.9.10 was a bad release due to incomplete NEWS entries.
  114. - Add fake Launchpad web service for unit test.
  115. - Improve HACKING documentation.
  116. - Improve launchpadlib directory discovery on Windows.
  117. - Added script to delete spurious bugtasks or split a bugtask from a bug.
  118. - Properly handle Unicode passwords if returned by the keyring.
  119. - Base 64 encode serialized credentials before putting in keyring/wallet.
  120. 1.9.10 (2011-11-21)
  121. ===================
  122. - Base 64 encode serialized credentials before putting in keyring/wallet.
  123. 1.9.9 (2011-07-27)
  124. ==================
  125. - Fix a failing test for lazr.restfulclient 0.12.0.
  126. 1.9.8 (2011-02-28)
  127. ==================
  128. - Detect the error Launchpad sends when it doesn't recognize an access
  129. token, and get a new token.
  130. 1.9.7 (2011-02-15)
  131. ==================
  132. - Slightly tweaked the behavior of EDGE_SERVICE_ROOT, and improved tests.
  133. 1.9.6 (2011-02-14)
  134. ==================
  135. - Added EDGE_SERVICE_ROOT and the 'edge' alias back, though they both
  136. operate on production behind the scenes. Using the 'edge' alias will
  137. cause a deprecation warning.
  138. 1.9.5 (2011-02-08)
  139. ==================
  140. - Fixed a bug that prevented the deprecated get_token_and_login code
  141. from working, and that required that users of get_token_and_login
  142. get a new token on every usage.
  143. 1.9.4 (2011-01-18)
  144. ==================
  145. - Removed references to the 'edge' service root, which is being phased out.
  146. - Fixed a minor bug in the upload_release_tarball contrib script which
  147. was causing tarballs to be uploaded with the wrong media type.
  148. - The XSLT stylesheet for converting the Launchpad WADL into HTML
  149. documentation has been moved back into Launchpad.
  150. 1.9.3 (2011-01-10)
  151. ==================
  152. - The keyring package import is now delayed until the keyring needs to be
  153. accessed. This reduces launchapdlib users' exposure to unintended side
  154. effects of importing keyring (KWallet authorization dialogs and the
  155. registration of a SIGCHLD handler).
  156. 1.9.2 (2011-01-07)
  157. ==================
  158. - Added a missing import.
  159. 1.9.1 (2011-01-06)
  160. ==================
  161. - Corrected a test failure.
  162. 1.9.0 (2011-01-05)
  163. ==================
  164. - When an authorization token expires or becomes invalid, attempt to
  165. acquire a new one, even in the middle of a session, rather than
  166. crashing.
  167. - The HTML generated by wadl-to-refhtml.xsl now validates.
  168. - Most of the helper login methods have been deprecated. There are now
  169. only two helper methods:
  170. * Launchpad.login_anonymously, for anonymous credential-free access.
  171. * Launchpad.login_with, for programs that need a credential.
  172. 1.8.0 (2010-11-15)
  173. ==================
  174. - Store authorization tokens in the Gnome keyring or KDE wallet, when
  175. available. The credentials_file parameter of Launchpad.login_with() is now
  176. ignored.
  177. - By default, Launchpad.login_with() now asks Launchpad for
  178. desktop-wide integration. This removes the need for each individual
  179. application to get its own OAuth token.
  180. 1.7.0 (2010-09-23)
  181. ==================
  182. - Removed "fake Launchpad browser" code that didn't work and was
  183. misleading developers.
  184. - Added support for http://qastaging.launchpad.net by adding
  185. astaging to the uris.
  186. 1.6.5 (2010-08-23)
  187. ==================
  188. - Make launchpadlib compatible with the latest lazr.restfulclient.
  189. 1.6.4 (2010-08-18)
  190. ==================
  191. - Test fixes.
  192. 1.6.3 (2010-08-12)
  193. ==================
  194. - Instead of making the end-user hit Enter after authorizing an
  195. application to access their Launchpad account, launchpadlib will
  196. automatically poll Launchpad until the user makes a decision.
  197. - launchpadlib now raises a more helpful exception when the end-user
  198. explicitly denies access to a launchpadlib application.
  199. - Improved the XSLT stylesheet to reflect Launchpad's more complex
  200. top-level structure. [bug=286941]
  201. - Test fixes. [bug=488448,616055]
  202. 1.6.2 (2010-06-21)
  203. ==================
  204. - Extended the optimization from version 1.6.1 to apply to Launchpad's
  205. top-level collection of people.
  206. 1.6.1 (2010-06-16)
  207. ==================
  208. - Added an optimization that lets launchpadlib avoid making an HTTP
  209. request in some situations.
  210. 1.6.0 (2010-04-07)
  211. ==================
  212. - Fixed a test to work against the latest version of Launchpad.
  213. 1.5.8 (2010-03-25)
  214. ==================
  215. - Use version 1.0 of the Launchpad web service by default.
  216. 1.5.7 (2010-03-16)
  217. ==================
  218. - Send a Referer header whenever making requests to the Launchpad
  219. website (as opposed to the web service) to avoid falling afoul of
  220. new cross-site-request-forgery countermeasures.
  221. 1.5.6 (2010-03-04)
  222. ==================
  223. - Fixed a minor bug when using login_with() to access a version of the
  224. Launchpad web service other than the default.
  225. - Added a check to catch old client code that would cause newer
  226. versions of launchpadlib to make nonsensical requests to
  227. https://api.launchpad.dev/beta/beta/, and raise a helpful exception
  228. telling the developer how to fix it.
  229. 1.5.5
  230. =====
  231. - Added the ability to access different versions of the Launchpad web
  232. service.
  233. 1.5.4 (2009-12-17)
  234. ==================
  235. - Made it easy to get anonymous access to a Launchpad instance.
  236. - Made it easy to plug in different clients that take the user's
  237. Launchpad login and password for purposes of authorizing a request
  238. token. The most secure technique is still the default: to open the
  239. user's web browser to the appropriate Launchpad page.
  240. - Introduced a command-line script bin/launchpad-credentials-console,
  241. which takes the user's Launchpad login and password, and authorizes
  242. a request token on their behalf.
  243. - Introduced a command-line script bin/launchpad-request-token, which
  244. creates a request token on any Launchpad installation and dumps the
  245. JSON description of that token to standard output.
  246. - Shorthand service names like 'edge' should now be respected
  247. everywhere in launchpadlib.
  248. 1.5.3 (2009-10-22)
  249. ==================
  250. - Moved some more code from launchpadlib into the more generic
  251. lazr.restfulclient.
  252. 1.5.2 (2009-10-01)
  253. ==================
  254. - Added a number of new sample scripts from elsewhere.
  255. - Added a reference to the production Launchpad instance.
  256. - Made it easier to specify a Launchpad instance to run against.
  257. 1.5.1 (2009-07-16)
  258. ==================
  259. - Added a sample script for uploading a release tarball to Launchpad.
  260. 1.5.0 (2009-07-09)
  261. ==================
  262. - Most of launchpadlib's code has been moved to the generic
  263. lazr.restfulclient library. launchpadlib now contains only code
  264. specific to Launchpad. There should be no changes in functionality.
  265. - Moved bootstrap.py into the top-level directory. Having it in a
  266. subdirectory with a top-level symlink was breaking installation on
  267. Windows.
  268. - The notice to the end-user (that we're opening their web
  269. browser) is now better formatted.
  270. 1.0.1 (2009-05-30)
  271. ==================
  272. - Correct tests for new launchpad cache behavior in librarian
  273. - Remove build dependency on setuptools_bzr because it was causing bzr to be
  274. downloaded during installation of the package, which was unnecessary and
  275. annoying.
  276. 1.0 (2009-03-24)
  277. ================
  278. - Initial release on PyPI