Skip to content

Latest commit

Β 

History

History
1118 lines (715 loc) Β· 76.3 KB

File metadata and controls

1118 lines (715 loc) Β· 76.3 KB

Detailed changelog

The most important changes can also be found in the documentation.

2.43.3 (2026-02-12)

Full Changelog

Closed issues:

  • Documentation Improvement - Event hooks #3338

Merged pull requests:

2.43.2 (2026-02-01)

Full Changelog

Merged pull requests:

2.43.1 (2026-01-12)

Full Changelog

Merged pull requests:

2.43.0 (2025-12-30)

Full Changelog

Closed issues:

  • Support for requests >=2.32.5 (compatibility with LangChain/AI ecosystem) #3307
  • Multiple select in web UI for custom arguments #3260
  • Suggestion to Add "iter_lines" Support for "FastHttpUser" in Locust #3018

Merged pull requests:

2.42.6 (2025-11-29)

Full Changelog

Fixed bugs:

  • After Locust upgrade, parameter 'headless = true' in conf file does not work as expected. #3225

Merged pull requests:

2.42.5 (2025-11-20)

Full Changelog

Merged pull requests:

2.42.4 (2025-11-20)

Full Changelog

Closed issues:

  • bumb pytest to support 9.x #3262

Merged pull requests:

2.42.3 (2025-11-15)

Full Changelog

Merged pull requests:

  • Bump the all_dependencies group with 7 updates #3266 (dependabot[bot])
  • Creates dependabot file to keep gh actions updated #3264 (jairhenrique)
  • GH Actions: update uv version, ensure uv.lock doesn't contain anything not in pyproject.toml #3259 (cyberw)
  • Fix single line .conf files incorrectly being treated as toml #3257 (cyberw)

2.42.2 (2025-11-06)

Full Changelog

Merged pull requests:

  • Bump locust-cloud version, fixing an issue with .conf-files #3256 (cyberw)
  • Revert "modified ui_extra_args_dict function to pick arguments" #3255 (cyberw)
  • Update uv.lock #3254 (cyberw)
  • remove setuptools from dependencies #3253 (dotlambda)
  • fix: MQTT client_id and protocol not passed down to Client #3252 (ionutab)

2.42.1 (2025-10-27)

Full Changelog

Merged pull requests:

2.42.0 (2025-10-17)

Full Changelog

Fixed bugs:

  • Extend Locust UI with new tab does not work #3240
  • Reset button not working after stopping the run #3197

Merged pull requests:

2.41.6 (2025-10-10)

Full Changelog

Merged pull requests:

  • Officially support Python 3.14 and test it #3235 (cyberw)

2.41.5 (2025-10-06)

Full Changelog

Merged pull requests:

  • Use www host instead of bare locust.cloud in examples and tests #3234 (cyberw)

2.41.4 (2025-10-06)

Full Changelog

Merged pull requests:

2.41.3 (2025-10-01)

Full Changelog

Merged pull requests:

  • Make workers correctly ignore the --run-time flag #3230 (cyberw)
  • Enhance MilvusUser constructor to support additional collection parameters #3229 (zhuwenxing)

2.41.2 (2025-09-29)

Full Changelog

Fixed bugs:

  • Locust pytest plugin option '--host' conflicts with common user options; suggest renaming to '--locust-host' #3227

Merged pull requests:

  • Pytest plugin: Workaround issue with potential duplicate --host argument definition #3228 (cyberw)
  • Fix Alignment of View Column Selector #3226 (andrewbaldwin44)

2.41.1 (2025-09-25)

Full Changelog

2.41.0 (2025-09-25)

Full Changelog

Fixed bugs:

  • Master doesn't distribute user equally among workers #3209

Merged pull requests:

2.40.5 (2025-09-17)

Full Changelog

Merged pull requests:

  • Avoid wrapping fast response in response context manager when not needed #3222 (cyberw)

2.40.4 (2025-09-11)

Full Changelog

Merged pull requests:

  • Avoid pytest style locustfiles capturing keyboard input #3219 (cyberw)

2.40.3 (2025-09-11)

Full Changelog

Merged pull requests:

  • Bump requests minimum version #3218 (cyberw)
  • Make ResponseContextManager.raise_for_status() consider calls to failure() and success() #3217 (cyberw)

2.40.2 (2025-09-08)

Full Changelog

Fixed bugs:

  • Python 3.13: KeyError: 'name' on request_meta in ResponseContextManager.__exit__ #3207

Merged pull requests:

  • Refactor SocketIOUser to create separate SocketIOClient class #3211 (cyberw)
  • Refactor clients.ResponseContextManager and fix gc issue #3210 (cyberw)

2.40.1 (2025-09-05)

Full Changelog

Fixed bugs:

  • 2.40.0 with pytest and xdist #3202

Merged pull requests:

  • Move pytest plugin to its own directory, to prevent accidental import #3205 (cyberw)
  • Pytest plugin: Delay imports to avoid monkey patching until someone uses the fixtures #3204 (cyberw)

2.40.0 (2025-09-04)

Full Changelog

Fixed bugs:

Merged pull requests:

  • Avoid exception in HttpUser if requests has lost track of the request it made #3201 (cyberw)
  • Support pytests as locustfiles #3200 (cyberw)
  • Refactor FastHttpSession to be more like HttpSession #3198 (cyberw)
  • Update Dockerfile base to Python 3.13 #3193 (adaamz)

2.39.1 (2025-08-29)

Full Changelog

Merged pull requests:

2.39.0 (2025-08-19)

Full Changelog

Merged pull requests:

2.38.1 (2025-08-12)

Full Changelog

Closed issues:

  • Support for markov chains to describe a user's behavior #3156
  • Switch docker base image to one with uv preinstalled #3061

Merged pull requests:

2.38.0 (2025-08-07)

Full Changelog

Fixed bugs:

  • Failures table sorting is reset to ascending after a few seconds #3184
  • argparse.ArgumentError: argument --profile: conflicting option string: --profile (locust==2.37.14) #3180

Merged pull requests:

2.37.14 (2025-07-16)

Full Changelog

Merged pull requests:

2.37.13 (2025-07-15)

Full Changelog

Fixed bugs:

  • Locust can't install on alpine linux anymore #3166

Closed issues:

  • Decouple the JavaScript asset code from the report #3064

Merged pull requests:

2.37.12 (2025-07-08)

Full Changelog

Fixed bugs:

  • Error shutting down when using processes #3161
  • 1279 Locust instances makes master run at 100% continously #3142

Merged pull requests:

  • Attempt to increase open file limit (RLIMIT_NOFILE) even on master. #3162 (cyberw)
  • Bump brace-expansion from 1.1.11 to 1.1.12 in /locust/webui #3160 (dependabot[bot])

2.37.11 (2025-06-23)

Full Changelog

Fixed bugs:

  • FastHttpUser uses incorrect regex to hide home directory #3159

Closed issues:

  • Define a list of paths to simulate an user journey #3150
  • export the results as a json file #3089

Merged pull requests:

2.37.10 (2025-06-07)

Full Changelog

Merged pull requests:

  • Revert accidental removal of --json-file option #3154 (brtkwr)

2.37.9 (2025-06-05)

Full Changelog

Merged pull requests:

2.37.8 (2025-06-05)

Full Changelog

Closed issues:

  • Support gevent >= 25.4.1 #3143

Merged pull requests:

  • Bump locust-cloud dependency, allow 25.x versions of gevent #3151 (cyberw)

2.37.7 (2025-06-03)

Full Changelog

Merged pull requests:

2.37.6 (2025-05-28)

Full Changelog

Fixed bugs:

  • Documentation is Now Missing Table of "All available configuration options" #3144

Merged pull requests:

2.37.5 (2025-05-22)

Full Changelog

Fixed bugs:

  • Web UI Does Not Switch to Details Page Immediately on Test Start in Current Version #3128

Merged pull requests:

2.37.4 (2025-05-19)

Full Changelog

2.37.3 (2025-05-14)

Full Changelog

Merged pull requests:

2.37.2 (2025-05-13)

Full Changelog

Fixed bugs:

  • p95 response time increases with the number of unique URLs #3134
  • FastResponse.failure() takes 1 positional argument but 2 were given #3084

Merged pull requests:

  • Webui: Block Submitting SwarmForm in Distributed Mode with no Workers #3138 (andrewbaldwin44)
  • Fixes #3134 - Improve the performance of the /stats/requests endpoint #3136 (orf)
  • Bump vite from 6.3.2 to 6.3.4 in /locust/webui #3132 (dependabot[bot])

2.37.1 (2025-05-07)

Full Changelog

Fixed bugs:

  • --json-file always creates empty file #3130

Closed issues:

  • Forced Dependency Updates (e.g., python-socketio) May Cause Version Mismatch with Java Services #3129

Merged pull requests:

  • Fix --json-file (actually save data to file) #3131 (zed)

2.37.0 (2025-05-05)

Full Changelog

Merged pull requests:

2.36.2 (2025-04-25)

Full Changelog

Merged pull requests:

2.36.1 (2025-04-24)

Full Changelog

Merged pull requests:

2.36.0 (2025-04-24)

Full Changelog

Merged pull requests:

2.35.0 (2025-04-16)

Full Changelog

Merged pull requests:

2.34.1 (2025-04-09)

Full Changelog

Merged pull requests:

2.34.0 (2025-04-06)

Full Changelog

Merged pull requests:

2.33.2 (2025-03-14)

Full Changelog

Fixed bugs:

  • There was a heartbeat disconnect during the pressure test #3065

Closed issues:

  • Error Logging in FastHttpUser #2937

Merged pull requests:

2.33.1 (2025-03-08)

Full Changelog

Fixed bugs:

  • --iterations with locust==2.33.0 and locust-plugins==4.5.3 #3071
  • uv.lock ends up in root of site-packages #3053

Merged pull requests:

  • Fix html file naming crash, simplify code #3072 (cyberw)

2.33.0 (2025-02-22)

Full Changelog

Fixed bugs:

  • UnboundLocalError: local variable 'user_count' referenced before assignment #3051

Merged pull requests:

  • docs: update python-requests documentation links #3059 (n0h0)
  • dos: correct venv activation path in docs #3058 (n0h0)
  • Use enter to automatically open web UI in default browser #3057 (cyberw)
  • Update vite to 6.0.11 #3056 (cyberw)
  • Remove uv lock file from build artifacts #3055 (mquinnfd)
  • Improve error message on missing user_count or spawn_rate in swarm payload #3052 (cyberw)
  • Enable HTML Report Filename Parsing #3049 (ktchani)
  • FastHttpUser: Accept brotli and zstd compression encoding #3048 (kamilbednarz)
  • Bump vitest from 2.1.6 to 2.1.9 in /locust/webui #3044 (dependabot[bot])

2.32.10 (2025-02-18)

Full Changelog

Closed issues:

  • Switch from Poetry to uv #3033

Merged pull requests:

2.32.9 (2025-02-10)

Full Changelog

Fixed bugs:

  • Cannot Update Custom options in the Web UI when Default Value is None #3011

Merged pull requests:

2.32.8 (2025-01-30)

Full Changelog

2.32.7 (2025-01-30)

Full Changelog

Merged pull requests:

2.32.6 (2025-01-13)

Full Changelog

Merged pull requests:

  • Update Dockerfile to use Python 3.12 as base #3029 (vejmoj1)
  • Update tests to check for hostname instead of fqdn #3027 (ajt89)
  • Move some argument parsing/validation from main.py to argument_parser.py and remove deprecated parameter --hatch-rate #3026 (ftb-skry)
  • pin poetry-core version to <2.0.0 in pyproject.toml #3025 (mgor)
  • Optimize run time of some unit tests #3020 (cyberw)

2.32.5 (2024-12-22)

Full Changelog

Merged pull requests:

  • Make cpu usage check sleep BEFORE the first check, and make it slightly less frequent #3014 (cyberw)
  • FastHttpUser: Fix ssl loading performance issue by avoiding to load certs when they wont be used anyway #3013 (cyberw)
  • Treat exceptions in init event handler as fatal #3009 (cyberw)
  • Add create store export #3004 (andrewbaldwin44)

2.32.4 (2024-12-01)

Full Changelog

Fixed bugs:

  • Number of requests lower than expected in web UI #3000
  • Reports download links do not contain web-base-path #2998
  • Setuptools CVE-2024-6345 #2995
  • When using exclude-tags to exclude more than two tags, this setting will not take effect #2994

Merged pull requests:

2.32.3 (2024-11-17)

Full Changelog

Fixed bugs:

  • Setuptools CVE-2022-40897 #2986
  • master crash with different version worker #2975

Merged pull requests:

  • Ensure we never use old version of setuptools #2988 (cyberw)
  • README Themed Screenshots #2985 (andrewbaldwin44)
  • When specifying locustfile fia url, output start of response text when it wasnt valid python #2983 (cyberw)
  • Use debug log level for first 5s of waiting for workers to be ready. #2982 (cyberw)
  • Add option for Extra Options to be Required #2981 (andrewbaldwin44)
  • Update ruff mypy #2978 (tdadela)
  • Fix crash with older worker version requesting locustfile from master #2976 (cyberw)
  • Use f-strings instead of old style string interpolation #2974 (tdadela)

2.32.2 (2024-11-08)

Full Changelog

Fixed bugs:

  • Requests not ramping up after switching to using pydantic in django project #2960
  • The locust chart shows that data is still being recorded after the timed run time expires #2910

Closed issues:

  • Downloading report should provide a meaningful human name #2931
  • Hard coded path make it impossible to host the UI on a path (instead of the domain root) #2909

Merged pull requests:

2.32.1 (2024-10-29)

Full Changelog

Closed issues:

  • Add option to enable different statistics in the chart menu #2946

Merged pull requests:

2.32.0 (2024-10-15)

Full Changelog

Fixed bugs:

  • logfile is erroniously written when there are many workers. #2927
  • Form field for users, spawn rate, and run time still visible in UI although CustomShape defined without use_common_options. #2924
  • --html with --process 4 then get ValueError: StatsEntry.use_response_times_cache must be set to True #2908
  • IPV6 check doesn't work as expected on AWS EKS #2787

Merged pull requests:

2.31.8 (2024-09-28)

Full Changelog

Merged pull requests:

2.31.7 (2024-09-25)

Full Changelog

Merged pull requests:

2.31.4.dev9994 (2024-09-16)

Full Changelog

2.31.4.dev9993 (2024-09-16)

Full Changelog

2.31.4.dev9992 (2024-09-16)

Full Changelog

2.31.4.dev9991 (2024-09-16)

Full Changelog

2.31.4.dev999 (2024-09-16)

Full Changelog

2.31.6 (2024-09-15)

Full Changelog

Fixed bugs:

  • RPS vs Total Running Users #2895
  • Overwriting weight by config-users may lead to crash #2852
  • FastHttpSession requests typing for the json argument should support lists #2842
  • Dockerfile warning #2811

Closed issues:

  • Cleaning up the build process #2857
  • Simplify GitHub Actions using install-poetry #2822

Merged pull requests:

2.31.5 (2024-08-30)

Full Changelog

Fixed bugs:

  • Pressure testing is over, but RPS and Users still have data #2870

Merged pull requests:

2.31.4 (2024-08-26)

Full Changelog

Merged pull requests:

2.31.3 (2024-08-15)

Full Changelog

Fixed bugs:

  • Brew installed locust missing UI assets #2831
  • response avg time is NaN #2829
  • Windows Action Runs Wrong Version of Locust #2796

Merged pull requests:

2.31.2 (2024-08-06)

Full Changelog

Merged pull requests:

  • Prebuild UI in PyPi publish steps so that even source distributions contain web UI code #2839 (mquinnfd)
  • Add Tests for Web UI Line Chart #2838 (andrewbaldwin44)
  • Documentation: Configure html_baseurl and jinja on RTD #2837 (plaindocs)

2.31.1 (2024-08-05)

Full Changelog

Merged pull requests:

  • Fix issue with downloading HTML report, update package.json for webui build #2834 (andrewbaldwin44)

2.31.0 (2024-08-05)

Full Changelog

Merged pull requests:

2.30.0 (2024-07-31)

Full Changelog

Fixed bugs:

  • Locust / pypy fails with "AttributeError: module 'gc' has no attribute 'freeze'" error. #2818
  • Worker sometimes fails to send heartbeat after upgrade to urllib3>=1.26.16 #2812
  • Web UI lacking asset #2781

Closed issues:

  • Charts Update Is Delayed #2771
  • Use itertools.cycle in SequentialTaskSet #2740
  • SequentialTaskSet handles task weights in an inconsistent way #2739

Merged pull requests:

  • Update poetry windows tests #2821 (mquinnfd)
  • Fix pypy gc.freeze() AttributeError #2819 (jimoleary)
  • Fix Dockerfile style warning #2814 (mehrdadbn9)
  • Avoid deadlock in gevent/urllib3 connection pool (fixes occasional worker heartbeat timeouts) #2813 (tdadela)
  • Replace total avg response time with 50 percentile (avg was broken) #2806 (andrewbaldwin44)
  • Add example of a bottlenecked server and use that test to make a new graph for the docs #2805 (cyberw)
  • Fix tests on windows #2803 (mquinnfd)
  • Provide warning for local installs where yarn is not present #2801 (mquinnfd)
  • Fix Extend Webui Example #2800 (andrewbaldwin44)
  • Correctly set version from Poetry in published builds #2791 (mquinnfd)
  • Fix StatsEntry docstring #2784 (tdadela)
  • dispatch benchmark test improvements #2780 (tdadela)
  • Typing: strict optional in dispatch.py #2779 (tdadela)
  • new events for heartbeat and usage monitor #2777 (mgor)
  • FastHttpSession requests typing #2775 (tdadela)
  • Remove Line Chart Default Zoom #2774 (andrewbaldwin44)
  • FastHttpSession: Enable passing json as a positional argument for post() and stop converting response times to int #2772 (tdadela)
  • SequentialTaskSet: Allow weighted tasks and dict in .tasks #2742 (bakhtos)
  • Implement Poetry build system (mainly so we don't have to commit dynamically generated front end bundles to git) #2725 (mquinnfd)

2.29.1 (2024-06-25)

Full Changelog

Fixed bugs:

  • locust/webui/dist/index.html script errors. #2753

Merged pull requests:

2.29.0 (2024-06-07)

Full Changelog

Fixed bugs:

  • The time of the downloaded html report is not correct #2691
  • Event spawning_complete fires every time a user is created #2671
  • Delay at startup and high cpu usage on Windows in Python 3.12 #2555

Closed issues:

  • Log a warning if getting locustfile from master takes more than 60s #2748
  • Show the reset button even after stopping a test #2723
  • Add date to charts in web UI #2678

Merged pull requests:

2.28.0 (2024-05-23)

Full Changelog

Fixed bugs:

  • The Charts presentation in the report downloaded by locust is problematic #2706
  • Locust insists on using IPv6 despite being in an IPv4 stack. #2689
  • When there is an error in the FAILURES of the front-end page when there is a worker, there is no escape. #2674

Closed issues:

  • Pin the headers and aggregated row to the top and bottom of the window #2688
  • Remove legacy UI #2673
  • TaskSet's _task_queue should be a collections.deque? #2653

Merged pull requests:

  • Pin the headers to the top of the window #2717 (JavierUhagon)
  • Dont enable ipv6 for zmq if no ipv6 stack exists #2715 (cyberw)
  • Give better error message if User subclass doesnt call base constructor #2713 (cyberw)
  • Stop quoting error messages an extra time in distributed mode #2712 (cyberw)
  • Lower log levels for exceptions in flask #2711 (cyberw)
  • Stop HTML escaping errors for /stats/requests endpoint #2710 (cyberw)
  • Update Stats History on HTML Report #2709 (andrewbaldwin44)
  • Logging: Only print hostname instead of FQDN #2705 (cyberw)
  • Remove legacy UI #2703 (andrewbaldwin44)
  • WebUI: update users, spawn_rate, host and run_time in parsed_options (for LoadShapes that might access it) #2656 (raulparada)

* This Changelog was automatically generated by github_changelog_generator