Releases: frappe/bench
v5.31.0
Features
- Adds "bench completions" command that creates Bash or Zsh tab-completion scripts in one step. This replaces the old
completion.sh, making command-line completion quicker and simpler to install. (#1707) - Adds
bench socketiocommand that automatically picks the Node or Python engine for live updates, removing the need to edit configuration when you change backends. Updates Procfile, Supervisor, and Systemd templates to use this command so the realtime service starts correctly even if Node is absent. (#1716)
Bug Fixes
- Bench now updates only the app you are adding instead of upgrading every shared library, so installing a new app no longer risks breaking previously installed ones. (#1721)
New Contributors
- @tanmoysrt made their first contribution in #1716
Authors: @ankush, @tanmoysrt, @netchampfaris
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
Changes with the following labels were excluded:
- skip-release-notes
Changes with the following types were excluded:
- refactor
- build
- ci
- test
- style
- chore
- docs
v5.30.0
Features
- Adds a
bench completioncommand that generates and installs bash or zsh auto-completion scripts, so the terminal can suggest and complete Bench commands as you type. (1fec2a3)
Bug Fixes
- The "bench completions" command now prompts before updating your shell’s startup file, preventing unexpected edits, and adds a
--yes(-y) option to skip the prompt in automated scripts. (2afad49) - Replaces the fixed
/tmp/benchpath with a secure temporary folder during internal checks, preventing accidental clashes on shared systems. (27de582) - Updates internal libraries
requestsanduvto newer versions, patching known security vulnerabilities. (fe9f391)
Other Changes
- Removes an outdated command-line completion file that no longer works with current versions, eliminating the extra Python calls and hard-coded path issues it caused. (8158819)
Other Changes
- Bench now starts the live update (socketio) service with either a Python or Node backend according to the site setting when you run
bench socketio, removing the need to edit process manager files when you switch backends. (7a720fa)
Authors: @semantic-release-bot, @netchampfaris, @tanmoysrt
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
Changes with the following labels were excluded:
- skip-release-notes
Changes with the following types were excluded:
- build
- style
- ci
- test
- refactor
- docs
- chore
v5.29.1
What's Changed
- Limits
setuptoolsto versions below 82, preventing new site setup from failing with a missingpkg_resourceserror needed by the Dropbox integration. (#1699)
New Contributors
- @marcramser made their first contribution in #1699
Full Changelog: v5.29.0...v5.29.1
Authors: @marcramser
Reviewers: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
Changes with the following labels were excluded:
- skip-release-notes
Changes with the following types were excluded:
- docs
- build
- style
- ci
- test
- refactor
- chore
v5.29.0
Features
- Adds an option to the
bench setup lets-encryptcommand to pick a custom ACME server, so you can request SSL certificates from services like ZeroSSL or your own certificate authority instead of the default Let's Encrypt server. (#1686)
Bug Fixes
- Bench now looks for the "honcho" process manager in its own installation folder before checking the system path, so bench commands can start and stop services even when
honchois not globally available. (#1688)
Authors: @ismxilxrif, @sagarvora
Reviewers: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
Changes with the following labels were excluded:
- skip-release-notes
Changes with the following types were excluded:
- style
- chore
- refactor
- test
- ci
- docs
- build
v5.28.0
What's Changed
- Changes
hatchling==1.27.0tohatchling>=1.27,<2in the project build configuration. This allows using compatible Hatchling 1.x releases (including minor/patch updates) instead of requiring a single exact patch version. (#1675) - Removes the OCSP stapling directives (
ssl_stapling,ssl_stapling_verify) from the Nginx configuration template (bench/config/templates/nginx.conf) because Let’s Encrypt no longer provides OCSP responses. This prevents misleading configuration entries and potential startup or reload warnings without reducing TLS security. (#1678) - Makes
uvthe default tool for installing Python packages and creating virtual environments in bench, with the previous behavior restored by settingBENCH_DISABLE_UV. Fixes thebench pipwrapper to pass the selected Python interpreter touv pip(via--python) so pip commands run against the intended environment. (#1679)
New Contributors
- @ismxilxrif made their first contribution in #1678
Full Changelog: v5.27.0...v5.28.0
Authors: @ismxilxrif, @akhilnarang
Reviewers: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI gpt-5-mini) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
v5.27.0
What's Changed
- Bench now reads the app’s package name from
setup.pyusing precise AST parsing instead of a broad regex, preventing wrong app names during installation and stopping the process with a clear message if the name is missing. (#1669)
Full Changelog: v5.26.0...v5.27.0
Authors: @Aradhya-Tripathi
Reviewers: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise
the code changes, along with the associated issue and PR descriptions. It may
contain typical errors and inaccuracies. You can read the prompt
here.
v5.26.0
What's Changed
- Allows installing a specific version of
pipby setting thePIP_VERSIONenvironment variable, giving you control over which package manager release is used. Refreshes the system package list before downloading wkhtmltopdf to prevent installation failures during setup. (#1668)
Full Changelog: v5.25.11...v5.26.0
Authors: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise
the code changes, along with the associated issue and PR descriptions. It may
contain typical errors and inaccuracies. You can read the prompt
here.
v5.25.11
What's Changed
Full Changelog: v5.25.10...v5.25.11
Authors: @Aradhya-Tripathi
Reviewers: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
v5.25.10
What's Changed
- Bench now uses
uvto upgradepipandwheelwhen theBENCH_USE_UVenvironment variable is set. (#1651) - Bench no longer fails when a cached app cannot be unpacked; it now skips the cache and continues installing from the original source. The minimum supported Python version rises to 3.10 and bundled libraries are updated accordingly. (#1664)
Full Changelog: v5.25.9...v5.25.10
Authors: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.
v5.25.9
What's Changed
- Bench now creates the virtual environment with the Python version you choose, instead of falling back to the default.
The README shows its logo and help images on PyPI by switching to absolute image links. (#1650)
Full Changelog: v5.25.8...v5.25.9
Authors: @akhilnarang
AI content
For these release notes, we used an LLM (OpenAI o3) to review and summarise the code changes, along with the associated issue and PR descriptions. It may contain typical errors and inaccuracies. You can read the prompt here.