Conversation
🦋 Changeset detectedLatest commit: d1ad043 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@env-spec/parser
varlock
@varlock/astro-integration
@varlock/nextjs-integration
@varlock/vite-integration
@varlock/1password-plugin
@varlock/google-secret-manager-plugin
commit: |
philmillman
approved these changes
Feb 6, 2026
Member
philmillman
left a comment
There was a problem hiding this comment.
LGTM
Two things:
- we should consider an escape hatch that will 'flatten' multiline values for portability's sake
- this should probably be a minor version not a patch (see comment)
.changeset/beige-impalas-talk.md
Outdated
| @@ -0,0 +1,6 @@ | |||
| --- | |||
| "@env-spec/parser": patch | |||
| "varlock": patch | |||
Member
There was a problem hiding this comment.
We might consider a minor version here since it's potentially breaking and files with multiline values won't work in older versions
33b184c to
47ce982
Compare
both for decorators and item values
47ce982 to
430a094
Compare
c2c779d to
d1ad043
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds multi-line support for function calls, both in decorators and item values.
Big pain that this solves is very long lists of imported keys. see #217
Supporting this in item values does break our previous goal of not breaking other .env parsers, but I think it may be worthwhile. If a specific user needs to maintain support for another env loader for some reason, they can just choose to not use multi-line fn call values. This should be relatively rare unless you start getting into very complicated composition of values and functions...
Follow up work here is