Skip to content

6.0.0

Compare
Choose a tag to compare
@maxime-beguin maxime-beguin released this 10 Nov 12:30
· 3 commits to master since this release

6.0.0 / 2022-11-10

BREAKING CHANGES

  • Command line options --conf and --database must now respect the format npx ldap-server-mock --conf="filePath" --database="filePath" when something like npx ldap-server-mock --conf filePath --database filePath previously worked
  • Filters now use the ldapjs filters instead of custom implementation which requires a different JSON structure in users' configuration file. Basically all user's attributes except dn attribute need to be under an attributes object. See README.md file for more information
  • Running the LDAP server mock won't throw an error anymore when searchBase property is missing from server's configuration file. searchBase will default to dc=test

FEATURES

  • Add support for non standard LDAP over TLS (LDAPS not STARTTLS) thanks to @ckhmer1
  • Project has been fully rewritten in TypeScript
  • Add the ability to start / stop the server programmatically

DEPENDENCIES

  • eslint and eslint-plugin-node have been replaced by Prettier
  • ldapjs has been upgraded from version 2.3.1 to 2.3.3
  • nopt has been upgraded from version 5.0.0 to 7.0.0