Skip to content

Commit eda8aa4

Browse files
committed
release: 2022-06-09, Version 2.0.0 [skip ci]
1 parent 6f730aa commit eda8aa4

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
## Changelog
22

3+
# [2.0.0](https://github.com/logdna/env-config-node/compare/v1.1.0...v2.0.0) (2022-06-09)
4+
5+
6+
### Bug Fixes
7+
8+
* Correct boolean test to not use `required` [6f730aa](https://github.com/logdna/env-config-node/commit/6f730aaa78fb096485dd73f4894c650171973f67) - Darin Spivey
9+
10+
11+
### Code Refactoring
12+
13+
* A value of empty string should apply the default value [1c93bba](https://github.com/logdna/env-config-node/commit/1c93bba14cd247fc73d094840bf378fc2b3baa91) - Darin Spivey
14+
15+
16+
### Features
17+
18+
* allowEmpty() will allow '' to be a valid value [f46bb1d](https://github.com/logdna/env-config-node/commit/f46bb1d07b4141efd9516059fa592f015a50565d) - Darin Spivey
19+
20+
21+
### Miscellaneous
22+
23+
* CI test with newer versions of node [bb2482e](https://github.com/logdna/env-config-node/commit/bb2482e06f7cf85306be26c812189aa053c13700) - Darin Spivey
24+
* eslint-config-logdna@6.1.0 [c48ec52](https://github.com/logdna/env-config-node/commit/c48ec5227c7a51d9c058f5d25f93b5ded2c2f322) - Darin Spivey
25+
* tap@16.2.0 [ec66875](https://github.com/logdna/env-config-node/commit/ec668757cdf05774c0af75e5f762b482fe04c257) - Darin Spivey
26+
27+
28+
### Style
29+
30+
* Give custom errors their own files [59c3811](https://github.com/logdna/env-config-node/commit/59c381165987c98b74552f88111f5c34af1a0516) - Darin Spivey
31+
32+
33+
### **BREAKING CHANGES**
34+
35+
* This change affects the way that default values
36+
are assigned, and the default value will now be used if the
37+
env var's value is ''. Also, using `.required()` and `.default()`
38+
in the same definition will now result in a mutex error.
39+
340
# [1.1.0](https://github.com/logdna/env-config-node/compare/v1.0.5...v1.1.0) (2021-04-16)
441

542

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@logdna/env-config",
3-
"version": "1.1.0",
3+
"version": "2.0.0",
44
"description": "Configuration package for reading environment variables",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)