What's new in this pre-release
devbox cache
support in the CLI
Version 0.11 of devbox and newer can now use Devbox Cache when logged in with a Jetify Cloud account. Jetify Cache includes a private cache for your own custom packages and flakes, as well as a Prebuilt Cache that expands on the public Nix Cache.
Visit our docs to learn more about how to setup a cache with Jetify Cloud. You can also view the CLI cache commands using devbox cache --help
Startup Performance:
- Devbox can now detect if your project is missing store paths, and then prompt you to backfill them. This speeds up package installation by letting us pull packages directly from the cache.
- To update your storepaths, run
devbox install --tidy-lockfile
- To update your storepaths, run
- All packages are installed in a single Nix command, rather than sequentially in individual Nix commands
Process Compose
- Added a new
--pcflags
option so you can pass flags directly to Process Compose when starting your services. For example:- You can run a namespace using `devbox services up --pcflags "-n=my-namespace"
- You can change the process-compose servers port using `devbox services up --pcflags "-p=3003"
- Process compose is now installed via Nixpkgs, meaning we can take advantage of caching
Other fixes
- Added an optional name + description field to the
devbox.json
schema - Updates to docs and error commands
Special thanks to:
- @iamdejan, @savtrip, @unscrew, @vhsantos
- Extra special thanks to @unscrew for translating our README.md to Korean!
Full Changelog
- Add new --pcflags option to devbox services up by @josh-d2 in #2111
- [docs] update the quickstart guide by @iamdejan in #2004
- [docker] Added fix to run image release on tags creation + backfill action by @mohsenari in #2118
- all: update dependencies by @gcurtis in #2126
- examples/stacks/rails/blog: update dependencies by @gcurtis in #2127
- [perf] Add flag to fix missing store paths by @mikeland73 in #2102
- Moved process-compose into a generic utilities Devbox project by @josh-d2 in #2122
- internal/nix: improve command error handling by @gcurtis in #2125
- Update direnv.md by @savtrip in #2110
- internal/nix: fix version comparison for prerelease versions by @gcurtis in #2131
- all: use log/slog for debug logs by @gcurtis in #2132
- [easy] devbox docs: direnv, remove warning about 0.5.0 breaking change by @savil in #2134
- [perf] Install all packages to profile in a single nix command by @mikeland73 in #2130
- [Docs] Move cloud docs to main docs by @Lagoja in #2049
- Update Images by @Lagoja in #2140
- docs: add translation of README - Korean version by @unscrew in #2139
- Add name/description to devbox json schema. by @vhsantos in #2092
- internal/nix: log all command starts and exits by @gcurtis in #2135
- [CI] Update go-releaser action by @Lagoja in #2143
New Contributors
- @iamdejan made their first contribution in #2004
- @savtrip made their first contribution in #2110
- @unscrew made their first contribution in #2139
- @vhsantos made their first contribution in #2092
Full Changelog: 0.11.0...0.11.1