CHANGES 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. Changes
  2. =======
  3. 0.16.11 (2017-12-25)
  4. ----------
  5. - Dropped compatibility for Python < 2.7 and Django < 1.8.
  6. - Added a clean_attributes hook allowing backends to restructure attributes extracted from SAML response.
  7. - Log when fields are missing in a SAML response.
  8. - Log when attribute_mapping maps to nonexistent User fields.
  9. - Multiple compatibility fixes and other minor improvements and code cleanups
  10. Thanks to francoisfreitag, mhindery, charn, jdufresne
  11. 0.16.10 (2017-10-02)
  12. -------------------
  13. - Bugfixes and internal refactorings.
  14. - Added support for custom USERNAME_FIELD on custom User models. Many thanks to francoisfreitag.
  15. 0.16.9 (2017-09-19)
  16. -------------------
  17. - Bugfixes and minor improvements. Thanks to goetzk and AmbientLighter.
  18. - Added option SAML_LOGOUT_REQUEST_PREFERRED_BINDING
  19. - Added Django 1.11 to tox.
  20. 0.16.4 (2017-09-11)
  21. -------------------
  22. - Added support for SHA-256 signing. Thanks to WebSpider.
  23. - Bugfixes. Thanks to justinsg and charn.
  24. - Error handling made more extensible. This will be further improved in next versions.
  25. 0.16.1 (2017-07-15)
  26. -------------------
  27. - Bugfixes. Thanks to canni, AmbientLighter, cranti and logston.
  28. - request is now passed to authentication backend (introduced in Django 1.11). Thanks to terite.
  29. 0.16.0 (2017-04-14)
  30. -------------------
  31. - Upgrade pysaml2 dependency to version 4.4.0 which fixes some serialization issues. Thanks to nakato for the report.
  32. - Added support for HTTP Redirect binding with signed authentication requests. Many thanks to liquidpele for this feature and other related refactorings.
  33. - The custom permission_denied.html template was removed in favor of standard PermissionDenied exception. Thanks to mhindery.
  34. 0.15.0 (2016-12-18)
  35. -------------------
  36. - Python 3.5 support. Thanks to timheap.
  37. - Added support for callable user attributes. Thanks to andy-miracl and joetsoi.
  38. - Security improvement: "next" URL is now checked. thanks to flupzor.
  39. - Improved testability. Thanks to flupzor.
  40. - Other bugfixes and minor improvements. Thanks to jamaalscarlett, ws0w, jaywink and liquidpele.
  41. 0.14.5 (2016-09-19)
  42. -------------------
  43. - Django 1.10 support. Thanks to inducer.
  44. - Various fixes and minor improvements. Thanks to ajsmilutin, ganiserb, inducer, grunichev, liquidpele and darbula
  45. 0.14.4 (2016-03-29)
  46. -------------------
  47. - Fix compatibility issue with pysaml2-4.0.3+. Thanks to jimr and astoltz.
  48. - Fix Django 1.9 compatibility issue in templates. Thanks to nikoskal.
  49. 0.14.3 (2016-03-18)
  50. -------------------
  51. - Upgraded to pysaml2-4.0.5.
  52. - Added 'ACS_DEFAULT_REDIRECT_URL' setting for default redirection after successful authentication. Thanks to ganiserb.
  53. 0.14.2 (2016-03-11)
  54. -------------------
  55. - Released under the original 'djangosaml2' package name; abandoning the djangosaml2-knaperek fork.
  56. 0.14.1 (2016-03-09)
  57. -------------------
  58. - Upgraded to pysaml2-4.0.4.
  59. 0.14.0 (2016-01-28)
  60. -------------------
  61. - Upgrade to pysaml2-4.0.2. Thanks to kviktor
  62. - Django 1.9 support. Thanks to Jordi Gutiérrez Hermoso
  63. 0.13.2 (2015-06-24)
  64. -------------------
  65. - Improved usage of standard Python logging.
  66. 0.13.1 (2015-06-05)
  67. -------------------
  68. - Added support for djangosaml2 specific user model defined by SAML_USER_MODEL setting
  69. 0.13.0 (2015-02-12)
  70. -------------------
  71. - Django 1.7 support. Thanks to Kamei Toshimitsu
  72. 0.12.0 (2014-11-18)
  73. -------------------
  74. - Pysaml2 2.2.0 support. Thanks to Erick Tryzelaar
  75. 0.11.0 (2014-06-15)
  76. -------------------
  77. - Django 1.5 custom user model support. Thanks to Jos van Velzen
  78. - Django 1.5 compatibility url template tag. Thanks to bula
  79. - Support Django 1.5 and 1.6. Thanks to David Evans and Justin Quick
  80. 0.10.0 (2013-05-05)
  81. -------------------
  82. - Check that RelayState is not empty before redirecting into a loop. Thanks
  83. to Sam Bull for reporting this issue.
  84. - In the global logout process, when the session is lost, report an error
  85. message to the user and perform a local logout.
  86. 0.9.2 (2013-04-19)
  87. ------------------
  88. - Upgrade to pysaml2-0.4.3.
  89. 0.9.1 (2013-01-29)
  90. ------------------
  91. - Add a method to the authentication backend so it is possible
  92. to customize the authorization based on SAML attributes.
  93. 0.9.0 (2012-10-30)
  94. ------------------
  95. - Add a signal for modifying the user just before saving it on
  96. the update_user method of the authentication backend.
  97. 0.8.1 (2012-10-29)
  98. ------------------
  99. - Trim the SAML attributes before setting them to the Django objects
  100. if they are too long. This fixes a crash with MySQL.
  101. 0.8.0 (2012-10-25)
  102. ------------------
  103. - Allow to use different attributes besides 'username' to look for
  104. existing users.
  105. 0.7.0 (2012-10-19)
  106. ------------------
  107. - Add a setting to decide if the user should be redirected to the
  108. next view or shown an authorization error when the user tries to
  109. login twice.
  110. 0.6.1 (2012-09-03)
  111. ------------------
  112. - Remove Django from our dependencies
  113. - Restore support for Django 1.3
  114. 0.6.0 (2012-08-29)
  115. ------------------
  116. - Add tox support configured to run the tests with Python 2.6 and 2.7
  117. - Fix some dependencies and sdist generation. Lorenzo Gil
  118. - Allow defining a logout redirect url in the settings. Lorenzo Gil
  119. - Add some logging calls to improve debugging. Lorenzo Gil
  120. - Add support for custom conf loading function. Sam Bull.
  121. - Make the tests more robust and easier to run when djangosaml2 is
  122. included in a Django project. Sam Bull.
  123. - Make sure the profile is not None before saving it. Bug reported by
  124. Leif Johansson
  125. 0.5.0 (2012-05-22)
  126. ------------------
  127. - Allow defining custom config loaders. They can be dynamic depending on
  128. the request.
  129. - Do not automatically add the authentication backend. This way
  130. we allow other people to add their own backends.
  131. - Support for additional attributes other than the ones that get mapped
  132. into the User model. Those attributes get stored in the UserProfile model.
  133. 0.4.2 (2012-03-23)
  134. ------------------
  135. - Fix a crash in the idplist templatetag about using an old pysaml2 function
  136. - Added a test for the previous crash
  137. 0.4.1 (2012-03-19)
  138. ------------------
  139. - Upgrade pysaml2 dependency to version 0.4.1
  140. 0.4.0 (2012-03-18)
  141. ------------------
  142. - Upgrade pysaml2 dependency to version 0.4.0 (update our tests as a result
  143. of this)
  144. - Add logging calls to make debugging easier
  145. - Use the Django configured logger in pysaml2
  146. 0.3.3 (2012-02-14)
  147. ------------------
  148. - Freeze the version of pysaml2 since we are not (yet!) compatible with
  149. version 0.4.0
  150. 0.3.2 (2011-12-13)
  151. ------------------
  152. - Avoid a crash when reading the SAML attribute that maps to the Django
  153. username
  154. 0.3.1 (2011-12-01)
  155. ------------------
  156. - Load the config in the render method of the idplist templatetag to
  157. make it more flexible and reentrant.
  158. 0.3.0 (2011-11-30)
  159. ------------------
  160. - Templatetag to get the list of available idps.
  161. - Allow to map the same SAML attribute into several Django field.
  162. 0.2.4 (2011-11-29)
  163. ------------------
  164. - Fix restructured text bugs that made pypi page looks bad.
  165. 0.2.3 (2011-06-14)
  166. ------------------
  167. - Set a unusable password when the user is created for the first time
  168. 0.2.2 (2011-06-07)
  169. ------------------
  170. - Prevent infinite loop when going to the /saml2/login/ endpoint and the user
  171. is already logged in and the settings.LOGIN_REDIRECT_URL is (badly) pointing
  172. to /saml2/login.
  173. 0.2.1 (2011-05-09)
  174. ------------------
  175. - If no next parameter is supplied to the login view, use the
  176. settings.LOGIN_REDIRECT_URL as default
  177. 0.2.0 (2011-04-26)
  178. ------------------
  179. - Python 2.4 compatible if the elementtree library is installed
  180. - Allow post processing after the authentication phase by using
  181. Django signals.
  182. 0.1.1 (2011-04-18)
  183. ------------------
  184. - Simple view to echo SAML attributes
  185. - Improve documentation
  186. - Change default behaviour when a new user is created. Now their attributes
  187. are filled this first time
  188. - Allow to set a next page after the logout
  189. 0.1.0 (2011-03-16)
  190. ------------------
  191. - Emancipation from the pysaml package