Skip to content

Releases: GDWR/classy-config

Release 0.6.0

26 Apr 10:37
0e6c2c7
Compare
Choose a tag to compare

Release 0.5.2

25 Apr 21:52
7c52877
Compare
Choose a tag to compare
Bump jinja2 from 3.1.2 to 3.1.3 (#180)

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Release 0.5.1

09 Nov 22:10
ae904fd
Compare
Choose a tag to compare
Bump pyright from 1.1.299 to 1.1.314 (#155)

Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.299 to 1.1.314.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.299...v1.1.314)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Release 0.5.0

22 Mar 23:15
2f84199
Compare
Choose a tag to compare
Bump pyright from 1.1.298 to 1.1.299 (#132)

Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.298 to 1.1.299.
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.298...v1.1.299)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Release 0.4.0

19 Sep 09:55
4f6be72
Compare
Choose a tag to compare
Bump furo from 2022.6.21 to 2022.9.15 (#73)

Bumps [furo](https://github.com/pradyunsg/furo) from 2022.6.21 to 2022.9.15.
- [Release notes](https://github.com/pradyunsg/furo/releases)
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md)
- [Commits](https://github.com/pradyunsg/furo/compare/2022.06.21...2022.09.15)

---
updated-dependencies:
- dependency-name: furo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Release 0.4.0a0

12 Sep 12:31
008e39d
Compare
Choose a tag to compare
Release 0.4.0a0 Pre-release
Pre-release

Dropped support for 3.6

pre-release is available during the time of upgrading dependencies, expect dependency version number changes soon.

Release 0.3.3

12 Aug 08:44
764715e
Compare
Choose a tag to compare
Bump pydantic from 1.9.1 to 1.9.2 (#54)

Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/samuelcolvin/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/v1.9.2/HISTORY.md)
- [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.9.1...v1.9.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Release 0.3.2

23 Jul 21:02
66f8fef
Compare
Choose a tag to compare
Bump pep8-naming from 0.13.0 to 0.13.1 (#53)

Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/PyCQA/pep8-naming/releases)
- [Changelog](https://github.com/PyCQA/pep8-naming/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/PyCQA/pep8-naming/compare/0.13.0...0.13.1)

---
updated-dependencies:
- dependency-name: pep8-naming
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Release 0.3.1

12 May 18:15
Compare
Choose a tag to compare
Allow `.env` files to not exists as it will use environment

Co-authored-by: fisher60 <[email protected]>

Release 0.3.0

08 May 23:04
4486c33
Compare
Choose a tag to compare
Feature/dotenv loading (#42)

* add env loader and configure auto loader to accept .env

* add tests for env parsing

* fix redundant env var loading

I have added the env var loader as well as tests. The loader will not override any system environment variables, so system env vars are prioritized over the ones passed into the loader. This is consistent with python-dotenv's methods.

Currently tests cover that env vars in a .env file that is passed to the autoloader will load the correct values with the correct names. The tests do not ensure that correct env vars from the system are loaded in. The test also does not cover whether multiple configs can be loaded together using this method, but those tests should be covered elsewhere and I do not expect the env loader to interact with multiple configs in a breaking manner.

* fix too many spaces in typehint

* fix return type hint to be str str

* remove unused import

* make enumerate more pythonic

* remove unused raw_config import

* add os.environ adding env var to test, add docstring

* remove redundant if check

A filepath must always be given and will be validated by the config.register_config function. Therefore no check is needed that the filepath or file exists.