Buildbot v2.4.0 Release Notes

Release Date: 2019-08-18 // over 4 years ago
  • Highlights

    ๐Ÿš€ Database upgrade may take a while on larger instances on this release due to newly added index.

    ๐Ÿ› Bug fixes

    • โž• Add an index to steps.started_at to boost expensive SQL queries.
    • ๐Ÿ›  Fix handling of the refs_changed event in the BitBucket Server web hook.
    • ๐Ÿ›  Fix errors when disconnecting a libvirt worker (issue 4844).
    • ๐Ÿ›  Fix Bitbucket Cloud hook crash due to changes in their API (issue 4873).
    • ๐Ÿ›  Fix GerritEventLogPoller was using the wrong date format.
    • ๐Ÿ›  Fix janitor Exception when there is no logchunk to delete.
    • โฌ‡๏ธ Reduced the number of SQL queries triggered by getPrevSuccessfulBuild() by up to 100.
    • ๐Ÿ— buildbot.util.git.GitStepMixin: Prevent builders from corrupting temporary ssh data path by using builder name as part of the path
    • ๐Ÿ— buildbot.util.git.GitTag: Allow tagName to be a renderable.
    • ๐Ÿ›  Fix Github error reporting to handle exceptions that happen before the HTTP request is sent.
    • ๐Ÿ— buildbot.changes.gitpoller.GitPoller: Trigger on pushes with no commits when the new revision is not the tip of another branch.
    • ๐Ÿ— buildbot.steps.source.git.Git: Fix the invocation of git submodule foreach on cleaning.
    • ๐Ÿ›  Fix StatsService not correctly clearing old consumers on reconfig.
    • ๐Ÿ›  Fix various errors in try client with Python 3 (issue 4765).
    • ๐Ÿ— Prevent accidental start of multiple force builds in web UI (issue 4823).
    • ๐Ÿ— The support for proxying Buildbot frontend to another Buildbot instance during development has been fixed.
      ๐ŸŽ This feature has been broken since v2.3.0, and is now completely re-implemented for best performance, ease of use and maintainability.

    ๐Ÿ‘Œ Improved Documentation

    • ๐Ÿ— Document why some listed icons may not work out-of-the-box when building a custom dashboard (issue 4939).
    • ๐Ÿ‘Œ Improve Vault secrets management documentation and examples.
    • ๐Ÿ”— Link the documentation of www.port to the capabilities of twisted.application.strports.
    • ๐Ÿ“š Move the documentation on how to submit PRs out of the trac wiki to the documentation shipped with Buildbot, update and enhance it.

    ๐Ÿ”‹ Features

    • โšก๏ธ Update buildbot worker image to Ubuntu 18.04 (issue 4928).
    • ๐Ÿ— buildbot.worker.docker.DockerLatentWorker: Added support for docker build contexts, buildargs, and specifying controlling context.
    • ๐Ÿ— The buildbot.changes.gerritchangesource.GerritChangeFilter and buildbot.changes.gerritchangesource.GerritEventLogPoller now populate the files attribute of emitted changes when the get_files argument is true. Enabling this feature triggers an additional HTTP request or SSH command to the Gerrit server for every emitted change.
    • ๐Ÿ— Buildbot now warns users who connect using unsupported browsers.
    • Boost janitor speed by using more efficient SQL queries.
    • โฑ Scheduler properties are now renderable.
    • ๐Ÿ— buildbot.steps.python.Sphinx: Added strict_warnings option to fail on warnings.
    • ๐Ÿ— UI now shows a paginated view for trigger step sub builds.

    ๐Ÿ—„ Deprecations and Removals

    • ๐Ÿ‘Œ Support for older browsers that were not working since 2.3.0 has been removed due to technical limitations.
      ๐Ÿ‘ Notably, Internet Explorer 11 is no longer supported.
      ๐Ÿ’ป Currently supported browsers are Chrome 56, Firefox 52, Edge 13 and Safari 10, newer versions of these browsers and their compatible derivatives.
      ๐Ÿ— This set of browsers covers 98% of users of buildbot.net.