Dynaconf

Latest version: v3.2.6

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 11

3.2.3

- Release version 3.2.3. [Bruno Rocha]

Shortlog of commits since last release:

Anderson Sousa (1):
chore(lint): pep8 errors (995)

Bruno Rocha (7):

3.2.2

- Fix(django): fix 1000 AttributeError on admin (1002) [Bruno Rocha]

fix 1000
- Chore(lint): pep8 errors (995) [Anderson Sousa]
- Release version 3.2.2. [pedro-psb]

Shortlog of commits since last release:

Bruno Rocha (6):

3.2.1

------------------

Fix
~~~
- Unexpected _bypass_evaluation in BoxList (966) [Pedro Pessoa]

* fix _bypass_evaluation showing in BoxList

Other
~~~~~
- Release version 3.2.1. [Bruno Rocha]

Shortlog of commits since last release:

Bruno Rocha (5):
Ignore docs build without a tag
Cancel any running CI job when a Push is made to an existing PR or branch (952)
Fix 959 cli get will exit code 1 in case of KeyError. (960)
add tech preview note to inspect docs (961)
Build docs

Hugo Prudente (1):
Doc advanced usage for cli overrides dynaconf settings fix 967 (970)

Marian Ganisin (1):
Feat: Support for multidoc yaml files (825)

Pedro Pessoa (11):
Docs - Update envvar.md custom token e.g. to use add_converter (941)
Feature - Inspect and CLI (939)
Fix - Template substitution with variable update (944)
Assert 658 works (945)
fix infinite recursions in special case of django app 867 (947)
Fix - Django functions with `add_converter` (951)
Fix hooks not re-running on reload 850 (953)
update vault and redis warning recommendations. fix 950 (954)
Fix - Enable merge equal False (957)
CI - Test docker-compose pyyaml issue (964)
Fix: unexpected _bypass_evaluation in BoxList (966)

pedro-psb (1):

3.2.0

- Doc advanced usage for cli overrides dynaconf settings fix 967 (970)
[Hugo Prudente]
- Feat: Support for multidoc yaml files (825) [Bruno Rocha, Marian
Ganisin, Pedro Pessoa]

This adds `safe_load_all` to possible yaml loaders and enables
processing multidoc yaml files.

This can be handy in case more configs are need but it's difficult or
impossible to pass multiple files.

fixes 824

---------
- CI - Test docker-compose pyyaml issue (964) [Pedro Pessoa]

* test ciinstall

* try bumping pyyaml before docker-compose

* try using latest docker-compose binary

* add note about docker-compose on contributing.md
- Build docs. [Bruno Rocha]
- Release version 3.2.0. [pedro-psb]

Shortlog of commits since last release:

Bruno Rocha (4):
Ignore docs build without a tag
Cancel any running CI job when a Push is made to an existing PR or branch (952)
Fix 959 cli get will exit code 1 in case of KeyError. (960)
add tech preview note to inspect docs (961)

Pedro Pessoa (9):
Docs - Update envvar.md custom token e.g. to use add_converter (941)
Feature - Inspect and CLI (939)
Fix - Template substitution with variable update (944)
Assert 658 works (945)
fix infinite recursions in special case of django app 867 (947)
Fix - Django functions with `add_converter` (951)
Fix hooks not re-running on reload 850 (953)
update vault and redis warning recommendations. fix 950 (954)
Fix - Enable merge equal False (957)
- Add tech preview note to inspect docs (961) [Bruno Rocha]
- Fix 959 cli get will exit code 1 in case of KeyError. (960) [Bruno
Rocha]
- Fix - Enable merge equal False (957) [Pedro Pessoa]
- Update vault and redis warning recommendations. fix 950 (954) [Pedro
Pessoa]
- Fix hooks not re-running on reload 850 (953) [Pedro Pessoa]

* fix hooks not re-running on reload 850 by clearing `settings._loaded_hooks`
- Cancel any running CI job when a Push is made to an existing PR or
branch (952) [Bruno Rocha]
- Fix - Django functions with `add_converter` (951) [Pedro Pessoa]
- Ignore docs build without a tag. [Bruno Rocha]
- Fix infinite recursions in special case of django app 867 (947)
[Pedro Pessoa]
- Assert 658 works (945) [Pedro Pessoa]

* assert 658 works

* fix linting
- Fix - Template substitution with variable update (944) [Pedro Pessoa]

* fix tmpl substitution when var is updated 575 603 660 690

- add '_safe_get' and '_safe_items' to DynaBox
- small indirect refactors

* fix inspect exception names (flake8)

* remove accidental file

* update to the new official publisher of the vault image (hashicorp)

- see deprecation notice in: https://hub.docker.com/_/vault/

* fix test_vault.sh image name (update to hashicorp/vault)

* fix main workflow and test_vault_userpass.sh references to vault image

- can't trust telescope live_grep
- Feature - Inspect and CLI (939) [Pedro Pessoa]

* implement get_history and inspect_settings utilities
* implement CLI inspect command
- Docs - Update envvar.md custom token e.g. to use add_converter (941)
[Pedro Pessoa]

* update envvar.md custom token e.g. to use add_converter

* fix Windows test compatibility

* fix test on windows (attempt n2)

* fix windows test (last attempt)

* lastly last attempt to fix windows test

* skip windows test on the test sample
- Update validation.md to fix typo (937) [Gwyn Evans]

The doc has ValidationError being in dynaconf.validators not dynaconf.validator
- Fix - Order of variables break parsing (869) (933) [Bruno Rocha,
Pedro Pessoa]

* fix order of variables break parsing (869)

* fix linting

---------
- Docs - Fix error in example about casting (930) (935) [Pedro Pessoa]

* gitignore .tool-versions (asdf)

* fix wrong example in docs
- Replace pkg_resources with importlib.metadata (934) [Pedro Pessoa,
Thijs Miedema]

* fix: remove pkg_resources in favour of importlib.metadata. fixes 851.

* fix formatting

---------
- Add support for Vault username/password access (928) [Hans Harhoff
Andersen, Hans Harhoff Andersen, Pedro Pessoa]

* add userpass test

* handle userpass
handle if user/token does not have list permission

* fix bug in implementation and fix test

* add newlines

* add new integration test for vault

* remove breakpoint

* Pinning ipython version for python 3.8 compatibility.

---------
- Fix AttributeError with integer keys (yaml) 919 (920) [Pedro Pessoa]

* convert int keys to str. fix 919

* remove link pytest-dynaconf (broken)
- Docs - `load_file` relative path resolution and `root_path` fallbacks
909 (921) [Pedro Pessoa]

* doc: add clarification on root_path, load_file and related

* add complementary info at docstrings
- Update FUNDING.yml. [Bruno Rocha]
- Feature - Allow system environment fallback in `get()` 742 (916)
[Pedro Pessoa]

* add sysenv_fallback for settings.get() (global and local options) 742

* add docs entry for `sysenv_fallback` config option

* fix formmating

* remove linux-specific test for sysenv_fallback
- Remove codecov (918) [Bruno Rocha]
- Fix - Add support for lowercase `envvar_prefix` in DynaconfFlask (Fix
848) (915) [Pedro Pessoa]

* add support for lowercase `envvar_prefix` in Flask. fix 848

* add support for lowercase options setting in FlaskDynaconf init
- Docs: add clarification on DEFAULT_ENV_FOR_DYNACONF config (912)
[Pedro Pessoa]
- Fix - Array entries duplicated when using Validator with default for
computed value (910) [Pedro Pessoa]

* add test for 905 (item duplication in list)

- when using validator with the default field, list items would get
duplicated under certain circumstances.

* fix for 905

- this avoids an unwanted merge when setting the default for some value.
- Docs - Add `Extensions` header to index and `pytest-dynaconf`
reference (907) [Bruno Rocha, Pedro Pessoa]

* add "extensions" section to index. 699

* grammarly-assisted typos and style fixes

---------
- Feature - Validate on call to update, set or load_file (900) [Bruno
Rocha <rochacbrunousers.noreply.github.com> --------- Co-
authored-by: Bruno Rocha <rochacbrunousers.noreply.github.com>, Pedro
Pessoa]

* add tests to validate on update/set/load_file

support for:
- global option VALIDATE_ON_UPDATE_FOR_DYANCONF
- Settings.update(... validate=bool)
- Settings.set(... validate=bool)
- Settings.load_file(... validate=bool)

* feature: validate on call to update/set. 712

- option to validate data in methods Settings.[load|set|load_file]
- global option to set default behaviour.

eg:
settings = Dynaconf(validate_on_update=True)
settings.validators.register( add validators )
settings.load(data) will validate
settings.load(data, validate=False) won't validate

* feature: validate on call to load_file (add support)

eg:
settings.load_file(file, validate=True) will validate

* Replace bare tries with suppress and increase codecov (901)

* docs: include validate on update feature

- add section to Configurations
- include inside Validation

* support for validate_all() on validate_on_update feat

- add support for validate_all() as `validate="all"`.
- tests: include all file loaders
(except .env, coz load_file doesnt support it)

* Update dynaconf/default_settings.py

add FOR_DYNACONF suffix for validate_on_update envvar
- Docs - Add faq and fix `includes` info (899) [Bruno Rocha, Pedro
Pessoa]

* fix include/preload docs and allow str|list. fix 898

* add faq about 792 and 712

---------
- Provides new add_converter function for 858 (904) [Will Gordon]

* Add tests for reverse_lazy for 858

* Add converter helper function

* Refactor adding custom converters
- Replace bare tries with suppress and increase codecov (901) [Bruno
Rocha]
- Fix incorrect reverse_lazy workaround in docs to be correct (897)
[Will Gordon]
- Fix anchor link in FAQ doc (895) [Will Gordon]
- Fix / CLI command validate not working properly (892) [Bruno Rocha,
Pedro Pessoa]

* fix 879 with type converter

- add type_map to convert quoted types to proper class types ("int" to int)
- add functional test
- small adjustment on existing tests/test_cli.py:test_validate

* fix mypy complain on truthy callable

This expression is always True (considering that the value of 'self.cast'
is not directly modified by some other module)

- 'cast' param in the constructor can be None, but if so,
- 'self.cast' is initialized as 'lambda value: value', which
- is a truthy value (a function class).

* remove type support and add tomlllib error handling

* add proper type conversion and is_type_of error handling

* adds for pre-commit and coverage

* Update cli.py: remove unnecessary import

* Update Makefile: revert accidental change

---------
- Docs - Add question to faq and clarify settings loading (894) [Pedro
Pessoa]

* add faq about overriding settings. fix 859

* clarify loading settings and preload-includes. fix 812

* grammarly-assisted typos and small corrections
- Docs - Django functions in settings file and misc (891) [Bruno Rocha,
Pedro Pessoa]

* restructure tip/warning boxes and related readability content

- special look at "Reading Settings on Standalone Scripts" (has more changes)

* add 'using django func inside custom settings' to django page and faq

- used the user-tested example: https://github.com/dynaconf/dynaconf/issues/858#issuecomment-1418202630
- faq just mentions the doc section

* add note on envvars uppercase prefix. fix 860

* grammarly-assisted typos on django.md

* add mkdocs plugin to requirements-dev

- it had to be installed manually, because it was just defined in
'requirements.txt' (which is not read by any make command)

---------
- Docs/clarify merging defaults (890) [Pedro Pessoa]

* add better overview of merging. fix 863

* grammarly-assisted type checking
- Add faq questions and small typos (889) [Pedro Pessoa]
- Docs - Change design of Available Options (887) [Bruno Rocha, Pedro
Pessoa]

* configuration-page: rearrange info into headers for all opts. 884

some small modifications are out of scope of this design change and will be
pointed in the PR

* add clarification on preferred way of loading settings

---------
- Update doc-ignore.yml. [Bruno Rocha]
- Update doc-ignore.yml. [Bruno Rocha]

I guess name must be the same as the required on main
- Add workflow to run when only docs change. fix 886 (888) [Pedro
Pessoa]
- CI - Prevent running when just doc changes are made (885) [Pedro
Pessoa]

* add path-filter to main ci. fix rfc 883

* fix indentation (3 to 2 spaces)
- Docs/add faq page (882) [Pedro Pessoa]

* add faq page to docs

* add faq page to docs. fix 880
- Fix 876 - avoid failure on deleted cwd (877) [Bruno Rocha]

* Fix 876 no error if cwd is deleted and file is abs

* Attempt to fix tests on mac and windows

* Fix macos error
- Add merge argumento to `loader.write` to fix 839 (875) [Bruno Rocha,
Bruno Rocha <rochacbrunousers.noreply.github.com> --------- Co-
authored-by: Marcelo Lino <marcelo.dlinoluizalabs.com>, Marcelo Lino]

* Add merge argument to `loaders.write` to reflect the documentation

* Pass merge argument from `loaders.write` to `loader.write` reflect the expected behavior described in the documentation

* Change argument order
- Release version 3.1.12. [Bruno Rocha]

Shortlog of commits since last release:

André "decko" de Brito (2):
Removes Codacy Coverage Reporter (871)
Add a namespace property for VAULT_FOR_DYNACONF dict (870)

Bruno Rocha (8):

3.1.12

-------------------

Fix
~~~
- Envvars.md get `HOME` environment variable (831) [MicLon]

Other
~~~~~
- Release version 3.1.12. [Bruno Rocha]

Shortlog of commits since last release:

André "decko" de Brito (2):
Removes Codacy Coverage Reporter (871)
Add a namespace property for VAULT_FOR_DYNACONF dict (870)

Bruno Rocha (8):

3.1.11

-------------------
- Release version 3.1.11. [Bruno Rocha]

Shortlog of commits since last release:

Bruno Rocha (2):

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.