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.

777 lines
12 KiB

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