diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b194ca1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,25 @@ +# Changelog + +## 1.0.0-alpha (2023-03-30) + + +### Features + +* Cast booleans ([a00c0b0](https://github.com/alecperkins/defaulted/commit/a00c0b0095706e4436e2122abd8e7774dd027737)) +* Cast numbers based on default types ([8791182](https://github.com/alecperkins/defaulted/commit/879118236740a708c4ae12f890939e9adb1c8499)) +* Include ENVIRONMENT ([a1c03ab](https://github.com/alecperkins/defaulted/commit/a1c03abc712912268b0558f118f0e509e311334c)) +* Make config readonly, prevent access of undefined keys ([d858850](https://github.com/alecperkins/defaulted/commit/d858850ea888f3c0b15b5a59d42ac4bbb4fdbc46)) +* Merge env with defaults, overrides ([fd2313f](https://github.com/alecperkins/defaulted/commit/fd2313fa4c6189b25812aa909142682bfaf4ac83)) +* Throw if override set to undefined is not found in the matching ENVIRONMENT ([da22d80](https://github.com/alecperkins/defaulted/commit/da22d807c5b194afd70ea9296e1c60e53782e52c)) +* Validate Boolean casting ([67e47c0](https://github.com/alecperkins/defaulted/commit/67e47c00d2163540c34998fceb16692cb697c33e)) +* Validate Number casting ([350483d](https://github.com/alecperkins/defaulted/commit/350483d531b114ed99fb162e563119058bca54d5)) + + +### Bug Fixes + +* Reliably throw on assignment ([824cc35](https://github.com/alecperkins/defaulted/commit/824cc351d3c92260aab275d34da208b713b04a59)) + + +### Miscellaneous Chores + +* release 1.0.0-alpha ([1f2be3a](https://github.com/alecperkins/defaulted/commit/1f2be3a8c8f01812658bcaac28817ada0f08cdd7)) diff --git a/package-lock.json b/package-lock.json index 666a4b4..8dd0b74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "defaulted", - "version": "0.0.0", + "version": "1.0.0-alpha", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "defaulted", - "version": "0.0.0", + "version": "1.0.0-alpha", "license": "MIT", "devDependencies": { "node-fetch": "^3.3.1", diff --git a/package.json b/package.json index 8e9dffe..7ad9103 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "defaulted", - "version": "0.0.0", + "version": "1.0.0-alpha", "description": "Build config from environment variables and sensible defaults, with typing and validation.", "author": "Alec Perkins ", "license": "MIT",