5.0 release

- Updated Changelog
- Updated package.json
- Updated License file for new year
This commit is contained in:
Todd Bluhm 2017-03-03 01:43:56 -05:00
parent 3c965639a2
commit ea9d858e4a
No known key found for this signature in database
GPG Key ID: 9CF312607477B8AB
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,13 @@
# Changelog
## 5.0.0
- ***BREAKING***: Inline comments are no longer allowed in `.env` files (full line comments are still allowed)
- ***BREAKING***: `.env` file no longer supports the `env var` format (only `env=var` is allowed now)
- ***BREAKING***: Double Quotes are no longer needed when using special symbols (such as `#`) in the value portion of an env var
- **Feature**: if the given env file cannot be found, it will auto default to searching
the execution directory for a file called `.env` and use that as a fallback. See README for why this is
helpful. (special thanks to Alexander Praetorius)
## 4.0.0
- ***BREAKING***: In order to use double quotes as part of the env value, you must now surround those double quotes with an additional set of quotes: So `ENV1="value"` -> `ENV1=""value""` (this only applies to double quotes, single quotes continue to work as normal)
- **Bug**: Fixed bug in the comment stripper function that would remove env values that included a `#`. Now, in order to use a `#` in a env value, you have to surround that env value in double quotes: `ENV="Some#Value"`.

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2016 Todd Bluhm
Copyright (c) 2017 Todd Bluhm
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,6 +1,6 @@
{
"name": "env-cmd",
"version": "4.0.0",
"version": "5.0.0",
"description": "Executes a command using the envs in the provided env file",
"main": "lib/index.js",
"bin": {