- update publish config
search
method signature rewritten to allow manual pagination
- Fix DN clone method when RDNs array is not empty. Fix #149
- Update npms
- Update npms
- Update npms
- Update npms
- Update npms
- Update npms
- Fix CommonJS package issues. NOTE: All exports are at the root level now. For example:
import { Control } from 'ldapts/controls';
is nowimport { Control } from 'ldapts';
- Include
src
in npm package
- Fix toString output for OrFilter and NotFilter
- Fix asn1 import statements
- Update some missing import/export statements to include extensions
- Enable
allowSyntheticDefaultImports
to fix asn1 import statements
- Update import/export statements to include extensions
- Drop Node.js 16 support
- Updated to ES module
- Changed mocha test runner to use tsx instead of ts-node
- Update npms
- Update npms
- Fix lots of lint issues
- Change
Client.messageDetailsByMessageId
to be a map - Fix
Client._send
signature to returnundefined
- Change
MessageResponseStatus
,ProtocolOperation
, andSearchFilter
from enum to a const - Enforce
toString()
definition for filters
- Drop Node.js 14 support
- Update npms
- Add OpenLDAP test server! Fix #135 Thanks @tsaarni!
- Allow for optional password by setting a default empty string. Fix #134 Thanks @wattry, @TimoHocker, and @thernstig!
- Fix reading controls from responses. Fix #106
- Update npms
- Update npms
- Check for socket if short-circuiting
_connect()
- Update npms
- Fix socket connection not established error. Fix #127 Thanks @Templum!
- Update npms
- Enable noUncheckedIndexedAccess compiler option
- Update npms
- Add DIGEST-MD5 and SCRAM-SHA-1 SASL mechanisms (PR #120). Thanks @TimoHocker!
- Update npms
- Update npms
- Remove automatically appending ;binary to attributes. Fix #114
- Update npms
- Drop Node.js 12 support
- Update npms
- Update npms
- Update npms
- Update npms
- Update husky to support Apple silicon homebrew package links
- Update npms
- Expand type definition version constraints. Fix #108
- Fix SASL authentication. Thanks @wattry!
- Update npms
- Update npms
- Update npms
- Format markdown files
- Allow EqualityFilter to accept Buffer as a value
- Update npms
- Update npms
- Add documentation for
explicitBufferAttributes
- Format and lint markdown files
- Fix relative path in source maps. Fixes #102. Thanks @stevenhair!
- Update npms
- Update npms
- Fix "Unhandled promise rejection" when calling modify without password. Fix #88. Thanks @ctaschereau!
- Enable typescript lint checks:
noPropertyAccessFromIndexSignature
andnoImplicitOverride
- Update npms
- Drop Node.js 10 support
- Add Node.js v16 to CI tests
- Update npms
- Allow
timeLimit: 0
in search options. Fix #97. Thanks @liudonghua123!
- Export error classes. Fix #93
- Redact password field from debug logging during send(). Fix #94
- Update npms
- Enable package-lock.json to speed up CI builds
- Update npms
- Update npms
- Sort union/intersection members
- Revert remove sequence identifier for SASL authentication
- Update npms
- Fix documentation for SASL authentication
- Remove sequence identifier for SASL authentication
- Add support for PLAIN and EXTERNAL SASL authentication to bind request
- Simplify control import directives
- Update npms
- Improve Control usability and provide example test for search with a custom Control. Fix #91
- Fix null/undefined values for attributes when calling add(). Fix #88
- Fix modifyDN to ignore escaped commas when determining NewSuperior. PR #87 Thanks @hasegawa-jun!
- Add tests for modifyDN
- Update npms
- Format code with prettier
- Support NewSuperior with modifyDN. PR #84 Thanks @IsraelFrid!
- Update npms
- Added documentation for
explicitBufferAttributes
attribute
- Update npms
- Expose parsedBuffers on Attribute and added
explicitBufferAttributes
to search options. Fix #72 and Fix #82
- Update npms
- Update @types/node npm to latest version. Fix #73
- Add mocharc file
- Add Buffer as value type for client.exop(). Fixes #74
- Update npms
- Update Typescript to v3.9
- Update npms
- Support
startTLS
for upgrading an existing connection to be encrypted. Fix #71 - Fix type of
tlsOptions
totls.ConnectionOptions
inClient
constructor options - Fix sending exop with empty/undefined value
- Add
.id
to internal socket to allow cleanup when unbinding after startTLS
- Use secure connection if
tlsOptions
is specified or if url starts withldaps:
when constructing a client. Fix #71
- Update npms
- Make typescript lint rules more strict
- Ignore case when determining if attribute is binary. Fix #11
- Documentation updates
- Drop support for nodejs v8
- Update to Typescript 3.7
- Fix exop response overwriting status and error message. Fixes #52
- Update npms
- Improve documentation. Lots of ❤️ for ldapjs docs, ldapwiki, and ldap.com docs. Fix #31
- Include original error message with exceptions. Fix #36
- Include all requested attributes with search results. Fix #22
- Add isConnected to Client. Fix #25
- Try to fix socket ending and reference handling issues. Thanks @december1981! Fix #24
- Update npms
- Export Change and Attribute classes. Thanks @willmcenaney!
- Parse search filter before sending partial request. Thanks @markhatchell!
- Remove "dist" folder from published npm
- Include type definitions as "dependencies" instead of "devDependencies"
- Update npms
- Add DN class as alternate option for specifying DNs. Thanks @adrianplavka!
- Update npms
- Fix incorrectly escaping search filter names/values. Fix #18
-
Do not throw "Size limit exceeded" error if
sizeLimit
is defined and the server responds with4
(Size limit exceeded).-
Note: It seems that items are returned even though the return status is
4
(Size limit exceeded).I'm not really sure what to do in that case. At this time, I decided against throwing an error and instead just returning the results returned thus far. That approach works with JumpCloud and forumsys' ldap servers
-
- Update dependencies
- Only include PagedResultsControl if
searchOptions.paged
is specified. Fixes #17 - Make Filter.escape() public. Thanks @stiller-leser!
- Fix FilterParser parsing of ExtensibleFilters to include attribute type. Hopefully fixes #16
- Update dependencies
- Add documentation for search options
- Fix 'Socket connection not established' when server closes the connection (Fix #13). Thanks @trevh3!
- Support binary attribute values (Fix #11)
- Add Entry interface for SearchEntry. Thanks @hikaru7719!
- Move asn1 type definitions to DefinitelyTyped
- Fix error message for InvalidCredentialsError
- Provide exports for public classes: errors, filters, and messages (Fix #4)
- Fix escaping filter attribute names and values
- Fix Add and Modify to handle the response from the server. Thanks @adrianplavka!
- Update dev dependencies
- Fix ECONNRESET issue connecting to non-secure endpoint
- Throw an error for each message on socket error
- Add original string to error message when parsing filters
- Adjust parsing & and | in filters
- Add more filter parsing tests
- Add client.add() and client.modify()
- Use hex for message type code in closed message error message
- Add additional test for calling unbind() multiple times
- Add message name to error message when socket is closed before message response
- Add type definitions for asn1
- Add message type id to error when cleaning pending messages.
- Force protocolOperation to be defined for Message types
- Verify the socket exists before sending unbind message
- Setup prepublish to always build.
- Push fix from 1.0.1
- Fix search to return attribute values by default
- Initial release