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.

789 lines
12 KiB

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