Skip to content

Releases: jetify-com/devbox

0.12.0

27 Jun 22:11
4409115
Compare
Choose a tag to compare

What's new in this Release

Devbox Run Improvements

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.

Devbox Global Improvements

Devbox Global has been updated to no longer set Nix environment variables or stdenv packages in your global path. This provides a cleaner environment for your Devbox packages, without interfering with the tooling installed on your host

  • Previous versions of Devbox Global would set it's own versions of packages like gcc, ld, and clang at the top of your global path, which could break system build tools. This version will no longer set those packages in your path
  • Previous versions of Devbox Global would set variables like PYTHONPATH, which could override and cause issues with your host Python interpreter or other Python based binaries. This version will no longer set those variables
  • Note: This change may cause certain libraries or packages to stop working with Devbox Global. If you need these packages to continue working, you can add --omit-nix-env=false to the invocation in your shellrc:
     eval "$(devbox global shellenv --init_hooks --omit-nix-env=false)"

devbox cache enable

You can now enable the Jetify Prebuilt Cache right from command line by running devbox cache enable. Running this command will let you login or create a free Jetify Cloud account from your browser, and then configure Nix on your system to use the cache.

What's Changed

  • [docker] fix docker release image by @mohsenari in #2136
  • [Remove Nixpkgs] remove feature flag by @savil in #2142
  • [RFC][Devbox] computeEnv: remove __ETC_PROFILE_NIX_SOURCED=1 by @savil in #2147
  • [docker] Added steps for latest tag for devbox & devbox-root by @mohsenari in #2146
  • [devbox] run: skip re-computing Devbox State if in devbox shell by @savil in #2144
  • Update README.md by @Lagoja in #2158
  • Bump braces from 3.0.2 to 3.0.3 in /vscode-extension by @dependabot in #2145
  • [easy][lock-tidy] Don't tidy flakes by @mikeland73 in #2162
  • Bump braces from 3.0.2 to 3.0.3 in /docs/app by @dependabot in #2163
  • [devbox global] add --omit-nix-env flag for shellenv/shell/run commands by @savil in #2150
  • [Devbox] introduce devopt.EnvOptions by @savil in #2159
  • [Devbox services] move functions to services.go, and improve runDevboxServicesScript by @savil in #2164
  • boxcli: devbox cache enable by @gcurtis in #2157
  • [lock-tidy] Put warning behind feature flag by @mikeland73 in #2171

Full Changelog: 0.11.1...0.12.0

0.12.0-devb

25 Jun 20:34
4409115
Compare
Choose a tag to compare
0.12.0-devb Pre-release
Pre-release

What's new in this release

  • Fix excessive tidy lockfile warnings
  • Add devbox cache enable command

Changelog

  • 4409115 [lock-tidy] Put warning behind feature flag (#2171)
  • ac28b01 boxcli: devbox cache enable (#2157)
  • de5bb79 [Devbox services] move functions to services.go, and improve runDevboxServicesScript (#2164)

0.12.0-deva

20 Jun 16:01
1573ae8
Compare
Choose a tag to compare
0.12.0-deva Pre-release
Pre-release

What's new in this prerelease

Init Hook Improvements

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.

Devbox Global improvements

Devbox Global has been updated to no longer set Nix environment variables or stdenv packages in your global path. This should allow package and tools to work well with Devbox Global, without interfering with the tooling installed on your host

  • Previous versions of Devbox Global would set it's own versions of packages like gcc, ld, and clang at the top of your global path, which could break system build tools. This version will no longer set those packages in your path

  • Previous versions of Devbox Global would set variables like PYTHONPATH, which could override and cause issues with your host Python interpreter or other Python based binaries. This version will no longer set those variables

  • Note: This change may cause certain libraries or packages to stop working with Devbox Global. If you need these packages to continue working, you can add --omit-nix-env=false to the invocation in your shellrc:

     eval "$(devbox global shellenv --init_hooks --omit-nix-env=false)"

Bug Fixes

Fixed a bug where Devbox was improperly trying to tidy the lockfile for flakes.

Changelog

0.12.0-dev

17 Jun 15:29
2b0decf
Compare
Choose a tag to compare
0.12.0-dev Pre-release
Pre-release

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

13 Jun 20:44
6aebe96
Compare
Choose a tag to compare

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:

  1. 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
  2. All packages are installed in a single Nix command, rather than sequentially in individual Nix commands

Process Compose

  1. 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"
  2. Process compose is now installed via Nixpkgs, meaning we can take advantage of caching

Other fixes

  1. Added an optional name + description field to the devbox.json schema
  2. Updates to docs and error commands

Special thanks to:

Full Changelog

New Contributors

Full Changelog: 0.11.0...0.11.1

0.11.1-dev

13 Jun 17:37
6aebe96
Compare
Choose a tag to compare
0.11.1-dev Pre-release
Pre-release

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:

  1. 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.
  2. All packges are installed in a single Nix command, rather than sequentially in individual Nix commands

Process Compose

  1. Added a new --pcflags option so you can pass flags directly to Process Compose when starting your services
  2. Process compose is now installed via Nixpkgs, meaning we can take advantage of caching

Other fixes

  1. Added an optional name + description field to the devbox.json schema
  2. 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

31 May 19:53
b4a2add
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.10.7...0.11.0

0.11.0-dev

23 May 20:24
3f555f9
Compare
Choose a tag to compare
0.11.0-dev Pre-release
Pre-release

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

15 May 19:27
132ad46
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.10.6...0.10.7

0.10.7-devb

15 May 18:32
132ad46
Compare
Choose a tag to compare
0.10.7-devb Pre-release
Pre-release

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)