Frappe-bench

Latest version: v5.23.0

Safety actively analyzes 723954 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 13

5.3.0

[5.3.0](https://github.com/frappe/bench/compare/v5.2.1...v5.3.0) (2021-02-04)


Bug Fixes

* Run compileall in bench after update ([54e6bcf](https://github.com/frappe/bench/commit/54e6bcfe9c967137e0be00cefe93a5ddaec30056))
* wrong flag description ([e9c046d](https://github.com/frappe/bench/commit/e9c046d56b15e39630490bc64ebaaa6727623186))
* **install:** Allow override of frappe_branch and erpnext_branch ([6a207ca](https://github.com/frappe/bench/commit/6a207ca57ab36d3d43b169b8a7609ba87dc8611b))
* **install:** Helpful logging ([2c4659a](https://github.com/frappe/bench/commit/2c4659a7aab2c4c8ed7734438ffc42360c9c6023))
* **playbooks:** Support wkhtmltox arm64 architecture ([d6d1b91](https://github.com/frappe/bench/commit/d6d1b91a79b3b74a5595a2b943041659ff5928bd))
* Allow bench src as root ([9d1f7a7](https://github.com/frappe/bench/commit/9d1f7a7ed7ca3caaf9978c3f75292984078caf69))
* force renew on monthly bases ([7dcd5f9](https://github.com/frappe/bench/commit/7dcd5f9ce3c3322f0a5d96f1b9624c6215f76448))
* Handle no args passed in CLI ([31e4aee](https://github.com/frappe/bench/commit/31e4aeeab8bca4a8d58ad72db735128670a7480b))
* Install wheel during ansible setup ([61567be](https://github.com/frappe/bench/commit/61567be3f69aa34b11a60fbd807aed00f9dc40a7))
* Log in ~/bench.log if not running inside bench directory ([28302f6](https://github.com/frappe/bench/commit/28302f67a30e061d771a5607f67b2b03b1205a7d))
* removed force renewal as it would extend by 3 months every month, now the job runs daily ([408676c](https://github.com/frappe/bench/commit/408676c80e3fa37e3794584b12e73c2060cfa55f))
* removed patch ([87edc4e](https://github.com/frappe/bench/commit/87edc4e10932a9ce92215fef00daada5f6817b7d))
* Use NullHandler for commands executed outside a bench dir ([31f2999](https://github.com/frappe/bench/commit/31f2999b4b971176b57c09ecef5d5edfe39dcb53))
* utf8mb4_general_ci ([f2e7702](https://github.com/frappe/bench/commit/f2e7702fdefe30ee8d0546da5dc09e9042f7f570))
* **install:** Install dev packages for Arm 64-bit ([df0562d](https://github.com/frappe/bench/commit/df0562d59b423f1d833c929a38ea5e380bbcae4f))
* **install:** Obey --without-site ([608b28c](https://github.com/frappe/bench/commit/608b28c2460adf2b6ee1504b21a7e69dfdb06a1e))
* Add bench.cli namespace ([2f0b508](https://github.com/frappe/bench/commit/2f0b508d2ef1d4935ccd4a74d374ee6be28a7bec))
* Remove src test ([b8ed4f6](https://github.com/frappe/bench/commit/b8ed4f6a4bc35f7a8935793c3616fc1258ff2685))
* Unpin setuptools, six and virtualenv ([03576d1](https://github.com/frappe/bench/commit/03576d10b45046659fc356fb8113fddf06d2bc33))
* update letsencrypt renew cron frequency ([7a7b0fe](https://github.com/frappe/bench/commit/7a7b0fea3786c1c4009fb580e96ae16c84f69cb3))
* Update package lists and setup prereqs before setting up script ([550f55d](https://github.com/frappe/bench/commit/550f55d1460cc29197c7ec9dddc59b0d81684e9f))
* Updated command help and verbosity while setting crontab ([c9abac2](https://github.com/frappe/bench/commit/c9abac299a3b46f08b0b4406449bb82ed90a60a2))
* Use 'develop' bench if not specified! ([0ad4421](https://github.com/frappe/bench/commit/0ad44214cf739812ce8dc0175f5774bdd376ebf1))
* warning on pip reinstall ([d979751](https://github.com/frappe/bench/commit/d979751e0c44f8b519e77a4bb11c7e6e3f6333ee))


Features

* better flag description ([9de383a](https://github.com/frappe/bench/commit/9de383a760a604a73509d72c230f59e5a0fac11e))
* patch for older setups with wrong cron format ([1e97cdf](https://github.com/frappe/bench/commit/1e97cdf0c831e0ae46b3e7c579c96e05ca185916))
* patch for older setups with wrong cron format ([097879e](https://github.com/frappe/bench/commit/097879e1fb855d4223fcce3ad359a2f9ec81d835))
* pitch erpnext support to VM users ([137a78a](https://github.com/frappe/bench/commit/137a78a6b0fa826a947deb0d07bb05bcf1fafe70))

5.2.1

Change Log
- fix: Show correct src of bench source (1055)
- fix: supervisor command does not require sudo (1054)

5.2

Change Log:

- fix: Update supervisord conf "better" ([1022](https://github.com/frappe/bench/pull/1022))
- fix(install.py): Check if Py3.5+ before installing distro ([1049](https://github.com/frappe/bench/pull/1049))
- fix: use remote_addr instead of user-defined header ip ([1024](https://github.com/frappe/bench/pull/1024))
- fix: don't show warning message in developer mode ([1032](https://github.com/frappe/bench/pull/1032))
- fix: run backups every 6 hours, rather than every minute per 6 hours ([1030](https://github.com/frappe/bench/pull/1030))
- fix(playbooks): Use libssl1.1 for ubuntu >=18.04 ([1018](https://github.com/frappe/bench/pull/1018))
- fix: ubuntu 20.04 easy install hang half way ([1048](https://github.com/frappe/bench/pull/1048))
- fix: updated URL for MacOS guide ([1037](https://github.com/frappe/bench/pull/1037))
- travis: Separate builds for setup, install script and tests ([1036](https://github.com/frappe/bench/pull/1036))
- fix: Bump Nodejs v8 => v12 ([1043](https://github.com/frappe/bench/pull/1043))
- fix(install): Show Debian 10 is supported, update MariaDB defaults ([1046](https://github.com/frappe/bench/pull/1046))
- fix: maintain worker and worker.error logfile in dev mode ([1008](https://github.com/frappe/bench/pull/1008))
- fix: trailing slash deleting apps folder ([1021](https://github.com/frappe/bench/pull/1021))
- fix: populate bench.log via bench.utils.log ([1023](https://github.com/frappe/bench/pull/1023))
- docs: re-link installation docs ([1009](https://github.com/frappe/bench/pull/1009))
- feat: bench start --no-prefix ([1040](https://github.com/frappe/bench/pull/1040))
- feat(playbooks): wkthmltox for Ubuntu 20 ([1019](https://github.com/frappe/bench/pull/1019))

5.1

Our default branch, `develop` has had a few changes since v5.0. We've decided to push only bug fixes to `master` and all other updates will continue to be pushed to `develop` and branch `v5.x` will be maintained as **bench version 5 [stable]**

Major Updates:
* bench removed from frappe_sudoers

now `sudo bench` commands will require passwords. The current frappe_sudoers file will only contain `NOPASSWD` setup for Nginx related commands.

* supervisor runs as `frappe_user` by default

Here, `frappe_user` refers to the user under which the current Frappe environment is setup.



Change Log:

* chore(tests): drop PY2 testing for frappe > v12 ([992](https://github.com/frappe/bench/pull/992))
* chore: changed bench.utils.log API prefix ([964](https://github.com/frappe/bench/pull/964))
* chore: drop dead code ([998](https://github.com/frappe/bench/pull/998))
* chore: renamed project to match with PyPI ([961](https://github.com/frappe/bench/pull/961))
* chore: set apps to None by default ([973](https://github.com/frappe/bench/pull/973))
* chore: skip restart on bench setup requirements ([975](https://github.com/frappe/bench/pull/975))
* docs: fix readme docker section ([990](https://github.com/frappe/bench/pull/990))
* docs: fixed typo on running update ([968](https://github.com/frappe/bench/pull/968))
* feat(bench update): allow pull-only update on specified apps ([921](https://github.com/frappe/bench/pull/921))
* feat: check for newer versions on PyPI ([960](https://github.com/frappe/bench/pull/960))
* feat: faster bench ([967](https://github.com/frappe/bench/pull/967))
* fix(backups): setup backups for bench sites ([972](https://github.com/frappe/bench/pull/972))
* fix(get-app): allow ssh urls ([995](https://github.com/frappe/bench/pull/995))
* fix(get-app): update node requirements ([983](https://github.com/frappe/bench/pull/983))
* fix(logging): cleaner bench logs ([999](https://github.com/frappe/bench/pull/999))
* fix(playbooks): pre v5.1 compatibility for playbooks folder ([988](https://github.com/frappe/bench/pull/988))
* fix(playbooks): wkhtmltopdf checksum string for debian 9 ([969](https://github.com/frappe/bench/pull/969))
* fix: IUS release repo ([1004](https://github.com/frappe/bench/pull/1004))
* fix: Message per app when installing node deps ([959](https://github.com/frappe/bench/pull/959))
* fix: add playbooks in the python package ([980](https://github.com/frappe/bench/pull/980))
* fix: don't run yarn install while setting up py requirements ([1001](https://github.com/frappe/bench/pull/1001))
* fix: exit with appropriate return code ([1006](https://github.com/frappe/bench/pull/1006))
* fix: install node modules only if package.json exists ([985](https://github.com/frappe/bench/pull/985))
* fix: remove bench and supervisor from sudoers ([955](https://github.com/frappe/bench/pull/955))
* fix: restart supervisord process after change in conf ([991](https://github.com/frappe/bench/pull/991))
* fix: show warning if bench is not installed via PYPI ([934](https://github.com/frappe/bench/pull/934))
* refactor: bench readme and rename license file ([958](https://github.com/frappe/bench/pull/958))

5.0

We're moving away from continuous deployment. For production usage, it is recommended to use the PyPI package. Remove the editable install from your system and run a `pip install frappe-bench` instead. All future updates can be handled through pip.


---

So there's been a lot of changes since the last release, about 800 commits in between. Some of the noteworthy changes are mentioned categorically:

Features:

- `bench pip`: utilizes the current Python's environment to update packages
- `bench find`: find benches from the specified path(via DFS)
- cleaner UX: formatted outputs
- executing bench commands in subdirectories

Development:

- Different CI tests for basic and production bench setups and easy install runs
- Cleaner and updated API usages

Other changes:

- fixed `switch-to-branch`
- fixed git depth while `get-app`
- updated cronjob for SSL renewal
- updated bench help commands and docs
- added "rollback" feature in case of failures during `bench init`

Deprecated:
- `update_bench_on_update` from config
- `switch-to-master` command
- `bench shell` command
- Removed `auto_update` from cronjob

---

This release was previously tracked at [bench v5.0](https://github.com/frappe/bench/projects/1)

4.1

Minor fixes and moved to node6.x

Page 11 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.