github jetify-com/devbox 0.0.5

latest releases: 0.13.0, 0.13.0-devrc, 0.13.0-deva...
2 years ago

Release Notes

Shell and Build Support for NodeJS and PHP

Devbox can now autodetect NodeJs and PHP projects. You can use devbox shell to spin up a shell with Node + PHP included, or build a Docker container with devbox build.

Customize your Devbox Shell with Init Hooks

Scripts configured as init_hooks in your devbox.json will run whenever you start a Devbox shell. This can be used to set environment variables, run setup tasks, or start background services whenever you initialize your shell. For example, you can use an init hook to customize your prompt whenever you start a shell:

{
  "shell": {
    "init_hook": "export PS1='📦 devbox> '\necho 'Welcome! See CONTRIBUTING.md for tips on contributing to devbox.'"
  }
}

Packages are now included in your Docker containers

Nix packages added in your devbox.json are now also installed in your Docker container when running devbox build. Packages will be installed before your project’s installation_stage runs.

You can view the full set of commits for this pre-release on Github

What's Next for Devbox

Our upcoming development cycle will focus on further expanding our language support, as well as releasing a framework for developers in our community to easily add Devbox support for their favorite languages. You can learn more about what's coming by reviewing our Public Roadmap.

Upgrading to the newest release

If you installed devbox via our install script (curl -fsSL https://get.jetpack.io/devbox | bash), you should get the new version automatically. The next time you run devbox you should see:

✓ Downloading version 0.0.5... [DONE]
✓ Verifying checksum... [DONE]
✓ Unpacking binary... [DONE]

Changelog

  • Fix README status badge by @gcurtis in #69
  • Add links to devbox site & docs in readme by @robrich in #71
  • Support runtime packages by @loreto in #52
  • Generate runtime.nix by @loreto in #75
  • Fix spurious segment error by @Lagoja in #61
  • Add testdata/ by @loreto in #77
  • [CLI] Improve errors, add user errors, plan errors by @mikeland86 in #62
  • Chinese Translation by @Yeegsing in #66
  • [CLI] Add IsBuildable to allow projects to be shell only by @mikeland86 in #64
  • [PHP] Add PHP shell support by @mikeland86 in #65
  • Packages should be unique in plan by @LucilleH in #79
  • [planners] First pass on node js planner by @LucilleH in #41
  • Add test that iterates through testdata/ by @loreto in #82
  • Improve devbox plan test for go and python by @loreto in #85
  • [python] Improve python poetry planner to auto-detect main module by @mikeland86 in #84
  • [PHP] Add basic php build support by @mikeland86 in #86
  • Add Node planner test and additional checks for planner fields by @LucilleH in #87
  • [PHP] update readme by @mikeland86 in #88
  • Add dummy planners for a bunch of languages by @loreto in #98
  • [cuecfg] add toml support by @savil in #92
  • Run generate as part of TestDevbox by @loreto in #101
  • boxcli: add basic tests for devbox shell by @gcurtis in #83
  • Added contributing guidelines file plus reference in readme by @mohsenari in #90
  • nix: allow users to set shell startup hooks by @gcurtis in #93
  • [planner] Optimize nodejs final image size by @LucilleH in #89
  • Add Analyzer framework by @loreto in #99
  • [Bug] Fix nodejs npm build step by @LucilleH in #112
  • [easy] make yaml, json, toml specific functions be private in cuecfg by @savil in #115
  • Change the merging logic of devbox.json and planners by @LucilleH in #103
  • bump the dockerfile base image to nixos/nix:2.11.0 by @savil in #114
  • [CICD] Run tests in parallel, ensure we run all tests by @mikeland86 in #121
  • Tweaks to release process by @loreto in #123
  • [PHP] Add extension support and better version detection by @mikeland86 in #113

New Contributors

Full Changelog: 0.0.4...0.0.5

Don't miss a new devbox release

NewReleases is sending notifications on new releases.