The most important changes can also be found in the documentation.
2.32.3 (2024-11-17)
Fixed bugs:
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)
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:
- Fix Incorrectly Updating Stat History #2972 (andrewbaldwin44)
- Webui Add Markdown Support for Auth Page #2969 (andrewbaldwin44)
- Fix Web Base Path Env Variable #2967 (andrewbaldwin44)
- Locust Configurable Web Base Path #2966 (andrewbaldwin44)
- Fix Auth Args Type #2965 (andrewbaldwin44)
- Webui Add Auth Info to Auth Page #2963 (andrewbaldwin44)
- Fix doc link #2961 (tjandy98)
- Report name #2947 (obriat)
2.32.1 (2024-10-29)
Closed issues:
- Add option to enable different statistics in the chart menu #2946
Merged pull requests:
- Webui Echarts Redraw Request Lines if Changed #2953 (andrewbaldwin44)
- Webui Add Custom Form to Auth Page #2952 (andrewbaldwin44)
- Webui Override Markdown HTML Link with MUI Link #2951 (andrewbaldwin44)
- Webui Fix Echarts Axis Formatting #2950 (andrewbaldwin44)
- Webui Echarts Time Axis Should be Localized #2949 (andrewbaldwin44)
- Add Google Analytics to docs.locust.io #2948 (heyman)
- LocustBadStatusCode without url param in fasthttp #2944 (swaalt)
- Web UI Remove Default Value for Select if Value is Provided #2943 (andrewbaldwin44)
- Web UI Auth Add Password Visibility Toggle #2941 (andrewbaldwin44)
2.32.0 (2024-10-15)
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:
- Log deprecation warning for Python 3.9 #2940 (cyberw)
- Run tests on python 3.13 too #2939 (cyberw)
- Web UI - Fix Line Chart #2935 (andrewbaldwin44)
- Modern UI - Fix Hide Common Options #2934 (andrewbaldwin44)
- Allow alerts and errors on new and edit form #2932 (andrewbaldwin44)
- Add error message to swarm form #2930 (andrewbaldwin44)
- Disable --csv for workers when using --processes. #2929 (cyberw)
- Decide if ipv6 can work #2923 (nc-marco)
- Webui Add Form Alert #2922 (andrewbaldwin44)
- Add faq item: Basic auth (Authorization header) does not work after redirection #2921 (obriat)
- Add CSRF example #2920 (andrewbaldwin44)
- Web UI Add Exports for Library #2919 (andrewbaldwin44)
- lower log level for unnecessary --autostart argument #2918 (cyberw)
2.31.8 (2024-09-28)
Merged pull requests:
- Log locust-cloud version if it is installed #2916 (cyberw)
- Web UI Auth submit should submit a POST request #2915 (andrewbaldwin44)
- Url in template arg #2914 (fletelli42)
- Fix RTD versioning with a deep git clone #2913 (mquinnfd)
2.31.7 (2024-09-25)
Merged pull requests:
- Fix Dependabot Complaints #2912 (andrewbaldwin44)
- Improve Web UI Logging #2911 (andrewbaldwin44)
- Pin python versions to avoid gh caching issue + always Install Dependencies, even when it looks like there was a cache hit #2907 (cyberw)
- Fix Login Manager Error Message #2905 (andrewbaldwin44)
- Log locust version earlier #2904 (cyberw)
- Add Mongodb test example #2903 (guel-codes)
2.31.6 (2024-09-15)
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:
Merged pull requests:
- Add Error Message for Accessing Login Manager without --web-login #2902 (andrewbaldwin44)
- Update Webui README #2901 (andrewbaldwin44)
- Add worker_count = 1 to LocalRunner for parity with MasterRunner #2900 (tarkatronic)
- Remove redundant None in Any | None annotations #2892 (tdadela)
- Fix _kl_generator by filtering nonpositive User weights #2891 (tdadela)
- Update README.md #2889 (JonanOribe)
- Filename from URL Should Strip Query Params #2887 (andrewbaldwin44)
- Simplify Generator annotations - PEP 696 #2886 (tdadela)
- Fix FastHttpSession.request json typing #2885 (tdadela)
2.31.5 (2024-08-30)
Fixed bugs:
- Pressure testing is over, but RPS and Users still have data #2870
Merged pull requests:
- Ensure we don't accidentally hide errors while importing in locust-cloud or locust-plugins #2881 (cyberw)
- Add publishing dependency on build package step #2880 (mquinnfd)
- Build pipeline tweaks - docker tagging #2879 (mquinnfd)
- Webui Remove chart initial data fetch #2878 (andrewbaldwin44)
- Document use with uvx and remove openssl version from --version output #2877 (cyberw)
- Web UI Remove Scroll to Zoom #2876 (andrewbaldwin44)
- Cleaning and improvements in the Build Pipeline #2873 (mquinnfd)
- WebUI: Correct types for form select #2872 (andrewbaldwin44)
2.31.4 (2024-08-26)
Merged pull requests:
- Webui Allow changing select input size #2871 (andrewbaldwin44)
- Webui Replace Logo SVG #2867 (andrewbaldwin44)
- Add favicon that looks good in light color theme #2866 (heyman)
- Webui Add build lib command to package.json #2865 (andrewbaldwin44)
- Web UI Github Action Publish steps must Build lib #2864 (andrewbaldwin44)
- Fix npm publish issue #2863 (cyberw)
- GH actions: Update names of publish steps. Don't run prerelease steps when no prerelease is actually going to be published #2862 (cyberw)
- Webui Fix Version Tag in NPM Prerelease Step #2861 (andrewbaldwin44)
- Webui Fix NPM Publish Step #2860 (andrewbaldwin44)
- Web UI as a Library NPM Release #2858 (andrewbaldwin44)
- Add PostgresUser to examples #2836 (guel-codes)
2.31.3 (2024-08-15)
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:
- Web UI Remove Echarts startValue #2855 (andrewbaldwin44)
- Update GitHub action versions #2853 (cyberw)
- Improve docs for --class-picker/--config-users and give better error messages if json is bad #2851 (cyberw)
- Add missing margin between Logo and Host in Navbar #2850 (heyman)
- Web UI Should use Built-In Echarts Time Axis #2847 (andrewbaldwin44)
- Webui Notification Improvements #2846 (andrewbaldwin44)
- Use new logo in web UI + some minor improvements #2844 (andrewbaldwin44)
- Webui Add Scatterplot Support #2840 (andrewbaldwin44)
2.31.2 (2024-08-06)
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)
Merged pull requests:
- Fix issue with downloading HTML report, update package.json for webui build #2834 (andrewbaldwin44)
2.31.0 (2024-08-05)
Merged pull requests:
- Fix docker build for release #2830 (cyberw)
- Github Actions: Use node 20.x (fix PyPI Release and pre-Release Steps) #2828 (andrewbaldwin44)
- Improve Echarts and Expose Line and Axis Configuration #2826 (andrewbaldwin44)
- Bump Node #2825 (andrewbaldwin44)
- Integrations for Locust Cloud #2824 (andrewbaldwin44)
- Fix HTML Report Stats Table #2817 (andrewbaldwin44)
- Locust UI Charts Should Change Color Based on Theme #2815 (andrewbaldwin44)
- Locust UI as a Module #2804 (andrewbaldwin44)
- Log a message if total fixed_count is higher than number of users to spawn #2793 (cyberw)
- Simplify fixed_count Users generation in UsersDispatcher._user_gen #2783 (tdadela)
- URL Directory, and Multi-File Support for Locustfile Distribution #2766 (andrewbaldwin44)
2.30.0 (2024-07-31)
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
inSequentialTaskSet
#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)
Fixed bugs:
- locust/webui/dist/index.html script errors. #2753
Merged pull requests:
- Option to Skip Monkey Patching with LOCUST_SKIP_MONKEY_PATCH #2765 (andrewbaldwin44)
- HttpSession: Improve error message when someone forgot to pass catch_response=True + small optimization #2762 (cyberw)
- Add JavaScript to MIME types for Windows Operating Systems #2759 (andrewbaldwin44)
- Add proxy support for FastHttpUser #2758 (NicoAdrian)
- Httpsession requests typing #2699 (tdadela)
2.29.0 (2024-06-07)
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:
- Send logs from workers to master and improve log viewer tab in the Web UI #2750 (andrewbaldwin44)
- Add Logging to download_locustfile_from_master #2749 (andrewbaldwin44)
- Modify timestamp generation to remove deprecation warning #2738 (JavierUhagon)
- Docs: Fix API TOC #2737 (plaindocs)
- Docs: Fix sphinx and theme upgrade #2736 (plaindocs)
- Docs: Fix theme #2735 (plaindocs)
- Docs: Import wiki to docs #2734 (plaindocs)
- Mention installing Locust in Building the Docs #2733 (plaindocs)
- Docs: Upgrade Sphinx to latest version (7.3.7) #2732 (plaindocs)
- Add date and zoom to charts in web UI #2731 (andrewbaldwin44)
- Use requests 2.32.2 or higher for Python 3.12 #2730 (cyberw)
- The time of the downloaded HTML report is not correct #2729 (andrewbaldwin44)
- Ensure spawning_complete only happens once on workers #2728 (cyberw)
- Improve confusing log messages if someone accidentally accesses the Web UI over HTTPS #2727 (cyberw)
- Show Reset Button when Test is Stopped #2726 (andrewbaldwin44)
2.28.0 (2024-05-23)
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 acollections.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