Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: motdotla/dotenv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v16.0.0
Choose a base ref
...
head repository: motdotla/dotenv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v16.0.1
Choose a head ref

Commits on Feb 2, 2022

  1. Update CHANGELOG

    motdotla committed Feb 2, 2022
    Copy the full SHA
    9a5ec29 View commit details

Commits on Feb 9, 2022

  1. Copy the full SHA
    a82f623 View commit details
  2. Copy the full SHA
    0e00497 View commit details

Commits on Feb 18, 2022

  1. Copy the full SHA
    15ade25 View commit details

Commits on Mar 11, 2022

  1. Merge pull request #628 from kunalpanchal/patch-1

    Update the broken reference link to require module
    motdotla authored Mar 11, 2022
    Copy the full SHA
    f3b3419 View commit details

Commits on Mar 12, 2022

  1. Copy the full SHA
    884955d View commit details

Commits on Mar 13, 2022

  1. Merge pull request #643 from odcey/fix-readme-returnline-typo

    fix: update typo on readme concerning return line documentation
    motdotla authored Mar 13, 2022
    Copy the full SHA
    6ff9947 View commit details

Commits on Mar 21, 2022

  1. Copy the full SHA
    6e42595 View commit details
  2. Merge pull request #646 from motdotla/test-clarifications

    Clarify that inline comments do not require a space after the number …
    motdotla authored Mar 21, 2022
    Copy the full SHA
    2b8e540 View commit details

Commits on Apr 1, 2022

  1. Use dotenv-vault

    motdotla committed Apr 1, 2022
    Copy the full SHA
    f6c4bc3 View commit details
  2. Add note above README

    motdotla committed Apr 1, 2022
    Copy the full SHA
    b895c45 View commit details
  3. Update README

    motdotla committed Apr 1, 2022
    Copy the full SHA
    49256ae View commit details
  4. Update README

    motdotla committed Apr 1, 2022
    Copy the full SHA
    5e2f74a View commit details
  5. Update README

    motdotla committed Apr 1, 2022
    Copy the full SHA
    578574c View commit details

Commits on Apr 29, 2022

  1. Change link

    motdotla committed Apr 29, 2022
    Copy the full SHA
    1c2092c View commit details

Commits on May 7, 2022

  1. Update links in README

    motdotla committed May 7, 2022
    Copy the full SHA
    0318510 View commit details

Commits on May 10, 2022

  1. Copy the full SHA
    6be370b View commit details
  2. Copy the full SHA
    f71fdcd View commit details
  3. Merge pull request #658 from motdotla/dev-dep-updates

    Development dependency updates
    motdotla authored May 10, 2022
    Copy the full SHA
    b5d6c02 View commit details
  4. Update CHANGELOG

    motdotla committed May 10, 2022
    Copy the full SHA
    582afcd View commit details
  5. Version bump - patch 16.0.1

    motdotla committed May 10, 2022
    Copy the full SHA
    b016108 View commit details
Showing with 191 additions and 52 deletions.
  1. +11 −2 CHANGELOG.md
  2. +9 −7 README.md
  3. +165 −41 package-lock.json
  4. +2 −1 package.json
  5. +2 −1 tests/.env
  6. +2 −0 tests/test-parse.js
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,13 +2,22 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [Unreleased](https://github.com/motdotla/dotenv/compare/v16.0.0...master)
## [Unreleased](https://github.com/motdotla/dotenv/compare/v16.0.1...master)

## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10)

### Changed

- Minor README clarifications
- Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658))

## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02)

### Added

- _Breaking:_ Backtick support 🎉 (template literals). If you had values containing the backtick character, please quote those values with either single or double quotes.
- _Breaking:_ Backtick support 🎉 ([#615](https://github.com/motdotla/dotenv/pull/615))

If you had values containing the backtick character, please quote those values with either single or double quotes.

## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02)

16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<p align="center">
<strong>Announcement 📣</strong><br/>From the makers that brought you Dotenv, introducing <a href="https://sync.dotenv.org">Dotenv Sync</a>.<br/>Sync your .env files between machines, environments, and team members.<br/><a href="https://sync.dotenv.org">Join the early access list.💛</a>
</p>
Works with [dotenv-vault](https://github.com/dotenv-org/dotenv-vault). Learn more at [dotenv.org/vault](https://dotenv.org/vault?r=1).

# dotenv

@@ -74,7 +72,7 @@ Kh9NV...
Alternatively, you can double quote strings and use the `\n` character:

```dosini
PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\Kh9NV...\n-----END DSA PRIVATE KEY-----\n"
PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nKh9NV...\n-----END DSA PRIVATE KEY-----\n"
```

### Comments
@@ -102,7 +100,7 @@ console.log(typeof config, config) // object { BASIC : 'basic' }

### Preload

You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#cli_r_require_module) to preload dotenv. By doing this, you do not need to require and load dotenv in your application code.
You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#-r---require-module) to preload dotenv. By doing this, you do not need to require and load dotenv in your application code.

```bash
$ node -r dotenv/config your_script.js
@@ -130,7 +128,7 @@ You need to add the value of another variable in one of your variables? Use [dot

### Syncing

You need to keep `.env` files in sync between machines, environments, or team members? Use [dotenv cli](https://github.com/dotenv-org/cli).
You need to keep `.env` files in sync between machines, environments, or team members? Use [dotenv-vault](https://github.com/dotenv-org/dotenv-vault).

## Examples

@@ -389,7 +387,11 @@ Try [dotenv-expand](https://github.com/motdotla/dotenv-expand)

### What about syncing .env files?

Try [dotenv cli](https://github.com/dotenv-org/cli)
Use [dotenv-vault](https://github.com/dotenv-org/dotenv-vault)

### What about securing .env files?

Use [dotenv-vault](https://github.com/dotenv-org/dotenv-vault)

## Contributing Guide

Loading