Releases: jetify-com/devbox
0.12.0-dev
What's new in this pre-release
devbox run
will no longer re-run init_hooks
or attempt to recreate the shell environment if it is already running in a devbox shell environment. Implications of this change are:
- If you start a shell, and then run a script with
devbox run
, the script will not re-run the init_hook or recreate the environment - If you run a devbox script inside another devbox script, the
init_hook
and shell setup will only happen once.
Changelog
- 2b0decf [devbox] run: skip re-computing Devbox State if in devbox shell (#2144)
- b9cf6c4 [docker] Added steps for latest tag for devbox & devbox-root (#2146)
- d9c9f17 [RFC][Devbox] computeEnv: remove __ETC_PROFILE_NIX_SOURCED=1 (#2147)
- 3aac497 [Remove Nixpkgs] remove feature flag (#2142)
- 6549b43 [docker] fix docker release image (#2136)
0.11.1
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
0.11.1-dev
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
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.
- All packges 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 - 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
Changelog
- 6aebe96 [CI] Update go-releaser action (#2143)
- 1bc2a30 internal/nix: log all command starts and exits (#2135)
- 10b7bcc Add name/description to devbox json schema. (#2092)
- ef1e4c9 docs: add translation of README - Korean version (#2139)
- 2daf33d Update Images (#2140)
- 815ff11 [Docs] Move cloud docs to main docs (#2049)
- 5326d5b [perf] Install all packages to profile in a single nix command (#2130)
- b62b346 [easy] devbox docs: direnv, remove warning about 0.5.0 breaking change (#2134)
- 70aa55e all: use log/slog for debug logs (#2132)
- 64d3fd5 internal/nix: fix version comparison for prerelease versions (#2131)
- 8382061 Update direnv.md (#2110)
- f4a7589 internal/nix: improve command error handling (#2125)
- b8ef803 Moved process-compose into a generic utilities Devbox project (#2122)
- 3bb13c1 [perf] Add flag to fix missing store paths (#2102)
- a1f4f40 examples/stacks/rails/blog: update dependencies (#2127)
- f54bb09 all: update dependencies (#2126)
- c74320c [docker] Added fix to run image release on tags creation + backfill action (#2118)
- f52d2b8 [docs] update the quickstart guide (#2004)
- 8e53b0c Add new --pcflags option to devbox services up (#2111)
0.11.0
What's new in this release
- Perf improvements: Ensure and Install steps when starting your shell have been optimized to run faster, and avoid repetitive checks for packages that have already been installed. We also fixed a few regressions that were slowing down install times.
- Python Plugin Improvements: We removed a repetitive message about how to set up virtual environments for Python that showed on every shell creation. This message will now only show once on installation.
- PostgreSQL Plugin Improvments: Added a Readiness Probe for Postgresql in our default plugin. You can now have other services in your
process-compose.yml
wait for Postgres to be ready before starting. Thanks @mikenikles for contributing this feature - Lix and other Nix Forks: Devbox can now detect and use Nix forks (like Lix) if they are installed. Note that compatibility with Nix forks should be considered experimental. Thanks @SapphicCode for contributing this feature.
- Versioned Devbox Docker Images: Official Devbox Docker images are now tagged by version, so you can pin the image that you want to use to a specific version of Devbox
Bug Fixes
- Fixed store path parsing bugs that could affect package installation
- Fixed some incorrect documentation and help outputs.
Special Thanks to:
@silvestre, @vallops99, @josh-d2, @mootoday, and @SapphicCode for their first contributions to this release!
What's Changed
- [cicd] Update actions by @mikeland73 in #2058
- [nix-cache] Prevent checking cache twice per package by @mikeland73 in #2055
- Bump rexml from 3.2.5 to 3.2.8 in /examples/stacks/jekyll/myblog by @dependabot in #2060
- [nix-cache] Allow use of multiple caches. Split read vs write by @mikeland73 in #2059
- Bump rexml from 3.2.6 to 3.2.8 in /examples/stacks/rails/blog by @dependabot in #2061
- [debug] Add cache credentials flag and more perf profiling by @mikeland73 in #2065
- [easy] rename jetpack-cloud to jetify-cloud by @savil in #2068
- [credentials] Add version to cache key by @mikeland73 in #2066
- [cache] Use jetify caches by @mikeland73 in #2072
- chore(dev.Dockerfile.tmpl): Remove superfluous step number by @silvestre in #2073
- [perf] Fix regression by @mikeland73 in #2079
- nix: allow unfree and insecure in cache upload by @gcurtis in #2078
- [perf] Improve install and ensure perf by @mikeland73 in #2076
- [easy][bug] Fix install if package has no storepaths in lockfile by @mikeland73 in #2081
- [cache] Fallback for failed build with cache by @mikeland73 in #2082
- [container] Added metadata to tag docker image with devbox version by @mohsenari in #2080
- [cache] Show better error for no write cache by @mikeland73 in #2084
- [cache] Optimize cache upload by @mikeland73 in #2083
- Updated devbox shell documentation by @vallops99 in #2074
- nixcache: default to "yes" for setup prompt by @gcurtis in #2097
- internal/devbox: fix warning when user refuses cache setup by @gcurtis in #2095
- nixcache: don't check Jetify caches if they're not configured by @gcurtis in #2096
- [bug] Fix parseStorePathFromInstallableOutput by @mikeland73 in #2098
- [perf] memoize cache setup status by @mikeland73 in #2100
- Add a readiness_probe for postgresql by @mootoday in #2094
- Refactor the list command by @josh-d2 in #2101
- [nix] Fix StorePathsAreInStore by @mikeland73 in #2104
- fix(nix): add support for Nix forks by @SapphicCode in #2091
- Only notify users about Venv Activation on setup by @Lagoja in #2109
- nixcache: improve sudo prompt and help docs by @gcurtis in #2107
New Contributors
- @silvestre made their first contribution in #2073
- @vallops99 made their first contribution in #2074
- @mootoday made their first contribution in #2094
- @josh-d2 made their first contribution in #2101
- @SapphicCode made their first contribution in #2091
Full Changelog: 0.10.7...0.11.0
0.11.0-dev
New in this Pre-release
- Fix a performance regression
- Allow caching of unfree packages
Changelog
- 3f555f9 nix: allow unfree and insecure in cache upload (#2078)
- 893e550 [perf] Fix regression (#2079)
- ca5b5e0 chore(dev.Dockerfile.tmpl): Remove superfluous step number (#2073)
- 3246587 [cache] Use jetify caches (#2072)
- 99c7921 [credentials] Add version to cache key (#2066)
- 43481bb [easy] rename jetpack-cloud to jetify-cloud (#2068)
- 5def0a8 [debug] Add cache credentials flag and more perf profiling (#2065)
- 62acf88 Bump rexml from 3.2.6 to 3.2.8 in /examples/stacks/rails/blog (#2061)
- d434bf5 [nix-cache] Allow use of multiple caches. Split read vs write (#2059)
- 8b69475 Bump rexml from 3.2.5 to 3.2.8 in /examples/stacks/jekyll/myblog (#2060)
- 2285a3e [nix-cache] Prevent checking cache twice per package (#2055)
- b23231a [cicd] Update actions (#2058)
0.10.7
New in this release
- Process-compose version bumped to 1.5.0
- Fix authentication errors with Jetify Cloud
- Packages in devbox search now indicate when new versions are available
What's Changed
- [easy] Cleanup cache action by @mikeland73 in #2026
- fix: close archivePath by @testwill in #2027
- internal/nix: support older nix versions in DaemonVersion by @gcurtis in #2028
- [nix] Build all packages in same nix command by @mikeland73 in #2032
- [process-compose] Bump version by @mikeland73 in #2040
- [perf] Skip cache check if store path exists locally by @mikeland73 in #2042
- Indicate of a package version list in
devbox search
is truncated by @Lagoja in #2044 - internal/setup: move sudo into SudoDevbox function + fix macOS CI by @gcurtis in #2043
- Add mongodb + rabbitmq docs by @Lagoja in #2051
- Fix errors on rabbitMQ + Index Page by @Lagoja in #2052
- nixcache: fix setup error on multi-user systemd Nix installs by @gcurtis in #2053
- Bump nokogiri from 1.16.2 to 1.16.5 in /examples/stacks/rails/blog by @dependabot in #2050
- Revert "[perf] Skip cache check if store path exists locally" by @mikeland73 in #2054
New Contributors
Full Changelog: 0.10.6...0.10.7
0.10.7-devb
Changelog
- 132ad46 Revert "[perf] Skip cache check if store path exists locally" (#2054)
- c198a04 Bump nokogiri from 1.16.2 to 1.16.5 in /examples/stacks/rails/blog (#2050)
- d78aedf nixcache: fix setup error on multi-user systemd Nix installs (#2053)
- 35b9265 Fix errors on rabbitMQ + Index Page (#2052)
- 6186add Add mongodb + rabbitmq docs (#2051)
0.10.7-deva
0.10.7-dev
Whats New in this Pre-release
This is an experimental pre-release that tries to bundle package builds/installations into one step to improve performance.
What's Changed
- [easy] Cleanup cache action by @mikeland73 in #2026
- fix: close archivePath by @testwill in #2027
- internal/nix: support older nix versions in DaemonVersion by @gcurtis in #2028
- [nix] Build all packages in same nix command by @mikeland73 in #2032
New Contributors
Full Changelog: 0.10.6...0.10.7-dev
0.10.6
New in This Release
- Added a command to generate aliases in devbox.json - You can now use
devbox gen alias
to create aliases for your devbox scripts. This lets you run your scripts direct from the host, without needing to usedevbox run
- Devbox Pure Shell Env Variable -- Added a DEVBOX_PURE_SHELL to distinguish when a devbox shell is in pure mode.
Bug Fixes
- Github plugins are now cached to reduce the risk of hitting rate limits
- Fixes a bug that would overwrite plugins in your devbox.lock file
- Increase timeout when checking a user's nix version
Special Thanks To
What's Changed
- [plugins] Cache github plugin by @mikeland73 in #1997
- [Github App] devbox cloud app rename to jetify by @LucilleH in #2002
- Bump sqlparse from 0.4.4 to 0.5.0 in /examples/stacks/django by @dependabot in #2003
- [bug-fix] Fix lockfile rewrite and added devbox list command by @mikeland73 in #2007
- [docker] Updated devbox install links for docker images by @mohsenari in #2011
- nixcache: improve auto-configuration of cache by @gcurtis in #2010
- [gen] Add gen alias command by @mikeland73 in #2009
- [alias] Add no-prefix flag by @mikeland73 in #2012
- Add trailing slash redirection to docs by @LucilleH in #2014
- Fixed typos in scripts.md by @eltimn in #2015
- [gen] Implement gen prod dockerfile by @mikeland73 in #2017
- [telemetry] Add uid, org_id, and nix build event by @mikeland73 in #2018
- internal/nix: increase nix --version timeout by @gcurtis in #2022
- [easy][cicd] Bump devbox installer and switch to macos-13 by @mikeland73 in #2021
- [shellenv] add --recompute flag with default=true, while keep global shellenv's recompute flag with default=false by @savil in #2013
- [easy] added env variable to distinguish pure shell by @mohsenari in #2024
- [easy][deps] Update pkg, use new
DEVBOX_API_TOKEN
name by @mikeland73 in #2025 - [cache] Upload nix dependencies to cache by @mikeland73 in #2019
Full Changelog: 0.10.5...0.10.6