What's new in this release
Automatic @latest
- Adding a package without a version number will now automatically install the latest version of the package from our Index. This is equivalent to running
devbox add pkg@latest
from the CLI - Pinning a specific Nixpkg commit for the entire project in your
devbox.json
is now deprecated. This release still maintains backwards compatibility, but the nixpkg commit will be removed from the config in an upcoming release. - See our guide on pinning packages for more information
Devbox Global Improvements
devbox global pull
can now pull and activate a global profile from a tarball.- You can now use
update
,services
, andrun
withdevbox global
. - Running
devbox run
without an argument will list the available global scripts
devbox create
- Our new
create
subcommand makes it easy to create a new devbox project from a template. - Our current templates are based on the projects in our examples repo
MariaDB Plugin
- Devbox can now automatically configure MariaDB packages using our Plugin.
- Click here to see the example project, or read the MariaDB docs for more detail
PHP Plugin improvement
- PHP plugin now lets you edit the php.ini file for your project.
Performance Improvements
- Projects with a large number of packages are now significantly faster when running
devbox add
Bug Fixes
- Devbox no longer overwrites XDG_DATA_DIRS, instead it will prepend to the path
- Fixed a bug that caused plugins to function incorrectly with certain Nix pnames
- Fixed
pip
plugin autodetection - Fixed a bug that prevented Devbox from installing
path:
flakes without adefault
package - Changes to local flakes should now update when the user runs
devbox install
Special thanks to
- @bketelsen, @mauricioabreu, and @chancecarey for their first time contributions to Devbox!
- @hezhizhen for their continuing contributions!
- @mdwn, @rbelem, @jrseliga, @ereduled, and @mauricioabreu for reporting issues that were addressed in this release
What's Changed
- [haskell] Move planner to plugin by @mikeland86 in #1009
- [devbox.json] Don't create nixpkgs commit hash by @mikeland86 in #1013
- [examples] Added llama example by @mohsenari in #1008
- [versions] Enable auto-latest by @mikeland86 in #1011
- [easy][pip] Fix pip plugin by @mikeland86 in #1005
- [planners] Remove unused planner code by @mikeland86 in #1012
- [testscripts] augment php testscrpt to remove and re-add a php-extension by @savil in #1021
- [devbox.json] Turn shell into pointer by @mikeland86 in #1014
- [cicd] Simplify go CICD cache by @mikeland86 in #1019
- chore: update dependencies by @hezhizhen in #1030
- [direnv] Added warning for old envrc content by @mohsenari in #1018
- [global] Remove global only functions, make global reuse local code by @mikeland86 in #1027
- [bug fix] write devbox.lock file first, and then write local.lock by @savil in #1032
- [devcontainer] Added shellenv to dockerfile template by @mohsenari in #1036
- [UX] Improve ux when nixpkgs has not been downloaded by @mikeland86 in #1040
- [plugin] Add
php.ini
in the PHP plugin by @Lagoja in #1039 - [templates] Add ability to start project from a template by @mikeland86 in #1016
- [docs] Correct direnv.md reference to
devbox generate direnv
by @chancecarey in #1042 - [easy][bug] Fix legacy resolving when nixpkgs hash is not set by @mikeland86 in #1047
- [pull] Implement pull tar by @mikeland86 in #1043
- [refactor] Move config to own package. Don't warn if overwriting defa… by @mikeland86 in #1045
- [global] Add update/services/run commands to global by @mikeland86 in #1046
- [shellenv] prepend to XDG_DATA_DIRS, instead of overwriting by @savil in #1041
- MariaDB Plugin by @Lagoja in #1048
- [perf] Improve how we determine attribute path by @mikeland86 in #1050
- feat: add list to devbox run if no args are given by @bketelsen in #1054
- [docs] Mention bundler flags/configs for ruby projects by @mauricioabreu in #1031
- [Flakes] Changes to local flakes should reflect in shell after devbox install by @savil in #1063
- [plugins] Improve how we determine package name in plugins by @mikeland86 in #1062
- [docs][easy] Fix missing code block type in ruby.md by @mikeland86 in #1065
- [packages] fix error check in pendingPackagesForInstallation by @savil in #1052
- [flakes] Fix flakes with fragments by @mikeland86 in #1069
New Contributors
- @chancecarey made their first contribution in #1042
- @bketelsen made their first contribution in #1054
- @mauricioabreu made their first contribution in #1031
Full Changelog: 0.5.2...0.5.3