dynaconf/dynaconf (dynaconf)
### [`v3.2.6`](https://togithub.com/dynaconf/dynaconf/releases/tag/3.2.6)
[Compare Source](https://togithub.com/dynaconf/dynaconf/compare/3.2.5...3.2.6)
#### [3.2.6](https://togithub.com/dynaconf/dynaconf/releases/tag/3.2.5) - 2024-07-19
##### Bug Fixes
- Don't instantiate a Settings object for every hook call.
##### Details
SCENARIO:
With a `function` as `_registered_hooks` every time a key is accessed on `settings`
the `function` is invoked passing a `settings` object as first argument.
BEFORE:
The `settings` passed to the hook was instantiated for every call.
AFTER:
The `settings` is now a `TempSettingsHolder` that has no effect on passing
and is instantiated only if accessed.
Saved execution time from 0m49 to 0m3 on a Django openapi spec view.
**Full Changelog**: https://github.com/dynaconf/dynaconf/compare/3.2.5...3.2.6
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.2.5
->3.2.6
Release Notes
dynaconf/dynaconf (dynaconf)
### [`v3.2.6`](https://togithub.com/dynaconf/dynaconf/releases/tag/3.2.6) [Compare Source](https://togithub.com/dynaconf/dynaconf/compare/3.2.5...3.2.6) #### [3.2.6](https://togithub.com/dynaconf/dynaconf/releases/tag/3.2.5) - 2024-07-19 ##### Bug Fixes - Don't instantiate a Settings object for every hook call. ##### Details SCENARIO: With a `function` as `_registered_hooks` every time a key is accessed on `settings` the `function` is invoked passing a `settings` object as first argument. BEFORE: The `settings` passed to the hook was instantiated for every call. AFTER: The `settings` is now a `TempSettingsHolder` that has no effect on passing and is instantiated only if accessed. Saved execution time from 0m49 to 0m3 on a Django openapi spec view. **Full Changelog**: https://github.com/dynaconf/dynaconf/compare/3.2.5...3.2.6Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.