chore(deps): update all non-major dependencies #8
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.
This PR contains the following updates:
1.11.4
->1.37.0
^2.0.4
->^2.1.0
0.10.4
->0.11.4
Release Notes
dotenvx/dotenvx (@dotenvx/dotenvx)
v1.37.0
Compare Source
Added
dotenvx rotate
command 🎉 (#530)also: our whitepaper is released as a draft.
v1.36.0
Compare Source
Changed
--strict
flag respects (doesn't throw) anything in--ignore
flag (#527)v1.35.0
Compare Source
Added
npx dotenvx precommit
support as a convenience (#523)main.get
method (#524)The addition of
main.get
facilitates what we term Decryption at Access, a concept explored in greater detail in our whitepaper.v1.34.0
Compare Source
Added
main.set
method now writes to files (#517)v1.33.0
Compare Source
Added
import '@​dotenvx/dotenvx/config'
(#508)v1.32.1
Compare Source
Changed
v1.32.0
Compare Source
Added
ext prebuild
(#501)Changed
ext precommit
to check git modified state as well as git staged state - useful for usingdotenvx ext precommit
without the--install
flag in automated scripts and ci. (#499)Removed
errorvp, errorvpb, warnv, warnvp, warnvpb, successvp, successvpb, help2
(#501)v1.31.3
Compare Source
Changed
v1.31.2
Compare Source
Changed
v1.31.1
Compare Source
Changed
\n
newlines (#495)v1.31.0
Compare Source
Added
main.set
function (#492)main.config
(#491)v1.30.1
Compare Source
Added
v1.30.0
Compare Source
Added
-fk
(--env-keys-file
) flag to customize the path to your.env.keys
file withrun, get, set, encrypt, decrypt, and keypair
🎉 (#486)This is great for monorepos. Maintain one
.env.keys
file across all your apps.$ dotenvx encrypt -fk .env.keys -f apps/backend/.env $ dotenvx encrypt -fk .env.keys -f apps/frontend/.env $ tree -a . ├── .env.keys └── apps ├── backend │ └── .env └── frontend └── .env $ dotenvx get -fk .env.keys -f apps/backend/.env
v1.29.0
Compare Source
Added
--ignore
flag to suppress specified errors. example:dotenvx run --ignore=MISSING_ENV_FILE
(#485)v1.28.0
Compare Source
Changed
.env.keys
file is generated WITHOUT quotes going forward. This is to minimize friction around Docker gotchas to developers - old versions of Docker do not support--env-file
containing quoted keys/values. (#480) (additional note)v1.27.0
Compare Source
Added
\t
expansion when double quoted. (e.g.TAB="hi\tfriend"
becomeshi friend
) (#479)v1.26.2
Compare Source
Changed
v1.26.1
Compare Source
Added
main.parse
method (#475)v1.26.0
Compare Source
Added
privateKey
option tomain.parse
method (#474)v1.25.2
Compare Source
Added
Removed
v1.25.1
Compare Source
Changed
v1.25.0
Compare Source
Added
run --strict
flag to exit with code1
if any errors are encountered - like a missing.env
file or decryption failure (#460)get --strict
flag to exit with code1
if any errors are encountered - like a missing.env
file or decryption failure (#461)strict
option toconfig()
to throw for any errors (#459)Changed
MISSING_ENV_FILE
andDECRYPTION_FAILED
errors to stderr (prior was stdout as a warning) (#459)Removed
dotenvx.get()
function fromlib/main.js
. (parse
already historically exists for this purpose) (#461)v1.24.5
Compare Source
Changed
v1.24.4
Compare Source
Changed
v1.24.3
Compare Source
Changed
v1.24.2
Compare Source
Changed
process.env
(#450)v1.24.1
Compare Source
Changed
cross-spawn
to prevent potential ReDoS CVE-2024-21538 (#449)v1.24.0
Compare Source
Added
v1.23.0
Compare Source
Added
v1.22.2
Compare Source
Changed
--
separator and better error messaging when flags are ambiguous (#438)v1.22.1
Compare Source
Changed
v1.22.0
Compare Source
Added
--pattern
argument toext gitignore
(dotenvx ext gitignore --pattern .env.keys
) (#430)Changed
v1.21.1
Compare Source
Changed
--convention nextjs
ingnore.env.local
for TEST environment (#425)precommit
redirect missingdotenvx
command using POSIX compliant redirection (#424)dotenvx help
command less noisy by removing[options]
. rundotenvx COMMAND -h
to list all available options like always (#429)v1.21.0
Compare Source
Changed
🎓 now if you choose to single quote, double quote, no quote, or backtick your value it will be respected - including for encrypted values. this more intuitively handles complex cases like escaped characters, literals, and json.
v1.20.1
Compare Source
Changed
v1.20.0
Compare Source
Changed
process.env.DOTENV_PRIVATE_KEY
and/orprocess.env.DOTENV_PUBLIC_KEY
onset
(#401)process.env.DOTENV_PRIVATE_KEY
and/orprocess.env.DOTENV_PUBLIC_KEY
onencrypt
(#411)process.env.DOTENV_PRIVATE_KEY
ondecrypt
(#412)logger.help
to use brighter blue (#414)Removed
main.decrypt,encrypt,set
(#410)v1.19.3
Compare Source
Changed
v1.19.2
Compare Source
Changed
SIGUSR2
(#403)v1.19.1
Compare Source
Changed
SIGTERM
orSIGINT
sent, don't bubble wrapped process error (#402)v1.19.0
Compare Source
Added
encrypt
anddecrypt
. example:dotenvx encrypt -ek "NEXT_PUBLIC_*"
(#397)v1.18.1
Compare Source
Added
$1
or$2
. (#396)v1.18.0
Compare Source
Added
set
andencrypt
preserve leading spaces (#395)Changed
set
,encrypt
, anddecrypt
(#395)encrypt
, thendecrypt
, thenencrypt
on a json value (#377)Note: the underlying
replace
engine to support these changes now wraps your values in single quotes. the priorreplace
engine wrapped in double quotes.So where your
.env
used to look like this with double quotes:It will now begin looking like this with single quotes:
It's an aesthetic side effect only. Your values will continue to be decrypted and encrypted correctly.
v1.17.0
Compare Source
Added
--format=eval
option forget
(#393)v1.16.1
Compare Source
Changed
options.stdio
(#391)v1.16.0
Compare Source
Changed
dotenvx keypair
call out todotenvx pro keypair
if pro installed (#390)v1.15.0
Compare Source
Added
--format=shell
option forkeypair
(#389)v1.14.2
Compare Source
Changed
process.stdout.write
forconsole.log
to patch up npx edge case (#387)v1.14.1
Compare Source
Changed
v1.14.0
Compare Source
Added
dotenvx keypair
command for printing your public/private keypairs (#375)v1.13.3
Compare Source
Changed
decrypt
fails in any way (#374)v1.13.2
Compare Source
Added
getColor
andbold
tolib/main.js
(#369)v1.13.1
Compare Source
Added
logger
andsetLogLevel
tolib/main.js
-const = { logger, setLogLevel } = require('@​dotenvx/dotenvx')
(#368)v1.13.0
Compare Source
Changed
ls
to core commands (#367)v1.12.1
Compare Source
Changed
dotenvx get --format shell
(#366)v1.12.0
Compare Source
Added
dotenvx get --format shell
option (#363)v1.11.5
Compare Source
Changed
tinyexec
forexeca
- to support usage in bunarktypeio/arktype (arktype)
v2.1.0
Compare Source
match
The
match
function provides a powerful way to handle different types of input and return corresponding outputs based on the input type, like a type-safeswitch
statement.Case Record API
The simplest way to define a matcher is with ArkType definition strings as keys with corresponding handlers as values:
In this example,
sizeOf
is a matcher that takes a string, array, number, or bigint as input. It returns the length of strings and arrays, and the value of numbers and bigints.default
accepts one of 4 values:"assert"
: acceptunknown
, throw if none of the cases match"never"
: accept an input based on inferred cases, throw if none match"reject"
: acceptunknown
, returnArkErrors
if none of the cases match(data: In) => unknown
: handle data not matching other cases directlyCases will be checked in the order they are specified, either as object literal keys or via chained methods.
Fluent API
The
match
function also provides a fluent API. This can be convenient for non-string-embeddable definitions:Narrowing input with
in
, property matching withat
Builtin keywords can now be globally configured
This can be very helpful for customizing error messages without needing to create your own aliases or wrappers.
The options you can provide here are identical to those used to configure a Type directly, and can also be extended at a type-level to include custom metadata.
Tuple and args expressions for
.to
If a morph returns an
ArkErrors
instance, validation will fail with that result instead of it being treated as a value. This is especially useful for using other Types as morphs to validate output or chain transformations.To make this easier, there's a special
to
operator that can pipe to a parsed definition without having to wrap it intype
to make it a function.This was added before 2.0, but now it comes with a corresponding operator (
|>
) so that it can be expressed via a tuple or args like most other expressions:Error configurations now accept a string directly
Keep in mind, as mentioned in the docs, error configs like
message
can clobber more granular config options likeexpected
andactual
and cannot be included in composite errors e.g. for a union.Though generally, returning a string based on context is the best option, in situations where you always want the same static message, it's now easier to get that!
Type.toString() now wraps its syntactic representation in
Type<..>
Previously,
Type.toString()
just returnedType.expression
. However, in contexts where the source of a message isn't always aType
, it could be confusing:Hopefully if you interpolate a Type, you'll be less confused by the result from now on!
Improve how Type instances are inferred when wrapped in external generics
Previously, we used
NoInfer
in some Type method returns. After migrating those to inlined conditionals, we get the same benefit and external inference for cases like this is more reliable:Fix an issue causing some discriminated unions to incorrectly reject default cases
unovue/shadcn-vue (shadcn-nuxt)
v0.11.4
Compare Source
CLI
🐞 Bug Fixes
useMediaQuery
inSidebarProvider.vue
new-york style - by @fabianbernhart in https://github.com/unovue/shadcn-vue/issues/927 (8a24d)View changes on GitHub
v0.11.3
Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.11.2
Compare Source
Fixes
unovue/shadcn-vue@ff1b5f0
unovue/shadcn-vue@2cb7671
unovue/shadcn-vue@eff3e75
unovue/shadcn-vue@3646203
Full Changelog: unovue/shadcn-vue@v0.11.0...v0.11.2
v0.11.0
Compare Source
🚀 Features
@nuxtjs/color-mode
module - by @selemondev and @selemon-dev in https://github.com/unovue/shadcn-vue/issues/737 (50113)🐞 Bug Fixes
TableFooter.vue
from ui/table components - by @kylemilloy in https://github.com/unovue/shadcn-vue/issues/605 (8cbd5)NumberField
more flexible - by @hsellik in https://github.com/unovue/shadcn-vue/issues/613 and https://github.com/unovue/shadcn-vue/issues/623 (eeca6)name
to fieldState - by @hrynevychroman in https://github.com/unovue/shadcn-vue/issues/643 (d50ea)truncate
andtext-start
- by @hrynevychroman in https://github.com/unovue/shadcn-vue/issues/726 (85b10)api
- by @Artemiy111 in https://github.com/unovue/shadcn-vue/issues/612 (edc4e)View changes on GitHub
Configuration
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.