proto v0.29 - Better environment support
In this release, we focused heavily on environment interoperability.
New environment aware configuration
We've made a small but useful improvement to .prototools
, environment aware files! When the
PROTO_ENV
environment variable is set, proto will look for an additional .prototools.{env}
file
and merge it with the base configuration.
This is useful for certain deploy scenarios where you need different versions of tools, environment variables, or settings!
node = "21.0.0"
node = "20.0.0"
New [env]
and [tools.*.env]
settings
We're also introducing 2 new settings to the .prototools
file, [env]
and [tools.*.env]
, both of which configure environment variables
that'll be applied when the tool is executed. This is useful for defining directory-level and
tool-specific variables.
[env]
DEBUG = "*"
[tools.node.env]
NODE_ENV = "production"
View the configuration documentation for more information on how these work!
Other changes
View the official release for a full list of changes.
- Updated
proto tool info
to display aliases and environment variables. - Updated WASM logs to be shown alongside proto's
--log
output (under theextism::pdk
namespace).