Releases: jetify-com/devbox
Releases · jetify-com/devbox
0.5.13
What's new in this Release
- Fixes an issue with triggering a nix install even for commands that don't require it, like devbox version
Changelog
- 9e85678 [devbox.Open] drop ensureNixInstalled function call (#1453)
- 4f014e2 docs: Update action version in github_action.md (#1449)
- 27be737 [Github Action] cli-test: improve naming summary (#1448)
- d219b01 Docs for platform-specific packages (#1441)
- 066944e [rm nixpkgs] use path-from-hash-part command when updating lock file (#1442)
0.5.12
What's New in This Release
Platform Specific Packages
- Users can now add packages to their
devbox.json
that will only install on specific platforms. This is useful when you need to install specific packages on Linux or macOS that are not compatible with different platforms.- To only install a package on a specific platform, you can use
devbox add <package> --platform <platforms>
. For example:devbox add busybox --platform x86_64-linux,aarch64-linux
will add busybox to your devbox.json, but only install it on Linux Platforms - To prevent devbox from installing on a specific platform, you can use
devbox add <package> --exclude-platform <platforms>
- To only install a package on a specific platform, you can use
- Note: Specifying platforms for packages will alter your
devbox.json
in a way that is only compatible with Devbox 0.5.12 and newer. You can update Devbox usingdevbox version update
Customize the NGINX Plugin with Environment Variables
- Our NGINX plugin now installs and uses
envsubst
so that developers can manage and customize their nginx.conf file with environment variables. This is similar to how NGINX docker containers work.
Public Docker Image for Devbox
- We now publish an official Docker image for Devbox at jetpackio/devbox. You can use this image to run Devbox in CI/CD, or to test Devbox without installing Nix locally
- We've also updated
devbox generate dockerfile|devcontainer
to use this public image, which should simplify and speed up local image builds
devbox info
Improvements
devbox info
now shows the summary information for packages, along with any plugins that are available for the package.
Bug Fixes and Improvements
- Devbox will now skip version checks for commands like
devbox log
- Fixed a permissions issue that could affect the
.devbox
folder when switching between using Devbox locally and in a Docker container - Improved performance for
devbox run
by skipping binwrapper generation - Added checks to ensure plugin packages are added to nix profile
- Fixed a bug for
nix profile list
that affected packages added by store path
What's Changed
- Update node example to use the prebuilt binary by @LucilleH in #1362
- [extension] Added github action step to publish to openvsx by @mohsenari in #1341
- [docs] Updated docs for --root-user flag by @mohsenari in #1365
- Add docs for --env and devbox run changes by @Lagoja in #1366
- [vscode extension] Fixed github action workflow error by @mohsenari in #1368
- Added --root-user flag to devbox generate by @mohsenari in #1359
- [plugins] Ensure plugin packages are in nix profile by @mikeland73 in #1367
- [Packages] Introduce the concept of Installable packages by @savil in #1357
- devbox.findPackagesByName should be constructed from Config packages by @savil in #1360
- [bin-wrappers] Don't use wrappers on run by @mikeland73 in #1361
- [per-OS Packages] Add platforms and excluded_platforms functionality by @savil in #1358
- [per-OS Packages] in devbox add, allow multiple --platform/--exclude-platform flag values by @savil in #1363
- [per-OS Packages] Suggest --platform/--exclude-platform upon error with installing package that is uninstallable on user's platform by @savil in #1364
- [per-OS Packages] fix devbox update for unversioned packages with platform/excluded-platform by @savil in #1370
- [per-OS Packages] Error if adding --platform, when
excluded_platforms
is defined by @savil in #1373 - [nix.System] call EnsureNixInstalled from devbox.Open, and cleanup function API by @savil in #1374
- [info] Modernize via search api by @savil in #1376
- [Remove Nixpkgs] Ensure we run cli-tests for oldest supported nix version, and 2.17 by @savil in #1375
- [docs] update docs to highlight restrictions for direnv integration by @LucilleH in #1377
- [rm nixpkgs] make HEAD request to BinaryCache to ensure binary is cached by @savil in #1318
- [cli-test] speed up yarn example by @savil in #1386
- [cli-tests] fix by pinning dependencies in rails examples by @savil in #1408
- [docs] Added pure flag docs by @mohsenari in #1411
- [per-OS Packages] Improve error message if package is uninstallable by @savil in #1387
- [Remove Nixpkgs] move concurrency code to own file by @savil in #1412
- fix: typo in mysql process-compose.yml by @kei01234kei in #1383
- [docs] Added devbox global push docs page by @mohsenari in #1414
- [global] Added hardcoded region to push pull bucket by @mohsenari in #1413
- Add missing READMEs to templates, fix lint by @Lagoja in #1418
- Change YAML titles to H1 for better rendering by @Lagoja in #1419
- [dockerhub] Added action for publishing docker image by @mohsenari in #1421
- Give Github Actions instance more disk by @ipince in #1427
- [shell] Support zim (a zsh framework) by @savil in #1428
- [rm-nixpkgs] Fix profile list bug for packages added by store path by @ipince in #1416
- Read all store paths from profile item by @ipince in #1417
- Fix bug when comparing profile item added by store path by @ipince in #1422
- [bug fix] do not check version for devbox log, and for commands whose prefix is in the skip-list by @savil in #1424
- docs: devbox remove command not exist, only rm by @Akiyamka in #1433
- [go] update to 1.21 version by @savil in #1436
- [generate] Updated dockerfile template to use devbox image by @mohsenari in #1432
- bug fix: FillNarInfoCache for versioned packages when adding package by @savil in #1437
- introduce testscript-examples updater, and update the examples by @savil in #1438
- [golangci-lint] bump action to latest release by @savil in #1439
- Use
envsubst
in our NGINX plugin by @Lagoja in #1435 - [per-OS Packages] omitempty for version in expanded Package json representation by @savil in #1440
- [Github Action] Only run max space action on ubuntu by @savil in #1447
New Contributors
- @kei01234kei made their first contribution in #1383
- @Akiyamka made their first contribution in #1433
Full Changelog: 0.5.11...0.5.12
0.0.0-edge.2023-08-31
0.0.0-edge.2023-08-31 edge release
0.0.0-edge.2023-08-24
0.0.0-edge.2023-08-24 edge release
0.5.11
New in this Release
.env
Support
- You can now add custom environment variables, or load variables from a .env file, using the
--env
and--env-file
flags. Variables loaded from the command line or a .env file will override the variables set by plugins, or in yourdevbox.json
- Supported commands include
shell
,run
,services
,global run
, andglobal services
. For more information, see our CLI reference - Direnv users can add
--env
or--env-files
to your.envrc
file, so that they automatically load whenever you CD into your directory. This can be useful if you always want to override your environment variables using a.env
file. For more details, see our Direnv Guide
Simpler Devbox Run UX
devbox run
can now run commands with flags directly without a--
separator- To run a command with flags, run
devbox run ls -l
- If you need to pass a flag to devbox run, pass it before your command (e.g.,
devbox run -c path/to/devbox.json ls -l
) - For more information, see our Scripts guide
ARMv7l Support
- Devbox now runs on ARMv7l architectures. Run Devbox on your Raspberry Pi!
- Special thanks to @mstruebing for adding this to our release process
Bug Fixes
- Fixed a bug that kept —process-compose-file from working if it pointed to a file outside the project directory
- Fixed an issue that caused Poetry to use a different version of Python than the one installed by the user
Special Thanks To:
- @angelside, @mstruebing, and @dcd-arnold for their first contributions to Devbox!
- @jrseliga for early feedback on the
--env
flag feature
What's Changed
- [shellenv] filter out DEVBOX_LATEST_VERSION env var by @savil in #1331
- Bump word-wrap from 1.2.3 to 1.2.5 in /vscode-extension by @dependabot in #1327
- Bump semver from 7.3.8 to 7.5.4 in /vscode-extension by @dependabot in #1272
- Deploy docs to vercel by @LucilleH in #1335
- [run] improve UX by not requiring '--' by @mikeland73 in #1326
- [rust template] Add cfg(test) attribute to mod test by @savil in #1342
- [easy] copy devbox.lock in generated Dockerfile by @savil in #1344
- [docs] sidebars.js, "guides/plugins" section is duplicated by @angelside in #1333
- Poetry plugin by @Lagoja in #1343
- [CLI] Added http url handling to create template by @mohsenari in #1346
- remove cuego.Complete from cuecfg.Marshal by @savil in #1349
- [remove nixpkgs] Remove CAPath, and only enable for nix >= 2.17 by @savil in #1332
- fix --process-compose-file issue by @Lagoja in #1345
- [Config Packages] Enable optional map spec by @savil in #1351
- fix: release for armv7l by @mstruebing in #1300
- Use
devbox run -- ...
instead ofdevbox shell -- ...
by @mikenikles in #1352 - [env] Add --env and --env-file flags by @mikeland73 in #1353
- [docs] add documentation for devbox version update (#1355) by @dcd-arnold in #1356
- [env] Add env flags to direnv commands by @mikeland73 in #1354
New Contributors
- @angelside made their first contribution in #1333
- @mstruebing made their first contribution in #1300
- @dcd-arnold made their first contribution in #1356
Full Changelog: 0.5.10...0.5.11
0.0.0-edge.2023-08-10
0.0.0-edge.2023-08-10 edge release
0.0.0-edge.2023-08-03
0.0.0-edge.2023-08-03 edge release
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