Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Feb 6, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
envalid 6.0.2 -> 7.3.1 age adoption passing confidence

Release Notes

af/envalid

v7.3.1

Compare Source

v7.3.0

Compare Source

v7.2.2

Compare Source

v7.2.1

Compare Source

v7.2.0

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

A couple small changes to the default reporter

  • Make the default exporter available as an export, and add extra optional params for customization (#​140)
  • Fix some minor typing issues internal to the reporter

v7.0.0

Compare Source

Version 7 is a major release with several breaking changes. If you've been using the recommended "strict mode" from previous releases, the migration should be fairly straightforward as it's now turned on by default (you can remove the strict: true option). Below are the list of changes:

  • All code rewritten in TypeScript
  • Removed all runtime dependencies (check out the difference in code size)
  • The mode-formerly-known-as-strict is removed, and its behavior is enabled by default. This means:
    • The env object will only contain the env vars that were specified by your validators.
    • Any attempt to access an invalid/missing property on the env object will cause a thrown error.
    • Any attempt to mutate the cleaned env object will cause a thrown error.
      You can still opt-out of strict mode by disabling the strictProxyMiddleware, but it's not
      recommended (see "Custom Middleware", in the README).
  • The dotenv package is no longer shipped as part of this library. You can easily use it directly
    by installing it and running require('dotenv').config() before you invoke envalid's cleanEnv()
  • The transformer validator option is gone, replaced by the ability to add custom middleware
  • The host and ip validators are now slightly less exhaustive. If you need these to be airtight, use
    your own custom validator instead
  • When you try to access an invalid property on the cleaned env object, the error will no longer
    suggest an env variable that you may have intended. You can re-implement the old behavior with a custom
    middleware if you wish
  • NODE_ENV support is now less opinionated, and an error is no longer thrown if a value other
    than production/development/test is passed in. You can provide your own validator for NODE_ENV
    to get exactly the behavior you want. The isDev, isProduction, etc properties still work as
    before, and are implemented as middleware so you can override their behavior as needed.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/envalid-7.x branch from 6567ed1 to 4db55cc Compare February 11, 2021 20:51
@renovate renovate bot force-pushed the renovate/envalid-7.x branch from 4db55cc to b169bca Compare March 21, 2021 21:55
@renovate renovate bot force-pushed the renovate/envalid-7.x branch from b169bca to 9998436 Compare July 8, 2021 14:49
@renovate renovate bot force-pushed the renovate/envalid-7.x branch from 9998436 to 6301fe4 Compare August 14, 2021 04:43
@renovate renovate bot force-pushed the renovate/envalid-7.x branch from 6301fe4 to 44af785 Compare October 19, 2021 00:22
@renovate renovate bot force-pushed the renovate/envalid-7.x branch from 44af785 to 32b6174 Compare March 7, 2022 16:36
@renovate renovate bot force-pushed the renovate/envalid-7.x branch from 32b6174 to f05ed9c Compare April 24, 2022 21:50
@renovate
Copy link
Author

renovate bot commented Mar 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants