Changelog - 2026-10-25
An inherited property name is no longer read as a value
Bug FixIn one line. Looking up 'constructor', 'toString' or '__proto__' in a helper's plain-object table now finds nothing, like any other unknown name.
What changed
- Duration units.
DurationMultipliers.toMilliseconds,fromMillisecondsandconvertreturnedNaNfor a unit namedconstructorortoStringinstead of the documentednull. They now returnnull. - Environment and secrets.
ApplicationEnvironment.get('constructor')returnedObject, and a secrets provider asked for a key namedtoStringreturned a function; both ignored thedefaultValue. An unknown name now reads as unset. - TCP server.
NetworkTcpServer.getClient({ id: 'constructor' })returnedObjectinstead ofundefined. - Worker bus. A bus key such as
__proto__is now an ordinary key inBaseWorker. - High-frequency logger.
HfLogger.loggiven a level that only exists onObject.prototypenow writes the entry asinfo.
Who is affected
No action needed. Code that passed a unit, key or id from outside the program to these helpers now gets null, undefined or the default, as documented.