Releases: linhntaim/dotenv-conversion
Releases · linhntaim/dotenv-conversion
Dot-Env Conversion v3.1.0
Changes:
- New feature:
- New options to disable the support for binary/octal/hexadecimal format in conversion.
- Options:
binaryNumber,octalNumber,hexadecimalNumber.- When setting these options to
false, values in binary/octal/hexadecimal format will not be converted tonumber.
- When setting these options to
- Options:
binaryBigInt,octalBigInt,hexadecimalBigInt.- When setting these options to
false, values in binary/octal/hexadecimal format will not be converted tobigint.
- When setting these options to
- Options:
- New options to disable the support for binary/octal/hexadecimal format in conversion.
Dot-Env Conversion v3.0.0
Changes:
auto:booleanandbooleanconversion methods now accept additional original values:- True values:
ok,Ok,OK. - False:
not,Not,NOT,none,None,NONE.
- True values:
- Binary (
0b...) , octal (0o...) and hexadecimal (0x...) number syntax are now accepted inauto:number,auto:bigint,boolean,number,bigintconversion methods. - Empty array (
[],[ ], ...) or empty object ({},{ }, ...) are now accepted inboolean(converted tofalse),number(converted to0) andbigint(converted to0n) conversion methods. - Conversion now ignores non-string environment variables.
- Add
DocumentationtoREADME.md. - Update ignore files.
- Do some small refactor.
- Enhancements:
switch(true)turns intoif ... return ...blocks.- Values that could be matched with an exact converted value now are cached in specific lookup tables -> reduce the cost of executing
ifstatements. flattenValueis now more detailed.restoreValuenow ignores non-string values.
Dot-Env Conversion v2.2.1
- Hotfix: empty string turns into array
- Test cases for hotfix
- README.md
Dot-Env Conversion v2.1.2
- README.md
Dot-Env Conversion v2.1.1
- Hotfix: empty string turns into array
- Test cases for hotfix
- README.md
Dot-Env Conversion v2.0.4
- Hotfix: empty string turns into array
- Test cases for hotfix
- README.md
Dot-Env Conversion v2.2.0
- Preload with
dotenv-flow - Validate the name of conversion method and alias: only allow alphanumeric, underscore and dot characters.
- Bugs in README.md
Dot-Env Conversion v2.1.0
- Preload feature.
- Change
testfolder totests. - Build change: re-configure Babel.
Dot-Env Conversion v2.0.3
+ update readme.md: use `.default` for `require` call (due to babel r…
Dot-Env Conversion v2.0.2
- Fix package.json file