diff --git a/CHANGELOG.md b/CHANGELOG.md index 80efdfb9e..6ee5fa369 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,196 @@ Changelog ========= +3.1.10 (2022-09-22) +------------------- + +Fix +~~~ +- Typo (#766) [Bruno Rocha, Nicholas Nadeau, Ph.D., P.Eng] + +Other +~~~~~ +- Release version 3.1.10. [Bruno Rocha] + + Shortlog of commits since last release: + + Amadou Crookes (1): + envars.md typo fix (#786) + + Bruno Rocha (19): + Release version 3.1.9 + Bump dev version to 3.1.10 + Update badges + demo repo will be replaced by a video tutorial soon + Fix CI + New data key casing must adapt to existing key casing (#795) + Add test and docs about includes (#796) + Removed vendor_src folder (#798) + Replacing rochacbruno/ with dynaconf/ (#800) + Fix codecov (#801) + Parse negative numbers from envvar Fix #799 and Fix #585 (#802) + Fix get command with Django (#804) + Add a functional test runner (#805) + Test runner docs and styling (#806) + Allow merge_unique on lists when merge_enabled=True (#810) + Rebind current env when forced for Pytest Fix #728 (#809) + AUTO_CAST can be enabled on instance (#811) + Ensure pyminify is on release script + Add missing tomllib to monify script + + Gaurav Talreja (1): + Fix #807 Use client.auth.approle.login instead of client.auth_approle (#808) + + Jitendra Yejare (1): + Fix #768 of kv property depreciation from client object (#769) + + Joren Retel (2): + Feature/detect casting comb token from converters (#784) + Adding documentation and example to makefile. (#791) + + João Gustavo A. Amorim (1): + Add pyupgrade hook (#759) + + Kian-Meng Ang (1): + Fix typos (#788) + + Lucas Limeira (1): + Using filter_strategy in env_loader to fix #760 (#767) + + Nicholas Nadeau, Ph.D., P.Eng (1): + fix: typo (#766) + + Oleksii Baranov (2): + Bump codecov action version (#775) + Fix cli init command for flask (#705) (#774) + + Pedro de Medeiros (1): + documentation fixes (#771) + + The Gitter Badger (1): + Add a Gitter chat badge to README.md (#776) + + Théo Melo (1): + Fixing a typo on the readme file (#763) + + Vicente Marçal (1): + docs(pt-br): Docs Translation to brazilian portugues. (#787) +- Add missing tomllib to monify script. [Bruno Rocha] +- Ensure pyminify is on release script. [Bruno Rocha] +- AUTO_CAST can be enabled on instance (#811) [Bruno Rocha] + + Fix #772 +- Rebind current env when forced for Pytest Fix #728 (#809) [Bruno + Rocha] +- Allow merge_unique on lists when merge_enabled=True (#810) [Bruno + Rocha] + + Fix #726 +- Fix #807 Use client.auth.approle.login instead of client.auth_approle + (#808) [Gaurav Talreja] +- Fix typos (#788) [Kian-Meng Ang] + + Found via this command: + + codespell -S "./dynaconf/vendor/*,./docs/pt-br/*,./.mypy_cache/*,*.svg" -L hashi +- Test runner docs and styling (#806) [Bruno Rocha] + + * Test runner docs and styling + + * No emojis on windows +- Add a functional test runner (#805) [Bruno Rocha] + + * Add a functional test runner + + * Renamed example/ to tests_functional/ +- Fix get command with Django (#804) [Bruno Rocha] + + Fix #789 +- Parse negative numbers from envvar Fix #799 and Fix #585 (#802) [Bruno + Rocha] +- Fix codecov (#801) [Bruno Rocha] + + * Fix codecov + + * call coverage xml +- Replacing rochacbruno/ with dynaconf/ (#800) [Bruno Rocha] + + * Replacing rochacbruno/ with dynaconf/ + + * xscode doesn't exist anymore +- Removed vendor_src folder (#798) [Bruno Rocha] + + * Removed vendor_src folder + + Now `vendor` is the source + and minification happens during release process. + + * Added tomllib (vendored) as a replacement for toml fix #708 + + toml kept as a fallback until 4.0.0 to nor break compatibility + + - toml follows 0.5.0 spec + - tomlib follows 1.0.0 spec + - toml allows emojis and unicode chars unencoded + - tomllib foolows the spec where only encoded chars are allowed +- Add test and docs about includes (#796) [Bruno Rocha] + + closes #794 +- New data key casing must adapt to existing key casing (#795) [Bruno + Rocha] + + Fix #737 +- Docs(pt-br): Docs Translation to brazilian portugues. (#787) [Vicente + Marçal] +- Adding documentation and example to makefile. (#791) [Joren Retel] + + * Adding documentation and example to makefile. + + * Put header one level down in docs. +- Feature/detect casting comb token from converters (#784) [Joren Retel] +- Envars.md typo fix (#786) [Amadou Crookes] +- Fix CI. [Bruno Rocha] +- Demo repo will be replaced by a video tutorial soon. [Bruno Rocha] +- Update badges. [Bruno Rocha] +- Documentation fixes (#771) [Bruno Rocha, Pedro de Medeiros] +- Add a Gitter chat badge to README.md (#776) [Bruno Rocha, The Gitter + Badger] +- Fix cli init command for flask (#705) (#774) [Bruno Rocha, Oleksii + Baranov] +- Bump codecov action version (#775) [Oleksii Baranov] +- Fix #768 of kv property depreciation from client object (#769) + [Jitendra Yejare] +- Using filter_strategy in env_loader to fix #760 (#767) [Lucas Limeira] +- Fixing a typo on the readme file (#763) [Théo Melo] +- Add pyupgrade hook (#759) [João Gustavo A. Amorim] + + * update hooks and add pyupgrade + + * updates by pyupgrade + + * remove unused typing imports + + * add `from __future__ import annotations` across the codebase + + * add `from __future__ import annotations` in examples +- Bump dev version to 3.1.10. [Bruno Rocha] +- Release version 3.1.9. [Bruno Rocha] + + Shortlog of commits since last release: + + Bruno Rocha (4): + Release version 3.1.8 + Bye py 3.7 + Multiple fixes for 3.19 (#756) + update docs site (#758) + + João Gustavo A. Amorim (1): + Organize pre-commit setup (#757) + + dependabot[bot] (1): + Bump django from 2.2.27 to 2.2.28 in /example/django_pytest_pure (#743) + + 3.1.9 (2022-06-06) ------------------ - Release version 3.1.9. [Bruno Rocha] @@ -584,7 +774,7 @@ Changelog In order to keep the same method api, default values should be parsed and converted to Boxed objects. - https://github.com/dynaconf/dynaconf/issues/462 + https://github.com/rochacbruno/dynaconf/issues/462 - HOTFIX for 501 (#540) [Bruno Rocha] Flask still missing __contains__ @@ -637,7 +827,7 @@ Other - Fix #478 Make alias for environment -> environments (#534) [Bruno Rocha] - This is a common mistake to pass `environment` so it is alias. + This is a commom mistake to pass `environment` so it is alias. Fix #478 - Fix #462 make DynaBox nested List to use DynaBox as default class @@ -797,7 +987,7 @@ Other * Change map to list comprehension and create empty [] as default value - * fix wrong indentation + * fix wrong identation - Fix merging hyperlink to fix #454 (#458) [Ilito Torquato, Ilito Torquato] - Specify flask extension initializers by entry point object reference @@ -828,7 +1018,7 @@ Other Update docs/release_notes Fixing prospector warnings. (#425) Fix mkdocs config problem found in #423 - Signed in for https://xscode.com/dynaconf/dynaconf (#426) + Signed in for https://xscode.com/rochacbruno/dynaconf (#426) Remove links to outdated issues from guidelines Fix colors and KEyError handling on cli.py (#429) Fix #434 setenv failing to unset LazyValues (#437) @@ -858,7 +1048,7 @@ Other Update docs/release_notes Fixing prospector warnings. (#425) Fix mkdocs config problem found in #423 - Signed in for https://xscode.com/dynaconf/dynaconf (#426) + Signed in for https://xscode.com/rochacbruno/dynaconf (#426) Remove links to outdated issues from guidelines Fix colors and KEyError handling on cli.py (#429) Fix #434 setenv failing to unset LazyValues (#437) @@ -900,7 +1090,7 @@ Other - Fix #432 no need for warning when env is missing on a file (#438) [Bruno Rocha] - When env is missing on a file there eis no need to output + When env is missing on a file ther eis no need to output a warning. All envs are optional on files. @@ -931,7 +1121,7 @@ Other - [Release notes](https://github.com/facelessuser/mkdocs-material-extensions/releases) - [Changelog](https://github.com/facelessuser/mkdocs-material-extensions/blob/master/changelog.md) - [Commits](https://github.com/facelessuser/mkdocs-material-extensions/compare/1.0...1.0.1) -- Signed in for https://xscode.com/dynaconf/dynaconf (#426) [Bruno +- Signed in for https://xscode.com/rochacbruno/dynaconf (#426) [Bruno Rocha] Offering paid support for dynaconf users. @@ -1171,7 +1361,7 @@ Other Bruno Rocha (10): Release version 3.0.0 Hot fix removing unused imports - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Removing invalid links, adding allert on old docs fix #369 and fix #371 (#372) Fix #359 lazy template substitution on nested keys (#375) Flask fizes and other issues included. (#376) @@ -1199,7 +1389,7 @@ Other Bruno Rocha (10): Release version 3.0.0 Hot fix removing unused imports - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Removing invalid links, adding allert on old docs fix #369 and fix #371 (#372) Fix #359 lazy template substitution on nested keys (#375) Flask fizes and other issues included. (#376) @@ -1237,7 +1427,7 @@ Other Fix #327 Fix #341 - Examples added: + Exemples added: example/issues/323_DEFAULT_VALUES_RESOLUTION/ example/issues/325_flask_dot_env/ @@ -1247,7 +1437,7 @@ Other Rocha] - Removing invalid links, adding allert on old docs fix #369 and fix #371 (#372) [Bruno Rocha] -- Merge branch 'master' of github.com:dynaconf/dynaconf. [Bruno +- Merge branch 'master' of github.com:rochacbruno/dynaconf. [Bruno Rocha] - Fix validation of optional fields (#370) [Bruno Rocha Co-authored-by: Bruno Rocha @@ -1313,7 +1503,7 @@ Other DEPRECATED global settings object. DEPRECATED global settings object. (#356) Lowecase read allowed by default (#357) - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf envless by default - breaking change ⚠️ (#358) dotenv is no more loaded by default (#360) No more loading of `settings.*` by default (#361) @@ -1351,7 +1541,7 @@ Other * Fix redis and vault tests * CLI default to global instance with warnings -- Merge branch 'master' of github.com:dynaconf/dynaconf. [Bruno +- Merge branch 'master' of github.com:rochacbruno/dynaconf. [Bruno Rocha] - Lowecase read allowed by default (#357) [Bruno Rocha] @@ -1591,7 +1781,7 @@ Other The release of python-box https://github.com/cdgriffith/Box/pull/116 is a breaking change. - So pinning this until this project adapts. + So pinning this until this project addapts. Also pinning other direct deps. - Fix #258 custom message for validators. [Bruno Rocha] @@ -1982,7 +2172,7 @@ Other Use the Key Value API rather than the old 'read' and 'write' methods (#198) - Fix #194 flask.app.config __setitem__ (#199) [Bruno Rocha] - Flask.config was not proxying __setitem__ attribute so this + Flask.config was not proxying __setitem__ atribute so this change adds a call to __setitem__ on contrib/flask_dynaconf - Use the Key Value API rather than the old 'read' and 'write' methods (#198) [Raoul Snyman] @@ -2096,7 +2286,7 @@ Other HOTFIX config.md on docs [skip ci] (#171) Fix some open file descriptors on exampls and tests (#172) Fix #151 setup pre-commit and black (#173) - Add CONTRIBUTING.md, contrib isntructions and Black badge (#174) + Add CONTRIBUTING.md, conrtib isntructions and Black badge (#174) Fix release script David Moreau Simard (1): @@ -2129,7 +2319,7 @@ Other HOTFIX config.md on docs [skip ci] (#171) Fix some open file descriptors on exampls and tests (#172) Fix #151 setup pre-commit and black (#173) - Add CONTRIBUTING.md, contrib isntructions and Black badge (#174) + Add CONTRIBUTING.md, conrtib isntructions and Black badge (#174) Fix release script David Moreau Simard (1): @@ -2139,7 +2329,7 @@ Other Skip reloading envs for validators that only apply to current_env (#162) Fix #163 Allow disabling env prefix (#164) - Fix release script. [Bruno Rocha] -- Add CONTRIBUTING.md, contrib isntructions and Black badge (#174) +- Add CONTRIBUTING.md, conrtib isntructions and Black badge (#174) [Bruno Rocha] - Fix #151 setup pre-commit and black (#173) [Bruno Rocha] @@ -2207,7 +2397,7 @@ Other removed logzero, cached logger using lru_cache (that means that if loglevel changes, log changes) - - improved docs and badges. + - imporved docs and badges. - Fix typos in bash export examples. [David Moreau Simard] - HOTIX: Django doc. [Bruno Rocha] - Added Django explicit mode to docs (#149) [Bruno Rocha] @@ -2220,7 +2410,7 @@ Other Bruno Rocha (21): Merge branch 'jperras-merge-multiple-settings-files' - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths Update dynaconf/utils/boxing.py Update dynaconf/utils/boxing.py @@ -2238,7 +2428,7 @@ Other Fix #110 add docs for dynaconf_include Add dynaconf_include examples Set up CI with Azure Pipelines (#142) - Add dynaconf_merge functionality for dict and list settings. (#139) + Add dynaconf_merge fucntionality for dict and list settings. (#139) Preparing for 2.0.0 Byungjin Park (1): @@ -2282,7 +2472,7 @@ Other Bruno Rocha (21): Merge branch 'jperras-merge-multiple-settings-files' - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths Update dynaconf/utils/boxing.py Update dynaconf/utils/boxing.py @@ -2300,7 +2490,7 @@ Other Fix #110 add docs for dynaconf_include Add dynaconf_include examples Set up CI with Azure Pipelines (#142) - Add dynaconf_merge functionality for dict and list settings. (#139) + Add dynaconf_merge fucntionality for dict and list settings. (#139) Preparing for 2.0.0 Byungjin Park (1): @@ -2359,10 +2549,10 @@ Other - start_dotenv is now Lazy (only when settings._setup is called) - Added new _FOR_DYNACONF config options ENV_SWITCHER, SKIP_FILES, INCLUDES & SECRETS - Renamed config PROJECT_ROOT -> ROOT_PATH -- Add dynaconf_merge functionality for dict and list settings. (#139) +- Add dynaconf_merge fucntionality for dict and list settings. (#139) [Bruno Rocha] - If your settings has existing variables of types `list` or `dict` and you want to `merge` instead of `override` then + If your settings has existing variables of types `list` ot `dict` and you want to `merge` instead of `override` then the `dynaconf_merge` and `dynaconf_merge_unique` stanzas can mark that variable as a candidate for merging. For **dict** value: @@ -2399,7 +2589,7 @@ Other dynaconf_merge: true ``` - The `dynaconf_merge` token will mark that object to be merged with existing values (of course `dynaconf_merge` key will not be added to the final settings it is just a mark) + The `dynaconf_merge` token will mark that object to be merged with existing values (of course `dynaconf_merge` key will not be added to the final settings it is jsut a mark) The end result will be on `[development]` env: @@ -2495,7 +2685,7 @@ Other Bruno Rocha (9): Merge branch 'jperras-merge-multiple-settings-files' - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths Update dynaconf/utils/boxing.py Update dynaconf/utils/boxing.py @@ -2542,7 +2732,7 @@ Other Bruno Rocha (9): Merge branch 'jperras-merge-multiple-settings-files' - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths Update dynaconf/utils/boxing.py Update dynaconf/utils/boxing.py @@ -2604,7 +2794,7 @@ Other Bruno Rocha (6): Merge branch 'jperras-merge-multiple-settings-files' - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths Update dynaconf/utils/boxing.py Update dynaconf/utils/boxing.py @@ -2639,7 +2829,7 @@ Other Bruno Rocha (6): Merge branch 'jperras-merge-multiple-settings-files' - Merge branch 'master' of github.com:dynaconf/dynaconf + Merge branch 'master' of github.com:rochacbruno/dynaconf Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths Update dynaconf/utils/boxing.py Update dynaconf/utils/boxing.py @@ -2677,14 +2867,14 @@ Other Typo! - Fix small typo in README.md. [Matthias] -- Merge branch 'master' of github.com:dynaconf/dynaconf. [Bruno +- Merge branch 'master' of github.com:rochacbruno/dynaconf. [Bruno Rocha] - Python 3.4 has different error message. [Mantas] - Remove mocker fixture. [Mantas] - Left this accidentally. + Left this accidentaly. - https://travis-ci.org/dynaconf/dynaconf/jobs/452612532 + https://travis-ci.org/rochacbruno/dynaconf/jobs/452612532 - Add INSTANCE_FOR_DYNACONF and --instance. [Mantas] There parameters allows dynaconf to use different LazySettings instance @@ -2849,7 +3039,7 @@ Other Docs have been updated to show an example of the nested validator name definition in action. - Closes dynaconf/dynaconf#85. + Closes rochacbruno/dynaconf#85. - Fix #94 setenv cleans SETTINGS_MODULE attribute. [Bruno Rocha] - Merge branch 'jperras-dot-traversal-access' [Bruno Rocha] - Merge branch 'dot-traversal-access' of @@ -2879,13 +3069,13 @@ Other - Tested [✓] - Examples added [✓] - Closes dynaconf/dynaconf#84 + Closes rochacbruno/dynaconf#84 - Merge branch 'rsnyman-merge-settings' [Bruno Rocha] - Add example for merge_configs. [Bruno Rocha] - Add setting merging. [Raoul Snyman] - - Add the ability to merge nested structures instead of completely overwriting them - - Use monkeypatch to stop one test from interfering with another + - Addd the ability to merge nested structures instead of completely overwriting them + - Use monkeypatch to stop one test from interferring with another - Updated documentation @@ -2935,7 +3125,7 @@ Other [latty] - Release 1.0.3. [Bruno Rocha] - - Excluded example and tests from release dist + - Excluded example and tests from realease dist - removed root logger configuration @@ -3032,7 +3222,7 @@ Other - Increase cli test coverage. [Bruno Rocha] - Dynaconf variables in blue and user variables in green. [Bruno Rocha] - Added `dynaconf list` and `dynaconf write` subcommands. [Bruno Rocha] -- More cli commands list and write. [Bruno Rocha] +- More cli commands lsit and write. [Bruno Rocha] - Added more tests for cli and py loader. [Bruno Rocha] - Replaced coveralls with codecov #57. [Bruno Rocha] - Modularized the loaders, added `dynaconf init` command. [Bruno Rocha] @@ -3048,9 +3238,9 @@ Other - Merge pull request #52 from rochacbruno/fix_namespace_in_django. [Bruno Rocha] - Fix namespace switch in django apps + Fix namespace swithc in django apps - Add missing .env. [Bruno Rocha] -- Fix namespace switch in django apps. [Bruno Rocha] +- Fix namespace swithc in django apps. [Bruno Rocha] 0.7.5 (2018-05-20) @@ -3238,7 +3428,7 @@ Other - Add Pipfile.lock to .gitignore. [Douglas Soares de Andrade] - Small Refactory. [Douglas Soares de Andrade] - - Adding object to the Settings classes to make it work with Python2 + - Adding object to the Settings classe to make it work with Python2 - Small Refactory. [Douglas Soares de Andrade] - Reordering the imports according to pylint and flake8 @@ -3307,7 +3497,7 @@ Other - Added note about get_fresh in readme. [Bruno Rocha] - Better namespace management, get_fresh(key) to access redis. [Bruno Rocha] -- Now it can be used programmatically. [Bruno Rocha] +- Now it can be used programatically. [Bruno Rocha] 0.2.1 (2015-12-20) @@ -3318,7 +3508,7 @@ Other 0.2.0 (2015-12-20) ------------------ -- Can also load from arbitrary filepath. [Bruno Rocha] +- Can also load from arbitraty filepath. [Bruno Rocha] - Renamed var, added loaders, bump version. [Bruno Rocha] diff --git a/dynaconf/VERSION b/dynaconf/VERSION index 0f4cce2e3..c7a249882 100644 --- a/dynaconf/VERSION +++ b/dynaconf/VERSION @@ -1 +1 @@ -3.1.10.dev +3.1.10 diff --git a/mkdocs.yml b/mkdocs.yml index be0ad1e0a..400f46ad9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dynaconf - 3.1.9 +site_name: Dynaconf - 3.1.10 site_url: https://dynaconf.com site_description: Configuration Management for Python site_author: Bruno Rocha