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.

771 lines
11 KiB

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