Releases: jetify-com/devbox
Releases · jetify-com/devbox
0.5.10
What's new
- Fixes an issue in bin-wrappers that could cause symlink-loops
- Simplifed devcontainer to run in single user nix mode
Changelog
0.5.9
This release fixes 2 issues in 0.5.8:
- Fixed a bug that would repeatedly prompt a user to upgrade to 0.5.8 until they ran
devbox install
- Fixed an issue where process-compose would fail to install unless users started a
devbox shell
first
Changelog
0.5.8
New in This Release
Note Please upgrade to this version if you are encountering issues with Nix 2.17.
- Adds support for Nix 2.17, and should fix any
nix profile list
errors that arise after upgrading. - Fixes a bug that would fail to correctly update the lockfile after running
devbox update
- Adds support for remote or Github hosted plugins
- You can now access plugins hosted on Github by adding
github:<org>/<repo>/<revision>?dir=<dir>
to theinclude
section of your devbox.json - The repo must contain a
plugin.json
at the root of the repo, or in thedir
if one is provided. - For more details on writing plugins, see our docs at: https://www.jetpack.io/devbox/docs/guides/creating_plugins/
- You can now access plugins hosted on Github by adding
Special Thanks to:
- @donni-h for making their first contribution to Devbox!
What's Changed
- Add plugin creation guide to docs by @Lagoja in #1271
- add docs for
--allow-insecure
by @Lagoja in #1273 - Add a new issue template for packages by @loreto in #1278
- Add Spring Boot Documentation by @Lagoja in #1274
- Add Nixhub Links to examples by @Lagoja in #1280
- [extension] Added handling for windows/WSL in vscode extension by @mohsenari in #1277
- [plugins] Implements github plugins by @mikeland73 in #1281
- Add Global Gems to Path by @Lagoja in #1284
- [errors] Show nicer error when installing a package that is not supported by current system by @mikeland73 in #1279
- [plugins] Allow multiple plugins per repo by @mikeland73 in #1285
- changelog and packagejson updates for v0.1.2 by @mohsenari in #1288
- [plugins] New github repo structure by @mikeland73 in #1290
- [easy][plugins] Fix test by @mikeland73 in #1294
- Update node npm package version by @LucilleH in #1289
- [bugfix] Write back lockfile after devbox update by @ipince in #1291
- [plugins] Remove match and packages from schema by @mikeland73 in #1296
- [rm nixpkgs] Add more info on errors for debuggability by @ipince in #1292
- Update quickstart.mdx by @donni-h in #1301
- [rm nixpkgs] Install same package in profile as in flake.nix by @ipince in #1295
- [tests] Fix docs about example tests by @ipince in #1302
- [easy][examples] Fix remote flake example by @mikeland73 in #1304
- Update the Yarn overlay example and make sure it works by @Lagoja in #1305
- Update Devbox.sh Docs, reorganize by @Lagoja in #1268
- [testscripts] update to use versioned packages by @savil in #1303
- [easy][minor fix] add error object to error message's format string inputs by @savil in #1307
- [Easy] Update README.md to link to Nixhub by @Lagoja in #1310
- [nix profile list] parse using --json in new nix version by @savil in #1308
- [tests] Add test for old nix versions by @mikeland73 in #1313
New Contributors
Full Changelog: 0.5.7...0.5.8
0.0.0-edge.2023-07-27
0.0.0-edge.2023-07-27 edge release
0.0.0-edge.2023-07-20
0.0.0-edge.2023-07-20 edge release
0.5.7
New in this release
- Custom Plugins — Custom plugins can now be defined without recompiling Devbox. This means you can create your own Plugins, and add them to your Devbox project by adding them to the
include
section of yourdevbox.json
- See our Creating Plugins docs for details on how to write your own plugin
- Check the examples directory in this repo for an example plugin
- Improved Search Results —
devbox search
anddevbox add
have several enhancements to make finding packages more reliable.- Devbox search uses our new v2 search endpoint, which is faster, more reliable, and more complete than our previous endpoint
- You can now search for a package with a version number (e.g.,
nodejs@20
) to get a better idea of how the reference will resolve - If a package is not in our search index or if our search index is unreachable, Devbox fall back to installing directly with Nix. This is useful for references like
stdenv.cc.cc.lib
which are not easily indexed by our search service. - Devbox’s search index can now search and add
nodePackages
from the Nix repository.
- Insecure Package Warnings and Override — Devbox will now warn you if a package that you wish to install has been marked insecure, and provide the reason why the package has been marked insecure.
- If you wish to use an insecure package, you can install it using
devbox add <pkg> --allow-insecure
. For example, to addnodejs@16
, you can rundevbox add nodejs@16 --allow-insecure
- If you wish to use an insecure package, you can install it using
Bug Fixes
- Fixed a fork bomb that could occur when adding certain packages, like
coreutils
(see #1260) - Fixed an error that could occur while cleaning up scripts (see #1252)
- Added a newline at the end of all generated files (see #1251)
Thanks to
- @hezhizhen for their contributions to this release
What's Changed
- [minor improvement] computeNixEnv: use JoinPathLists for idempotency of LIBRARY_PATHs by @savil in #1231
- [cleanup] remove unused Env code from bin-wrapper template by @savil in #1232
- [remove nixpkgs] part 2: generate flake.nix using builtins.fetchClosure by @savil in #1209
- Revert "[RFC][direnv-inspired] introduce export and hook commands, use in devbox shell, global and direnv (#1172)" by @savil in #1233
- [Docs] Updated docs for vscode integration by @mohsenari in #1234
- [docs] Fixed broken link in vscode doc page by @mohsenari in #1237
- [run] Add list flag to list all scripts by @hezhizhen in #1167
- [refactor] intro nixprofile package by @savil in #1238
- [refactor] move nix.Package to devpkg.Package by @savil in #1239
- call nix.System directly from lock.lockfile by @savil in #1245
- move nix.System call inside featureflag.RemoveNixpkgs if-condition by @savil in #1247
- Add MySQL docs, update example by @Lagoja in #1243
- [CLI] Added a "\n" to end of writefile by @mohsenari in #1251
- Fix script gen clean up failure by @LucilleH in #1252
- [search] Update search endpoints by @mikeland73 in #1249
- [plugins] Allow local non-compiled plugins by @mikeland73 in #1224
- [remove nixpkgs] enable fallback for packages not in binary store by @savil in #1236
- [remove nixpkgs] Enable installing and removing packages by @savil in #1255
- [remove nixpkgs] add toPath, and edit devbox.lock only on update command by @savil in #1256
- [remove nixpkgs] Naming: update Package methods to InputAddressedPath and ContentAddressedPath, and s/BinaryStore/BinaryCache by @savil in #1257
- [remove nixpkgs] move installableForPackage to a Package.Installable method by @savil in #1258
- [remove nixpkgs] bug fix: update only the user's sysInfo, rather than for all systems by @savil in #1259
- Add a Java Spring Boot Example by @Lagoja in #1261
- [bug] Added abs path ref. to devbox binary in wrappers by @mohsenari in #1260
- devbox add fallthrough and fallback for packages not handled by search by @LucilleH in #1264
- Update lockfile api for package source by @LucilleH in #1266
- [allow-insecure] Allow insecure packages with --allow-insecure flag by @mikeland73 in #1265
Full Changelog: 0.5.6...0.5.7
0.0.0-edge.2023-07-13
0.0.0-edge.2023-07-13 edge release
0.0.0-edge.2023-07-06
0.0.0-edge.2023-07-06 edge release
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