npm / ldapts
ldapts
What changed in ldapts 4 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-25.
12 breaking9 new APIs and options1 behavior and defaults10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initldapts 99 changes
Breaking changes 2
The deprecated instance method was removed; use the static Filter.escape() instead.
Node.js 22 or newer is now required.
New APIs and options 3
Adds Control.responseType.
Exposes the server-side sort result.
Adds PasswordPolicyControl to read password policy responses.
Behavior and default changes 1
Escaped octets in filter values are kept as bytes.
Fixes and other changes 3
Filter strings now accept attribute options and numeric OIDs.
Paging continues until the server returns an empty cookie.
Controls are cleared before reuse.
ldapts 811 changes
Breaking changes 1
Node.js v18 is no longer supported; the minimum required version is Node.js v20.
New APIs and options 5
Adds an option to rebind automatically after reconnecting.
Allows custom connection factories.
Adds an escapeFilter tagged template literal.
InvalidAsn1Error is now exported from the main entry point.
Adds utilities for encoding and decoding postal addresses according to RFC 4517.
Fixes and other changes 5
Filter.escape() now works as intended.
BerReader is now exported from the main entry point.
BerWriter is now exported from the main entry point.
An empty tlsOptions object is treated as no TLS configuration.
Removed the uuid package to fix CJS imports.
ldapts 72 changes
Breaking changes 2
The package is now published as an ES module, affecting how developers consume it.
Node.js 16 is no longer supported.
ldapts 66 changes
Breaking changes 5
Changed Client.messageDetailsByMessageId to be a map.
Changed MessageResponseStatus from an enum to a const.
Changed ProtocolOperation from an enum to a const.
Changed SearchFilter from an enum to a const.
Filters are now required to define toString().
Fixes and other changes 1
Fixed the signature of Client._send to return undefined.
ldapts 53 changes
Breaking changes 1
Node.js 14 support was dropped.
New APIs and options 1
Password can be omitted; it defaults to an empty string.
Fixes and other changes 1
Fixed reading controls from responses.
ldapts 41 changes
Breaking changes 1
Node.js 12 is no longer supported.