Skip to content

v5.0.0-beta.26

Pre-release
Pre-release

Choose a tag to compare

@LouisMazel LouisMazel released this 10 Jun 09:38
· 0 commits to master since this release

compare changes

🚀 Features

  • @maz-ui/node: ExecPromise - add timeout option (db545d0a2)

    Commands can now be automatically killed after a specified duration using the timeout option (in milliseconds). When exceeded, the process is terminated and the promise rejects with a timeout error. No timeout is applied by default.

  • @maz-ui/node: ExecPromise - support env, maxBuffer, killSignal, shell and signal options (5867a6876)

    New options are now available for command execution:

    • env: extra environment variables merged with process.env
    • maxBuffer: maximum bytes on stdout/stderr before termination (default 1 MiB)
    • killSignal: signal used to terminate commands (default SIGTERM)
    • shell: shell to execute commands with
    • signal: an AbortSignal for cancellation

    The options type is exported as ExecPromiseOptions.

🩹 Fixes

  • @maz-ui/node: ExecPromise - redact secrets in command logs and errors (903cbc080)

    Sensitive information such as authentication tokens, passwords, provider tokens, and JWTs are now automatically masked in command logs and error messages. Long tokens remain partially visible with their first and last 4 characters shown for credential verification.

❤️ Contributors