Skip to content

Releases: frappe/bench

v5.3.0

04 Feb 10:26
Compare
Choose a tag to compare

5.3.0 (2021-02-04)

Bug Fixes

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

Features

  • better flag description (9de383a)
  • patch for older setups with wrong cron format (1e97cdf)
  • patch for older setups with wrong cron format (097879e)
  • pitch erpnext support to VM users (137a78a)

v5.2.1

24 Aug 14:24
f43ff04
Compare
Choose a tag to compare

Change Log

  • fix: Show correct src of bench source (#1055)
  • fix: supervisor command does not require sudo (#1054)

v5.2

18 Aug 10:54
7d0a256
Compare
Choose a tag to compare

Change Log:

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

v5.1

22 May 12:37
Compare
Choose a tag to compare

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

v5.0

24 Mar 05:37
Compare
Choose a tag to compare

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

v4.1

03 Aug 07:25
Compare
Choose a tag to compare

Minor fixes and moved to node6.x

Version 4.0

22 Jul 10:17
Compare
Choose a tag to compare

Improvements for frappe/erpnext v7 release

Version 3.1

22 Jul 09:53
Compare
Choose a tag to compare

Compatibility fixes between Celery and RQ configurations

Version 3.0

13 Apr 14:02
Compare
Choose a tag to compare

Deprecated Celery and moved to using Python RQ

If you have a Frappé app with background jobs that are NOT called via scheduler, you need to read Celery to Python RQ

Version 2.1

13 Apr 13:04
Compare
Choose a tag to compare
  • Fixes dev installer for Mac OS X
  • Permissive sudoers
  • Improved release script