Releases: jetify-com/devbox
0.5.6
New in this Release
- MySQL Plugin: Our new plugin will automatically configure MySQL to work with Devbox. The plugin will activate when you install
mysql80
ormysql57
usingdevbox add
, or if you addplugin:mysql
to the includes in your Devbox.json
Bugs Fixed
- Improved Devbox performance on slow/unstable networks by running telemetry in a separate process
- Disabled version check when running
devbox version update
- Running
devbox update
will now update your remote flakes as well - Reduced
bash
output errors in--pure
mode by automatically installingbashInteractive
- Added TERM as a permitted env variable in
--pure
shell
Special Thanks to:
- First-time contributors @httpete, @ibuildthecloud, and @ivorytoast for submitting PRs for this release!
- @hezhizhen and @mauricioabreu for their continuing contributions to Devbox
- @apgrucza, @gfriloux, @dnkmmr69420, letmutx, and others for reporting bugs that were addressed in this release
Full Changelog
- Initial Laravel Docs by @Lagoja in #1161
- Remove pkgs from nix profile that are no longer on devbox.json by @ipince in #1181
- Remove incomplete sentence in docs by @ipince in #1186
- [update] Update flakes by @mikeland73 in #1180
- [cloud-profile] Implement push/pull of cloud profile by @mikeland73 in #1128
- [global] Better error message when profile doesn't exist by @mikeland73 in #1195
- [simplify] remove searcher client caching by @savil in #1187
- [cleanup] plansdk by @savil in #1188
- [cleanup] introduce filegen package, and move functions that generate files into it by @savil in #1189
- [filegen] move devcontainer_util.go into package filegen; make tmplFS internal by @savil in #1190
- [filegen] move plansdk.FlakePlan and plansdk.FlakeInput by @savil in #1191
- [filegen] move NixpkgsInfo into filegen (no more plansdk) by @savil in #1192
- [naming] rename filegen to shellgen; and move devcontainer_util.go to /impl/generate by @savil in #1198
- [Docs] Fix link for Laravel "Open in Devbox.sh" by @Lagoja in #1197
- Fix the Django Example by @Lagoja in #1184
- [nix input] Add comments, and renames for clarity by @savil in #1203
- [update][easy] Run nix flake update by @mikeland73 in #1206
- [nix.Input][Part I] Refactor nix.Input -> nix.Package by @mikeland73 in #1207
- [remove nixpkgs] part 1: write info for nix store paths in lockfile by @savil in #1208
- [vscode-extension] fix vscode terminal PATH by @mohsenari in #1199
- [cleanup] Added pure_shell.go and renamed convertEnvToMap by @mohsenari in #1202
- Update devbox.sh template links by @LucilleH in #1212
- [vscode-extension] Version bump and README/CHANGELOG update by @mohsenari in #1211
- [examples] simplify remote flakes example by dropping
fenix
flake by @savil in #1213 - (cli) Don't check version when updating devbox by @mauricioabreu in #1194
- Update README.md by @httpete in #1217
- [direnv] copy bash, fish, zsh shell code from direnv by @savil in #1156
- [RFC][direnv-inspired] introduce export and hook commands, use in devbox shell, global and direnv by @savil in #1172
- [vscode-extension] Adding missing commands to devbox vscode extension - v0.1.1 by @mohsenari in #1219
- Mysql Plugin v1 by @Lagoja in #1221
- [searcher] Add SearchOption and handle host error by @hezhizhen in #1173
- Fix broken envrc template by @ibuildthecloud in #1228
- telemetry: report segment events asynchronously by @gcurtis in #1222
- [minor fix] hide hook command; update obsolete comment by @savil in #1229
- [CLI] Added TERM as leaking env vars in pure shell by @mohsenari in #1230
- [CLI] Changed default nix bash to bashInteractive by @mohsenari in #1223
- [cleanup] remove launched flags for UnifiedEnv and Lockfile; remove Disabled method by @savil in #1152
- Update Contribution Guide To Help Solve Potential Setup Error by @ivorytoast in #1225
New Contributors
- @httpete made their first contribution in #1217
- @ibuildthecloud made their first contribution in #1228
- @ivorytoast made their first contribution in #1225
Full Changelog: 0.5.5...0.5.6
0.0.0-edge.2023-06-29
0.0.0-edge.2023-06-29 edge release
0.0.0-edge.2023-06-22
0.0.0-edge.2023-06-22 edge release
0.5.5
New in this Release
Pure Shell Mode
You can now run your shells, scripts, and services in pure mode using the --pure
flag.
Pure mode will run your Devbox shell as a fully isolated environment, without leaking in any environment variables from your host OS (except for $HOME and the PATH to devbox
+ nix
executables). This mode is useful when you want to run your shell with greater isolation and reduced dependency on your host OS, and can help with reproducibility across different machines.
Bugs Fixed
- Fixed a binwrapper issue that prevented some binaries from running
- Fixed Several Plugin issues:
- [Caddy]: Changed Default port to a non-privileged one
- [NGINX, MariaDB]: Fixed a path issues that caused reliability issues with NGINX and MariaDB
- [PHP]: @JoyceBabu fixed a bug that set the pid file to the logfile path
- [PHP]: Fixed an issue that prevented the PHP service from starting when passed as an argument
- Dockerfiles created with
devbox generate dockerfile | devcontainer
now copy in your local Flakes - Dockerfiles now include GPG (thanks to @apgrucza)
- Fixed several
devbox create
templates - Fixed a bug that caused removed packages to persist in user’s environments
- Update will no longer completely fail if we encounter a
package not found
error - Adding a newer version of a package with
devbox add
to a project will replace older versions of the package indevbox.json
anddevbox.lock
Special Thanks
- @JoyceBabu and @apgrucza for their first contributions to Devbox!
- @mikenikles for their continuing contributions
- @hezhizhen for contributing 9(!!) PRs to this release
- Thanks to @ibuildthecloud, @letmutx, @quekshuy, and @mdwn for reporting issues that were addressed in this release
Full Changes
- [cicd] Fix pre-release by @mikeland86 in #1079
- [docs] Updated direnv docs to reflect update after v0.5.0 by @mohsenari in #1080
- Update open in devbox.sh links by @LucilleH in #1089
- Change error message for devbox add when a package is not found by @LucilleH in #1088
- Update nodejs examples by @LucilleH in #1087
- Keep file mode the same as it is cleared by @hezhizhen in #1097
- Hide devbox cloud cli command for now in favor of devbox.sh by @LucilleH in #1101
- Change caddy to run on non privileged ports by @LucilleH in #1106
- Update quickstart.mdx by @LucilleH in #1102
- [push] Simplify git clone for push by @hezhizhen in #1096
- [versioned] If user adds new version, remove previous versions of canonical by @mikeland86 in #1105
- [update] call createWrappers by @savil in #1093
- [envrc] run devbox install to ensure createWrappers is called by @savil in #1092
- [update] Fix update bug by @mikeland86 in #1108
- [RunScript] Add ctx parameter by @hezhizhen in #1118
- [sshshim] Add and pass ctx parameter for sshshim execution by @hezhizhen in #1119
- [update] update description for update command by @hezhizhen in #1115
- [fileutil] use 0755 as default filemode to create dir by @hezhizhen in #1103
- [lockfile] add lockfile.Tidy and call from ensurePackagesAreInstalled by @savil in #1109
- [devcontainer] Add GPG to dockerfile template by @apgrucza in #1111
- [update] Show warning for legacy packages and fix with update by @mikeland86 in #1107
- Add Fleek + Git push/pull to devbox global docs by @Lagoja in #1121
- [shellenv] filter out buildInput paths from PATH by @savil in #1091
- [CLI] devbox shell --pure by @mohsenari in #1084
- [update] UX fixes to update path by @mikeland86 in #1129
- Use
devbox.lock
instead ofDevbox.lock
by @mikenikles in #1127 - Fix nginx example by @LucilleH in #1124
- Fix stacks examples by @LucilleH in #1125
- Laravel Example by @Lagoja in #1112
- Polish devbox cloud docs by @LucilleH in #1131
- [auth] Implement device flow auth by @mikeland86 in #1114
- [run] escape quotes in arguments by @savil in #1144
- [pure-shell] making sure nix is in path in pure mode by @mohsenari in #1143
- fix: pid file was set to log file path by @JoyceBabu in #1146
- [CLI] Removed DISPLAY & USER to leak to pure shell by @mohsenari in #1149
- Remove virtualenv data xdg directory symlinks by @LucilleH in #1148
- [bin wrappers] add --omit-wrappers-from-path to shellenv to prevent a binary from invoking a wrapped-binary. by @savil in #1151
- Combine checks and parsing of versioned packages by @hezhizhen in #1116
- Revert "[bin wrappers] add --omit-wrappers-from-path to shellenv to prevent a binary from invoking a wrapped-binary. (#1151)" by @savil in #1159
- wrappers] ensure bin-wrappers invoke other binaries and not bin-wrappers by @savil in #1160
- [vscode-extension] reopen vscode in devbox env using process communication by @mohsenari in #1075
- Add an issue template for Feature Requests by @loreto in #1162
- [dockerfile] Copying local flakes in dockerfile by @mohsenari in #1154
- [bin wrappers] fixes for only-path-without-wrappers call by @savil in #1163
- [cleanup] remove --use-cached-print-dev-env from shellenv by @savil in #1153
- [bugfix, cleanup] Finish moving plugin services to process compose by @ipince in #1150
- [trace] Add trace for Devbox methods by @hezhizhen in #1098
- [plugins] Update file names and other punctuation in apache docs by @ipince in #1169
- [pure shell] Fixed devbox not being in path by @mohsenari in #1170
- [searcher] Merge Search and SearchVersion by @hezhizhen in #1117
- [ux] Add FNotice by @hezhizhen in #1139
- [errors] use pkg errors instead of std errors by @hezhizhen in #1174
- [update][easy] Fix update by @mikeland86 in #1179
New Contributors
- @apgrucza made their first contribution in #1111
- @JoyceBabu made their first contribution in #1146
Full Changelog: 0.5.4...0.5.5
0.0.0-edge.2023-06-15
0.0.0-edge.2023-06-15 edge release
0.0.0-edge.2023-06-08
0.0.0-edge.2023-06-08 edge release
0.5.4
New in this release
devbox global push/pull
Sync your global config to a git repo using devbox global push <git repo>
, and then clone it on any machine using devbox global pull <git repo>
.
Bug Fixes
- Fixes a bug that prevented
path:
flakes from installing if they did not output adefault
package. - Fixes an bug where certain wrapped binaries caused an infinite loop
- Fixes a race condition in
devbox global
- Improves reliability of wrappers in a multi-project env
Changelog
- 92bb293 [shellenv] Fix infinite loop (#1083)
- e2c134d [readme][easy] Update readme example (#1076)
- 2f1d769 [wrappers] shellenv should not create bin wrappers (#1082)
- be311bd fix: don't error when existing symlink points at correct path (#1081)
- 6d7eb36 [wrappers] Improve wrappers in multi-project env (#1067)
- 20e598b [push] Add devbox global push (#1064)
- 7925856 [path] Add global path command (#1077)
0.0.0-edge.2023-06-01
0.0.0-edge.2023-06-01 edge release
0.5.3
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