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.

783 lines
12 KiB

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