You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

759 lines
11 KiB

  1. ## v5.1.0 (2024-12-14)
  2. ### Feat
  3. - get_client_all_sessions now supports pagination
  4. - uma extra payload
  5. - user profile metadata parameter for get_user method
  6. - uma extra payload
  7. ### Fix
  8. - check uma permissions with resource ID as well
  9. - get group by path should not raise on 404
  10. ## v5.0.0 (2024-12-10)
  11. ## v4.7.3 (2024-11-29)
  12. ### Fix
  13. - change to mounts (#622)
  14. ## v4.7.2 (2024-11-17)
  15. ### Fix
  16. - Feature parity for `a_decode_token` and `decode_token` (#616)
  17. ## v4.7.1 (2024-11-13)
  18. ### Fix
  19. - make sure to not call sync IO functions inside async functions (#615)
  20. ## v4.7.0 (2024-11-03)
  21. ### Feat
  22. - add client scope client-specific role mappings (#605)
  23. ## v4.6.3 (2024-10-26)
  24. ### Fix
  25. - Add optional Nonce parameter to the authorization URL requests (#606)
  26. ## v4.6.2 (2024-10-05)
  27. ### Fix
  28. - add scopes to device auth (#599)
  29. ## v4.6.1 (2024-10-05)
  30. ### Fix
  31. - changed sync get user id to async get user in create user async function (#600)
  32. ## v4.6.0 (2024-10-04)
  33. ### Feat
  34. - Add the max_retries parameter (#598)
  35. ## v4.5.1 (2024-10-02)
  36. ### Fix
  37. - Set client_credentials as grant_type also when x509 certificate is given (#597)
  38. ## v4.5.0 (2024-09-28)
  39. ### Feat
  40. - add ability to remove composite client roles (#596)
  41. ## v4.4.0 (2024-09-14)
  42. ### Feat
  43. - add matchingUri support for listing resources with wildcards (#592)
  44. ## v4.3.0 (2024-08-01)
  45. ### Feat
  46. - allow the use of client certificates in all requests (#584)
  47. ## v4.2.3 (2024-07-24)
  48. ### Fix
  49. - use a_public_key() in a_decode_token() instead of public_key() (#582)
  50. ## v4.2.2 (2024-07-16)
  51. ### Fix
  52. - correctly pass query params in a_send_update_account and a_send_verify_email (#581)
  53. ## v4.2.1 (2024-07-11)
  54. ### Fix
  55. - passing timeout values to ConnectionManager (#578)
  56. ## v4.2.0 (2024-06-22)
  57. ### Feat
  58. - functions for updating resource permissions and getting associated policies for a permission (#574)
  59. ## v4.1.0 (2024-06-06)
  60. ### Feat
  61. - Async feature (#566)
  62. ## v4.0.1 (2024-06-04)
  63. ### Fix
  64. - Leeway config (#568)
  65. ## v4.0.0 (2024-04-27)
  66. ### BREAKING CHANGE
  67. - changes signatures significantly
  68. - Many attributes removed from the admin class
  69. ### Feat
  70. - Merge pull request #556 from marcospereirampj/release/4.0.0
  71. - re-enable full group hierarchy fetching
  72. ### Fix
  73. - removed dead code, stabilized tests
  74. - removed deprecated functionality
  75. ### Refactor
  76. - refactored decode_token
  77. ## v3.12.0 (2024-04-10)
  78. ### Feat
  79. - allows retrieval of realm and client level roles for a user (#512)
  80. ## v3.11.1 (2024-04-08)
  81. ### Fix
  82. - lowercase default role name (#547)
  83. ## v3.11.0 (2024-04-08)
  84. ### Feat
  85. - add admin group count (#540)
  86. ## v3.10.2 (2024-04-08)
  87. ### Fix
  88. - fix keycloak_admin.create_user documentation/ typehint (#545)
  89. ## v3.10.1 (2024-04-07)
  90. ### Fix
  91. - improve KeycloakAdmin.get_client_id() performances (#511)
  92. ## v3.10.0 (2024-04-07)
  93. ### Feat
  94. - Allow query parameters for group children (#534)
  95. ## v3.9.3 (2024-04-07)
  96. ### Fix
  97. - incorporate custom headers into default header setup (#533)
  98. ## v3.9.2 (2024-04-07)
  99. ### Fix
  100. - get_groups pagination call was not used #537 (#541)
  101. ## v3.9.1 (2024-02-26)
  102. ### Fix
  103. - use jwcrypto and remove python-jose
  104. - replace python-jose with jwcrypto
  105. ## v3.9.0 (2024-02-16)
  106. ### Feat
  107. - new docs.
  108. - new docs.
  109. - new docs.
  110. - new docs.
  111. - new docs.
  112. - new docs.
  113. - new docs.
  114. ### Fix
  115. - updated readme.
  116. ## v3.8.4 (2024-02-15)
  117. ### Fix
  118. - use grant type password with client secret
  119. ## v3.8.3 (2024-02-14)
  120. ### Fix
  121. - name of client_id parameter
  122. ## v3.8.2 (2024-02-14)
  123. ### Fix
  124. - update readme.
  125. ## v3.8.1 (2024-02-13)
  126. ### Fix
  127. - linter check
  128. - updated dependencies
  129. ## v3.8.0 (2024-02-13)
  130. ### Feat
  131. - Adding additional methods to support roles-by-id api calls Most of the methods rely on the role name within python keycloak, which for the vast majority is fine, however there are some role names which cannot be used by the API endpoint as they contain characters that cannot be encoded properly. Therefore this change is to allow the use of the role's id to get, update and delete roles by their id instead.'
  132. ### Fix
  133. - Removing the admin realm variable which I created and is no longer needed
  134. ## v3.7.1 (2024-02-13)
  135. ### Fix
  136. - action bump
  137. - linter check.
  138. - depracated endpoint and fix groups services.
  139. - deprecate entitlement
  140. ## v3.7.0 (2023-11-13)
  141. ### Feat
  142. - realm changing helpers
  143. ### Fix
  144. - no prints
  145. ## v3.6.1 (2023-11-13)
  146. ### Fix
  147. - Ci/fix tests (#506)
  148. ## v3.6.0 (2023-11-13)
  149. ### Feat
  150. - add KeycloakAdmin.get_idp() (#478)
  151. ## v3.5.0 (2023-11-13)
  152. ### Feat
  153. - Update dynamic client using registration access token (#491)
  154. ## v3.4.0 (2023-11-13)
  155. ### Feat
  156. - add an optional search criteria to the get_realm_roles function (#504)
  157. ## v3.3.0 (2023-06-27)
  158. ### Feat
  159. - added KeycloakAdmin.update_client_authz_resource() (#462)
  160. ## v3.2.0 (2023-06-23)
  161. ### Feat
  162. - Implement missing admin method create_client_authz_scope_based_permission() and create_client_authz_policy() (#460)
  163. ## v3.1.1 (2023-06-23)
  164. ### Fix
  165. - remove duplicate slash in URL_ADMIN_IDP (#459)
  166. ## v3.1.0 (2023-06-23)
  167. ### Feat
  168. - Add query to get users group method and permit pagination (#444)
  169. ## v3.0.0 (2023-05-28)
  170. ### BREAKING CHANGE
  171. - Changes the exchange token API
  172. ### Refactor
  173. - Exchange token method
  174. ## v2.16.6 (2023-05-28)
  175. ### Fix
  176. - relax the version constraints
  177. ## v2.16.5 (2023-05-28)
  178. ### Fix
  179. - do not swap realm for user_realm when logging in with a client service account (#447)
  180. ## v2.16.4 (2023-05-28)
  181. ### Perf
  182. - improve performance of get_user_id (#449)
  183. ## v2.16.3 (2023-05-15)
  184. ### Fix
  185. - Fixes `Authorization.load_config` breaking if a scope based permission is linked with anything other than a role based policy. Fixes #445 (#446)
  186. ## v2.16.2 (2023-05-09)
  187. ### Fix
  188. - issue with app engine reported in #440 (#442)
  189. ## v2.16.1 (2023-05-01)
  190. ### Fix
  191. - Initializing KeycloakAdmin without server_url (#439)
  192. ## v2.16.0 (2023-04-28)
  193. ### Feat
  194. - Add get and delete methods for client authz resources (#435)
  195. ## v2.15.4 (2023-04-28)
  196. ### Fix
  197. - **pyproject.toml**: loose requests pgk and remove urllib3 as dependency (#434)
  198. ## v2.15.3 (2023-04-06)
  199. ### Fix
  200. - Check if _s exists in ConnectionManager before deleting it (#429)
  201. ## v2.15.2 (2023-04-05)
  202. ### Fix
  203. - deprecation warnings in keycloak_admin.py (#425)
  204. ## v2.15.1 (2023-04-05)
  205. ### Fix
  206. - improved type-hints (#427)
  207. ## v2.15.0 (2023-04-05)
  208. ### Feat
  209. - Add UMA policy management and permission tickets (#426)
  210. ## v2.14.0 (2023-03-17)
  211. ### Feat
  212. - add initial access token support and policy delete method
  213. ## v2.13.2 (2023-03-06)
  214. ### Fix
  215. - Refactor auto refresh (#415)
  216. ## v2.13.1 (2023-03-05)
  217. ### Fix
  218. - Check if applyPolicies exists in the config (#367)
  219. ## v2.13.0 (2023-03-05)
  220. ### Feat
  221. - implement cache clearing API (#414)
  222. ## v2.12.2 (2023-03-05)
  223. ### Fix
  224. - get_group_by_path uses Keycloak API to load (#417)
  225. ## v2.12.1 (2023-03-05)
  226. ### Fix
  227. - tests and upgraded deps (#419)
  228. ## v2.12.0 (2023-02-10)
  229. ### Feat
  230. - add Keycloak UMA client (#403)
  231. ## v2.11.1 (2023-02-08)
  232. ### Fix
  233. - do not include CODEOWNERS (#407)
  234. ## v2.11.0 (2023-02-08)
  235. ### Feat
  236. - Add Client Scopes of Client
  237. ## v2.10.0 (2023-02-08)
  238. ### Feat
  239. - update header if token is given
  240. - init KeycloakAdmin with token
  241. ## v2.9.0 (2023-01-11)
  242. ### Feat
  243. - added default realm roles handlers
  244. ## v2.8.0 (2022-12-29)
  245. ### Feat
  246. - **api**: add tests for create_authz_scopes
  247. ### Fix
  248. - fix testing create_client_authz_scopes parameters
  249. - fix linting
  250. - add testcase for invalid client id
  251. - create authz clients test case
  252. - create authz clients test case
  253. ## v2.7.0 (2022-12-24)
  254. ### Refactor
  255. - code formatting after tox checks
  256. - remove print statements
  257. ## v2.6.1 (2022-12-13)
  258. ### Feat
  259. - option for enabling users
  260. - helping functions for disabling users
  261. ### Fix
  262. - use version from the package
  263. - default scope to openid
  264. ## v2.6.0 (2022-10-03)
  265. ### Feat
  266. - attack detection API implementation
  267. ## v2.5.0 (2022-08-19)
  268. ### Feat
  269. - added missing functionality to include attributes when returning realm roles according to specifications
  270. ## v2.4.0 (2022-08-19)
  271. ### Feat
  272. - add client scope-mappings client roles operations
  273. ## v2.3.0 (2022-08-13)
  274. ### Feat
  275. - Add token_type/scope to token exchange api
  276. ## v2.2.0 (2022-08-12)
  277. ### Feat
  278. - add client scope-mappings realm roles operations
  279. ## v2.1.1 (2022-07-19)
  280. ### Fix
  281. - removed whitespace from urls
  282. ### Refactor
  283. - applied linting
  284. ## v2.1.0 (2022-07-18)
  285. ### Feat
  286. - add unit tests
  287. - add docstrings
  288. - add functions covering some missing REST API calls
  289. ### Fix
  290. - linting
  291. - now get_required_action_by_alias now returns None if action does not exist
  292. - moved imports at the top of the file
  293. - remove duplicate function
  294. - applied tox -e docs
  295. - applied flake linting checks
  296. - applied tox linting check
  297. ## v2.0.0 (2022-07-17)
  298. ### BREAKING CHANGE
  299. - Renamed parameter client_name to client_id in get_client_id method
  300. ### Fix
  301. - check client existence based on clientId
  302. ## v1.9.1 (2022-07-13)
  303. ### Fix
  304. - turn get_name into a method, use setters in connection manager
  305. ### Refactor
  306. - no need to try if the type check is performed
  307. ## v1.9.0 (2022-07-13)
  308. ### Refactor
  309. - merge master branch into local
  310. ## v1.8.1 (2022-07-13)
  311. ### Feat
  312. - added flake8-docstrings and upgraded dependencies
  313. ### Fix
  314. - Support the auth_url method called with scope & state params now
  315. - raise correct exceptions
  316. ### Refactor
  317. - slight restructure of the base fixtures
  318. ## v1.8.0 (2022-06-22)
  319. ### Feat
  320. - Ability to set custom timeout for KCOpenId and KCAdmin
  321. ## v1.7.0 (2022-06-16)
  322. ### Feat
  323. - Allow fetching existing policies before calling create_client_authz_client_policy()
  324. ## v1.6.0 (2022-06-13)
  325. ### Feat
  326. - support token exchange config via admin API
  327. ## v1.5.0 (2022-06-03)
  328. ### Feat
  329. - Add update_idp
  330. ## v1.4.0 (2022-06-02)
  331. ### Feat
  332. - Add update_mapper_in_idp
  333. ## v1.3.0 (2022-05-31)
  334. ## v1.2.0 (2022-05-31)
  335. ### Feat
  336. - Support Token Exchange. Fixes #305
  337. - Add get_idp_mappers, fix #329
  338. ## v1.1.1 (2022-05-27)
  339. ### Fix
  340. - fixed bugs in events methods
  341. - fixed components bugs
  342. - use param for update client mapper
  343. ## v1.1.0 (2022-05-26)
  344. ### Feat
  345. - added new methods for client scopes
  346. ## v1.0.1 (2022-05-25)
  347. ### Fix
  348. - allow query parameters for users count
  349. ## v1.0.0 (2022-05-25)
  350. ### BREAKING CHANGE
  351. - Renames `KeycloakOpenID.well_know` to `KeycloakOpenID.well_known`
  352. ### Fix
  353. - correct spelling of public API method
  354. ## v0.29.1 (2022-05-24)
  355. ### Fix
  356. - allow client_credentials token if username and password not specified
  357. ## v0.29.0 (2022-05-23)
  358. ### Feat
  359. - added UMA-permission request functionality
  360. ### Fix
  361. - added fixes based on feedback
  362. ## v0.28.3 (2022-05-23)
  363. ### Fix
  364. - import classes in the base module
  365. ## v0.28.2 (2022-05-19)
  366. ### Fix
  367. - escape when get role fails
  368. ## v0.28.1 (2022-05-19)
  369. ### Fix
  370. - Add missing keycloak.authorization package
  371. ## v0.28.0 (2022-05-19)
  372. ### Feat
  373. - added authenticator providers getters
  374. - fixed admin client to pass the tests
  375. - initial setup of CICD and linting
  376. ### Fix
  377. - full tox fix ready
  378. - raise correct errors
  379. ### Refactor
  380. - isort conf.py
  381. - Merge branch 'master' into feature/cicd
  382. ## v0.27.1 (2022-05-18)
  383. ### Fix
  384. - **release**: version bumps for hotfix release
  385. ## v0.27.0 (2022-02-16)
  386. ### Fix
  387. - handle refresh_token error "Session not active"
  388. ## v0.26.1 (2021-08-30)
  389. ### Feat
  390. - add KeycloakAdmin.set_events
  391. ## v0.25.0 (2021-05-05)
  392. ## v0.24.0 (2020-12-18)
  393. ## 0.23.0 (2020-11-19)
  394. ## v0.22.0 (2020-08-16)
  395. ## v0.21.0 (2020-06-30)
  396. ### Feat
  397. - add components
  398. ## v0.20.0 (2020-04-11)
  399. ## v0.19.0 (2020-02-18)
  400. ## v0.18.0 (2019-12-10)
  401. ## v0.17.6 (2019-10-10)