Releases: jetify-com/devbox
0.0.0-edge.2023-05-11
Bump django from 4.1.7 to 4.1.9 in /examples/stacks/django (#992) Bumps [django](https://github.com/django/django) from 4.1.7 to 4.1.9. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/django/django/commit/dceb634ba42d3a182ea653dce31a529017f75a95"><code>dceb634</code></a> [4.1.x] Bumped version for 4.1.9 release.</li> <li><a href="https://github.com/django/django/commit/e7c3a2ccc3a562328600be05068ed9149e12ce64"><code>e7c3a2c</code></a> [4.1.x] Fixed CVE-2023-31047, Fixed <a href="https://redirect.github.com/django/django/issues/31710">#31710</a> -- Prevented potential bypass of v...</li> <li><a href="https://github.com/django/django/commit/491dccec1aa10e829539e4e4fcd8cca606a57ebc"><code>491dcce</code></a> [4.1.x] Added missing backticks in docs/releases/1.7.txt.</li> <li><a href="https://github.com/django/django/commit/6d334a0ca54f2f8b3cce28070367110497d8d82c"><code>6d334a0</code></a> [4.1.x] Added stub release notes for 4.1.9 and 3.2.19.</li> <li><a href="https://github.com/django/django/commit/f55bcff9dcac1d0cb1f927f9fd543cfd567400c4"><code>f55bcff</code></a> [4.1.x] Refs <a href="https://redirect.github.com/django/django/issues/34118">#34118</a> -- Fixed CustomChoicesTests.test_uuid_unsupported on Pyth...</li> <li><a href="https://github.com/django/django/commit/685721b4c5551c3ef755421c2f64c164e809c3b7"><code>685721b</code></a> [4.1.x] Post-release version bump.</li> <li><a href="https://github.com/django/django/commit/bbce0153919c6e9ec7886f5ef3ce76463fae57c6"><code>bbce015</code></a> [4.1.x] Bumped version for 4.1.8 release.</li> <li><a href="https://github.com/django/django/commit/67a79dcf5b245f6cb0a77e232243c6b4033dea5c"><code>67a79dc</code></a> [4.1.x] Added release date for 4.1.8.</li> <li><a href="https://github.com/django/django/commit/ba1654cb54eccef3ba29e455cd5065aed84e1f90"><code>ba1654c</code></a> [4.1.x] Fixed <a href="https://redirect.github.com/django/django/issues/34384">#34384</a> -- Fixed session validation when rotation secret keys.</li> <li><a href="https://github.com/django/django/commit/ff3e3eb2bd6c259807e5409a8e7299d00a42687e"><code>ff3e3eb</code></a> [4.1.x] Added stub release notes for 4.1.8.</li> <li>Additional commits viewable in <a href="https://github.com/django/django/compare/4.1.7...4.1.9">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=django&package-manager=pip&previous-version=4.1.7&new-version=4.1.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/jetpack-io/devbox/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0.0.0-edge.2023-05-10
Disable tests
0.4.9
What's new in this release
Devbox will no longer automatically update whenever a new version is available. Instead, users will be notified when a new version of the CLI or Launcher (which manages the Devbox Updates) is available, and prompted to update using devbox version update
.
If you would like to pin a specific version of Devbox (for example, when using Devbox in CI), or rollback to an older version of Devbox after updating, you can set the DEVBOX_USE_VERSION
environment variable to the version number you'd like to use. For example, to reliably install Devbox 0.4.9 in a CI/CD environment, you can run:
export DEVBOX_USE_VERSION=0.4.9
curl -fsSL https://get.jetpack.io/devbox | bash
Changelog
0.4.9-dev
What's new in this release
Devbox will no longer automatically update whenever a new version is available. Instead, users will be notified when a new version of the CLI or Launcher (which manages the Devbox Updates) is available, and prompted to update using devbox version update
.
If you would like to pin a specific version of Devbox (for example, when using Devbox in CI), or rollback to an older version of Devbox after updating, you can set the DEVBOX_USE_VERSION
environment variable to the version number you'd like to use. For example, to reliably install Devbox 0.4.9 in a CI/CD environment, you can run:
export DEVBOX_USE_VERSION=0.4.9
curl -fsSL https://get.jetpack.io/devbox | bash
Changelog
0.4.8
Fixes in this release
This release provides backwards compatibility for developers using the Direnv integration before 0.4.7.
Note: For the best .envrc
performance, and to take advantage of the new features released in 0.4.7, we recommend regenerating your .envrc file using devbox generate direnv --force
. If you've modified your .envrc, you should back up your changes before running this command.
Changelog
- 9645d48 bring back shell.nix (#927)
- 9386506 [direnv] change default hooks for shell --print-env (#928)
- 54e5518 Example for linking a custom extension to PHP (#919)
- ba7d6e9 Reduce cognitive complexity (#911)
- 21778b6 Update Flakes.md Typos (#918)
- a1a2df3 [direnv] update envrcs in projects (#915)
- 04dc4ff Flake Docs (#909)
- 4478bf6 Devbox Services 2.0 docs (#886)
0.4.7
What's New in This Release
This release includes an update to our Services system, the ability to install packages from Nix Flakes, and improvements to our Direnv Integration. You can view the full release announcement on our blog:
Note: Direnv users may need to regenerate their .envrc
file using devbox generate direnv --force
. The new .envrc file should perform better, and be more reliable than previous versions
Devbox Services 2.0
- Devbox Services are now backed by Process Compose, making it easier to start, stop, and manage your services
- Developers can define their own services using
process-compose.yaml
. Devbox will automatically detect and run services that are defined in your project's root directory. - Use
devbox services up
to start all your services in the foreground with the Process Compose UI, or start them in the background withdevbox services up -b
- Start, stop, and restart services with
devbox services start|stop|restart
. Stop all your projects withdevbox services stop --all-projects
Flake Support
- You can now install software from Nix Flakes by adding them to the
packages
in your devbox.json. - Devbox supports installing packages from Github hosted flakes (including
NixOS/nixpkgs
), or from local flakes. - Example flake references:
{ "packages": [ // Add the default package from a Github hosted flake "github:numtide/flake-utils", // Install a specific attribute or package from a Github hosted flake "github:nix-community/fenix#stable.toolchain", // Install a package from a specific channel of Nixpkgs "github:nixos/nixpkgs/21.05#hello", // Install a package from a local flake. // This should point to a directory that contains a flake.nix file. "path:../my-flake#my-package" ] }
Direnv Improvements
- Speed up start up performance by removing
use nix .devbox/gen/shell.nix
from the generated.envrc
file. - Devbox now runs
init_hooks
as part of our.envrc
hook. - Devbox will now ensure that the packages specified in your
devbox.json
are installed when generating your.envrc
.
Special Thanks To:
- @hezhizhen and @parviste for contributing fixes to this release
- @Vandaahl, @amok, @JoyceBabu for filing issues that were addressed in this release
What's Changed
- all: upgrade to Go 1.20, upgrade all dependencies by @gcurtis in #862
- ci: create Sentry release by @gcurtis in #861
- chore: update descriptions for commands by @hezhizhen in #847
- [vscode extension] Updated readme and changelog for v0.0.5 by @mohsenari in #853
- boxcli,nix: some better error messages by @gcurtis in #855
- Fix typo in installing_devbox.mdx by @parviste in #857
- Migrate services to process-compose by @Lagoja in #836
- [Readme] Moved install to above benefits by @mohsenari in #863
- chore: go mod tidy by @hezhizhen in #864
- chore: simplify global commands by @hezhizhen in #865
- Skip interactive survey if devbox is not executed in a terminal by @LucilleH in #867
- [devbox] generate script files when we generate shell files by @savil in #868
- List Services and Status via Process Compose by @Lagoja in #870
- Add init hook flag to shellenv command by @LucilleH in #871
- [wrappers] Don't re-source shellenv if already sourced by @mikeland86 in #872
- [vscode extension] update README by @hezhizhen in #877
- [flakes] Add ability to add custom local flakes to devbox project by @mikeland86 in #866
- [examples] Update dependencies by @mikeland86 in #878
- [easy][examples] Update more deps by @mikeland86 in #879
- [nix] Re-add profile to path by @mikeland86 in #882
- [bin-wrappers] Use shellenv command in binwrappers by @mikeland86 in #876
- set HOME for testscripts by @savil in #875
- [vscode-extension] Added better error messages and debugs for openinvscode by @mohsenari in #887
- nixstore: Nix expression for generating a nixpkgs index by @gcurtis in #885
- [tests] Tests should not modify config by @mikeland86 in #883
- [nix] Allow github flakes in devbox.json by @mikeland86 in #888
- [cleanup] delete unused shell.nix and development.nix templates by @savil in #891
- nixstore: add package for querying and resolving Nix store paths by @gcurtis in #884
- chore: get config path from --config only by @hezhizhen in #889
- [devbox] Make stack-examples using Postgres actually work by @savil in #874
- [examples] enable stacks-django and rust examples to pass by @savil in #880
- [example tests] generate "set -e" to exit scripts upon failure by @savil in #869
- [shell] source the hooks file in shellrc by @savil in #890
- bring back shell.nix, but keep development.nix deleted by @savil in #895
- Bump nokogiri from 1.14.2 to 1.14.3 in /examples/stacks/rails/blog by @dependabot in #893
- Multi-instance Process Compose by @Lagoja in #873
- [devbox] add .envrc file to repo by @savil in #899
- [lockfile] Add hidden lockfile for caching by @mikeland86 in #897
- [perf] Only compute print-dev-env if needed by @mikeland86 in #898
- [vscode-extension] Prep for version 0.0.6 release of vscode extension by @mohsenari in #903
- [direnv] drop shell.nix, rely solely on devbox shell --print-env by @savil in #902
- [examples tests] insert one second sleep for services to initialize by @savil in #904
- [cicd] bump timeouts for cli-tests by @savil in #905
- [CICD] stream go test output, and turn off DEVBOX_DEBUG for example tests by @savil in #906
- [CICD] Don't run example tests on mac by @mikeland86 in #907
- Use vars context for Sentry project + org by @Lagoja in #908
- [direnv] run init-hooks in envrc, and generate shell files prior to gen envrc by @savil in #910
- [devbox] add hidden all command to list all sub-commands (including hidden) by @savil in #901
- [direnv] add quotations around devbox-shellenv-init-hook call by @savil in #913
New Contributors
- @parviste made their first contribution in #857
Full Changelog: 0.4.6...0.4.7
0.4.7-dev
New in this Prerelease
This release includes an update to our Services system, as well as the ability to install packages from Nix Flakes.
To try out the latest pre-release, export DEVBOX_USE_VERSION=0.4.7-dev
in your shell. You can revert to the stable version at any time by unsetting the variable.
Note: Direnv users may need to regenerate their .envrc
file using devbox generate direnv --force
. The new .envrc file should perform better, and be more reliable than previous versions
- Devbox Services 2.0 with Process Compose and custom services
- Devbox Services are now backed by Process Compose, making it easier to start, stop, and manage your services
- Use
devbox services up
to start all your services in the foreground with the Process Compose UI, or start them in the background withdevbox services up -b
- Start, stop, and restart services with
devbox services start|stop|restart
. Stop all your projects withdevbox services stop --all-projects
- Define your own services by adding a
process-compose.yml
to your project's root directory.
- Flake Support: Install packages from Nix Flakes
- You can now install software from Nix Flakes by adding them to the
packages
in your devbox.json. - Example flake references
{ "packages": [ // Add the default package from a Github hosted flake "github:numtide/flake-utils", // Install a specific attribute or package from a Github hosted flake "github:nix-community/fenix#stable.toolchain", // Install a package from a specific channel of Nixpkgs "github:nixos/nixpkgs/21.05#hello", // Install a package from a local flake. // This should point to a directory that contains a flake.nix file. "path:../my-flake#my-package" ] }
- You can now install software from Nix Flakes by adding them to the
- Various bug fixes and improvements
- Improvements to direnv performance and reliability
- Fixed a bug that overwrote environment variables between package calls
What's Changed
- all: upgrade to Go 1.20, upgrade all dependencies by @gcurtis in #862
- ci: create Sentry release by @gcurtis in #861
- chore: update descriptions for commands by @hezhizhen in #847
- [vscode extension] Updated readme and changelog for v0.0.5 by @mohsenari in #853
- boxcli,nix: some better error messages by @gcurtis in #855
- Fix typo in installing_devbox.mdx by @parviste in #857
- Migrate services to process-compose by @Lagoja in #836
- [Readme] Moved install to above benefits by @mohsenari in #863
- chore: go mod tidy by @hezhizhen in #864
- chore: simplify global commands by @hezhizhen in #865
- Skip interactive survey if devbox is not executed in a terminal by @LucilleH in #867
- [devbox] generate script files when we generate shell files by @savil in #868
- List Services and Status via Process Compose by @Lagoja in #870
- Add init hook flag to shellenv command by @LucilleH in #871
- [wrappers] Don't re-source shellenv if already sourced by @mikeland86 in #872
- [vscode extension] update README by @hezhizhen in #877
- [flakes] Add ability to add custom local flakes to devbox project by @mikeland86 in #866
- [examples] Update dependencies by @mikeland86 in #878
- [easy][examples] Update more deps by @mikeland86 in #879
- [nix] Re-add profile to path by @mikeland86 in #882
- [bin-wrappers] Use shellenv command in binwrappers by @mikeland86 in #876
- set HOME for testscripts by @savil in #875
- [vscode-extension] Added better error messages and debugs for openinvscode by @mohsenari in #887
- nixstore: Nix expression for generating a nixpkgs index by @gcurtis in #885
- [tests] Tests should not modify config by @mikeland86 in #883
- [nix] Allow github flakes in devbox.json by @mikeland86 in #888
- [cleanup] delete unused shell.nix and development.nix templates by @savil in #891
- nixstore: add package for querying and resolving Nix store paths by @gcurtis in #884
- chore: get config path from --config only by @hezhizhen in #889
- [devbox] Make stack-examples using Postgres actually work by @savil in #874
- [examples] enable stacks-django and rust examples to pass by @savil in #880
- [example tests] generate "set -e" to exit scripts upon failure by @savil in #869
- [shell] source the hooks file in shellrc by @savil in #890
- bring back shell.nix, but keep development.nix deleted by @savil in #895
- Bump nokogiri from 1.14.2 to 1.14.3 in /examples/stacks/rails/blog by @dependabot in #893
- Multi-instance Process Compose by @Lagoja in #873
- [devbox] add .envrc file to repo by @savil in #899
- [lockfile] Add hidden lockfile for caching by @mikeland86 in #897
- [perf] Only compute print-dev-env if needed by @mikeland86 in #898
- [vscode-extension] Prep for version 0.0.6 release of vscode extension by @mohsenari in #903
- [direnv] drop shell.nix, rely solely on devbox shell --print-env by @savil in #902
- [examples tests] insert one second sleep for services to initialize by @savil in #904
- [cicd] bump timeouts for cli-tests by @savil in #905
- [CICD] stream go test output, and turn off DEVBOX_DEBUG for example tests by @savil in #906
- [CICD] Don't run example tests on mac by @mikeland86 in #907
New Contributors
- @parviste made their first contribution in #857
Full Changelog: 0.4.6...0.4.7-dev
0.4.6
What's New
This release fixes a few bugs that were affecting Fish shells and services like MariaDB + Redis:
- Fixed a bug that caused errors when starting MariaDB, Redis, and some other services
- Improved support for older versions of Fish shell
- Added a
version update
command for users to manually update Devbox - Added a warning to alert users when their launcher is out of date
What's Changed
- [lagobot] ensure default nixpkgs commit by deleting the commits from devbox.json by @savil in #834
- [lagobot] properly extend timeout for macos tests by @savil in #831
- [launcher] Add version update command and show launcher version warning by @mikeland86 in #798
- Fix incorrect docs on
shell -- cmd
by @Lagoja in #837 - [update] Remove devbox update by @mikeland86 in #842
- [vscode-extension] Handling for window os and devbox not installed by @mohsenari in #835
- Update Docs with 0.4.5 CLI by @Lagoja in #843
- .goreleaser.yaml: add -trimpath; fix ldflags by @gcurtis in #840
- redact: package for redacting error messages by @gcurtis in #841
- [virtenv] Create symlinks for support dirs, move wrappers to a subdir. by @mikeland86 in #852
- telemetry: improve stack traces, error names, contexts by @gcurtis in #844
- chore: remove build command by @hezhizhen in #846
- [linting] enable more rules for revive and address issues by @hezhizhen in #849
- [fish] fix command substitution to support older fish shells by @savil in #854
- [plugins] Always create plugin dir by @mikeland86 in #858
- bump the timeouts for example tests by @savil in #860
- telemetry: report errors in separate process by @gcurtis in #859
Full Changelog: 0.4.5...0.4.6
0.4.6-dev
Update Docs with 0.4.5 CLI (#843) ## Summary Update Docs for 0.4.5 CLI based on #839 from @hezhizhen ## How was it tested? Localhost, using `yarn start`
0.4.5
What's New
This pre-release contains several fixes and improvements based on user feedback.
- Devbox shell startup time is now much faster on slow networks. Users on poor networks should see improvements of several seconds. This fix addresses issue #602.
- For existing customers -- you may need to update to the latest version of our Devbox Launcher by re-running
curl -fsSL https://get.jetpack.io/devbox | bash
- For existing customers -- you may need to update to the latest version of our Devbox Launcher by re-running
- Fixed a bug that breaks users'
.envrc
on version updates (PR #830, #832)devbox shell --print-dev-env
will now regenerate the underlying nix configs after a version update to ensure they are compatible with the Devbox CLI.
- Preinstall packages with
devbox install
This installs project packages without starting a shell or running a script. (PR #780) - Packages installed while running
devbox shell
are now instantly available. You no longer have to restart your shell or run a special command to refresh your packages(PR #803) - Devbox now adds your project's libraries to LD_LIBRARY_PATH and LIBRARY_PATH. This fix resolves issues with projects that cannot locate libraries installed via devbox (PR #792)
Other fixes include:
- Devbox now shows better progress indicators when adding packages. (PR #772)
- Improvements to automatic port forwarding and remote services (PR #785)
- Improved support for installing Haskell Packages and Compilers (PR #773)
Special thanks to:
@hezhizhen for contributing #782, #787
@altano, @tclain-pillar, @ParetoOptimalDev, @StephenStrickland, and others on our Discord Channel for reporting issues that were resolved in this release.
What's Changed
- [nix] Simplify profile priority, make it match flake file by @mikeland86 in #770
- [docs] Update dependencies by @mikeland86 in #771
- [nix] Show nix profile install progress by @mikeland86 in #772
- [flakes] Remove non-flakes code by @mikeland86 in #777
- impl: fix shellrc tests by @gcurtis in #784
- Fix building target path by @hezhizhen in #782
- [ux] Add new refresh alias by @mikeland86 in #778
- [Cloud] Added cloud init command for open in vscode by @mohsenari in #758
- [services] Improve auto-port forward and proxy by @mikeland86 in #785
- [config] Set PATH as ENV instead of hook by @mikeland86 in #786
- [CLI] Added install command by @mohsenari in #780
- Move Devbox Examples to Devbox Repo by @Lagoja in #793
- [lib-path] Add a few common env variables by @mikeland86 in #792
- [services] Allow custom process compose by @mikeland86 in #791
- migrate links: devbox-examples -> devbox/examples by @Lagoja in #797
- Bump rack from 2.2.6.2 to 2.2.6.4 in /examples/stacks/rails/blog by @dependabot in #796
- Bump django from 4.1.6 to 4.1.7 in /examples/stacks/django by @dependabot in #795
- [testscripts] run in parallel by @savil in #802
- First Pass at a Haskell Package Planner by @Lagoja in #773
- [Lagobot 2.0] part 1: generate testscript for a single devbox example project by @savil in #799
- [Lagobot 2.0] part 2: run Examples whose run_test script passes by @savil in #801
- [Lagobot 2.0] part 3: set HOME to temp-dir to enable a few example projects by @savil in #806
- [vscode-extension] open vscode browser by @mohsenari in #804
- Improve installation instructions by @Lagoja in #805
- [Lagobot 2.0] disable haskell by @savil in #808
- [global] Allow and use multiple nixpkgs commit hashes if needed by @mikeland86 in #800
- Fix typo in pip plugin by @savil in #810
- typo: s/Poetry/Pip in Pip example by @savil in #811
- typo: s/Poetry/Pipenv in Pipenv example by @savil in #812
- [hooks] Fix hook order by @mikeland86 in #813
- [Lagobot] enable haskell by @savil in #809
- [vscode extension] Added getting working directory from
getvminfo()
by @mohsenari in #807 - Jl/lagobot fix rails by @Lagoja in #815
- Fix Elixir Example by @Lagoja in #816
- Adjust paths order by @hezhizhen in #787
- [lagobot] enable pip and django by @savil in #817
- [lagobot] add integration tag to separate the tests by @savil in #822
- [lagobot] run tests on DEVBOX_EXAMPLE_TESTS env-var, instead of build tag by @savil in #823
- [testscripts] respect DEVBOX_DEBUG flag instead of always setting it on by @savil in #824
- [lagobot] enable jekyll by @savil in #819
- [lagobot] enable pipenv by @savil in #820
- [CLI] Made generate ssh-config work without config file by @mohsenari in #826
- [lagobot] run cli-tests with DEVBOX_EXAMPLE_TESTS on main or input.run-example-tests by @savil in #827
- [nix] Create bin wrappers. Eliminate need to refresh by @mikeland86 in #803
- [lagobot] extend macos test timeout to 15 mins by @savil in #828
- [shellenv] PrintEnv should generate just in case by @mikeland86 in #830
- [direnv] Fix version path, run example tests on PRs by @mikeland86 in #832
- [lagobot] clear .devbox dirs by @savil in #833
- [UnifiedEnv] remove env-var from shell_test by @savil in #825
Full Changelog: 0.4.4...0.4.5