RPA Framework 34.1.0: RPA.Robocorp.WorkItems and RPA.Robocorp.Storage reuse their Control Room connections, security updates for dnspython and soupsieve
RPA.Robocorp.WorkItems: Control Room connections are reused
RPA.Robocorp.WorkItems now keeps its HTTPS connections to Control Room open between calls (#1382). Until now every call opened a new connection, so each one paid for a TCP and TLS handshake before Control Room did any work. Processing one work item takes about five calls (reserve, load the payload, list the files, create an output, release), so a run over 1500 items opened about 7,500 connections.
The further the robot runs from its Control Room region, the more those handshakes cost. The
same change was made in robocorp-workitems 1.6.0, where a robot about 68 ms away from Control
Room processed 1500 work items in 13 minutes instead of 44. That run was not repeated with
RPA.Robocorp.WorkItems; the two libraries make the same calls to Control Room.
Nothing changes in the keywords or in how you use the library.
RPA.Robocorp.Storage: the same through robocorp-storage 1.2.0
RPA.Robocorp.Storage is built on the robocorp-storage package, and rpaframework now
requires robocorp-storage 1.2.0 or newer
(#1382). That release reuses its Control
Room connections in the same way, so asset calls and the upload status checks after setting an
asset no longer open a connection each. Upgrading rpaframework brings it in.
Idle connections are reopened
This applies to both libraries.
A firewall or NAT on the network path can drop an idle connection without telling either side, and a request sent on such a connection gets no answer. To avoid that, a connection that has been unused for more than 30 seconds is closed, and the next call opens a new one. A robot that works for minutes between calls therefore pays one handshake after each pause, as it did before, and reuses the connection for calls made back to back.
The limit is set with the RC_API_CONNECTION_MAX_IDLE environment variable, in seconds. The
default is 30, and 0 opens a new connection for every call, as earlier versions did. The
value is read when the library is imported, so set it in the environment the robot starts in.
Security fixes
The lock files of rpaframework move to fixed releases of two transitive dependencies (#1383):
dnspython2.9.2 — HIGH, excessive memory and CPU use (CVE-2026-128089). It comes in throughexchangelib, which RPA.Email.Exchange uses.soupsieve4.1.3 — HIGH, polynomial-time denial of service in the descendant combinator (CVE-2026-126190) and exponential backtracking in selector compilation (CVE-2026-126191); MEDIUM, uncontrolled recursion in the CSS parser (CVE-2026-126193). It comes in throughbeautifulsoup4.
Neither package has a version floor in rpaframework, so a new installation already gets the fixed releases. In an existing environment, upgrade them directly:
Known limitation: the fixed soupsieve releases require Python 3.11.5 or newer. On Python 3.11.0 to 3.11.4 the installer still picks the affected 2.10, so move to a newer Python 3.11 patch release to get the fix.
RPA.Windows: clicking at an offset is documented
rpaframework-windows 12.0.1 changes documentation only
(#1380, from
#1379). The Click, Double Click,
Right Click and Middle Click keyword docs now explain the offset:x,y locator strategy: the
click lands that many pixels from the center of the element, positive to the right and down, and
it may point outside the element. That helps with controls that UI Automation exposes as a single
element, such as a button with a dropdown arrow inside it.
An element fetched with Get Element using an offset locator keeps the offset for later clicks.
Upgrading
On Windows this also allows the new rpaframework-windows; to move an existing installation to
it, upgrade it by name:
Released packages
- package
rpaframework34.1.0 - package
rpaframework-windows12.0.1